This is a discussion on openmotif switch set wrong within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> anyone else encounter this error in recent update world? emerge sync emerge -uDv world during emerge of openmotif-2.1.30-r3 obviously ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| anyone else encounter this error in recent update world? emerge sync emerge -uDv world during emerge of openmotif-2.1.30-r3 obviously regressed from my currently installed openmotif-2.2.2-r1 -------------------- gcc -mcpu=1 -O3 -pipe -I../../include -I../../imports/x11/include/X11 -I../.. -I../../exports/include -I../../imports/x11/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -DNO_MESSAGE_CATALOG -DFUNCPROTO=15 -DNARROWPROTO -DCPP_PROGRAM="\"/lib/cpp\"" -c -o imake.o imake.c cc1: bad value (1) for -mcpu= switch make[2]: *** [imake.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r3/work/motif/config/imake' make[1]: *** [imake.bootstrap] Error 2 make[1]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r3/work/motif' make: *** [World] Error 2 !!! ERROR: x11-libs/openmotif-2.1.30-r3 failed. !!! Function src_compile, Line 59, Exitcode 2 !!! (no error message) -------------------- (my make.conf does not have this setting it is CFLAGS="-mcpu=i686 -03 -pipe" ) Anyone know what is going on? Is the openmotif ebuild regressed to the wrong one perhaps? TIA -Walt -- Reply to innkeepATncDOTrrDOTcom to email questions. |
| |||
| looks like 2.1.30-r1 emerges r2 and r3 do not. -Walt PenguinsAnonymous@notachance.com wrote: > anyone else encounter this error in recent update > world? > emerge sync > emerge -uDv world > during emerge of openmotif-2.1.30-r3 obviously > regressed from my currently installed > openmotif-2.2.2-r1 > -------------------- > gcc -mcpu=1 -O3 -pipe -I../../include > -I../../imports/x11/include/X11 -I../.. > -I../../exports/include -I../../imports/x11/include > -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L > -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE > -D_SVID_SOURCE -DNO_MESSAGE_CATALOG -DFUNCPROTO=15 > -DNARROWPROTO -DCPP_PROGRAM="\"/lib/cpp\"" -c -o > imake.o imake.c > cc1: bad value (1) for -mcpu= switch > make[2]: *** [imake.o] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/openmotif-2.1.30-r3/work/motif/config/imake' > make[1]: *** [imake.bootstrap] Error 2 > make[1]: Leaving directory > `/var/tmp/portage/openmotif-2.1.30-r3/work/motif' > make: *** [World] Error 2 > !!! ERROR: x11-libs/openmotif-2.1.30-r3 failed. > !!! Function src_compile, Line 59, Exitcode 2 > !!! (no error message) > -------------------- > (my make.conf does not have this setting > it is > CFLAGS="-mcpu=i686 -03 -pipe" > ) > Anyone know what is going on? Is the openmotif > ebuild regressed to the wrong one perhaps? > TIA > -Walt > -- > Reply to innkeepATncDOTrrDOTcom to email questions. -- Reply to innkeepATncDOTrrDOTcom to email questions. |
| |||
| PenguinsAnonymous@NotaChance.com wrote: > looks like 2.1.30-r1 emerges r2 and r3 do not. > -Walt > > PenguinsAnonymous@notachance.com wrote: >> anyone else encounter this error in recent update >> world? >> emerge sync >> emerge -uDv world > >> during emerge of openmotif-2.1.30-r3 obviously >> regressed from my currently installed >> openmotif-2.2.2-r1 > <quote who='/usr/portage/profile/package.mask'> # <lanius@gentoo.org> (11 Jan 2004) # force downgrade >=x11-libs/openmotif-2.2.2 </quote> Dunno why, but they want you using a lower version for the time being. -- Shan Destromp --- Sent: Mon, Jan 12, 2004 @ 19.25.08 EST ---- OS: GNU/Linux 2.4.22-gentoo-r4 Processor: AuthenticAMD i686 |
| ||||
| On 2004-01-12, PenguinsAnonymous@NotaChance.com <PenguinsAnonymous@NotaChance.com> wrote: > during emerge of openmotif-2.1.30-r3 [...] > > gcc -mcpu=1 -O3 -pipe -I../../include > [...] > cc1: bad value (1) for -mcpu= switch > [...] > (my make.conf does not have this setting > it is > CFLAGS="-mcpu=i686 -03 -pipe" > ) I had the same problem and posted some bugreports: Why it breaks (for the curious): http://bugs.motifzone.net/show_bug.cgi?id=1251 Short answer: Bug! Quickfix: http://bugs.gentoo.org/show_bug.cgi?id=38013 Short answer: openmotif-2.1.30-r3.ebuild: ************************************************** ********** echo >>$cfg echo >>$cfg "#undef i686" echo >>$cfg "#undef OptimizedCDebugFlags" ************************************************** ********** You need to insert the second line. --Håkon |