Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323971 - app-admin/apache-tools: Missing dependency on recent util-linux
Summary: app-admin/apache-tools: Missing dependency on recent util-linux
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-14 17:49 UTC by Guido Flohr
Modified: 2011-09-01 07:02 UTC (History)
2 users (show)

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


Attachments
Build log for apache-tools with missing libuuid. (build.log,29.02 KB, text/plain)
2010-06-15 10:22 UTC, Guido Flohr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Flohr 2010-06-14 17:49:28 UTC
While linking apache-tools 2.2.15 I get this error message:

    cannot find -luuid

The problem could be fixed by upgrading util-linux from 2.14.2 to 2.16.2.  The more recent version now contains libuuid, the older did not.

It happened on a system that I haven't touched for a year or so and I have tons of conflicts here, while I'm upgrading.  It is therefore quite likely that it doesn't happen during a seamless upgrade but I don't see why the ebuild for apache-utils doesn't list the dependency.

The problem is a hard one for normal users because the obvius solution "emerge --search uuid" does not point you in the right direction.

Reproducible: Always

Steps to Reproduce:




Sorry, I cannot paste because the system is currently completely broken.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-14 22:24:21 UTC
Hello Guido,

can you please attacht the build.log and environmentfile of the failing emerge process. A comment with `emerge --info` would be nice, too.

Michael
Comment 2 Guido Flohr 2010-06-15 10:20:45 UTC
I don't have access to the original system but I can reproduce it everywhere like this:

    emerge --unmerge util-linux
    emerge apache-tools

This fails because of the missing libuuid, I will attach the build.log.

    emerge util-linux apache-tools

This succeeds.

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 14 Jun 2010 18:45:03 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-g -O2 -pipe -march=core2 -msse4.1"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-g -O2 -pipe -march=core2 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.bg/ http://ftp.gentoo.bg/ "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en fr it bg ru ar ga ga_IE pt nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa also apache2 avahi bash-completion berkdb bitmap-fonts bzip2 cdr cjk cli cracklib crypt cups cxx daap dbus dri dts dvb dvd dvdr dvdread emacs ffmpeg firefox fortran gdbm gimp gnome gphoto2 gpm gtk iconv ipod ipv6 jpeg laptop libcaca lm_sensors logrotate matroska mjpeg modules mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin opengl openmp pam pcmcia pcre perl png portaudio pppd python qt3support readline reflection session spl ssl svg sysfs tcpd theora truetype-fonts type1-fonts unicode usb v4l v4l2 win32codecs x86 xine xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en fr it bg ru ar ga ga_IE pt nl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 3 Guido Flohr 2010-06-15 10:22:35 UTC
Created attachment 235383 [details]
Build log for apache-tools with missing libuuid.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2011-09-01 07:02:27 UTC
Thank you for report! Build failure does not mean that apache-tools should depend on libuuid. In this case apache-tools depend on libapr which in turn depends on libuuid. So if you remove libuuid you break libapr and broken libapr-1 is the reason you are unable to build apache-tools. apache-tools in turn already depend on sys-apps/util-linux, thus this bug is invalid.