When compiling clisp (2.38) with X USE flag activated results in failure: checking for xmkmf... no checking for X11 header files... no checking for main in -lX11... (cached) yes configure: error: cannot find X Window System See `config.log' for more details. make: *** [clx/new-clx] Error 1 !!! ERROR: dev-lisp/clisp-2.38 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile clisp-2.38.ebuild, line 55: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. This is on a ~x86 setup with Xorg modular. emerge --info: totoz-linux zedek # emerge --info Portage 2.1_pre7-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-suspend2-r1 i686) ================================================================= System uname: 2.6.16-suspend2-r1 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1, 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -mmmx -msse -msse2 -fomit-frame-pointer -ffast-math -ftracer -fprefetch-loop-arrays -fno-ident -falign-functions=64 -momit-leaf-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache confcache distcc distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="fr fr_FR" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X X509 a52 aac acl acpi aio alsa apache2 applet artworkextra asf async audiofile avahi bash-completion bdf beagle berkdb bitmap-fonts bookmarks bzip2 cairo cdb cdda cddb cdparanoia cdr chm crosscompile crypt ctype cups curl curlwrappers custom-cflags daap dba dbus dio dlloader dri dts dvd dvdr dvdread dvi eds emacs emoticon encode esd evo exif expat fam fbcon ffmpeg fftw firefox flac flash foomaticdb ftp gaim gd gdbm gif glep glut glx gmp gnome gnutls gphoto2 gstreamer gstreamer010 gtk gtk2 hal i8x0 iconv imagemagick imap imlib2 input_devices_evdev input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog jabber javascript jpeg lcms lesstif libedit libnotify libwww linuxthreads-tls logrotate lua lzo mad matroska mbox memlimit mime mmap mmx mono moznocompose moznoirc moznomail moznoroaming mozsvg mp3 mpeg multislot nautilus ncurses network nfs nls nntp no-old-linux nptl nsplugin ofx ogg opengl oss pam pam_chroot pam_console pam_timestamp pcntl pcre pdf perl pic plotutils png posix ppds pppd profile python quicktime readline real recode rhythmbox sasl savedconfig sdl session sharedmem simplexml skey slang soap sockets source speex spell sqlite sqlite3 sse sse2 ssl svg symlink sysvipc tcpd tetex theora threads tidy tiff tokenizer truetype unicode usb vcd vorbis win32codecs wmf xface xine xml xosd xpm xprint xscreensaver xsl xv xvid zlib elibc_glibc input_devices_synaptics kernel_linux linguas_fr linguas_fr_FR userland_GNU video_cards_i810 video_cards_vesa" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
This block 127463 for the clisp USE flag part.
I also tested X USE flag with 2.36 resulting to identical failure with the same error message (on the same computer as well)
works using the following configuration: clisp 2.38 xorg-x11 6.8.2-r1 emerge --info *** You are not in the portage group. You may experience cache problems *** due to permissions preventing the creation of the on-disk cache. *** Please add this user to the portage group if you wish to use portage. Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.11-gent oo-r8 i686) ================================================================= System uname: 2.6.11-gentoo-r8 i686 AMD Sempron(tm) 3000+ Gentoo Base System version 1.4.16 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-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/kd e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/s hare/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/g eneric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/q mail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X adns alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cscope cups curl eds emboss encode esd exif expat fam foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 ja va jpeg junit kde lcms libg++ libwww lua mad mikmod mng motif mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quickti me readline ruby sdl spell sqlite ssl svga tcltk tcpd tetex tiff truetype truety pe-fonts type1-fonts udev vorbis xml2 xmms xv xvid zlib userland_GNU kernel_linu x elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVER LAY
Created attachment 83652 [details] config.log of the latest try on 2.38 This is the full config.log for my latest trying at building clisp 2.38
Ok, I have submitted a bug report on clisp tracker as well. http://sourceforge.net/tracker/index.php?func=detail&aid=1462995&group_id=1355&atid=101355
compile fine with USE="X readline zlib" and xorg 7 [alastor]~%emerge --info 15:11 Portage 2.1_pre7-r3 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo i686) ================================================================= System uname: 2.6.16-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig confcache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/" LANG="" LC_ALL="fr_FR.UTF-8" LINGUAS="fr fr_FR" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://wyst/gentoo-portage" USE="x86 X a52 aac acpi alsa ao apm audiofile avi bash-completion bitmap-fonts bzip2 cairo cddb cdparanoia cdr crypt dbus divx4linux djvu doc dpms dri dv dvd dvdr dvdread dvi emboss encode esd examples exif fbcon ffmpeg firefox flac flash foomaticdb gd gdbm gif gimp glitz gmail gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib isdnlog jabber jpeg kdexdeltas lcms libg++ libwww mad matroska mikmod mime mmx mmxext mng motif mozsvg mp3 mpeg msn musepack ncurses nls nptl nptlonly offensive ogg oggvorbis openal opengl pam pdf pdflib perl png posix postscript pppd python quicktime readline real rtc sasl sdl smp spell sse sse2 ssl subversion svg t1lib tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb utf8 v41 v4l2 vcd vorbis win32codecs wmf x264 xine xml xml2 xosd xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fr linguas_fr_FR userland_GNU video_cards_fglrx video_cards_vesa video_cards_vga video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Ok, little update to say I tested with GCC 3.4.6 as well: still the same failure
Ok, I FINALLY found out what the problem is ! The ebuild lacks a dependency (DEPEND) on x11-misc/imake. I have added it in my local ebuild and that works.
Created attachment 83724 [details] Patch against clisp 2.38 ebuild Please consider adding this dependency. That would solve the build failure for many of us (all people had it installed that's why they did not have the problem). Thank you
Created attachment 83725 [details, diff] Patch against clisp ebuild file (new revision) Better patch (I guess)
Created attachment 83726 [details] Complete working clisp-2.38.ebuild For the lazy people who want to try
Fixed in clisp-2.38-r1. Thanks for the bug report and solution.