Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234142 - xfce-base/xfdesktop-4.4.2-r2 - libtool: link: cannot find the library `/usr/lib64/libmd5.la' or unhandled argument `/usr/lib64/libmd5.la'
Summary: xfce-base/xfdesktop-4.4.2-r2 - libtool: link: cannot find the library `/usr/l...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: XFCE Team
URL: http://bugzilla.xfce.org/show_bug.cgi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-07 03:19 UTC by Jeremy Murphy
Modified: 2008-11-10 17:26 UTC (History)
1 user (show)

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


Attachments
failed emerge log (build.log,95.70 KB, text/plain)
2008-08-07 08:09 UTC, Jeremy Murphy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Murphy 2008-08-07 03:19:13 UTC
Package fails to link during emerge.

Reproducible: Always

Steps to Reproduce:
1. emerge xfdesktop
Actual Results:  
libtool: link: cannot find the library `/usr/lib64/libmd5.la' or unhandled argument `/usr/lib64/libmd5.la'
make[3]: *** [xfdesktop] Error 1
make[3]: Leaving directory `/home/portage/xfce-base/xfdesktop-4.4.2-r2/work/xfdesktop-4.4.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/portage/xfce-base/xfdesktop-4.4.2-r2/work/xfdesktop-4.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/portage/xfce-base/xfdesktop-4.4.2-r2/work/xfdesktop-4.4.2'
make: *** [all] Error 2



The missing library is provided by net-libs/libwww, however xfdesktop does not depend on net-libs/libwww.

After manually adding net-libs/libwww as a dependency, xfdesktop emerged successfully.
Comment 1 Jeremy Murphy 2008-08-07 03:30:34 UTC
Portage 2.2_rc6 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.2.5
Timestamp of tree: Wed, 06 Aug 2008 15:15:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/home/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch prelink preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.iinet.net.au/pub/Gentoo "
LANG="en_AU.UTF-8"
LC_ALL="en_AU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_AU.UTF-8 en_AU en_GB.UTF-8 en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 ao bash-completion berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt curl dbus dia doc dvd dvdr dvdread emboss encode exif fam ffmpeg fftw firefox flac fontconfig fortran gd gdbm gif gnome gnutls gpm graphviz gstreamer gtk hal iconv icq imlib ipod ipv6 isdnlog java javascript jpeg jpeg2k kde libnotify lm_sensors lzo mad matroska midi mikmod mmap mmx mng mozilla mp3 mpeg mplayer msn mudflap multilib mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp pam pcre pdf png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sharedmem spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd theora tiff timidity truetype unicode usb vcd vorbis wavpack wxwindows xcomposite xml xorg xpm xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU.UTF-8 en_AU en_GB.UTF-8 en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-07 04:47:47 UTC
It would have been useful to see the couple of lines prior to the first line you pasted. But do go on and attach the build log, please.
Comment 3 Jeremy Murphy 2008-08-07 08:09:43 UTC
Created attachment 162417 [details]
failed emerge log
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-12 15:35:35 UTC
Thank you! Maybe a missing dep on net-libs/libwww (/usr/lib/libmd5.la)?
Comment 5 Rene Meier 2008-09-10 09:01:24 UTC
i have the same problem. yes it is a missing dep on net-libs/libwww. the same problem applies to:
xfce-extra/exo-0.3.4
xfce-base/thunar-0.9.0-r2
xfce-extra/verve-0.3.5
xfce-base/xfdesktop-4.4.2-r2
xfce-extra/thunar-volman-0.2.0
xfce-extra/thunar-media-tags-0.1.2

because all these packages depend on xfce-extra/exo i think xfce-extra/exo is the right place for the dependency. please add net-libs/libwww to RDEPEND in xfce-extra/exo. 
Comment 6 Christoph Mende (RETIRED) gentoo-dev 2008-09-10 11:30:45 UTC
No, none of these packages require libwww, something else tells your libtool to link against libmd5 - did you run revdep-rebuild after unmerging libwww?
Comment 7 Rene Meier 2008-09-10 13:15:55 UTC
(In reply to comment #6)
> No, none of these packages require libwww, something else tells your libtool to
> link against libmd5 - did you run revdep-rebuild after unmerging libwww?

you are right somehow. these packages do not require libmd5 but in case libmd5 exists on the build system it will be used silently. if its not there it will not be used. this breaks binary package distribution. because the libmd5 is not in RDEPEND it will not be installed on the system where i install the binary package. 
i'm not a gentoo developer and i don't know how the official gentoo policy is in this case. but if not all linked libraries are listed in RDEPEND the binary packages are useless. so these ebuilds create useless binary packages.
may i have an offical statement from a gentoo developer about this topic?

best regards
Comment 8 Rene Meier 2008-09-17 08:31:42 UTC
i have found this in the web:
http://www.gentoo.org/proj/en/qa/automagic.xml

i guess this is a official gentoo page.
quote---
When a package has automagic dependencies there are only two things that can be done: the first is to state the dependency as mandatory, no matter what the users put in their USE variable, but that might mean that some support that people don't want is always enable and its dependencies pulled in; the other is to fix the build system to be able to disable at build time the dependency also if it's present on the system.
quote---

please add net-libs/libwww to RDEPEND in xfce-extra/exo until the behavior of configure gets fixed.
Comment 9 Jeremy Murphy 2008-10-26 12:58:43 UTC
<bump> Has there been any resolution on how to move forward on this issue?
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-27 04:17:33 UTC
Yup, that is the policy alright. I just checked out exo for fun and can't find any references to libwww or md5 in the config.log. What do I need to look for in the ./configure output to see if this package is using "libwww" ? Just trying to determine the bug here and it is not obvious to me. (I am new to the xfce team here)
Comment 11 Rene Meier 2008-10-27 08:10:34 UTC
hello,
thanks for your attention. the linking problem does not apply to my system any more, because i uninstalled libwww.
the problem can be found in exo-0.3.4 configure.in line 124
if libmd5 is installed, it will be used silently. there is no configure option to disable this behavior. if one installs a binary package of exo, which was build on a computer with libmd5 installed, on a computer without libmd5, you will have a missing library.
Comment 12 Christoph Mende (RETIRED) gentoo-dev 2008-11-10 17:26:05 UTC
added libwww as dependency and filed a bug upstream