Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71316 - HAL-0.4.1 wont build
Summary: HAL-0.4.1 wont build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-15 12:32 UTC by Arie Huijzer
Modified: 2004-12-02 13:45 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 Arie Huijzer 2004-11-15 12:32:28 UTC
osspec.o(.text+0x5d0): In function `compute_coldplug_list':
: undefined reference to `g_file_read_link'
osspec.o(.text+0x920): In function `compute_coldplug_list':
: undefined reference to `g_file_read_link'
osspec.o(.text+0xaff): In function `compute_coldplug_list':
: undefined reference to `g_file_read_link'
collect2: ld returned 1 exit status
make[3]: *** [hald] Error 1
make[3]: Leaving directory `/var/tmp/portage/hal-0.4.1/work/hal-0.4.1/hald'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/hal-0.4.1/work/hal-0.4.1/hald'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hal-0.4.1/work/hal-0.4.1'
make: *** [all] Error 2

!!! ERROR: sys-apps/hal-0.4.1 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge -bv ivman
2.
3.

Actual Results:  
see error message. 


CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer " 
USE="mmx sse kde -gnome dvd alsa cdr artswrappersuid arts gstreamer oss tcltk wxwindows zlib 
oggvorbis theora xvid divx4linux xv avi libaudiofile fftw gif mpeg pdflib usb tiff -unicode atlas 
cups foomaticdb ppds scanner sndfile encode xine audiofile" 
MAKEOPTS="-j2" 
Updating to 
- gcc-3.4.3, 
- glibc-2.3.4-20041102, 
resulted in the same error.
Comment 1 foser (RETIRED) gentoo-dev 2004-11-16 02:46:03 UTC
your full 'emerge info' & build log please. It looks like a missing linker directive.

what is the version of glib you are using ?
Comment 2 Arie Huijzer 2004-11-16 12:47:54 UTC
Calculating dependencies ...done!
[ebuild  N    ] sys-apps/hal-0.4.1  -debug 0 kB
[ebuild  N    ] sys-apps/ivman-0.3  -debug 0 kB

emerge info:
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.2, glibc-2.3.4.20041102-r0, 2.6.9-ck2 i686)
=================================================================
System uname: 2.6.9-ck2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21
Libtools: sys-devel/libtool-1.4.3-r3
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.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.nutsmaas.nl/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 alsa apm arts artswrappersuid atlas audiofile avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd encode esd f77 fam fftw flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imagemagick imlib java jpeg kde ldap libaudiofile libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang sndfile spell sse ssl svga tcltk tcpd theora tiff truetype usb wxwindows x86 xine xml2 xmms xv xvid zlib"

old glib version: glib-1.2.10 
upgrading to glib-2.4.7 solved the problem: hal compiled wihout problems.
 
Comment 3 foser (RETIRED) gentoo-dev 2004-11-17 16:03:53 UTC
glib 1.2 can't be right.. but i'm pretty sure i know what the problem is and i'll fix it up asap.
Comment 4 foser (RETIRED) gentoo-dev 2004-12-02 13:45:50 UTC
fixed the glib dep to 2.4 in hal-0.4.2

thanks for the report