Opened 15 years ago

Closed 12 years ago

Last modified 12 years ago

#23200 closed defect (wontfix)

gcc42 build failure on puredarwin

Reported by: probono@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: puredarwin Cc: aladin@…, cooljeanius (Eric Gallager)
Port: gcc42

Description

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.)

Change History (5)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Cc: mww@… removed
Keywords: puredarwin added
Owner: changed from macports-tickets@… to mww@…
Summary: /usr/include/stdlib.h:283: error: expected ',' or ';' before '__OSX_AVAILABLE_BUT_DEPRECATEDgcc42 build failure on puredarwin

comment:2 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 12 years ago by larryv (Lawrence Velázquez)

Resolution: wontfix
Status: newclosed

PureDarwin? Seriously?

comment:4 in reply to:  3 ; Changed 12 years ago by cooljeanius (Eric Gallager)

Replying to 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"

comment:5 in reply to:  4 Changed 12 years ago by larryv (Lawrence Velázquez)

Replying to 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.)

Note: See TracTickets for help on using tickets.