Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116077 - cal3d does not build with libtool-1.5.22
Summary: cal3d does not build with libtool-1.5.22
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bryan Østergaard (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-19 12:26 UTC by Andrei Slavoiu
Modified: 2006-08-10 09:47 UTC (History)
1 user (show)

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


Attachments
patch that fixes the bug (cal3d-libtool.patch,288 bytes, patch)
2005-12-19 12:41 UTC, Andrei Slavoiu
Details | Diff
Ebuild which applies the patch. (cal3d-0.11.0_pre20050823.ebuild,823 bytes, text/plain)
2006-01-14 04:10 UTC, Martin Sandsmark
Details
fixed patch (cal3d-0.11.0_pre20050823-libtool-compat.patch,297 bytes, patch)
2006-01-26 13:16 UTC, Andrei Slavoiu
Details | Diff
cal3d-0.11.0_pre20050823-libtool-compat.patch-7436.out (cal3d-0.11.0_pre20050823-libtool-compat.patch-7436.out,2.48 KB, text/plain)
2006-01-26 16:06 UTC, Andrei Slavoiu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2005-12-19 12:26:33 UTC
both cal3d-0.10.0 and cal3d-0.11.0_pre20050823 fail to build using the new libtool-1.5.22.
The error message is:
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o  .libs/animation.o .libs/animation_action.o .libs/animation_cycle.o .libs/bone.o .libs/buffersource.o .libs/cal3d_wrapper.o .libs/coreanimation.o .libs/corebone.o .libs/corekeyframe.o .libs/corematerial.o .libs/coremesh.o .libs/coremodel.o .libs/coreskeleton.o .libs/coresubmesh.o .libs/coresubmorphtarget.o .libs/coretrack.o .libs/error.o .libs/global.o .libs/hardwaremodel.o .libs/loader.o .libs/matrix.o .libs/mesh.o .libs/mixer.o .libs/model.o .libs/morphtargetmixer.o .libs/physique.o .libs/platform.o .libs/quaternion.o .libs/renderer.o .libs/saver.o .libs/skeleton.o .libs/springsystem.o .libs/streamsource.o .libs/submesh.o .libs/vector.o .libs/tinyxml.o .libs/tinyxmlerror.o .libs/tinyxmlparser.o .libs/tinystr.o .libs/coremorphanimation.o  -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crtn.o  -march=athlon64 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z -Wl,combreloc -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z -Wl,combreloc @all_libraries@ -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z -Wl,combreloc -Wl,-soname -Wl,libcal3d.so.11 -o .libs/libcal3d.so.11.0.0
x86_64-pc-linux-gnu-g++: @all_libraries@: No such file or directory
make[3]: *** [libcal3d.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/cal3d-0.10.0/work/cal3d-0.10.0/src/cal3d'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cal3d-0.10.0/work/cal3d-0.10.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cal3d-0.10.0/work/cal3d-0.10.0'
make: *** [all] Error 2
Comment 1 Andrei Slavoiu 2005-12-19 12:41:39 UTC
Created attachment 75136 [details, diff]
patch that fixes the bug
Comment 2 Geoff Leach 2005-12-20 01:23:04 UTC
Patch works for me ...
Comment 3 Jason Huebel (RETIRED) gentoo-dev 2006-01-07 08:08:11 UTC
patch works for me too. Downside is that Eternal Lands is not compatible with cal3d-0.11. So you'll have to choose between that or Planeshift, which uses a version of crystalspace that requires cal3d-0.11.

I tried attaching an updated ebuild, but something is up with bugzilla.
Comment 4 Martin Sandsmark 2006-01-14 04:10:08 UTC
Created attachment 77066 [details]
Ebuild which applies the patch.
Comment 5 Marien Zwart (RETIRED) gentoo-dev 2006-01-25 12:46:23 UTC
Committed, thanks for the patch.
Comment 6 Andrei Slavoiu 2006-01-26 13:16:20 UTC
Created attachment 78216 [details, diff]
fixed patch

It seems that my original patch was not applied correctly by portage (I didn't test it in a ebuild).
Comment 7 Andrei Slavoiu 2006-01-26 13:18:53 UTC
My original patch did not aply correctly from portage, it gave an error about missing file. Also please note that this bug aplies for version 0.10 too, and the patch works unchanged.
Comment 8 Marien Zwart (RETIRED) gentoo-dev 2006-01-26 15:16:30 UTC
I've applied the patch to 0.10.0 too now. I do not get "an error about missing file". Please attach an emerge log.
Comment 9 Andrei Slavoiu 2006-01-26 16:06:19 UTC
Created attachment 78240 [details]
cal3d-0.11.0_pre20050823-libtool-compat.patch-7436.out
Comment 10 Andrei Slavoiu 2006-01-26 16:10:31 UTC
The output from emerge is:

 * Applying cal3d-0.11.0_pre20050823-libtool-compat.patch ...

 * Failed Patch: cal3d-0.11.0_pre20050823-libtool-compat.patch !
 *  ( /usr/portage/media-libs/cal3d/files/cal3d-0.11.0_pre20050823-libtool-compat.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/cal3d-0.11.0_pre20050823/temp/cal3d-0.11.0_pre20050823-libtool-compat.patch-7436.out

I attached cal3d-0.11.0_pre20050823-libtool-compat.patch-7436.out.

Also I think my emerge info might be relevant in this case:

Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -fforce-addr -ftracer -funit-at-a-time -fgcse-after-reload -ffast-math -maccumulate-outgoing-args"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -fforce-addr -ftracer -funit-at-a-time -fgcse-after-reload -ffast-math -maccumulate-outgoing-args -fuse-cxa-atexit"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org ftp://ftp.lug.ro/gentoo ftp://gentoo.romnet.org http://distfiles.gentoo.org"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-z,combreloc"
LINGUAS="ro eo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac aalib accessibility acl acpi alsa apache2 asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib caps cddb cdparanoia cdr clamav crypt css cups curl dba dga doc dpms dts dv dvd dvdr dvdread eds emboss encode erandom examples exif expat fam fbcon ffmpeg flac foomaticdb fortran ftp gcj gd gif glut gmp gnokii gnutls gphoto2 gpm graphviz hal idn imagemagick ipv6 java javascript jpeg jpeg2k justify kde kdeenablefinal kerberos kig-scripting kipi kqemu lcms ldap libcaca libclamav lirc live lm_sensors lua lzo lzw lzw-tiff mad matroska mbrola mikmod mjpeg mmap mng mp3 mpeg mppe-mppc musepack musicbrainz mythtv ncurses network nls nodrm nowin nptl nptlonly offensive ofx ogg oggvorbis openal openexr opengl pam pcre pdf pdflib perl php physfs png posix povray python qt quicktime rdesktop readline real reiserfs rtc samba sasl sdl session sms sockets speex spell sqlite ssl subversion svg symlink syslog sysvipc tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 videos visualization voice vorbis wifi wmf xine xml xml2 xmlrpc xpm xsl xv xvid xvmc zeroconf zip zlib elibc_glibc kernel_linux linguas_ro linguas_eo userland_GNU"
Unset:  ASFLAGS, CTARGET
Comment 11 Bryan Østergaard (RETIRED) gentoo-dev 2006-05-25 12:33:34 UTC
Closing as I can't reproduce this bug.
Comment 12 Andrei Slavoiu 2006-08-10 09:47:42 UTC
Closed. No longer relevant since 0.11.0 final is in portage.