Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279195 - =media-libs/xine-lib-1.1.16.3-r1 fails with =libtool-1.x
Summary: =media-libs/xine-lib-1.1.16.3-r1 fails with =libtool-1.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-26 17:03 UTC by 7v5w7go9ub0o
Modified: 2009-11-03 22:20 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 7v5w7go9ub0o 2009-07-26 17:03:28 UTC
xine-lib-1.1.16.3 compiled just fine. -r1 borked.


../../libtool: line 1165: X-Wmissing-format-attribute: command not found
../../libtool: line 1165: X-c: command not found
../../libtool: line 1165: X-Wno-pointer-sign: command not found
../../libtool: line 1165: X-Wmissing-prototypes: command not found
../../libtool: line 1218: Xaudio_decoder.lo: command not found
../../libtool: line 1165: X-Wformat=2: command not found
../../libtool: line 1165: X-Wmissing-format-attribute: command not found
../../libtool: line 1223: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [audio_decoder.lo] Error 1
../../libtool: line 1165: X-Wno-format-zero-length: command not found
../../libtool: line 1165: X-Wno-pointer-sign: command not found
../../libtool: line 1165: X-Wstrict-aliasing=2: command not found
../../libtool: line 1165: X-Wformat=2: command not found
../../libtool: line 1165: X-Werror=implicit-function-declaration: command not found
../../libtool: line 1165: X-Wno-format-zero-length: command not found
../../libtool: line 1165: X-DNDEBUG: command not found
../../libtool: line 1165: X-Wstrict-aliasing=2: command not found
../../libtool: line 1165: X-c: command not found
../../libtool: line 1165: X-Werror=implicit-function-declaration: command not found
../../libtool: line 1218: Xvideo_decoder.lo: command not found
../../libtool: line 1165: X-DNDEBUG: command not found
../../libtool: line 1223: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [video_decoder.lo] Error 1
../../libtool: line 1165: X-c: command not found
../../libtool: line 1218: Xbuffer.lo: command not found
../../libtool: line 1223: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [buffer.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/work/xine-lib-1.1.16.3/src/xine-engine'
make[2]: *** [../src/xine-engine/libxine.la] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/work/xine-lib-1.1.16.3/misc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/work/xine-lib-1.1.16.3/misc'
make: *** [all-recursive] Error 1
 * 
 * ERROR: media-libs/xine-lib-1.1.16.3-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3041:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."


Reproducible: Always






Portage 2.1.6.13 (hardened/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 x86_64)

# gcc-config -l
 [1] x86_64-pc-linux-gnu-4.3.3 *
 [2] x86_64-pc-linux-gnu-4.3.3-nopie
 [3] x86_64-pc-linux-gnu-4.3.3-vanilla
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-07-26 17:06:45 UTC
which version of libtool?
Comment 2 7v5w7go9ub0o 2009-07-26 17:37:36 UTC
(In reply to comment #1)
> which version of libtool?
> 

 eix libtool
[I] sys-devel/libtool
     Available versions:  
	(1.3)	1.3.5
	(1.5)	1.5.26 ~2.2.4 ~2.2.6a **9999
	{vanilla}
     Installed versions:  1.5.26(1.5)(17:57:09 01/31/09)(-vanilla)
     Homepage:            http://www.gnu.org/software/libtool/
     Description:         A shared library tool for developers
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-07-26 17:39:12 UTC
if you add:

rm -f ltmain.sh m4/{libtool,lt*}.m4

to src_prepare (before eautoreconf), does that solve the issue?
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-07-26 17:43:55 UTC
sorry, I meant src_unpack in this case. just before the eautoreconf line.
Comment 5 7v5w7go9ub0o 2009-07-26 18:18:38 UTC
(In reply to comment #4)
> sorry, I meant src_unpack in this case. just before the eautoreconf line.
> 

Yep, that fixed it.

I'm a newb; what went wrong?

(thanks)
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-07-26 19:11:07 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > sorry, I meant src_unpack in this case. just before the eautoreconf line.
> Yep, that fixed it.

The xine-lib tarball has been created with libtool-2, and you have libtool-1, so it's nothing more than just a version mismatch issue here.. Removing those files makes it use the libtool files you have installed, not the ones xine-lib comes with. Thanks for testing! Fixed in CVS now, sync in a hour or so.


Comment 7 Juan Winograd 2009-11-01 22:46:48 UTC
i have a similar issue but i have libtool-2:

/bin/grep: /usr/lib/libogg.la: No such file or directory                                         
/bin/sed: can't read /usr/lib/libogg.la: No such file or directory                               
libtool: link: `/usr/lib/libogg.la' is not a valid libtool archive                               
make[2]: *** [xineplug_dmx_ogg.la] Error 1                                                       
make[2]: *** Waiting for unfinished jobs....                                                     
libtool: link: i686-pc-linux-gnu-gcc -shared  .libs/group_games.o .libs/demux_eawve.o .libs/demux_idcin.o .libs/demux_ipmovie.o .libs/demux_roq.o .libs/demux_vqa.o .libs/demux_wc3movie.o .libs/demux_str.o .libs/demux_film.o .libs/demux_smjpeg.o .libs/demux_4xm.o .libs/demux_vmd.o   -Wl,-rpath -Wl,/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/work/xine-lib-1.1.16.3/src/xine-engine/.libs ../../src/xine-engine/.libs/libxine.so -L/usr/lib -ldl -lm /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so -lrt -lresolv -lnsl  -march=i686 -Wl,-O1   -pthread -Wl,-soname -Wl,xineplug_dmx_games.so -o .libs/xineplug_dmx_games.so                                 
libtool: link: ( cd ".libs" && rm -f "xineplug_dmx_asf.la" && ln -s "../xineplug_dmx_asf.la" "xineplug_dmx_asf.la" )                                                                              
libtool: link: ( cd ".libs" && rm -f "xineplug_dmx_games.la" && ln -s "../xineplug_dmx_games.la" "xineplug_dmx_games.la" )                                                                        
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/work/xine-lib-1.1.16.3/src/demuxers'                                                                                 
make[1]: *** [all-recursive] Error 1                                                             
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/work/xine-lib-1.1.16.3/src'                                                                                          
make: *** [all-recursive] Error 1                                                                
 * ERROR: media-libs/xine-lib-1.1.16.3-r1 failed:                                                
 *   emake failed.                                                                               
 *                                                                                               
 * Call stack:                                                                                   
 *     ebuild.sh, line  49:  Called src_compile                                                  
 *   environment, line 3189:  Called die                                                         
 * The specific snippet of code:                                                                 
 *       emake || die "emake failed."    
Comment 8 Juan Winograd 2009-11-03 22:20:55 UTC
nvm, fixed it