Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358933 - libXdmcp.la is required to build xorg-server 1.9, but libXdmcp is not a dependency... and libXdmcp.la isn't built even with static-libs turned on.
Summary: libXdmcp.la is required to build xorg-server 1.9, but libXdmcp is not a depen...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 19:09 UTC by Rob Stoddard
Modified: 2011-03-14 19:12 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 Rob Stoddard 2011-03-14 19:09:49 UTC
Recently, I decided to upgrade to xorg-server 1.9.  I tried to emerge it, and it complained that libXdmcp.la was not a file or directory.  To make matters worse, even with static-libs turned on, the file that the xorg-server build expects doesn't appear when libXdmcp is emerged prior to xorg-server.  If I try to emerge xorg-server without libXdmcp installed, it bugs out similarly.

USE="static-libs -sqlite -sqlite3 mmx sse sse2 X acpi alsa bash-completion bzip2 cairo curl expat ffmpeg firefox fltk gd gnome gnome-keyring graphviz gtk gzip icq imap java6 java jpeg mmap mp3 multilib ncurses pdf png postgres readline sdl smp syslog threads truetype usb win32codecs wxwidgets xinetd qt4 xml zlib adobe-flash ssh kde networking"

Reproducible: Always

Steps to Reproduce:
1.  either emerge or don't emerge libXdmcp... you get the same output either way
2.  emerge xorg-server
3.  look at the pretty compile go until it stops
Actual Results:  
/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src -I../include/X11  -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/include -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/include/X11 -I../include -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/xcms -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/xkb -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/xlibi18n -D_BSD_SOURCE -DX11_t -DTRANS_CLIENT    -DMALLOC_0_RETURNS_NULL -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement  -O2 -pipe -c -o Xrm.lo /var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/Xrm.c
  CC     x11_xcb.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src -I../include/X11  -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/include -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/include/X11 -I../include -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/xcms -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/xkb -I/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/xlibi18n -D_BSD_SOURCE -DX11_t -DTRANS_CLIENT    -DMALLOC_0_RETURNS_NULL -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement  -O2 -pipe -c -o x11_xcb.lo /var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/x11_xcb.c
/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/XlibInt.c: In function '_XPrintDefaultError':
/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/XlibInt.c:1432: warning: format not a string literal, argument types not checked
/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/XlibInt.c:1451: warning: format not a string literal, argument types not checked
/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/XlibInt.c:1483: warning: format not a string literal, argument types not checked
/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/XlibInt.c:1511: warning: format not a string literal, argument types not checked
/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/XlibInt.c:1517: warning: format not a string literal, argument types not checked
/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1/src/XlibInt.c:1521: warning: format not a string literal, argument types not checked
  CCLD   libX11.la
/bin/grep: /usr/lib64/libXdmcp.la: No such file or directory
/bin/sed: can't read /usr/lib64/libXdmcp.la: No such file or directory
libtool: link: `/usr/lib64/libXdmcp.la' is not a valid libtool archive
make[3]: *** [libX11.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1_build/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1_build/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1_build/src'
make: *** [all-recursive] Error 1
 * ERROR: x11-libs/libX11-1.4.1 failed:
 *   died running emake, base_src_make
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3447:  Called xorg-2_src_compile
 *   environment, line 4260:  Called autotools-utils_src_compile
 *   environment, line  494:  Called base_src_compile
 *   environment, line  607:  Called base_src_make
 *   environment, line  645:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 *
 * If you need support, post the output of 'emerge --info =x11-libs/libX11-1.4.1',
 * the complete build log and the output of 'emerge -pqv =x11-libs/libX11-1.4.1'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libX11-1.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libX11-1.4.1/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1'

>>> Failed to emerge x11-libs/libX11-1.4.1, Log file:

>>>  '/var/tmp/portage/x11-libs/libX11-1.4.1/temp/build.log'

 * Messages for package x11-libs/libX11-1.4.1:

 * ERROR: x11-libs/libX11-1.4.1 failed:
 *   died running emake, base_src_make
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3447:  Called xorg-2_src_compile
 *   environment, line 4260:  Called autotools-utils_src_compile
 *   environment, line  494:  Called base_src_compile
 *   environment, line  607:  Called base_src_make
 *   environment, line  645:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 *
 * If you need support, post the output of 'emerge --info =x11-libs/libX11-1.4.1',
 * the complete build log and the output of 'emerge -pqv =x11-libs/libX11-1.4.1'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libX11-1.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libX11-1.4.1/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/libX11-1.4.1/work/libX11-1.4.1'

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Expected Results:  
xorg-server should build properly or complain about USE variables.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-03-14 19:12:55 UTC
The .la files for X.org are useless and are removed for a reason (with or without USE static-libs because there is a functional pkg-config .pc file).

Just emerge 'lafilefixer' and run 'lafilefixer --justfixit' and/or revdep-rebuild to fix your system, then the packages will build fine without any these .la files installed.