[MacPorts] #23200: /usr/include/stdlib.h:283: error: expected ',' or '; ' before '__OSX_AVAILABLE_BUT_DEPRECATED
#23200: /usr/include/stdlib.h:283: error: expected ',' or ';' before '__OSX_AVAILABLE_BUT_DEPRECATED ------------------------------------+--------------------------------------- Reporter: probono@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: gcc42 ------------------------------------+--------------------------------------- When trying to build gcc42 on a PureDarwin 9 system, I run into {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./gcc/ -B/opt/local/i386-apple-darwin9/bin/ -B/opt/local/i386-apple-darwin9/lib/ -isystem /opt/local/i386-apple-darwin9/include -isystem /opt/local/i386 -apple-darwin9/sys-include -O2 -O2 -O2 -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-4.2.4/gcc -I../../gcc-4.2.4/gcc/. -I../../gcc-4.2.4/gcc/../include -I../../gcc-4.2.4/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include -I../../gcc-4.2.4/gcc/../libdecnumber -I../libdecnumber -DL_muldi3 -fvisibility=hidden -DHIDE_EXPORTS -c ../../gcc-4.2.4/gcc/libgcc2.c -o libgcc/./_muldi3.o In file included from ../../gcc-4.2.4/gcc/tsystem.h:104, from ../../gcc-4.2.4/gcc/libgcc2.c:33: /usr/include/stdlib.h:283: error: expected ',' or ';' before '__OSX_AVAILABLE_BUT_DEPRECATED' make[4]: *** [libgcc/./_muldi3.o] Error 1 make[4]: *** Waiting for unfinished jobs.... /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./gcc/ -B/opt/local/i386-apple-darwin9/bin/ -B/opt/local/i386-apple-darwin9/lib/ -isystem /opt/local/i386-apple-darwin9/include -isystem /opt/local/i386 -apple-darwin9/sys-include -O2 -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc-4.2.4/gcc -I../../gcc-4.2.4/gcc/. -I../../gcc-4.2.4/gcc/../include -I../../gcc-4.2.4/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include -I../../gcc-4.2.4/gcc/../libdecnumber -I../libdecnumber \ -fno-tree-dominator-opts \ -c ../../gcc-4.2.4/gcc/config/darwin-crt3.c -o crt3.o In file included from ../../gcc-4.2.4/gcc/tsystem.h:104, from ../../gcc-4.2.4/gcc/config/darwin-crt3.c:38: /usr/include/stdlib.h:283: error: expected ',' or ';' before '__OSX_AVAILABLE_BUT_DEPRECATED' make[5]: *** [crt3.o] Error 1 make[4]: *** [extra] Error 2 make[3]: *** [stmp-multilib] Error 2 rm cpp.pod make[2]: *** [all-stage1-gcc] Error 2 make[1]: *** [stage1-bubble] Error 2 make: *** [all] Error 2 }}} (In case it matters: /usr/include/Availability.h is present.) -- Ticket URL: <http://trac.macports.org/ticket/23200> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23200: gcc42 build failure on puredarwin ------------------------------------+--------------------------------------- Reporter: probono@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: puredarwin | Port: gcc42 ------------------------------------+--------------------------------------- Changes (by jmr@…): * cc: mww@… (removed) * keywords: => puredarwin * owner: macports-tickets@… => mww@… -- Ticket URL: <http://trac.macports.org/ticket/23200#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23200: gcc42 build failure on puredarwin ------------------------+------------------------ Reporter: probono@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: wontfix | Keywords: puredarwin Port: gcc42 | ------------------------+------------------------ Changes (by larryv@…): * status: new => closed * resolution: => wontfix Comment: PureDarwin? Seriously? -- Ticket URL: <https://trac.macports.org/ticket/23200#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#23200: gcc42 build failure on puredarwin ------------------------+------------------------ Reporter: probono@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: wontfix | Keywords: puredarwin Port: gcc42 | ------------------------+------------------------ Comment (by egall@…): Replying to [comment:3 larryv@…]:
PureDarwin? Seriously?
MacPorts has a long history of supporting PureDarwin, considering that it's the official package manager that that project uses. Just search trac for "puredarwin" -- Ticket URL: <https://trac.macports.org/ticket/23200#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#23200: gcc42 build failure on puredarwin ------------------------+------------------------ Reporter: probono@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: wontfix | Keywords: puredarwin Port: gcc42 | ------------------------+------------------------ Comment (by larryv@…): Replying to [comment:4 egall@…]:
MacPorts has a long history of supporting PureDarwin, considering that it's the official package manager that that project uses.
MacPorts does not “support” PureDarwin—and I suspect never has—but PureDarwin project members are welcome to report bugs and submit patches. This has not happened in over three years.
Just search trac for "puredarwin"
At least half of the tickets that are actually related to PureDarwin (i.e., not general issues reported/Cc’d by people with “puredarwin.org” email addresses) are not fixed. The tickets that were fixed are overwhelmingly those with associated patches; many of them just added `+puredarwin` variants to ports. (And that variant no longer exists in the current ports tree. Only 18 portfiles mention “puredarwin” at all.) -- Ticket URL: <https://trac.macports.org/ticket/23200#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts