Bug 75012 - freqtweak fails to emerge on amd64
|
Bug#:
75012
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: sound@gentoo.org
|
Reported By: meadams@gmpexpress.net
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: freqtweak fails to emerge on amd64
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-12-19 21:26 0000
|
emerge freqtweak fails on new amd64 gentoo 2004.3-r1 installation
Reproducible: Always
Steps to Reproduce:
1. emerge freqtweak
2.
3.
Actual Results:
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/libxml2 -Wall -D_REENTRANT
-march=k8 -pipe -fomit-frame-pointer -O2 -O2 -fexpensive-optimizations
-funroll-loops -finline-functions -ffast-math -c -o FTjackSupport.o `test -f
'FTjackSupport.cpp' || echo './'`FTjackSupport.cpp
make[2]: *** [FTmainwin.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from FTjackSupport.cpp:36:
FTspectralEngine.hpp:45:27: sigc++/sigc++.h: No such file or directory
In file included from FTjackSupport.cpp:36:
FTspectralEngine.hpp:172: error: `SigC' has not been declared
FTspectralEngine.hpp:172: error: ISO C++ forbids declaration of `Signal1' with
no type
FTspectralEngine.hpp:172: error: expected `;' before '<' token
make[2]: *** [FTjackSupport.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/freqtweak-0.6.0/work/freqtweak-0.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/freqtweak-0.6.0/work/freqtweak-0.6.0'
make: *** [all] Error 2
!!! ERROR: media-sound/freqtweak-0.6.0 failed.
!!! Function src_compile, Line 510, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Expected Results:
successful emerge
emerge info
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers: sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups dvd dvdr esd f77 fam
foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 guile imlib
ipv6 jack java jp2 jpeg ldap lzw lzw-tiff mozilla multilib ncurses nls opengl
oss pam perl png ppds python qt readline ssl tcltk tcpd tiff truetype usb
userlocales xml xml2 xmms xpm xrandr xv zlib"
doesn't look arch specific, more likely gcc-3.4
I just emerged this sucessfully on my amd64 box, using gcc 3.4.3-r1. Perhaps
there's something wrong with the dependencies in the ebuild causing it to fail
for you.
What version of libsigc++ do you have installed (emerge -s libsigc++ will tell
you have and if there is a newer available)? I'm running with libsigc++ 2.0.5.
Does rebuilding the libsigc++ make any difference?
If it still fails, could you please include the output of the configure phase
of emerging freqtweak?
==================================
emerge -s libsigc++
Searching...
[ Results for search key : libsigc\+\+ ]
[ Applications found : 1 ]
* dev-libs/libsigc++
Latest version available: 2.0.5
Latest version installed: 2.0.5
Size of downloaded files: 1,753 kB
Homepage: http://libsigc.sourceforge.net/
Description: Typesafe callback system for standard C++
License: GPL-2 LGPL-2.1
=======================================
emerge freqtweak
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/freqtweak-0.6.0 to /
>>> md5 src_uri ;-) freqtweak-0.6.0.tar.gz
>>> Unpacking source...
>>> Unpacking freqtweak-0.6.0.tar.gz to /var/tmp/portage/freqtweak-0.6.0/work
* Applying freqtweak-0.6.0-gcc34.patch ... [ ok ]>>> Source unpacked.
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=//usr/lib
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking for jack >= 0.40.0... yes
checking JACK_CFLAGS...
checking JACK_LIBS... -L//usr/lib -ljack
checking for sigc++-1.2 >= 0.14... Package sigc++-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc++-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sigc++-1.2' found
checking for pow in -lm... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for pow... yes
checking for sqrt... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking machine architecture... x86_64
checking for gcc optimization flags... -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math
host_alias = x86_64-pc-linux-gnu
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for fftw3f >= 3.0... yes
checking FFTW_CFLAGS...
checking FFTW_LIBS... -L//usr/lib -lfftw3f -lm
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.0.0... yes (version 2.6.15)
checking for wx-config... /usr/bin/wx-config
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/version.h
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Now type 'make' to build FreqTweak.
make all-recursive
make[1]: Entering directory `/var/tmp/portage/freqtweak-0.6.0/work/freqtweak-0.6.0'
Making all in src
make[2]: Entering directory `/var/tmp/portage/freqtweak-0.6.0/work/freqtweak-0.6.0/src'
source='FTapp.cpp' object='FTapp.o' libtool=no \
depfile='.deps/FTapp.Po' tmpdepfile='.deps/FTapp.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/libxml2 -Wall -D_REENTRANT -march=k8 -pipe -fomit-frame-pointer -O2 -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -c -o FTapp.o `test -f 'FTapp.cpp' || echo './'`FTapp.cpp
source='FTmainwin.cpp' object='FTmainwin.o' libtool=no \
depfile='.deps/FTmainwin.Po' tmpdepfile='.deps/FTmainwin.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/libxml2 -Wall -D_REENTRANT -march=k8 -pipe -fomit-frame-pointer -O2 -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -c -o FTmainwin.o `test -f 'FTmainwin.cpp' || echo './'`FTmainwin.cpp
In file included from FTmainwin.cpp:50:
FTspectralEngine.hpp:45:27: sigc++/sigc++.h: No such file or directory
In file included from FTmainwin.cpp:50:
FTspectralEngine.hpp:172: error: `SigC' has not been declared
FTspectralEngine.hpp:172: error: ISO C++ forbids declaration of `Signal1' with no type
FTspectralEngine.hpp:172: error: expected `;' before '<' token
In file included from FTmainwin.cpp:58:
FTmodulatorDialog.hpp:28:27: sigc++/object.h: No such file or directory
In file included from FTmainwin.cpp:58:
FTmodulatorDialog.hpp:37: error: `SigC' has not been declared
FTmodulatorDialog.hpp:38: error: expected class-name before '{' token
source='FTioSupport.cpp' object='FTioSupport.o' libtool=no \
depfile='.deps/FTioSupport.Po' tmpdepfile='.deps/FTioSupport.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/libxml2 -Wall -D_REENTRANT -march=k8 -pipe -fomit-frame-pointer -O2 -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -c -o FTioSupport.o `test -f 'FTioSupport.cpp' || echo './'`FTioSupport.cpp
source='FTjackSupport.cpp' object='FTjackSupport.o' libtool=no \
depfile='.deps/FTjackSupport.Po' tmpdepfile='.deps/FTjackSupport.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/libxml2 -Wall -D_REENTRANT -march=k8 -pipe -fomit-frame-pointer -O2 -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -c -o FTjackSupport.o `test -f 'FTjackSupport.cpp' || echo './'`FTjackSupport.cpp
make[2]: *** [FTmainwin.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from FTjackSupport.cpp:36:
FTspectralEngine.hpp:45:27: sigc++/sigc++.h: No such file or directory
In file included from FTjackSupport.cpp:36:
FTspectralEngine.hpp:172: error: `SigC' has not been declared
FTspectralEngine.hpp:172: error: ISO C++ forbids declaration of `Signal1' with no type
FTspectralEngine.hpp:172: error: expected `;' before '<' token
make[2]: *** [FTjackSupport.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/freqtweak-0.6.0/work/freqtweak-0.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/freqtweak-0.6.0/work/freqtweak-0.6.0'
make: *** [all] Error 2
!!! ERROR: media-sound/freqtweak-0.6.0 failed.
!!! Function src_compile, Line 510, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
the problem actually was that libsigc++ version 1.2 was required and DEPEND has
pulled version 2 onto the system. they're not api compatible and that's it what
caused the problems. thanks for the report.