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

Bug 40032

Summary: cmucl ebuild crashes "target:hemlock/hemlock-library.x86f" out of date
Product: Gentoo Linux Reporter: ElliottJohnson <ejohnson>
Component: Current packagesAssignee: Gentoo Lisp Project <lisp>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ElliottJohnson 2004-01-31 20:27:30 UTC
I tried emergeing cmucl-18e-r2.ebuild, except that it fails with strange errors.  Here is a sample:

Reading dictionary ...
Writing dictionary ...
15505 entries processed with 6451 collisions."target:hemlock/hemlock-library.x86f" out of date.
T
* gmake[1]: Entering directory `/var/tmp/portage/cmucl-18e-r2/work/cmucl-18e/target/motif/server'
rm -f core main.o server.o translations.o packet.o message.o datatrans.o requests.o callbacks.o widgets.o resources.o tables.o motif.o text.o xmstring.o list.o events.o motifd ;  true
gmake[1]: Leaving directory `/var/tmp/portage/cmucl-18e-r2/work/cmucl-18e/target/motif/server'
gmake[1]: Entering directory `/var/tmp/portage/cmucl-18e-r2/work/cmucl-18e/target/motif/server'
gcc -O2 -I/usr/X11R6/include -I. -I../../../src/motif/server/   -c -o main.o ../../../src/motif/server/main.c
../../../src/motif/server/main.c:62: warning: initialization makes integer from pointer without a cast
../../../src/motif/server/main.c: In function `main':
../../../src/motif/server/main.c:214: warning: assignment makes integer from pointer without a cast
../../../src/motif/server/main.c:216: warning: assignment makes integer from pointer without a cast
../../../src/motif/server/main.c:228: warning: assignment makes integer from pointer without a cast
gcc -O2 -I/usr/X11R6/include -I. -I../../../src/motif/server/   -c -o server.o ../../../src/motif/server/server.c
../../../src/motif/server/server.c:18:19: Xm/Xm.h: No such file or directory
../../../src/motif/server/server.c: In function `serve_client':
../../../src/motif/server/server.c:158: error: `XmRXmString' undeclared (first use in this function)
../../../src/motif/server/server.c:158: error: (Each undeclared identifier is reported only once
../../../src/motif/server/server.c:158: error: for each function it appears in.)
../../../src/motif/server/server.c:171: error: `XmRFontList' undeclared (first use in this function)
../../../src/motif/server/server.c:173: error: `XmRXmStringTable' undeclared (first use in this function)
gmake[1]: *** [server.o] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/cmucl-18e-r2/work/cmucl-18e/target/motif/server'
make: *** [all] Error 2

!!! ERROR: dev-lisp/cmucl-18e-r2 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)

I've tried emergeing other versions, but I get a complaint about `/var/tmp/portage/cmucl-18e-r2/work/cmucl-18e/target/motif/server'
make: *** [all] Error 2

!!! ERROR: dev-lisp/cmucl-18e-r2 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)

I've tried emergeing other versions, but I get a complaint  "Failed Patch: herald-save.lisp-gentoo.patch! Include in your bugreport the contents of: /var/tmp/portage/cmucl-18e-r1/temp/herald-save.lisp-gentoo.patch-18743.out, so I can post it here if nessisary.  That file shows that it couldn't patch the file, save.lisp.  Any help would be apprecaited!  Thanks.



Reproducible: Always
Steps to Reproduce:
1.emerge cmucl
2.
3.

Actual Results:  
the ebuild failed for r2, so I tried the other ebuilds, they don't funtion with
the herald-save.lisp-gentoo.patch.

Expected Results:  
I should have installed as usual.

Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r1,
2.6.2-rc1-love2)
=================================================================
System uname: 2.6.2-rc1-love2 i686 AMD Athlon(tm) 
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -mfpmath=sse 
-fforce-addr -fomit-frame-pointer -frerun-loop-opt -frerun-cse-after-loop
-falign-functions=4"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -mfpmath=sse 
-fforce-addr -fomit-frame-pointer -frerun-loop-opt -frerun-cse-after-loop
-falign-functions=4"
DISTDIR="/usr/portage/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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm arts avi berkdb cdr cjk crypt cups dvd dvdr encode
foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx
motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2004-02-13 16:07:15 UTC
Please try cmucl-18e-r3 (emerge sync).  It corrects a problem whereby the Motif headers introduced by LessTif are not found by the CMUCL build process.
Comment 2 Philipp Riegger 2004-02-18 22:46:18 UTC
Same problem here with cmucl r3:

