Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73852 - emerge -u fluxbox-9.9.11 fails on configure ( Could not find XOpenDisplay in -X11 )
Summary: emerge -u fluxbox-9.9.11 fails on configure ( Could not find XOpenDisplay in ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sergey Kuleshov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 16:56 UTC by Steven Klass
Modified: 2004-12-13 13:09 UTC (History)
2 users (show)

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


Attachments
The actual output of the emerge -u world command (ERROR,27.47 KB, text/plain)
2004-12-08 17:01 UTC, Steven Klass
Details
errno.h at the request of devil! (errno.h,2.39 KB, text/plain)
2004-12-09 15:46 UTC, Steven Klass
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Klass 2004-12-08 16:56:28 UTC
Hi all,  I am unable to 'emerge -u fluxbox'  It give me several WARNING's reguarding missing pre-requisite headers before finally dying on on XOpenDisplay issue.

< snip... >
configure: WARNING: cstring: present but cannot be compiled
configure: WARNING: cstring:     check for missing prerequisite headers?
configure: WARNING: cstring: see the Autoconf documentation
configure: WARNING: cstring:     section "Present But Cannot Be Compiled"
configure: WARNING: cstring: proceeding with the preprocessor's result
configure: WARNING: cstring: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##

.
.
.

checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... no
configure: error: Could not find XOpenDisplay in -lX11.

!!! ERROR: x11-wm/fluxbox-0.9.11 failed.
!!! Function econf, Line 447, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.emerge -up world
2.
3.
Actual Results:  
The update dies with a nice warning.


Expected Results:  
Emerge update moves on and finishes

maggie steven # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r10 
i686)
===============================================================
==
System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 21 2004, 18:27:08)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.7.9, 1.9.3, 1.8.5-r2, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 /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/qmail/alias /var/qmail/control /var/
vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -fstack-protector 
-finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.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://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi aim alsa apache2 apm arts audiofile avi bcmath berkdb bitmap-fonts bzlib cdb cdr 
crypt cscope ctype cups curl curlwrappers dbm dif directfb divx4linux doc dvd dvdr encode esd 
ethereal f77 fam fbcon foomaticdb fortran ftp gdbm gif gnome gpm gtk gtk2 iconv imagemagick imap 
imlib jabber java jpeg kde libg++ libwww mad maildir mikmod mng motif mpeg mysql mysqli ncurses 
nls oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime readline samba sdl slang 
slp spell sse ssl svga tcltk tcpd tetex tidy tiff truetype unicode usb video x86 xine xml xml2 xmms xosd 
xpm xv xvid zlib"

And the actual output of emerg -u world..
Comment 1 Steven Klass 2004-12-08 17:01:05 UTC
Created attachment 45577 [details]
The actual output of the emerge -u world command
Comment 2 Sergey Kuleshov (RETIRED) gentoo-dev 2004-12-09 08:25:30 UTC
Can you please sho me output of this command:
nm /usr/X11R6/lib/libX11.so | grep XOpenDisplay

If it doesn't find anything, means X11 really doesn't have this function, otherwise it's problem of fluxbox configs
Comment 3 Sergey Kuleshov (RETIRED) gentoo-dev 2004-12-09 08:40:02 UTC
Now, that I looked more carefully at the messages I see this:
"libtool.m4: error: problem compiling CXX test program"
Comment 4 Alexander Simonov 2004-12-09 09:21:37 UTC
Can you posting your /usr/include/errno.h file?
I see you have multiple versions of auto tools instaled. 
Maybe in this problem?

----------------------------------------------------------------
This is my emerge info output:
----------------------------------------------------------------

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.6
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r6
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.org.ua/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77 fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib innodb java jpeg junit ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline ruby samba sdl slang spell sqlite sse ssl svga tcltk tcpd tiff truetype unicode x86 xml xml2 xmms xv zlib"
Comment 5 Steven Klass 2004-12-09 15:46:34 UTC
Created attachment 45642 [details]
errno.h at the request of devil!

At the request of  devil@gentoo.org.ua	here is a copy of /usr/include/errno.h

Thanks you guys rock!!
Comment 6 Steven Klass 2004-12-09 15:51:04 UTC
The output of nm /usr/X11R6/lib/libX11.so | grep XOpenDisplay

000292b8 T XOpenDisplay


Thanks again!!
Comment 7 Sergey Kuleshov (RETIRED) gentoo-dev 2004-12-10 00:36:51 UTC
Ok, the only thing I can recommend you to try is to reemerge glibc, gcc and binutils. according to the output of the configure script, it looks like a major problem with building all c++ libs/headers. 

P.S. Let me guess - you got similar problems with other applications writen in c++, right?
Comment 8 Steven Klass 2004-12-10 07:18:02 UTC
You would be correct I had a problem with fam - so (usually) my course of action is to do an emerge sync to make sure it hasn't been reported and subsequently fixed and then continue on.  However this time it got through about 10 new packages then bombed here.  If I try to emerge fam I get an error - different but similar in the fact that both people see an issue around g++.  My question to you is..  What does reemrging each of the glibc, gcc and binutils actually do except give you the same thing?
What does this fix?  Lastly, should I do it any other way other than the obvious 'emerge glibc; emerge gcc; emerge binutils'

Thanks a lot for your help on this!!
Comment 9 Alexander Simonov 2004-12-10 10:26:08 UTC
Hi!
I see are you using ACCEPT_KEYWORDS="~x86". Do you know that if you turn on this 
flag you have been instaled NOT STABLE software.
If it's problem gentoo specific then we must fixing this problem.
If it's problem package specific then we try fixing this problem, if we not fixing this problem then we bugreporting to developers of this program.
On your bug we answer that you have problem around g++.

Thank you for testing software.
If you have lots of bugs please using stable versions of programs.
Comment 10 Steven Klass 2004-12-13 13:09:53 UTC
Apparently there is a problem if I use ~x86.  When I removed this it fixed the problem.