Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 6607

Summary: OpenMotif 2.2.2 doesn't compile
Product: Gentoo Linux Reporter: Ivan Raikov <raikov>
Component: [OLD] LibraryAssignee: Nick Hadaway <grandmasterlinux>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ivan Raikov 2002-08-16 15:43:21 UTC
Emerging OpenMotif 2.2.2 fails with the following error:

 gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/X11R6/include -I./../../lib
-I./../../include           
-mcpu=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 Nick Hadaway 2002-08-22 19:35:33 UTC
A new ebuild should be available in portage which fixes this compile problem.

emerge rsync
emerge openmotif

Please report back on this bug and let me know if the update works.
Comment 2 Ivan Raikov 2002-08-24 15:27:02 UTC
OpenMotif seems to be compiling correctly now.
Comment 3 Nick Hadaway 2002-08-25 11:31:48 UTC
Closing bug due to success report.