Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72426 - libcaca trouble with /usr/X11R6/lib move
Summary: libcaca trouble with /usr/X11R6/lib move
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 77804 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-25 00:54 UTC by Scott Taylor (RETIRED)
Modified: 2005-07-25 21:13 UTC (History)
6 users (show)

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


Attachments
config.log (config.log,57.61 KB, text/plain)
2004-11-25 12:16 UTC, Scott Taylor (RETIRED)
Details
config.log (config.log,56.64 KB, text/plain)
2005-01-05 04:00 UTC, Tobias Sager
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Taylor (RETIRED) gentoo-dev 2004-11-25 00:54:51 UTC
Currently, with xorg-x11-6.8.0-r4's move of the libraries, libcaca does not find
the proper libraries. Basically the same issue as 69400 which was for 
libxklavier instead. So far though, these are the only two packages i've 
come across that have this problem:

checking for X... libraries , headers /usr/X11R6/include
checking for XOpenDisplay in -lX11... no
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
configure: error: cannot find X11 development files

!!! ERROR: media-libs/libcaca-0.9-r1 failed.



Adding *either* of the following to the econf call makes it work:
-x-libraries=/usr/lib \

-x-libraries=/usr/X11R6/lib \

however it's autodetection doesn't do so well.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-25 11:48:45 UTC
Wanna attach config.log?
Comment 2 Scott Taylor (RETIRED) gentoo-dev 2004-11-25 12:16:31 UTC
Created attachment 44735 [details]
config.log

same thing happens on multiple machines here, each with xorg 6.8.0-r4
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-25 12:19:45 UTC
Try making a patch like the one in comment #4 on bug #72124.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-25 12:23:22 UTC
You can clearly see what happens here:

configure:21036: checking for XOpenDisplay in -lX11
configure:21066: i686-pc-linux-gnu-gcc -o conftest -O2 -march=athlon-tbird -funit-at-a-time -mno-sse -mno-sse2 -mno-sse3  -DOPTIMISE_SLANG_PALETTE=1  conftest.c -lX11 -lXt -L  >&5
i686-pc-linux-gnu-gcc: argument to `-L' is missing

It assumes that a -L/path/to/X/stuff will be required, so when it finds X in /usr/lib, it gets confused and just does -L.
Comment 5 Daniel Rose 2005-01-03 04:41:44 UTC
I can confirm this error. By the way: Why do I need libcaca all of a sudden?
Since I dif emerge sync this day it seems to be required.
Comment 6 Zac Medico gentoo-dev 2005-01-03 10:53:57 UTC
# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.182 2005/01/03 03:26:58 chriswhite Exp $

  03 Jan 2005; Chris White <chriswhite@gentoo.org> xine-lib-1.0.ebuild:
  Quick fix. Removed libcaca USE flag but forgot to remove the conditional dep
  as it appears xine-lib doesn't play nice if you don't have it.
Comment 7 Kenyon Ralph 2005-01-03 15:37:44 UTC
This has been fixed according to the duplicate Bug 76517.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-03 15:56:54 UTC
Scott, can you confirm?
Comment 9 David Klempner 2005-01-03 16:28:54 UTC
I'll say that it works for me, now, and it did not work before.
Comment 10 Tony Harmelink 2005-01-03 16:29:21 UTC
same problem with xorg-x11-6.8.1.901
Comment 11 Kenyon Ralph 2005-01-03 16:37:04 UTC
Worked for me now too, but didn't before. ~x86
Comment 12 Tony Harmelink 2005-01-03 16:44:03 UTC
works here now too
Comment 13 Chris White (RETIRED) gentoo-dev 2005-01-03 17:12:05 UTC
Ok then, closing this jolly ole bug :P.
Comment 14 Tobias Sager 2005-01-05 03:59:07 UTC
0.9-r1 does not work for me with xorg-x111-6.8.0-r3.
Will attach config.log.
Comment 15 Tobias Sager 2005-01-05 04:00:03 UTC
Created attachment 47693 [details]
config.log
Comment 16 Tobias Sager 2005-01-07 23:07:50 UTC
Am I the only one still having this problem?

<snip>
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.2.5-r2,glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.4.16
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.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.18,sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -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/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/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks moo sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirror.icd.hu/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib acl acpi alsa apm avi berkdb bitmap-fonts bonobo cdr chroot crypt cups dga dillo directfb divx4linux dvd encode esd ethereal fam fbcon flac foomaticdb fortran freetds gdbm ggi gif gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java javascript jce jpeg junit libg++ libwww mad maildir mbox mikmod motif mpeg mysql ncurses nls offensive oggvorbis opengl oss pam pcmcia pda pdflib perl php png pnp python qt quicktime readline samba sdl slang speex spell sse ssl svga tcltk tcpd tetex tiff truetype trusted unicode usb xface xfs xml xml2 xmms xv xvid zlib"
</snip>
Comment 17 Tobias Sager 2005-01-10 13:36:08 UTC
Thank's Chris. It works now.
Nit: a short notice would have been helpful though..
Comment 18 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-12 17:29:36 UTC
*** Bug 77804 has been marked as a duplicate of this bug. ***