Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 155202

Summary: dev-cpp/libbinio-1.4 build fail
Product: Gentoo Linux Reporter: Slavomir [Moridin] Ugolik <slavomir.ugolik>
Component: [OLD] LibraryAssignee: Michal Januszewski (RETIRED) <spock>
Status: RESOLVED NEEDINFO    
Severity: normal CC: cpp+disabled
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Slavomir [Moridin] Ugolik 2006-11-15 02:15:37 UTC
dev-cpp/libbinio-1.4 required by media-sound/audacious-1.1.2-r1 fails when compiled:

...
Making all in src
make[1]: Wej&#347;cie do katalogu `/var/tmp/portage/libbinio-1.4/work/libbinio-1.4/src'
if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"binio\" -DPACKAGE_TARNAME=\"libbinio\" -DPACKAGE_VERSION=\"1.4\" -DPACKAGE_STRING=\"binio\ 1.4\" -DPACKAGE_BUGREPORT=\"dn.tlp@gmx.net\" -DPACKAGE=\"libbinio\" -DVERSION=\"1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -I. -I.     -march=athlon-xp -Os -pipe -fomit-frame-pointer -MT binio.lo -MD -MP -MF ".deps/binio.Tpo" -c -o binio.lo binio.cpp; \
	then mv -f ".deps/binio.Tpo" ".deps/binio.Plo"; else rm -f ".deps/binio.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"binio\" -DPACKAGE_TARNAME=\"libbinio\" -DPACKAGE_VERSION=\"1.4\" -DPACKAGE_STRING=\"binio 1.4\" -DPACKAGE_BUGREPORT=\"dn.tlp@gmx.net\" -DPACKAGE=\"libbinio\" -DVERSION=\"1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -march=athlon-xp -Os -pipe -fomit-frame-pointer -MT binio.lo -MD -MP -MF .deps/binio.Tpo -c binio.cpp  -fPIC -DPIC -o .libs/binio.o
i686-pc-linux-gnu-g++: 1.4": No such file or directory
make[1]: *** [binio.lo] B&#322;&#261;d 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/libbinio-1.4/work/libbinio-1.4/src'
make: *** [all-recursive] B&#322;&#261;d 1

!!! ERROR: dev-cpp/libbinio-1.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  libbinio-1.4.ebuild, line 16:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Simplest solution to make it work is change (after unpacking, before build) PACKAGE_STRING in configure file from 'binio 1.4' to (for example) 'binio-1.4' (no spaces inside) eventualy somehow change quotes but i dont know how:-)
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2006-11-15 10:13:04 UTC
Could you please post "emerge --info"? It works perfectly here.

The main difference in my output is, that it writes "-DPACKAGE_STRING=\"binio 1.4\"" instead of just -DPACKAGE_STRING=\"binio 1.4\" on my machine.
Which probably causes the error.
Comment 2 Slavomir [Moridin] Ugolik 2006-11-15 13:48:57 UTC
My 'emerge --info':

Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Duron(tm) processor
Gentoo Base System version 1.12.5
Last Sync: Tue, 14 Nov 2006 16:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl"
LC_ALL="pl_PL"
LINGUAS="pl"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow 3dnowext X alsa bitmap-fonts cli cracklib cups dlloader dvd elibc_glibc emacs gif gpm gs iconv input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 isdnlog joystick jpeg kernel_linux libg++ linguas_pl mad mmx mmxext mp3 ncurses nls nptl nptlonly nvidia openal opengl pcre png ppds pppd qt readline sdl session spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode urandom userland_GNU video_cards_nv vorbis xml xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

You have right. This cause a problem but i still dont understand why it happens...
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2006-12-24 09:33:09 UTC
Is this still a problem? If so, which version of sed and make are you using? Also, please attach /var/tmp/portage/dev-cpp/libbinio-1.4/work/libbinio-1.4/src/Makefile.
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2007-04-07 10:11:50 UTC
Please reopen if needed.