Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79199 - Compilation failure when building icecast/ices/libshout, libiceavl_la-avl.o and others not found
Summary: Compilation failure when building icecast/ices/libshout, libiceavl_la-avl.o a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 120121 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-23 05:12 UTC by Sander van Vliet
Modified: 2006-01-23 16:49 UTC (History)
1 user (show)

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


Attachments
A patch to replace the libtool arguments in the corresponding makefiles (icecast-compile.patch,14.66 KB, patch)
2005-01-23 05:15 UTC, Sander van Vliet
Details | Diff
ebuild that incorporates the patch (icecast-2.2.0.ebuild,1.12 KB, text/plain)
2005-01-23 05:16 UTC, Sander van Vliet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sander van Vliet 2005-01-23 05:12:15 UTC
When emerging icecast, ices or libshout the sub-libraries of the packages aren't being built as they should.
I've tried building from the sources downloaded from icecast.org and the same problem arises. After some tests I've found that the compilation steps are displayed but not executed.
It appears libtool just produces output to screen but not to file resulting in missing files.
When the variables to libtool are removed from the Makefile, e.g.:
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libiceavl_la_CFLAGS) $(CFLAGS) -c -o libiceavl_la-avl.o `test -f 'avl.c' ||
 echo '$(srcdir)/'`avl.c
instead of:
source='avl.c' object='libiceavl_la-avl.o' libtool=no \
        depfile='$(DEPDIR)/libiceavl_la-avl.Po' tmpdepfile='$(DEPDIR)/libiceavl_la-avl.TPo' \
        $(CCDEPMODE) $(depcomp) \
        $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libiceavl_la_CFLAGS) $(CFLAGS) -c -o libiceavl_la-avl.o `test -f 'avl.c' ||
 echo '$(srcdir)/'`avl.c
The files are compiled as they should and the software works as expected (thorougly tested by connecting 20 clients in burst). This goes for icecast, ices and libshout.

Checking with other Gentoo users revealed they don't have any problems in compiling icecast, ices or libshout.

Reproducible: Always
Steps to Reproduce:
1. emerge -v icecast
Same procedure for ices and libshout
Actual Results:  
emerge spits out the following error:
mv -f libicetiming_la-timing.o .libs/libicetiming_la-timing.o
mv: cannot stat `libicetiming_la-timing.o': No such file or directory
make[3]: *** [libicetiming_la-timing.lo] Error 1


Expected Results:  
Software should be emerged successfully as for any other package.

Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 20 2005, 15:01:33)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow apache2 apm audiofile authdaemond avi bash-completion berkdb
bitmap-fonts bzip2 bzlib clamav cpdflib crypt cups curl curlwrappers dbm dio
encode exif f77 flac font-server foomaticdb fortran ftp gd gif gmp gtk2
imagemagick imap imlib innodb ipv6 jpeg kerberos lcms ldap lesstif libg++ libwww
mad mbox mikmod milter mime mmx mng motif mpeg mpi mysql ncurses nptl nptlonly
odbc oggvorbis opengl oss pam pcre pdflib perl php png posix postgres postgresql
python quicktime readline samba sasl sdl session shared sharedmem slp snmp soap
sockets spell sse ssl svg svga tcpd tidy tiff truetype truetype-fonts
type1-fonts usb vhosts virus-scan wmf xml xml2 xmlrpc xsl xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Sander van Vliet 2005-01-23 05:15:20 UTC
Created attachment 49272 [details, diff]
A patch to replace the libtool arguments in the corresponding makefiles

This patch replaces the libtool arguments in the Makefile.in in the
avl,httpp,net,thread and timing directories.
Comment 2 Sander van Vliet 2005-01-23 05:16:21 UTC
Created attachment 49273 [details]
ebuild that incorporates the patch

Icecast 2.2.0 ebuild that incorporates the patches to the Makefile.in's
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-23 07:09:08 UTC
patch and and ebuild commited, thanks.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-01-23 16:49:44 UTC
*** Bug 120121 has been marked as a duplicate of this bug. ***