Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6536 - openmotif build failure
Summary: openmotif build failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-15 11:56 UTC by Emmanuel Roger
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Roger 2002-08-15 11:56:14 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/X11R6/include -I./../../lib -I./../../include    -march=i686 -O3 -pipe -Wall -Wno-unused -Wno-comment -c wmldbcreate.c In file included from wmldbcreate.c:96: UilUrmClas.h:847: `XmNtoolTipEnable' undeclared here (not in a function) UilUrmClas.h:847: initializer element is not constant UilUrmClas.h:847: (near initialization for `uil_argument_toolkit_names_vec[517]') UilUrmClas.h:848: `XmNtoolTipPostDelay' undeclared here (not in a function) UilUrmClas.h:848: initializer element is not constant UilUrmClas.h:848: (near initialization for `uil_argument_toolkit_names_vec[518]') UilUrmClas.h:849: `XmNtoolTipPostDuration' undeclared here (not in a function) UilUrmClas.h:849: initializer element is not constant UilUrmClas.h:849: (near initialization for `uil_argument_toolkit_names_vec[519]') UilUrmClas.h:850: `XmNtoolTipString' undeclared here (not in a function) UilUrmClas.h:850: initializer element is not constant UilUrmClas.h:850: (near initialization for `uil_argument_toolkit_names_vec[520]') wmldbcreate.c: In function `emit_chars': wmldbcreate.c:270: warning: `ptr' might be used uninitialized in this function wmldbcreate.c: In function `emit_ints_and_string': wmldbcreate.c:348: warning: `table' might be used uninitialized in this function wmldbcreate.c: In function `emit_char_table': wmldbcreate.c:386: warning: `table' might be used uninitialized in this function wmldbcreate.c: In function `emit_length_and_string': wmldbcreate.c:447: warning: `table' might be used uninitialized in this function wmldbcreate.c: In function `emit_shorts': wmldbcreate.c:568: warning: `ptr' might be used uninitialized in this function wmldbcreate.c: In function `emit_int_and_table_shorts': wmldbcreate.c:634: warning: `table' might be used uninitialized in this function wmldbcreate.c: In function `emit_ints': wmldbcreate.c:667: warning: `ptr' might be used uninitialized in this function make[2]: *** [wmldbcreate.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.2/work/openMotif-2.2.2/tools/wml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.2/work/openMotif-2.2.2/tools' make: *** [all-recursive] Error 1  !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -209, Exitcode 2 !!! make failed  !!! emerge aborting on  /usr/portage/x11-libs/openmotif/openmotif-2.2.2.ebuild .
Comment 1 Nicholas Wourms 2002-08-15 16:34:30 UTC
I can confirm this, it is happening to me as well.  I'm using default-x86-2.0
with gcc-3.2.  The previous version of openmotif emerges fine.  I noticed that
configure fails to generate 2 of the makefile's as well.  I think there are some
missing Makefile.in's.
Comment 2 Andrzej 2002-08-16 00:50:07 UTC
same error here I use gcc-2.95 
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2002-08-16 01:32:35 UTC
i've got an other error

>>> md5 ;-) openMotif-2.2.2.tar.gz
>>> Unpacking source...
>>> Unpacking openMotif-2.2.2.tar.gz
/usr/sbin/ebuild.sh: /usr/portage/x11-libs/openmotif/files/animate-demo.diff: 
No such file or directory

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_unpack, Line -175, Exitcode 1
!!! patch failed

!!! emerge aborting on  /usr/portage/x11-libs/openmotif/openmotif-2.2.2.ebuild .
gentoo tmp # 
Comment 4 Sam Mason 2002-08-16 07:06:46 UTC
It seems to be some wierd compiler thing. . .  I grabbed the definitions
out of the relevant header (Xm/XmStrDefs.h) and pasted them in just before
they were used and everything compiled as expected.

  (I'm using gcc 2.95 as well)
Comment 5 Andrzej 2002-08-16 11:48:46 UTC
the solution is here: 
http://forums.gentoo.org/viewtopic.php?p=65508#65508 
Comment 6 Klaus Kusche 2002-08-16 14:40:08 UTC
Same problem here with gcc 3.1.1, same solution (renaming Xm away before emerge). 

I also had the unpack problem earlier, but it's gone now. I've got such problems
with incomplete portage trees almost every day - the rsync system seems to
propagate new files ***slowly***.
Comment 7 Nick Hadaway 2002-08-16 16:59:39 UTC
I have patched tools/wml/Makefile.in to put ${X_CFLAGS} at the end of INCLUDES 
instead of the beginning.  Please update your portage tree and try emerging 
openmotif again.  The patch filename is include-order.diff
Comment 8 Nick Hadaway 2002-08-25 11:33:41 UTC
Is anyone still having problems?
Comment 9 Nicholas Wourms 2002-08-25 12:47:21 UTC
works for me, thanks!