Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264249 (majorde) - >=media-libs/gstreamer-0.10.22 does not ship .la files anymore breaking compilation of a lot of packages
Summary: >=media-libs/gstreamer-0.10.22 does not ship .la files anymore breaking compi...
Status: RESOLVED FIXED
Alias: majorde
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
: 265609 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-30 06:51 UTC by Matt Jorde
Modified: 2009-04-12 20:25 UTC (History)
5 users (show)

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


Attachments
Full build log (build.log,1.46 MB, text/plain)
2009-03-30 06:52 UTC, Matt Jorde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Jorde 2009-03-30 06:51:07 UTC
Anjuta 2.26.0.0 fails to compile. This may actually be a bug with gstreamer since the error is related to missing libgstbase-0.10.la (and libgstreamer-0.10.la).

Here is the error:

Merging translations into anjuta-devhelp.plugin.
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/unique-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libgdl-1.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DORBIT2=1 -pthread -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I../.. -DPACKAGE_PIXMAPS_DIR=\"/usr/share/pixmaps/anjuta\" -DPACKAGE_LIB_DIR=\"/usr/lib/anjuta\" -DPACKAGE_DATA_DIR=\"/usr/share/anjuta\" -I/usr/include/devhelp-1.0 -I/usr/include/gtk-2.0 -I/usr/include/libwnck-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -DDEBUG -O2 -march=i686 -pipe -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c plugin.c  -fPIC -DPIC -o .libs/plugin.o
mv -f .deps/plugin.Tpo .deps/plugin.Plo
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare  -DDEBUG -O2 -march=i686 -pipe -module -avoid-version -no-undefined -Wl,-O1 -o libanjuta-devhelp.la -rpath /usr/lib/anjuta plugin.lo -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   ../../libanjuta/libanjuta.la -ldevhelp-1 -lwnck-1 -lwebkit-1.0 -lgtk-x11-2.0 -lsoup-2.4 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lutil 
/bin/grep: /usr/lib/libgstbase-0.10.la: No such file or directory
/bin/sed: can't read /usr/lib/libgstbase-0.10.la: No such file or directory
libtool: link: `/usr/lib/libgstbase-0.10.la' is not a valid libtool archive
make[3]: *** [libanjuta-devhelp.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/anjuta-2.26.0.0/work/anjuta-2.26.0.0/plugins/devhelp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-util/anjuta-2.26.0.0/work/anjuta-2.26.0.0/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/anjuta-2.26.0.0/work/anjuta-2.26.0.0'
make: *** [all] Error 2


Here is my emerge --info:

Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.25-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.0
Timestamp of tree: Mon, 30 Mar 2009 03:00:01 +0000
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/gnome /usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache apache2 artworkextra automount avahi bash-completion beagle berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups daap dbus deskbar devhelp dri dts dvd dvdr dvdread dvi eds emboss emerald encode esd evo exif fam ffmpeg firefox flac fortran gcj gd gdbm gif gimp glade glitz gnome gnome-keyring gnome-print gphoto2 gpm gstreamer gtk guile hal howl iconv ieee1394 imagemagick inherit-graph ipod ipv6 isdnlog java jpeg kerberos latex ldap libnotify mad mdb midi mikmod mmx mono mp3 mpeg msn mudflap mysql mysqli nautilus ncurses network networkmanager nfs nls nptl nptlonly odbc offensive ogg opengl openmp oss pam pcre pdf perl php plotutils png posix ppds pppd pulseaudio python qt3 qt3support qt4 quicktime raw readline reflection samba scanner sdl session sftp smp soap sockets sourceview spell spl sse sse2 ssl subversion svg sysfs syslog tcpd tetex theora threads tiff tokenizer tracker truetype unicode usb valgrind vorbis win32codecs wmf x86 xcomposite xforms xine xinetd xml xorg xpm xprint xscreensaver xsl xulrunner xv xvid zip 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="i810 nv nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Here are the results of emerge anjuta gstreamer -pv:

[ebuild   R   ] dev-util/anjuta-2.26.0.0  USE="devhelp glade sourceview subversion valgrind -debug -doc -graphviz" 0 kB [1]
[ebuild   R   ] media-libs/gstreamer-0.10.22  USE="debug nls -test" 0 kB [0]
Comment 1 Matt Jorde 2009-03-30 06:52:18 UTC
Created attachment 186715 [details]
Full build log
Comment 2 Matt Jorde 2009-03-30 07:01:01 UTC
Here is a work-around:

1. make sure gstreamer is installed with 'emerge gstreamer' (I'm using version 0.10.22)
2. 'ebuild /usr/portage/media-libs/gstreamer/gstreamer-0.10.22.ebuild unpack'
3. 'ebuild /usr/portage/media-libs/gstreamer/gstreamer-0.10.22.ebuild compile'
4. 'sudo cp /var/tmp/portage/media-libs/gstreamer-0.10.22/work/gstreamer-0.10.22/libs/gst/base/libgstbase-0.10.la /usr/lib'
5. 'sudo cp /var/tmp/portage/media-libs/gstreamer-0.10.22/work/gstreamer-0.10.22/gst/libgstreamer-0.10.la /usr/lib'
6. 'emerge anjuta'
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-30 09:00:34 UTC
there's no reason that this file would be missing. could you just reinstall gstreamer the usual way, run revdep-rebuild and see if anjuta still fails.

CCing gstreamer in case the did something to the .la
Comment 4 Matt Jorde 2009-03-31 02:33:02 UTC
Re-emerging gstreamer did not add the .la files. Anjuta was in the revdep-rebuild list and still failed with the same error, as did numerous other packages in the revdep-rebuild list such as bluez and python.

I masked gstreamer-0.10.22 and installed 0.10.21-r3. This did install the .la files.

I diffed the two ebuilds and found the following lines in the 0.10.22 ebuild:
"        # Drop unnecessary libtool files
        find "${D}"/usr/$(get_libdir) -name '*.la' -delete || die "find and dele
te failed."

So it looks like the gstreamer team removed the .la files from 0.10.22 on purpose. It seems this probably isn't actually a bug with anjuta, but either a gstreamer issue or a problem with my environment instead.

Should I resolve this as Invalid?
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-03-31 06:28:41 UTC
Please upgrade gstreamer to the latest ~ version and go through the revdep-rebuild list. If one package fails, move on to the next one until the whole list is done.

Thanks
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-31 08:16:05 UTC
no, this just means that gstreamer team decide to break everyone without providing a tool to make the transition smoother as x11 team is preparing to. 
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-31 08:17:14 UTC
@gstreamer, please be gentle and provide a way to make this less painful, solutions exists as x11 has started work on this for libxcb. Thanks in advance.
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-03-31 09:33:29 UTC
Here's the script, the important sed voodoo is between lines 38 and 42.

http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=blob;f=x11-libs/libxcb/files/xcb-rebuilder.sh;hb=HEAD
Comment 9 Matt Jorde 2009-03-31 15:57:46 UTC
When I synced yesterday, the 0.10.22 versions of gst-plugins-* were available. After installing these, then re-installing gstreamer, revdev-rebuild completed successfully.

This seems strange since the .la files are still not there and this is what anjuta complained was missing before. I wouldn't think the new plugin versions would change anything.
Comment 10 Olivier Crete (RETIRED) gentoo-dev 2009-03-31 20:01:58 UTC
I removed the line tha removes the .la files. If someone care enough to remove them, I guess he'll have to come up with a solution.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-12 20:25:50 UTC
*** Bug 265609 has been marked as a duplicate of this bug. ***