Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130786 - sys-libs/libkudzu fails to emerge with undefined references
Summary: sys-libs/libkudzu fails to emerge with undefined references
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 16:24 UTC by Adam Carheden
Modified: 2006-08-30 08:26 UTC (History)
1 user (show)

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


Attachments
libkudzu-1.1.62-r1.ebuild.diff (libkudzu-1.1.62-r1.ebuild.diff,812 bytes, patch)
2006-08-28 08:26 UTC, Yuri Vasilevski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Carheden 2006-04-21 16:24:16 UTC
On a clean 2006.0 install, I'm trying to emerge mkx86confug, but I get this from sys-apps/hwsetup-1.1:
...
>>> Source unpacked.
gcc -I/usr/include/kudzu -DBLACKLIST -Wall -fPIC -O2 -s -o hwsetup hwsetup.c -lkudzu -lpci
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libkudzu.a(ddc.o): In function `ddcProbe':
/var/tmp/portage/libkudzu-1.1.62-r1/work/kudzu-1.1.62/ddc.c:314: undefined reference to `get_edid_supported'
/var/tmp/portage/libkudzu-1.1.62-r1/work/kudzu-1.1.62/ddc.c:316: undefined reference to `get_edid_info'
/var/tmp/portage/libkudzu-1.1.62-r1/work/kudzu-1.1.62/ddc.c:285: undefined reference to `vbe_get_vbe_info'
collect2: ld returned 1 exit status
make: *** [hwsetup] Error 1

And, of course...
emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1-lemuria-20060421a i686)
=================================================================
System uname: 2.6.15-gentoo-r1-lemuria-20060421a i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cli crypt cups curl dri eds emboss encode esd expat fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 isdnlog jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection ruby sdl session spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-22 07:52:12 UTC
What version of pciutils do you have installed?
Comment 2 Adam Carheden 2006-04-22 16:28:01 UTC
(In reply to comment #1)
> What version of pciutils do you have installed?
> 

sys-apps/pciutils-2.2.0-r1
I just re-emerged it for good measure with the same results.
lscpi and pcimodules both seem to work
Comment 3 Wladyslaw Bodzek 2006-05-22 09:22:09 UTC
i have the same problem on clean 2006.0 (chrooted 32bit gentoo/i686 inside gentoo/amd64)

i tried with turning off optimisation in gcc, but it haven't helped
Comment 4 Yuri Vasilevski (RETIRED) gentoo-dev 2006-08-28 08:26:38 UTC
Created attachment 95289 [details, diff]
libkudzu-1.1.62-r1.ebuild.diff

This ebuild patch solves the problem on x86_64/i?86 kernel/userland.

Yuri.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-08-30 08:26:49 UTC
Fixed in CVS.. thanks for the patch, Yuri!