Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90911 - clisp2.33.2-r2 fails to build on amd64
Summary: clisp2.33.2-r2 fails to build on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-29 15:49 UTC by Eric Silberstein
Modified: 2005-06-21 13:34 UTC (History)
2 users (show)

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


Attachments
patch to clisp-2.33.2 to fix compilation problem (clisp-2.33.2-compilefix.patch,1.15 KB, patch)
2005-05-09 12:41 UTC, Chris Parrott (RETIRED)
Details | Diff
patch to clisp-2.33.2-r2 ebuild to include compilefix patch (clisp-2.33.2-r2.ebuild.patch,376 bytes, patch)
2005-05-09 12:41 UTC, Chris Parrott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Silberstein 2005-04-29 15:49:14 UTC
clisp2.33.2-r2 doesn't compile on amd64

Reproducible: Always
Steps to Reproduce:
1.emerge clisp

Actual Results:  
make[1]: Leaving directory
`/var/tmp/portage/clisp-2.33.2-r2/work/clisp-2.33.2/build/clx/new-clx'
gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type
-Wno-sign-compare -O -DUNICODE -DDYNAMIC_FFI -I.
-I/var/tmp/portage/clisp-2.33.2-r2/work/clisp-2.33.2/build -c modules.c
gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type
-Wno-sign-compare -O -DUNICODE -DDYNAMIC_FFI -I. -x none modules.o clx.o
-L/usr/lib64 -lXpm -lXext -lSM -lICE -lX11 linux.o -lm wildcard.o calls.o -lm
regexi.o lisp.a libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so
-lncurses -ldl -L/usr/lib -lsigsegv -L/usr/lib -lc -o lisp.run
linux.o(.text+0x1a06): In function `module__linux__init_function_2':
: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
linux.o(.text+0x1a1a): In function `module__linux__init_function_2':
: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
linux.o(.text+0x1a2e): In function `module__linux__init_function_2':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
linux.o(.text+0x5a2): In function `module__linux__init_function_2':
: warning: the use of `mktemp' is dangerous, better use `mkstemp'
clx.o(.text+0xff1b): In function `C_subr_xlib_put_image':
: undefined reference to `Array_type_simple_bit_vector'
clx.o(.text+0x1dd5a): In function `C_subr_xlib_query_keymap':
: undefined reference to `Array_type_simple_bit_vector'
collect2: ld returned 1 exit status
base/lisp.run -B . -M base/lispinit.mem -norc -q -i regexp/preload.lisp
syscalls/preload.lisp clx/new-clx/clx-preload.lisp -x (saveinitmem
"full/lispinit.mem")
;; Loading file regexp/preload.lisp ...
;; Loaded file regexp/preload.lisp
;; Loading file syscalls/preload.lisp ...
;; Loaded file syscalls/preload.lisp
;; Loading file clx/new-clx/clx-preload.lisp ...
;; Loaded file clx/new-clx/clx-preload.lisp
2297736 ;
574434
full/lisp.run -B . -M full/lispinit.mem -norc -q -i regexp/regexp syscalls/posix
wildcard/wildcard bindings/glibc/linux bindings/glibc/wrap clx/new-clx/clx
clx/new-clx/image -x (saveinitmem "full/lispinit.mem")
./clisp-link: line 42: full/lisp.run: No such file or directory
make: *** [full] Error 1


Expected Results:  
clisp should be merged...

Portage 2.0.51.20-r5 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.6.11
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.1-r3
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks strict"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aalib acl acpi alsa apache2 arts atlas avi berkdb bitmap-fonts cdr
cjk crypt cups curl dvd encode esd f77 fam flac font-server fortran gd gif gpm
gps gtk gtk2 imagemagick imlib ipv6 jabber jikes jp2 jpeg kde libdvdcss libsdl
libwww lzw lzw-tiff mozsvg mp3 mpeg mysql ncurse ncurses nls nptl offensive ogg
oggvorbis opengl oss pam pda perl php pic png python qt quicktime readline samba
sdl slang speex spell ssl svg tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts unicode usb userlocales videos vorbis wxwindows xine
xml xml2 xmms xpm xrandr xv xvid zlib linguas_fr"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Chris Parrott (RETIRED) gentoo-dev 2005-05-09 12:38:06 UTC
This appears to be an upstream bug with clisp.  Reports of similar problems have
been noted with Alpha systems on the clisp mailing list at sourceforge, so I
suspect that this problem impacts more than just ~amd64.

In particular, the problem seems to be triggered by the X and postgres USE flags,
among others.  Doing the following:

  USE="-*" emerge clisp

Will result in a successful merge of clisp.

Fortunately, the clisp mailing list also yielded a patch which appears to fix 
this problem, making it possible to keep X and postgres in one's USE flags list. 
I have just tested this patch, and it seems to result in a successful build for 
me.  Give it a try, and see if it works for you.  I will attach the patch and a 
patch to the ebuild to include it to this bug report.
Comment 2 Chris Parrott (RETIRED) gentoo-dev 2005-05-09 12:41:22 UTC
Created attachment 58508 [details, diff]
patch to clisp-2.33.2 to fix compilation problem
Comment 3 Chris Parrott (RETIRED) gentoo-dev 2005-05-09 12:41:53 UTC
Created attachment 58510 [details, diff]
patch to clisp-2.33.2-r2 ebuild to include compilefix patch
Comment 4 Karl-Johan Karlsson 2005-05-12 09:02:27 UTC
That patch makes it compile for me, with these USE flags:

  +X -debug -fastcgi +nls +pcre -postgres +readline

and it seems to run OK.

Portage 2.0.51.21 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.11
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fweb -frename-registers -fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -frename-registers -fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sandbox strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://gentoo.oregonstate.edu http://www.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://makanee.ferretporn.se/gentoo-portage"
USE="amd64 X Xaw3d a52 aalib acpi adns alsa bash-completion berkdb bitmap-fonts cdinstall cdparanoia cdr cjk crypt cscope curl doc dvd emacs emacs-w3 fam flac font-server freetype gcl gd gdbm gif glut gmp gstreamer gtk gtk2 imagemagick imap imlib jp2 jpeg kde libwww lzw lzw-tiff mad maildir matroska mbox mikmod mp3 ncurses nls nocd nptl nptlonly nvidia offensive ogg oggvorbis openal opengl operanom2 pam perl pie png python qt readline ruby samba sdl sendfile slang spell sqlite ssl stencil-buffer tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vorbis xface xine xml2 xmms xpm xrandr xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 5 Chris Parrott (RETIRED) gentoo-dev 2005-05-12 23:50:30 UTC
I just tested ppc with this patch, to check for regressions.  The ppc verison
emerged and runs just fine.  The patch does not appear to cause any harm
on ppc.
Comment 6 onay urfalioglu 2005-05-13 01:47:19 UTC
patch(es) seem to work on my system 
* amd64 
* gcc-3.4.3 
* cc-flags: -O3 -pipe 
Comment 7 Jonas Ådahl 2005-06-14 13:46:46 UTC
Why isn't this fixed in portage yet?
Comment 8 Simon Stelling (RETIRED) gentoo-dev 2005-06-21 13:34:13 UTC
because i suck. fixed now