Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275066 - x11-apps/ttmkfdir-3.0.9-r3: emerge failed on Gentoo/FreeBSD-7.2 with libtool
Summary: x11-apps/ttmkfdir-3.0.9-r3: emerge failed on Gentoo/FreeBSD-7.2 with libtool
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 15:33 UTC by Aleksey Chernov
Modified: 2009-06-22 15:47 UTC (History)
0 users

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


Attachments
fix this bug (ttmkfdir-3.0.9-libtool.patch,587 bytes, patch)
2009-06-22 15:34 UTC, Aleksey Chernov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Chernov 2009-06-22 15:33:01 UTC
To compile source file in Makefile exist rule:

libtool --mode=compile $(CXX) $(CXXFLAGS) -o $@ -c $^

but latest libtool (2.2.6a) print error:

libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'

In attachment my simple patch.

Reproducible: Always

Steps to Reproduce:
1.emerge --oneshot ttmkfdir

Actual Results:  
>>> Emerging (1 of 1) x11-apps/ttmkfdir-3.0.9-r3
 * ttmkfdir-3.0.9.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking ttmkfdir-3.0.9.tar.bz2 to /var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/work
 * Applying ttmkfdir-3.0.9-cpp.patch ...                                  [ ok ]
 * Applying ttmkfdir-3.0.9-zlib.patch ...                                 [ ok ]
 * Applying ttmkfdir-3.0.9-gcc34.patch ...                                [ ok ]
 * Applying ttmkfdir-3.0.9-encoding.patch ...                             [ ok ]
 * Applying ttmkfdir-3.0.9-freetype_new_includes.patch ...                [ ok ]
 * Applying ttmkfdir-3.0.9-gcc43.patch ...                                [ ok ]
>>> Source unpacked in /var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/work
>>> Compiling source in /var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/work/ttmkfdir-3.0.9 ...
gmake -j3 CXX=i486-gentoo-freebsd7.2-g++ 'OPTFLAGS=-march=athlon64 -pipe' DEBUG=
libtool --mode=compile i486-gentoo-freebsd7.2-g++ -Wall -pedantic -I/usr/include/freetype2  -march=athlon64 -pipe -o ttmkfdir.o -c ttmkfdir.cpp
libtool --mode=compile i486-gentoo-freebsd7.2-g++ -Wall -pedantic -I/usr/include/freetype2  -march=athlon64 -pipe -o directory.o -c directory.cpp
libtool --mode=compile i486-gentoo-freebsd7.2-g++ -Wall -pedantic -I/usr/include/freetype2  -march=athlon64 -pipe -o commandline.o -c commandline.cpp
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
gmake: *** [ttmkfdir.o] Error 1
gmake: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
gmake: *** [directory.o] Error 1
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
gmake: *** [commandline.o] Error 1
 *
 * ERROR: x11-apps/ttmkfdir-3.0.9-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2478:  Called die
 * The specific snippet of code:
 *       emake CXX="$(tc-getCXX)" OPTFLAGS="${CXXFLAGS}" DEBUG="" || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/temp/environment'.
 *



dgrad-tux ~ # emerge --info
Portage 2.2_rc33 (default/bsd/fbsd/x86/7.2, gcc-4.3.3, freebsd-lib-7.2-r0, 7.2-RELEASE i386)
=================================================================
System uname: FreeBSD-7.2-RELEASE-i386-32bit-ELF
Timestamp of tree: Mon, 22 Jun 2009 13:15:01 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  7.2
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
CBUILD="i486-gentoo-freebsd7.2"
CFLAGS="-march=athlon64 -O3 -pipe"
CHOST="i486-gentoo-freebsd7.2"
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/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg chflags collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://localhost/gentoo/ http://mirror.yandex.ru/gentoo-distfiles/ http://distfiles.gentoo.org/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LDFLAGS=""
LINGUAS="ru"
MAKEOPTS="-j3"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirrors.kernel.org/gentoo-portage/"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi amr amrnb amrwb apache2 apm archive asf avi berkdb bluetooth browserplugin bzip2 cdr cli consolekit cracklib crypt cups curl dbus djvu dri dts dvd dvdr encode exif firefox flac flash foomaticdb ftp fuse gdbm gif gimp gimpprint glut gphoto2 gstreamer gtk hal iconv imlib ipv6 java5 java6 jpeg jpeg2k kde latex libcaca logrotate lzma mad midi mikmod mmx mmxext mng mozdevelop mozsvg mp3 mpeg mssql ncurses nls nptlonly nsplugin ogg openal openexr opengl oss pam pch pcre pdf perl plasma png postgres povray ppds python qt3 qt4 quicktime readline reflection rtc samba sdl session skins slang smp spell spl sqlite sqlite3 sse sse2 ssl subversion svg tcpd tga theora threads tiff truetype unicode usb userlocales vorbis win32codecs x264 x86-fbsd xcb xcomposite xine xml xorg xscreensaver xv xvid xvmc zip zlib" 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="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="BSD" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Aleksey Chernov 2009-06-22 15:34:20 UTC
Created attachment 195459 [details, diff]
fix this bug
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-22 15:35:06 UTC
Did you update from 7.1? If so did you recompile libtool after changing chost?
Comment 3 Aleksey Chernov 2009-06-22 15:47:37 UTC
Yes, i update from 7.1. Hmm, now recompile libtool and now all work. Sorry bad english.