| Summary: | dev-lang/pcc-1.1.0 - ./cc.c:212:47: error: expected '}' before 'MULTIARCH_PATH' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bertrand Jacquin <bertrand> |
| Component: | [OLD] Development | Assignee: | Patrick Lauer <patrick> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bertrand |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
emerge --info |
||
Created attachment 398420 [details]
build.log
Created attachment 398422 [details]
emerge --info
#ifdef MULTIARCH_PATH
#define DEFLIBDIRS { "/usr/lib/", 0 }
#else
#define DEFLIBDIRS { "/usr/lib/", "/usr/lib/" MULTIARCH_PATH "/", 0 }
#endif
That is just perfectly backwards ...
+ 09 Mar 2015; Patrick Lauer <patrick@gentoo.org> + +files/pcc-1.1.0-multiarch.patch, +pcc-1.1.0-r1.ebuild, -pcc-1.1.0.ebuild: + Fix multiarch logic #542606 |
dev-lang/pcc-1.1.0 fail to build on x86 with the following error message: ===> cc/cc make[2]: Entering directory '/var/tmp/portage/dev-lang/pcc-1.1.0/work/pcc-1.1.0/cc/cc' i686-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -DLIBEXECDIR=\"/usr/libexec/\" -DGCC_COMPAT -DPCC_DEBUG -DINCLUDEDIR=\"/usr/include/\" -DPCCINCDIR=\"/usr/lib/pcc/i686-pc-linux-gnu/1.1.0/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/i686-pc-linux-gnu/1.1.0/lib/\" -Dos_linux -Dmach_i386 -DTARGOSVER=0 -DCPPROGNAME=\"pcpp\" -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/i386 -c -o cc.o ./cc.c ./cc.c:212:47: error: expected '}' before 'MULTIARCH_PATH' #define DEFLIBDIRS { "/usr/lib/", "/usr/lib/" MULTIARCH_PATH "/", 0 } ^ ./cc.c:230:22: note: in expansion of macro 'DEFLIBDIRS' char *deflibdirs[] = DEFLIBDIRS; ^ Makefile:50: recipe for target 'cc.o' failed make[2]: *** [cc.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-lang/pcc-1.1.0/work/pcc-1.1.0/cc/cc' Makefile:12: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-lang/pcc-1.1.0/work/pcc-1.1.0/cc' Makefile:12: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: dev-lang/pcc-1.1.0::gentoo failed (compile phase): * emake failed Full log attached and emerge --info Reproducible: Always