gcc -O2 -I/usr/X11R6/include -I. -I../../../src/motif/server/   -c -o server.o ../../../src/motif/server/server.c
../../../src/motif/server/server.c:18:19: Xm/Xm.h: No such file or directory
../../../src/motif/server/server.c: In function `serve_client':
../../../src/motif/server/server.c:158: error: `XmRXmString' undeclared (first use in this function)
../../../src/motif/server/server.c:158: error: (Each undeclared identifier is reported only once
../../../src/motif/server/server.c:158: error: for each function it appears in.)
../../../src/motif/server/server.c:171: error: `XmRFontList' undeclared (first use in this function)
../../../src/motif/server/server.c:173: error: `XmRXmStringTable' undeclared (first use in this function)
gmake[1]: *** [server.o] Error 1
gmake[1]: Leaving directory `/home/share/portage/tmp/portage/cmucl-18e-r3/work/cmucl-18e/target/motif/server'
make: *** [all] Error 2

!!! ERROR: dev-lisp/cmucl-18e-r3 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)

I tried to install the r2 version, it didn't work, i tried the r3 version, it didn't work. do i have to recompile LessTif or something else?
Comment 3 ElliottJohnson 2004-02-19 10:41:06 UTC
I still have the bug with cmucl here's my bit.

gcc -O2 -I/usr/X11R6/include -I. -I../../../src/motif/server/   -c -o main.o ../../../src/motif/server/main.c
../../../src/motif/server/main.c:62: warning: initialization makes integer from pointer without a cast
../../../src/motif/server/main.c: In function `main':
../../../src/motif/server/main.c:214: warning: assignment makes integer from pointer without a cast
../../../src/motif/server/main.c:216: warning: assignment makes integer from pointer without a cast
../../../src/motif/server/main.c:228: warning: assignment makes integer from pointer without a cast
gcc -O2 -I/usr/X11R6/include -I. -I../../../src/motif/server/   -c -o server.o ../../../src/motif/server/server.c
../../../src/motif/server/server.c:18:19: Xm/Xm.h: No such file or directory
../../../src/motif/server/server.c: In function `serve_client':
../../../src/motif/server/server.c:158: error: `XmRXmString' undeclared (first use in this function)
../../../src/motif/server/server.c:158: error: (Each undeclared identifier is reported only once
../../../src/motif/server/server.c:158: error: for each function it appears in.)
../../../src/motif/server/server.c:171: error: `XmRFontList' undeclared (first use in this function)
../../../src/motif/server/server.c:173: error: `XmRXmStringTable' undeclared (first use in this function)
gmake[1]: *** [server.o] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/cmucl-18e-r3/work/cmucl-18e/target/motif/server'
make: *** [all] Error 2


!!! ERROR: dev-lisp/cmucl-18e-r3 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2004-02-23 09:00:06 UTC
Would the last two commenters please provide the following information:

  * ls -F /usr/X11R6/include
  * their USE flags (from emerge info is fine)
  * whether you have lesstif and/or openmotif installed
Comment 5 ElliottJohnson 2004-02-23 13:41:31 UTC
1) ls -F /usr/X11R6/include

DPS/  GL/  X11/  lesstif/  xf86Optrec.h  xf86Parser.h

2) My emerge info

USE="3dnow X aalib apm arts avi berkdb cdr cjk crypt cups dvd dvdr encode esd foomaticdb gdbm gif gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype x86 xml2 xmms xv zlib"
Comment 6 Philipp Riegger 2004-02-25 07:38:39 UTC
stoile@chris stoile $ ls -F /usr/X11R6/include
DPS/  GL/  X11/  lesstif/  xf86Optrec.h  xf86Parser.h

stoile@chris stoile $ emerge info
...
USE="X apache2 crypt cups doc emacs encode foomaticdb gif gtk gtk2 idea imap imlib java jpeg libg++ libwww mad maildir mikmod mpeg mysql ncurses nls pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml xml2 xmms xv zlib"

I used lesstif.
Comment 7 Matthew Kennedy (RETIRED) gentoo-dev 2004-02-26 19:42:27 UTC
Fixed in -r4.  The problem was, the path to lesstif headers nd library was not set in Config.x86 at build time.
Comment 8 ElliottJohnson 2004-02-27 03:14:14 UTC
Thanks for the update, but I still have the same error.

I'm beginning to think its an error with motif, rather than cmucl. I tried to emerge xpdf which also uses motif, and during configuration, it too was unable to locate either openmotif or lesstif.  If anyone wants to test this, go ahead and emerge xpdf.  Without motif, it won't build the xpdf executable.  Instead it'll build a few accompanying utils.

I'll check up more on this tomorrow, or should I say later today ;)
Comment 9 Philipp Riegger 2004-02-28 01:09:48 UTC
The same thing with lesstif and r4:

15505 entries processed with 6451 collisions."target:hemlock/hemlock-library.x86f" out of date.
T
* gmake[1]: Entering directory `/var/tmp/portage/portage/cmucl-18e-r4/work/cmucl-18e/target/motif/server'
rm -f core main.o server.o translations.o packet.o message.o datatrans.o requests.o callbacks.o widgets.o resources.o tables.o motif.o text.o xmstring.o list.o events.o motifd ;  true
gmake[1]: Leaving directory `/var/tmp/portage/portage/cmucl-18e-r4/work/cmucl-18e/target/motif/server'
gmake[1]: Entering directory `/var/tmp/portage/portage/cmucl-18e-r4/work/cmucl-18e/target/motif/server'
gcc -O2 /usr/X11R6/include/lesstif -I. -I../../../src/motif/server/   -c -o main.o ../../../src/motif/server/main.c
gcc: cannot specify -o with -c or -S and multiple compilations
gmake[1]: *** [main.o] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/portage/cmucl-18e-r4/work/cmucl-18e/target/motif/server'
make: *** [all] Error 2

!!! ERROR: dev-lisp/cmucl-18e-r4 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)

I'll now try openmotif and r4.
Comment 10 Philipp Riegger 2004-02-28 02:23:52 UTC
Same Error with OpenMotif. I didn't unmerge lesstif, but that shouldn't be the problem.
Comment 11 Matthew Kennedy (RETIRED) gentoo-dev 2004-02-28 22:43:05 UTC
A new -r4 has been committed.  It fixed the typographical error.  To get the new version, emerge sync and emerge cmucl
Comment 12 Philipp Riegger 2004-02-29 02:11:43 UTC
Ok, looks like this bugfix works for me, thanks a lot.