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.
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)
Created attachment 67810 [details, diff] The patch to make the ebuild run my real patch on autogen.sh
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.
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)
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?
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
That sounds great :D Now just to see it get into portage and we've won :]
I used Derek Scherger's patch to /usr/share/aclocal/path_dps.m4 and it works. It gets cal3d installed.
Is anybody still having this problem? cal3d emerges fine with automake-1.9.6 in my tests.
Yes, problem still persists, even with 1.9.6-r1 With Derek's patch it works like a charm. Thanks Derek! Greetings, Johannes
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
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.
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
(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?
*** This bug has been marked as a duplicate of 98762 ***