Unix Technical Forum

openmotif switch set wrong

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


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 07:10 AM
PenguinsAnonymous@NotaChance.com
 
Posts: n/a
Default openmotif switch set wrong

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 07:10 AM
PenguinsAnonymous@NotaChance.com
 
Posts: n/a
Default Re: openmotif switch set wrong

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 07:10 AM
Shan Destromp
 
Posts: n/a
Default Re: openmotif switch set wrong

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 07:10 AM
=?iso-8859-1?Q?H=E5kon_A=2E_Hjortland?=
 
Posts: n/a
Default Re: openmotif switch set wrong

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:23 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com