Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325285 - media-sound/pulseaudio-0.9.15-r2: libtool: install: error: cannot install `libcli.la' to a directory not ending in /usr/lib/pulse-0.9.15/modules/
Summary: media-sound/pulseaudio-0.9.15-r2: libtool: install: error: cannot install `li...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-24 02:05 UTC by Jacob Godserv
Modified: 2011-03-25 07:44 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,1.48 MB, text/plain)
2010-06-24 02:07 UTC, Jacob Godserv
Details
build.log on stable arm (build.log,1.31 MB, text/plain)
2010-09-19 13:26 UTC, Michael Weber (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Godserv 2010-06-24 02:05:55 UTC
Snippet from log:

libtool: install: /usr/bin/install -c .libs/pabrowse /var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/image//usr/bin/pabrowse
test -z "/usr/bin" || /bin/mkdir -p "/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/image//usr/bin"
 /usr/bin/install -c esdcompat start-pulseaudio-x11 '/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/image//usr/bin'
test -z "/usr/lib/pulse-0.9.15/modules/" || /bin/mkdir -p "/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/image//usr/lib/pulse-0.9.15/modules/"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libcli.la libprotocol-cli.la libprotocol-simple.la libprotocol-http.la libprotocol-native.la libpro
tocol-esound.la librtp.la libavahi-wrap.la module-console-kit.la module-cli.la module-cli-protocol-tcp.la module-simple-protocol-tcp.la module-null-sink.la mo
dule-sine-source.la module-detect.la module-volume-restore.la module-device-restore.la module-stream-restore.la module-card-restore.la module-default-device-r
estore.la module-always-sink.la module-rescue-streams.la module-suspend-on-idle.la module-http-protocol-tcp.la module-sine.la module-native-protocol-tcp.la module-native-protocol-fd.la module-esound-protocol-tcp.la module-combine.la module-remap-sink.la module-ladspa-sink.la module-esound-sink.la module-tunnel-sink.la module-tunnel-source.la module-position-event-sounds.la module-augment-properties.la module-cork-music-on-phone.la module-rtp-send.la module-rtp-recv.la module-cli-protocol-unix.la module-simple-protocol-unix.la module-http-protocol-unix.la module-native-protocol-unix.la module-esound-protocol-unix.la module-pipe-sink.la module-pipe-source.la module-esound-compat-spawnfd.la module-esound-compat-spawnpid.la module-match.la module-x11-bell.la module-x11-publish.la module-x11-xsmp.la module-x11-cork-request.la libalsa-util.la module-alsa-sink.la module-alsa-source.la module-alsa-card.la module-zeroconf-publish.la module-zeroconf-discover.la module-mmkbd-evdev.la module-hal-detect.la libbluetooth-util.la module-bluetooth-proximity.la module-bluetooth-discover.la libbluetooth-ipc.la libbluetooth-sbc.la module-bluetooth-device.la libraop.la module-raop-sink.la module-raop-discover.la '/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/image//usr/lib/pulse-0.9.15/modules/'
libtool: install: error: cannot install `libcli.la' to a directory not ending in /usr/lib/pulse-0.9.15/modules/
make[3]: *** [install-modlibexecLTLIBRARIES] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/work/pulseaudio-0.9.15/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/work/pulseaudio-0.9.15/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/work/pulseaudio-0.9.15/src'
make: *** [install-recursive] Error 1
 * ERROR: media-sound/pulseaudio-0.9.15-r2 failed:
 *   make install failed


Reproducible: Always

Steps to Reproduce:
1. emerge -v =media-sound/pulseaudio-0.9.15-r2 # with the USE flags "X alsa asyncns avahi bluetooth caps dbus glib hal tcpd"



 ~ # emerge --info
Portage 2.2_rc67 (!/var/lib/layman/neuvoo/profiles/neuvoo/images/0.3.0/beagle/, gcc-4.3.4, glibc-2.10.1-r1, 2.6.34 armv7l)
=================================================================
System uname: Linux-2.6.34-armv7l-ARMv7_Processor_rev_2_-v7l-with-gentoo-2.0.1
Timestamp of tree: Sun, 16 May 2010 01:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.19.1-r1
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="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-unknown-linux-gnueabi"
CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fomit-frame-pointer -Os"
CHOST="armv7a-unknown-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=vfp -mfloat-abi=softfp -fomit-frame-pointer -ftree-vectorize"
DISTDIR="/var/lib/squashfs-portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="assume-digests ccache distlocks fixpackages hooks news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
PKGDIR="/var/lib/squashfs-portage/pkgs"
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"
PORTDIR_OVERLAY="/var/lib/layman/neuvoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa arm avahi bash-completion berkdb bluetooth bzip2 cairo cjk cleartype cli corefonts cracklib crypt cups cxx dbus exif fbcon ffmpeg fortran ftp gdbm gif gpm gstreamer gzip hal iconv ipv6 jpeg mad modules mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg openmp pam pcre pdf perl png posix pppd pulseaudio python quicktime readline reflection samba session sndfile spl ssl svg sysfs syslog tcpd theora tiff tk truetype type1 unicode usb vorbis wifi xml xorg xpm xv xvid zeroconf zlib" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="omapfb" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jacob Godserv 2010-06-24 02:07:21 UTC
Created attachment 236359 [details]
build.log
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-09-19 13:26:45 UTC
Created attachment 247996 [details]
build.log on stable arm

I can confirm this problem.
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-09-20 21:05:46 UTC
Quick'n'dirty fix between ebuild configure and ebuild install

--- /var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/work/pulseaudio-0.9.15/libtool	2010-09-20 20:52:37.936982899 +0000
+++ /tmp/libtool	2010-09-20 20:43:29.336980423 +0000
@@ -2518,8 +2518,6 @@
 	  # At present, this check doesn't affect windows .dll's that
 	  # are installed into $libdir/../bin (currently, that works fine)
 	  # but it's something to keep an eye on.
-	  test "$inst_prefix_dir" = "$destdir" && \
-	    func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
 
 	  if test -n "$inst_prefix_dir"; then
 	    # Stick the inst_prefix_dir data into the link command.
Comment 4 Arun Raghavan (RETIRED) gentoo-dev 2010-12-27 08:36:22 UTC
Is this reproducible with more recent version of pulseaudio?
Comment 5 Arun Raghavan (RETIRED) gentoo-dev 2011-03-25 07:44:38 UTC
Please reopen if you see this on newer versions as well.