Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104700 - cal3d-0.11.0_pre20050823 fails to emerge [needed for PlaneShift]
Summary: cal3d-0.11.0_pre20050823 fails to emerge [needed for PlaneShift]
Status: RESOLVED DUPLICATE of bug 98762
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Philip Walls (RETIRED)
URL: http://cal3d.sf.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-03 04:37 UTC by Matija "hook" Šuklje
Modified: 2006-01-13 10:22 UTC (History)
0 users

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


Attachments
The patch to make the ebuild run my real patch on autogen.sh (ebuild.patch,670 bytes, patch)
2005-09-06 23:47 UTC, Florent AIDE
Details | Diff
The patch that removes automake-1.9 from the choices for autogen.sh (automake19.patch,745 bytes, patch)
2005-09-06 23:49 UTC, Florent AIDE
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matija "hook" Šuklje 2005-09-03 04:37:58 UTC
Cal3d needed for PlaneShift 0.3.11 (actually its CrystalSpace) fails to emerge.  
 
Reproducable: Always  
   
Steps of reproduction:   
1. emerge cal3d-0.11.0_pre20050823  
2.  
  
Emerge output:  
Calculating dependencies ...done!  
>>> emerge (1 of 1) media-libs/cal3d-0.11.0_pre20050823 to /  
>>> md5 files   ;-) cal3d-0.10.0.ebuild  
>>> md5 files   ;-) cal3d-0.11.0_pre20050823.ebuild  
>>> md5 files   ;-) files/digest-cal3d-0.10.0  
>>> md5 files   ;-) files/digest-cal3d-0.11.0_pre20050823  
>>> md5 src_uri ;-) cal3d-0.11.0_pre20050823.tar.bz2  
>>> Unpacking source...  
>>> Unpacking cal3d-0.11.0_pre20050823.tar.bz2  
to /var/tmp/portage/cal3d-0.11.0_pre20050823/work  
>>> Source unpacked.  
Running 'aclocal-1.9 '  
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR  
  run info '(automake)Extending aclocal'  
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal  
/usr/share/aclocal/pth.m4:55: warning: underquoted definition of  
_AC_PTH_VERBOSE  
/usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH  
/usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of  
AC_PATH_DPS_GUESS_GNUSTEP  
/usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of  
AC_PATH_DPS_GUESS  
/usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of  
AC_PATH_DPS_CHECK_LIB  
/usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of  
AC_PATH_DPS_CHECK_HEADER  
/usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of  
AC_PATH_DPS_CHECK  
/usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of  
AC_PATH_DPS  
/usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of  
AC_CHECK_DPS_NXAGENT  
/usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of  
AC_PATH_DPSET  
/usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of  
AC_PROG_PSWRAP  
/usr/share/aclocal/path_dps.m4:172: file `path_dps.m4' does not exist  
  
!!! ERROR: media-libs/cal3d-0.11.0_pre20050823 failed.  
!!! Function econf, Line 488, Exitcode 1  
!!! no configure script found  
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Florent AIDE 2005-09-06 23:46:50 UTC
I have seen the same problem with the 0.10.0 ebuild.

The problem comes form automake-1.9, when using automake-1.8 the problem does
not occur and the package compiles properly.

what I have done is a quick hack to compile:

created a patch for autogen.sh (automake19.patch)
changed ebuild to patch autogen.sh before running it (ebuild.patch)

and it works, but this really is a quick hack

(I'll attach the 2 files as soon as message is posted)
Comment 2 Florent AIDE 2005-09-06 23:47:55 UTC
Created attachment 67810 [details, diff]
The patch to make the ebuild run my real patch on autogen.sh
Comment 3 Florent AIDE 2005-09-06 23:49:38 UTC
Created attachment 67811 [details, diff]
The patch that removes automake-1.9 from the choices for autogen.sh

I removed automake-1.9 (and aclocal-1.9) from the lists of possible choices in
the tests so they cannot be found be the script.
Comment 4 Derek Scherger 2005-09-07 21:50:19 UTC
for what it's worth, I'm seeing the same problem with app-text/gnome-spell-1.0.6
and x11-libs/vte-0.11.13-r2 so I'd say it's not a problem with the cal3d ebuild.
 line 172 of /usr/share/aclocal/path_dps.m4 has the following:

dnl       include(path_dps.m4)

which looks like it might be getting interpreted, rather than being commented
out (which I think is what dnl is supposed to do)
Comment 5 Matthias F. Brandstetter (RETIRED) gentoo-dev 2005-09-11 05:27:25 UTC
Hello, I have exactly the same problem with this ebuild fo cal3d when emerging
crystalspace. I tried to patch my ebuild, but then I get this error when
actually merging the ebuild:

!!! Digest verification Failed:
!!!    /usr/portage/media-libs/cal3d/cal3d-0.11.0_pre20050823.ebuild
!!! Reason: Filesize does not match recorded size

So, how can I use this patch? And where to copy the file "automake19.patch" to?
When I copy it under the files directory, I get this error during emerge:

>>> emerge (1 of 3) media-libs/cal3d-0.11.0_pre20050823 to /
!!! Security Violation: A file exists that is not in the manifest.
!!! File: files/automake19.patch

Any ideas on this?
Comment 6 Derek Scherger 2005-09-17 20:52:55 UTC
I applied the following patch to (line 172) of /usr/share/aclocal/path_dps.m4
which seems to have solved the problem. For the record, dnl apparently stands
for "Delete New Line" meaning delete everything up to the next newline... so the
contents of line 172 should not be interpreted. 

--- path_dps.m4.orig    2005-09-17 21:44:02.000000000 -0600
+++ path_dps.m4 2005-09-15 20:52:20.000000000 -0600
@@ -169,7 +169,7 @@
 dnl * If you use automake and  if you didn't install path_dps.m4
 dnl   [1] Create a file named acinclude.m4 at the root directory of your package.
 dnl   [2] Put follwoing codes in the acinclude.m4
-dnl       include(path_dps.m4)
+dnl       xnclude(path_dps.m4)
 dnl   [3] Add path_dps.m4 to EXTRA_DIST in the Makefile.am at the directory .
 dnl   [4] Invoke the follwoing commands at the directory:
 dnl       automake; aclocal -I .; autoconf
Comment 7 Matija "hook" Šuklje 2005-09-18 03:56:57 UTC
That sounds great :D  
 
Now just to see it get into portage and we've won :] 
Comment 8 Matija "hook" Šuklje 2005-09-25 01:12:08 UTC
I used Derek Scherger's patch to /usr/share/aclocal/path_dps.m4 and it works. 
 
It gets cal3d installed. 
Comment 9 Bryan Østergaard (RETIRED) gentoo-dev 2005-09-29 16:29:06 UTC
Is anybody still having this problem? cal3d emerges fine with automake-1.9.6 in
my tests.
Comment 10 Johannes Bauer 2005-10-06 04:27:21 UTC
Yes, problem still persists, even with 1.9.6-r1

With Derek's patch it works like a charm. Thanks Derek!

Greetings,
Johannes
Comment 11 Johannes Bauer 2005-10-15 02:04:41 UTC
I have now patched 5 Gentoo Systems where different ebuilds (like cal3d,
libtool, etc) have failed in an exactly identical manner - always using Derek's
patch which is supplied in this very thread. Not a single problem encountered so
far.

Greetings,
Johannes
Comment 12 Kevin Rogers 2005-10-21 13:20:57 UTC
I just ran into a similar problem while doing an emerge -uD world, during a 
libtool upgrade. You might want to have a look at bug 98762. 
Comment 13 Chris Fairles 2005-12-31 13:37:05 UTC
I get this error.

/bin/sh ../../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++  -O2 -march=pentium4 -fomit-frame-pointer -pipe   -o libcal3d.la -rpath /usr/lib @all_libraries@ -no-undefined -version-info 11:0:0  animation.lo animation_action.lo animation_cycle.lo bone.lo buffersource.lo cal3d_wrapper.lo coreanimation.lo corebone.lo corematerial.lo coremesh.lo coremodel.lo coreskeleton.lo coresubmesh.lo coresubmorphtarget.lo error.lo global.lo hardwaremodel.lo loader.lo matrix.lo mesh.lo mixer.lo model.lo morphtargetmixer.lo physique.lo platform.lo quaternion.lo renderer.lo saver.lo skeleton.lo springsystem.lo streamsource.lo submesh.lo vector.lo tinyxml.lo tinyxmlerror.lo tinyxmlparser.lo coremorphanimation.lo
i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/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/corematerial.o .libs/coremesh.o .libs/coremodel.o .libs/coreskeleton.o .libs/coresubmesh.o .libs/coresubmorphtarget.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/coremorphanimation.o  -L/usr/lib/gcc/i686-pc-linux-gnu/4.0.2 -L/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../.. /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/libstdc++.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../crtn.o  -march=pentium4 @all_libraries@ -Wl,-soname -Wl,libcal3d.so.11 -o .libs/libcal3d.so.11.0.0
i686-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.11.0_pre20050823/work/cal3d/src/cal3d'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cal3d-0.11.0_pre20050823/work/cal3d/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cal3d-0.11.0_pre20050823/work/cal3d'
make: *** [all] Error 2


Happens forcing aclocal-1.7 or 1.8 (via patch above and own patch).

emerge --info
Portage 2.1_pre3 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.14-nitro2 i686)
=================================================================
System uname: 2.6.14-nitro2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.0_pre12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 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="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrored.ca/ http://adelie.polymtl.ca/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdr crypt cscope cups curl divx4linux dvd dvdr emacs emboss encode exif expat fam ffmpeg fftw firefox flac foomaticdb fortran ftp gd gdbm gif ginac glut glx gmp gpm gstreamer gtk gtk2 guile hal idn imagemagick imlib java javascript jpeg jpeg2k kerberos lcms ldap libg++ libwww mad mhash mikmod mjpeg mmx mng mp3 mpeg msn mysql ncurses netboot nis nntp nptl nptlonly nsplugin ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl png posix ppds pthreads python qt quicktime readline real ruby samba sdl sharedmem smp snmp spell sqlite sse ssl svga tcltk tcpd tetex threads tiff transcode truetype truetype-fonts type1-fonts udev usb v4l v4l2 vcd verbose vorbis wifi win32codecs wxwindows xine xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 14 Alex Riesen 2006-01-07 12:07:45 UTC
(In reply to comment #6)
> I applied the following patch to (line 172) of /usr/share/aclocal/path_dps.m4
> which seems to have solved the problem. For the record, dnl apparently stands
> for "Delete New Line" meaning delete everything up to the next newline... so the
> contents of line 172 should not be interpreted. 

Does anyone have any idea as to why it gets interpreted?
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-01-13 10:22:55 UTC

*** This bug has been marked as a duplicate of 98762 ***