Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64480 - Clisp 2.33.2-r1 compile fails: Xlib connection refused in avcall's minitests
Summary: Clisp 2.33.2-r1 compile fails: Xlib connection refused in avcall's minitests
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Lisp Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-18 00:10 UTC by katerina
Modified: 2006-04-24 14:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description katerina 2004-09-18 00:10:18 UTC
gcc -I /usr/include/postgresql/pgsql  -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type  -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c lisparit.c
gcc -I /usr/include/postgresql/pgsql  -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type  -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -c i18n.c
builddir="`pwd`"; cd avcall && make && make check && make install-lib libdir="$builddir" includedir="$builddir"
make[1]: Entering directory `/usr/data/portage-build/portage/clisp-2.33.2-r1/work/clisp-2.33.2/build/avcall'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/data/portage-build/portage/clisp-2.33.2-r1/work/clisp-2.33.2/build/avcall'
make[1]: Entering directory `/usr/data/portage-build/portage/clisp-2.33.2-r1/work/clisp-2.33.2/build/avcall'
./minitests > minitests.out
LC_ALL=C uniq -u < minitests.out > minitests.output.i686-pc-linux-gnu
test '!' -s minitests.output.i686-pc-linux-gnu
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(test:32746): Gtk-WARNING **: cannot open display:
make[1]: *** [check] Error 1
make[1]: Leaving directory `/usr/data/portage-build/portage/clisp-2.33.2-r1/work/clisp-2.33.2/build/avcall'
make: *** [avcall.h] Error 2

!!! ERROR: dev-lisp/clisp-2.33.2-r1 failed.
!!! Function src_compile, Line 86, Exitcode 2
!!! (no error message)


It's reproducible here; when I tried emerge -u clisp again, I got exactly the same error.  I'm trying to upgrade from 2.33.2.
 
[ebuild     U ] dev-lisp/clisp-2.33.2-r1 [2.33.2] +X +debug -fastcgi +nls +pcre +postgres +readline

Here's my emerge info:
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-ggdb3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/freenet /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-ggdb3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache nostrip sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://194.149.10.102/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/data/portage-build"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.26/portage"
USE="X acl alsa apm arts audiofile avi berkdb bidi bitmap-fonts cairo canna cdr cjk crypt cscope cups debug directfb doc dvd dvdr emacs encode faad flac foomaticdb freewnn gatos gd gdbm gimpprint gphoto2 gpm gtk gtk2 guile imagemagick imlib jack java javascript jikes jpeg junit kde lcms libg++ libwww mad mikmod mmx mng mpeg mysql ncurses nls oggvorbis opengl pam pcre pdflib perl php pic png postgres ppds python qt quicktime readline ruby scanner sdl slang socks5 softmmu spell sse ssl tcltk tcpd tetex theora tiff truetype unicode usb video_cards_radeon wmf x86 xinerama xml2 xmms xprint xv zlib"
Comment 1 Nick Dimiduk (RETIRED) gentoo-dev 2004-09-27 14:00:32 UTC
Try performing the emerge while X is running on the machine so that the script can connect to X to run the tests.  Let me know if that help.
Comment 2 katerina 2004-09-28 10:31:22 UTC
I originally ran the emerge from an xterm.  I use X from a user account, and su to root.  The error persists.
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2004-09-28 22:56:01 UTC
Could it be that having "debug" in your USE set is causing this
problem?  That is the only difference between my configuration (which
works) and yours.  Could you try without debug in USE and let me know
of the results?

You also said you were "upgrading from 2.33.2".  I assume this means
from dev-lisp/clisp-2.33.2 to dev-lisp/clisp-2.33.2-r1.  The -r1
includes a simlpe source compilation fix for the glibc module (see bug
#57155) and also installs the Common Lisp Controller aspect of the
CLISP port to use the ISO-8859-1 encoding by default.  Neither of
these seem like they would cause upgrade problems.  

Thus, can you think of any changes in your general/system-wide/portage
configuration between now and when you first got dev-lisp-2.33.2
emerged.
Comment 4 katerina 2004-10-01 12:52:22 UTC
USE="-debug" emerge clisp
Problem persists.

'You also said you were "upgrading from 2.33.2".  I assume this means
from dev-lisp/clisp-2.33.2 to dev-lisp/clisp-2.33.2-r1.'  <-- That is correct.

I've changed CFLAGS in the not-so-distant past, and I occasionally tweak USE flags.  I've upgraded packages as new versions hit the x86 arch. 
Comment 5 Matthew Kennedy (RETIRED) gentoo-dev 2006-04-24 14:44:03 UTC
Does the problem still persist with clisp-2.38-r2?