First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 90911
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Eric Silberstein <eric.silberstein@free.fr>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
clisp-2.33.2-compilefix.patch patch to clisp-2.33.2 to fix compilation problem patch Chris Parrott (RETIRED) 2005-05-09 12:41 0000 1.15 KB Details | Diff
clisp-2.33.2-r2.ebuild.patch patch to clisp-2.33.2-r2 ebuild to include compilefix patch patch Chris Parrott (RETIRED) 2005-05-09 12:41 0000 376 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 90911 depends on: Show dependency tree
Bug 90911 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-29 15:49 0000
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 From Chris Parrott (RETIRED) 2005-05-09 12:38:06 0000 -------
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 From Chris Parrott (RETIRED) 2005-05-09 12:41:22 0000 -------
Created an attachment (id=58508) [edit]
patch to clisp-2.33.2 to fix compilation problem

------- Comment #3 From Chris Parrott (RETIRED) 2005-05-09 12:41:53 0000 -------
Created an attachment (id=58510) [edit]
patch to clisp-2.33.2-r2 ebuild to include compilefix patch

------- Comment #4 From Karl-Johan Karlsson 2005-05-12 09:02:27 0000 -------
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 From Chris Parrott (RETIRED) 2005-05-12 23:50:30 0000 -------
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 From onay urfalioglu 2005-05-13 01:47:19 0000 -------
patch(es) seem to work on my system 
* amd64 
* gcc-3.4.3 
* cc-flags: -O3 -pipe 

------- Comment #7 From Jonas Ã…dahl 2005-06-14 13:46:46 0000 -------
Why isn't this fixed in portage yet?

------- Comment #8 From Simon Stelling (RETIRED) 2005-06-21 13:34:13 0000 -------
because i suck. fixed now

First Last Prev Next    No search results available      Search page      Enter new bug