[MacPorts] #49046: rcs-5.9.4 build failure, Macport 2.3.4, El Capitan.
#49046: rcs-5.9.4 build failure, Macport 2.3.4, El Capitan. --------------------------+-------------------------------- Reporter: inyeol.lee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: rcs-5.9.4 --------------------------+-------------------------------- rcs-5.9.4 build failed, log attached. -- Ticket URL: <https://trac.macports.org/ticket/49046> MacPorts <https://www.macports.org/> Ports system for OS X
#49046: rcs @5.9.4: error: '_Noreturn' keyword must precede function declarator ---------------------------+-------------------------------- Reporter: inyeol.lee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: rcs | ---------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: => elcapitan * port: rcs-5.9.4 => rcs -- Ticket URL: <https://trac.macports.org/ticket/49046#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49046: rcs @5.9.4: error: '_Noreturn' keyword must precede function declarator ---------------------------+-------------------------------- Reporter: inyeol.lee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: rcs | ---------------------------+-------------------------------- Comment (by pc@…): Here's a workaround, it's probably against all the rules but here goes. Since Apple in it's infinite wisdom has removed rcs from Xcode, I need to find another way of getting it now for 10.11. Once you've found that things don't work, find the source of rcs. On my system that's /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_rcs/rcs/work/rcs-5.9.4/src Edit (and you'll need to sudo) base.h Find the line: #define exiting _Noreturn and replace it by #define exiting ; Then sudo port install rcs will work. It builds the system and installs it. The _Noreturn keyword is a C11 artefact and the build can happen without it (it seems). Caveat: I really know zilch about C11. I've done some rough testing and rcs appears to work. -- Ticket URL: <https://trac.macports.org/ticket/49046#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49046: rcs @5.9.4: error: '_Noreturn' keyword must precede function declarator ---------------------------+-------------------------------- Reporter: inyeol.lee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: rcs | ---------------------------+-------------------------------- Comment (by david@…): The above fix does produce a clean build + what does appear to be a functional RCS. This is a life saver, as RCS is such a simple way to quickly version control any random file. Seems like this fix is so simple it could make make it into a patch. -- Ticket URL: <https://trac.macports.org/ticket/49046#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49046: rcs @5.9.4: error: '_Noreturn' keyword must precede function declarator ---------------------------+-------------------------------- Reporter: inyeol.lee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: rcs | ---------------------------+-------------------------------- Comment (by inyeol.lee@…): RCS source has syntax errors regarding _Noreturn keyward usage, now CLang is catching them. The fix is to rearrange _Noreturn keyword (exiting macro), from: extern void Oerror (void) '''exiting'''; to: '''exiting''' extern void Oerror (void); There are about 10 instances of this usage in base.h, b-fb.h, and b-complain.h. Patch uploaded - rcs.5.9.4_Noreturn.patch. -- Ticket URL: <https://trac.macports.org/ticket/49046#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49046: rcs @5.9.4: error: '_Noreturn' keyword must precede function declarator ---------------------------+-------------------------------- Reporter: inyeol.lee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan haspatch Port: rcs | ---------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: elcapitan => elcapitan haspatch * cc: ric@… (added) Comment: Has duplicate #49304. -- Ticket URL: <https://trac.macports.org/ticket/49046#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49046: rcs @5.9.4: error: '_Noreturn' keyword must precede function declarator ---------------------------+-------------------------------- Reporter: inyeol.lee@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: elcapitan haspatch Port: rcs | ---------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: done r141984 -- Ticket URL: <https://trac.macports.org/ticket/49046#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts