Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284847 - sci-libs/mathgl-1.9.1 needs libtool-2.2
Summary: sci-libs/mathgl-1.9.1 needs libtool-2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2009-09-14 01:33 UTC by François Bissey
Modified: 2009-09-15 04:39 UTC (History)
1 user (show)

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


Attachments
Adding libtool-2.2 as a dependency (mathgl-1.9.0.1.patch,365 bytes, patch)
2009-09-14 09:26 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2009-09-14 01:33:56 UTC
The package fails to build both on ppc and x86 with gcc-4.3/glibc-2.9 and 
gcc-4.4/glibc-2.10.1.
I suspect it requires libtool-2.2 but haven't check that.

Reproducible: Always

Steps to Reproduce:
1. emerge -uv mathgl
2. see it fail


Actual Results:  
>>> Compiling source in /scratch/portage/portage/sci-libs/mathgl-1.9.0.1/work/mathgl-1.9.0.1 ...
make -j2 
Making all in mgl
make[1]: Entering directory `/scratch/portage/portage/sci-libs/mathgl-1.9.0.1/work/mathgl-1.9.0.1/mgl'
/bin/sh ../libtool --tag=CXX   --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include/mgl -I../include -I..   -DWITH_QT    -DMGL_FONT_PATH=\"/usr/share/mathgl/fonts/\" -DMOD_LIB_DIR=\"/usr/lib/mgl/\"  -DHAVE_GIF -DHAVE_JPEG     -Wall -DNO_GSL -O2 -mcpu=7450 -mtune=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing -MT libmgl_la-mgl_data_cf.lo -MD -MP -MF .deps/libmgl_la-mgl_data_cf.Tpo -c -o libmgl_la-mgl_data_cf.lo `test -f 'mgl_data_cf.cpp' || echo './'`mgl_data_cf.cpp
/bin/sh ../libtool --tag=CXX   --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include/mgl -I../include -I..   -DWITH_QT    -DMGL_FONT_PATH=\"/usr/share/mathgl/fonts/\" -DMOD_LIB_DIR=\"/usr/lib/mgl/\"  -DHAVE_GIF -DHAVE_JPEG     -Wall -DNO_GSL -O2 -mcpu=7450 -mtune=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing -MT libmgl_la-mgl_axis.lo -MD -MP -MF .deps/libmgl_la-mgl_axis.Tpo -c -o libmgl_la-mgl_axis.lo `test -f 'mgl_axis.cpp' || echo './'`mgl_axis.cpp
../libtool: line 868: X--tag=CXX: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 868: X--tag=CXX: command not found
../libtool: line 868: X--mode=compile: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 868: X--mode=compile: command not found
../libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1179: Xpowerpc-unknown-linux-gnu-g++: command not found
../libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1179: Xpowerpc-unknown-linux-gnu-g++: command not found
../libtool: line 1179: X-DHAVE_CONFIG_H: command not found
../libtool: line 1179: X-DHAVE_CONFIG_H: command not found
../libtool: line 1179: X-I.: command not found
../libtool: line 1179: X-I.: command not found
../libtool: line 1179: X-I../include/mgl: No such file or directory
../libtool: line 1179: X-I../include/mgl: No such file or directory
../libtool: line 1179: X-I../include: No such file or directory
../libtool: line 1179: X-I../include: No such file or directory
../libtool: line 1179: X-I..: command not found
../libtool: line 1179: X-I..: command not found
../libtool: line 1179: X-DWITH_QT: command not found
../libtool: line 1179: X-DWITH_QT: command not found
../libtool: line 1179: X-DMGL_FONT_PATH="/usr/share/mathgl/fonts/": No such file or directory
../libtool: line 1179: X-DMGL_FONT_PATH="/usr/share/mathgl/fonts/": No such file or directory
../libtool: line 1179: X-DMOD_LIB_DIR="/usr/lib/mgl/": No such file or directory
../libtool: line 1179: X-DMOD_LIB_DIR="/usr/lib/mgl/": No such file or directory
../libtool: line 1179: X-DHAVE_GIF: command not found
../libtool: line 1179: X-DHAVE_GIF: command not found
../libtool: line 1179: X-DHAVE_JPEG: command not found
../libtool: line 1179: X-DHAVE_JPEG: command not found
../libtool: line 1179: X-Wall: command not found
../libtool: line 1179: X-Wall: command not found
../libtool: line 1179: X-DNO_GSL: command not found
../libtool: line 1179: X-DNO_GSL: command not found
../libtool: line 1179: X-O2: command not found
../libtool: line 1179: X-mcpu=7450: command not found
../libtool: line 1179: X-O2: command not found
../libtool: line 1179: X-mtune=7450: command not found
../libtool: line 1179: X-mcpu=7450: command not found
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-mtune=7450: command not found
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-maltivec: command not found
../libtool: line 1179: X-maltivec: command not found
../libtool: line 1179: X-mabi=altivec: command not found
../libtool: line 1179: X-fno-strict-aliasing: command not found
../libtool: line 1179: X-mabi=altivec: command not found
../libtool: line 1179: X-MT: command not found
../libtool: line 1179: X-fno-strict-aliasing: command not found
../libtool: line 1179: Xlibmgl_la-mgl_data_cf.lo: command not found
../libtool: line 1179: X-MT: command not found
../libtool: line 1179: X-MD: command not found
../libtool: line 1179: Xlibmgl_la-mgl_axis.lo: command not found
../libtool: line 1179: X-MP: command not found
../libtool: line 1179: X-MD: command not found
../libtool: line 1179: X-MF: command not found
../libtool: line 1179: X-MP: command not found
../libtool: line 1179: X.deps/libmgl_la-mgl_data_cf.Tpo: No such file or directory
../libtool: line 1179: X-MF: command not found
../libtool: line 1179: X.deps/libmgl_la-mgl_axis.Tpo: No such file or directory
../libtool: line 1179: X-c: command not found
../libtool: line 1179: X-c: command not found
../libtool: line 1232: Xlibmgl_la-mgl_data_cf.lo: command not found
../libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
../libtool: line 1232: Xlibmgl_la-mgl_axis.lo: command not found
make[1]: *** [libmgl_la-mgl_data_cf.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
../libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
make[1]: *** [libmgl_la-mgl_axis.lo] Error 1
make[1]: Leaving directory `/scratch/portage/portage/sci-libs/mathgl-1.9.0.1/work/mathgl-1.9.0.1/mgl'
make: *** [all-recursive] Error 1

