Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73483 - gdm-2.6.0.6 + xorg-x11-6.8.0-r3 on amd64 = failure (missing XdmcpFlush)
Summary: gdm-2.6.0.6 + xorg-x11-6.8.0-r3 on amd64 = failure (missing XdmcpFlush)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-05 14:28 UTC by David Norris
Modified: 2005-10-11 10:57 UTC (History)
3 users (show)

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


Attachments
configure log for broken gdm-2.6.0.6 build (config.log,79.99 KB, text/plain)
2005-02-27 09:52 UTC, David Norris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Norris 2004-12-05 14:28:46 UTC
With xorg-x11-6.8.0-r3 installed, gdm-2.6.0.6 ebuild on amd64 won't compile. The configure script looks for an undefined function XdmcpFlush().

Interestingly, it looks like that function really does exist:

   % objdump -t /usr/X11R6/lib/libXdmcp.a | grep XdmcpFlush
   0000000000000000 g     F .text  0000000000000026 XdmcpFlush

   % grep -n XdmcpFlush /usr/X11R6/include/X11/Xdmcp.h
   133:extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen);

The error from gdm's configure script is:

   checking for X11/Xdmcp.h... yes
   checking for XdmcpFlush in -lXdmcp... no
   configure: error: XDMCP support requested but XDMCP libraries not found

This seems related to <http://bugs.gentoo.org/show_bug.cgi?id=69244>, but I created a new bug because this is gdm failing rather than kdm. Mark as duplicate if you feel that's appropriate.

emerge info:

Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec  3 2004, 15:29:50)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.6.3, 1.7.9, 1.9.3, 1.5, 1.4_p6
sys-devel/binutils:  2.15.90.0.1.1-r3, 2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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="-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim alsa amd64 apache2 apm avi bash-completion berkdb bitmap-fonts bonobo bzlib cdr crypt ctype cups directfb divx4linux dvd dvdr encode esd ethereal f77 fam fftw flac fortran ftp gd gif gnome gpm gstreamer gtk gtk2 gtkhtml guile hardened icq imlib innodb ipv6 java jikes joystick jp2 jpeg junit lzw lzw-tiff mad mozilla mpeg multilib mysql mysqli ncurses nls nocd offensive oggvorbis openal opengl oscar oss pam pcre pdflib perl png posix postgres python qt quicktime readline samba sdl shared sharedmem soap sockets spell ssl svg tcpd tidy tiff truetype unicode usb userlocales vhosts videos wxwindows xine xinerama xml xml2 xmms xpm xrandr xv xvid yahoo zlib"
Comment 1 David Norris 2004-12-05 14:35:18 UTC
I don't know if this is relevant, but I also have emul-linux-x86-xlibs-1.2-r1 installed, which provides its own libXdmcp.a. But it, too, appearse to contain this function:

% objdump -t /emul/linux/x86/usr/X11R6/lib/libXdmcp.a | grep XdmcpFlush
00000000 g     F .text  00000047 XdmcpFlush
Comment 2 David Norris 2005-02-27 09:52:21 UTC
Created attachment 52246 [details]
configure log for broken gdm-2.6.0.6 build

This is still broken. Here's the config.log from ./configure, in case it helps.
Comment 3 Kevin 2005-02-27 11:37:28 UTC
I get the exact same problem. 2004.3r1 w/ x86_64-pc-linux-gnu-3.4.3 sources.
Get it for previous ebuilds as well.

- Mac
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-27 15:13:20 UTC
configure:26412: checking for XdmcpFlush in -lXdmcp
configure:26442: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer -fPIC -Wall -Wmissing-prototypes    -I/usr/X11R6/include  conftest.c -lXdmcp  -L/usr/X11R6/lib64 -lX11   >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/X11R6/lib64/libXdmcp.a(Flush.o): relocation R_X86_64_PC32 against `sendto@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value

Take a look at comment #4 on bug #73931 or comment #2 on bug #62419.
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2005-06-26 04:15:45 UTC
this bug is very old, guessing that it is fixed now. please reopen if that's not
the case
Comment 6 Sebastian Spaeth 2005-10-11 09:38:34 UTC
I just got bitten by this one:
emerging gnome-base/gdm-2.8.0.5 failed:

configure: error: XDMCP support requested but XDMCP libraries not found

emerge info
Portage 2.0.53_rc5 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-rc3 x86_64)
=================================================================
System uname: 2.6.14-rc3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="no"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -ftracer -ffast-math -pipe"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -ftracer -ffast-math -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cairo cdr chipcard crypt cups curl
dbus eds emboss encode fam foomaticdb fortran gcj gd gdbm gif gimp gimpprint
glitz gmp gnome gphoto2 gstreamer gtk gtk2 guile hal hbci imagemagick imlib java
jpeg junit lcms leim libwww lirc lzw lzw-tiff mad mp3 mpeg ncurses nls nomotif
nptl nptlonly offensive ogg oggvorbis opengl pam pda pdflib perl png print
quicktime readline scanner sdl speex spell sqlite ssl t1lib tetex tiff truetype
truetype-fonts type1-fonts unicode usb userlocales vorbis xinerama xml2 xmms xpm
xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 7 Sebastian Spaeth 2005-10-11 10:57:41 UTC
After re-emerging xorg-x11, gdm emerged fine. I don't know what caused this
glitch. So you can let this bug leave as WORKSFORME. Sorry for bothering