Emerging openmotif 2.1.30 fails with a lot of errors similar to : ../config/cf/site.def:80: warning: this is the location of the previous definition In file included from ../config/cf/Imake.tmpl:96, from Imakefile.c:13: ../config/cf/site.def:69: warning: "VirtualBindingsPath" redefined In file included from ../config/cf/site.def:17, from ../config/cf/Imake.tmpl:41, from Imakefile.c:13: ../config/cf/host.def:6: warning: this is the location of the previous definition In file included from ../config/cf/Imake.tmpl:96, from Imakefile.c:13: ../config/cf/site.def:75: warning: "YaccCmd" redefined In file included from ../config/cf/Imake.tmpl:90, from Imakefile.c:13: ../config/cf/linux.cf:239: warning: this is the location of the previous definition then finally: !!! ERROR: x11-libs/openmotif-2.1.30-r4 failed. !!! Function src_compile, Line 70, Exitcode 2 !!! (no error message) I'm using xorg, NLPT and here' s my emerge info Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6) ================================================================= System uname: 2.6.6 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.10 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=sse,387" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=sse,387" DISTDIR="/home/distfiles/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apache2 auctex avi berkdb bonobo cdr crypt cups doc dvd encode esd faad fbcon foomaticdb freetype fs gb gd gdbm ggi gif glade gmttria gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq imap imlib java joystick jpeg ldap libg++ libwww lua mad mikmod motif mozilla mpeg msn mule mysql nas ncurses nls nptl objc offensive oggvorbis opengl oss pam pda pdflib perl png python quicktime radeon readline samba sdl slang spell sse ssl svg svga tcltk tcpd tetex tiff truetype vim-with-x wxwin wxwindows x86 xemacs xerces xine xinerama xml2 xmms xv yahoo zlib" Reproducible: Always Steps to Reproduce:
drop down your CFLAGS and try again
please append a complete log of the merge process
Created attachment 31851 [details] Log file of the ebuild
My emerge also throws a huge bunch of errors. It might or might not be related. It looks like this: ========================================================================= make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r4/work/motif/tools/wml' rm -f wmldbcreate.o gcc -c -O3 -march=athlon-xp -fomit-frame-pointer -I. -I../../exports/include -I../../exports/include -I../../lib -I../../include -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 wmldbcreate.c wmldbcreate.c:84:24: UilLexPars.h: No such file or directory [...] make[2]: *** [UilSymChTa.h] Error 1 make[2]: Target `all' not remade because of errors. make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r4/work/motif/tools/wml' [...] make[3]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r4/work/motif/clients/uil' rm -f UilCmd.o unshared/UilCmd.o gcc -c -I. -I../../exports/include -I../../exports/include -I../../lib -I../../include -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 -O3 -march=athlon-xp -fomit-frame-pointer UilCmd.c -o unshared/UilCmd.o In file included from UilCmd.c:68: UilDefI.h:275:69: UilDBDef.h: No such file or directory [...] make[3]: *** [UilMain.o] Error 1 make[3]: Target `all' not remade because of errors. make[3]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r4/work/motif/clients/uil' ==================================================================
what about -r5 ?
-r5: the same here make[3]: *** No rule to make target `clean'. Stop. .... make[1]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r5/work/motif' make: *** [World] Error 2 !!! ERROR: x11-libs/openmotif-2.1.30-r5 failed. !!! Function src_compile, Line 75, Exitcode 2 !!! (no error message) # emerge info Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r6) ================================================================= System uname: 2.6.7-gentoo-r6 x86_64 4 Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.heanet.ie/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync5.nl.gentoo.org/gentoo-portage" USE="X aalib acpi alsa amd64 apm arts atlas audiofile avi berkdb cdr crypt cups dga directfb divx4linux dvb dvd dvdr encode esd f77 fbcon fftw flac foomaticdb gcj gdbm gif gphoto2 gpm gstreamer gtk2 imagemagick imap innodb java jpeg kde libwww live matroska mcal mikmod mng motif mpeg mysql nas ncurses nls nogcj nptl oggvorbis opengl pam pda pdflib perl plotutils png python qt quicktime readline ruby samba scanner sdl slang speex spell ssl tcpd tetex tiff truetype unicode usb wifi wmf xinerama xml xml2 xv xvid zlib"
Created attachment 34439 [details] output of the emerge process
bartron, any idea?
Is the problem still there? I think it was solved for some people. At least it work for me...
openmotif-2.1.30-r4 fails to build on me too. Same errors as Gustavo. 2.1.30-r5 builds ok.
gustavo, rutger, can you please verify that you still get this error with -r5
I have this bug as well with -r4 and -r5, regardless of CFLAGS. I'm using xorg as well. Here's my emerge info: Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r13) ================================================================= System uname: 2.6.7-gentoo-r13 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -funroll-loops -pipe" CHOST="i386-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim alsa apm arts avi bcmath berkdb bonobo bzlib calendar cdparanoia cdr crypt cups db divx divx4linux dvd dvdr emacs encode esd foomaticdb gdbm gif gmp gnome gnutls gphoto gpm gtk gtk gtk2 gtkhtml guile imlib java jikes jpeg kde libg++ libwww mad mikmod mmap mmx motif mozilla mpeg msn ncurses nls oggvorbis opengl oscar oss pam pdflib perl php png pnp posix python qt quicktime readline samba sdl simplexml slang soap spell sse ssl svga tcpd tiff truetype unicode v4l v4l2 wxwindows x86 xine xml xml2 xmms xv xvid yahoo zlib"
I'm getting the same error, regardless of -r4 or -r5. And I'm too using xorg. emerge info: Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8-rc4) ================================================================= System uname: 2.6.8-rc4 i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib acl acpi acpi4linux activefilter adns aim alsa apache2 apm arts artswrappersuid atm avantgo avi beep berkdb cddb cdr chroot crypt cups curl devfs26 directfb divx4linux encode escreen esd ethereal etwin fbcon flash fluidsynth foomaticdb freetype fs gb gd gd-external gdbm gif gimp gimpprint glade gnome gnomedb gnuplot gphoto2 gpm gtk gtk2 guile icq icu imagemagick imap imlib jabber java javascript joystick jp2 jpeg kde lcms ldap libcaca libg++ libsamplerate libwww live mad mbox mdb memlimit mikmod mmap mmx motif mozilla moznocompose moznoirc mozp3p mozxmlterm mpeg mpeg4 mplayer msn music mysql nas ncurses net nls nntp noaudio nocd nojoystick ntlm oggvorbis opengl operanom2 opie oscar oss pam pcap pcre pda pdflib perl php png pnp python qt quicktime readline samba sasl scanner sdl slang spell ssl svga t1lib tcltk tcpd tcsim tiff truetype type1 unicode usb v4l v4l2 vhosts video_cards_radeon vim-with-x wifi wmf x86 xml2 xmms xosd xprint xv xvid yahoo zlib"
solved comment out your MAKE_OPTS="-j2" line and it will compile -feld
*** Bug 65699 has been marked as a duplicate of this bug. ***
Created attachment 40734 [details, diff] cd /usr/portage/dev-util/ddd; patch -p0 < ddd-3.3.9.ebuild.patch I don't quite follow how bug #65699 is a duplicate of this bug or why this bug has anything to do with it at all. I sympathise with anyone having problems with openmotif but I had no problems building it, ddd worked fine with it and not unexpectedly, given that ddd is a GNU project and lesstif is almost certainly the motif environment the developers use, it works fine with lesstif too. I prefer to use Free software where possible and wish the ddd ebuild to respect the lesstif USE flag. "we're working hard on getting the choice, but at the moment it's not yet possible" Well it seemed to me that to add the lesstif choice to my copy of the ebuild was one of the easiest things I've had to do today and I've now done so for the ddd-3.3.9.ebuild (along with a fix for the URI since sourceforge does not seem to have the right files).
ok, added MAKETOPS=-j1 to the ebuild