This is on ppc the results is the same on x86 apart from the compiler flags
parsed.

Expected Results:  
Successful compilation

Here is my emerge --info on ppc from the last attempt (current x86 profile is
similar):
Portage 2.2_rc40 (default/linux/powerpc/ppc32/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.28-gentoo-r5 ppc)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-ppc-7450,_altivec_supported-with-glibc2.0
Timestamp of tree: Sun, 13 Sep 2009 23:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7450 -mtune=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=7450 -mtune=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/scratch/portage/distfiles/"
FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.citylink.co.nz/gentoo ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo ftp://ftp.vic.keypoint.com.au ftp://mirror.pacific.net.au/linux/Gentoo"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="fr en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/scratch/portage/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa altivec amr ao asf audiofile avahi berkdb bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cli cracklib crypt cups curl dbus divx dri dts dv dvd dvdr dvdread encode exif expat f77 ffmpeg fftw flac fontconfig foomaticdb fortran gdbm gif gmedia gmp gpm graphviz gs gstreamer gtk hal iconv id3tag idn ieee1394 imagemagick imlib imlib2 ipv6 isdnlog java jbig jpeg jpeg2k kde kdehiddenvisibility kpathsea ladspa lame lapack latex lcms libsamplerate lzo mad mikmod mjpeg mmap mng mp3 mp4 mpeg mudflap musicbrainz ncurses netcdf network nls nptl nptlonly ogg openal openexr opengl pcre pdf perl png ppc ppds pppd python qt3 qt4 quicktime rdesktop readline reflection samba sdl sdl-image session slang slp sndfile spl ssl startup-notification svg sysfs szip taglib tcl tcltk tcpd theora tiff tk truetype unicode usb vcd vidix vorbis wavpack wmf wmp x264 xcb xine xinerama xml xml2 xorg xv xvid zeroconf zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev nv vga nouveau"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-09-14 09:26:37 UTC
Created attachment 204002 [details, diff]
Adding libtool-2.2 as a dependency

I can confirm that libtool-1.5 is the cause. I've reproduced it on fresh 'x86' and 'amd64' stage3. 
I've added libtool-2.2 as dependency. Hopefully it will be stabilized soon (see #257399 )
Comment 2 Andrey Grozin gentoo-dev 2009-09-15 04:39:00 UTC
(In reply to comment #1)
> I can confirm that libtool-1.5 is the cause. I've reproduced it on fresh 'x86'
> and 'amd64' stage3. 
> I've added libtool-2.2 as dependency. Hopefully it will be stabilized soon (see
> #257399 )
Thanks, applied.