Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 28103
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Troels Haugboelle <troels_h@astro.ku.dk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
alsa-patch-bay_compile_with_gcc-3.3.1.patch patch to fix patch James Harlow (RETIRED) 2003-09-15 06:37 0000 486 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 28103 depends on: Show dependency tree
Bug 28103 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-07 02:04 0000
I tried to emerge alsa-patch-bay ver 0.4.1, 0.5.1, 0.5.1-r1.
Notice I have fltk in my USE flag
All bails out with following error: (I did try lower optimisation to no avail)

troels portage # expemerge alsa-patch-bay
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-patch-bay-0.5.1-r1 to /
>>> md5 src_uri ;-) alsa-patch-bay-0.5.1.tar.gz
>>> Unpacking source...
>>> Unpacking alsa-patch-bay-0.5.1.tar.gz to
/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work
>>> Source unpacked.
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 i686-pc-linux-gnu-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse nm output... ok
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for fltk-config... /usr/bin/fltk-config
checking for pkg-config... /usr/bin/pkg-config
checking for gtkmm-2.0 >= 2.0.0... Package gtkmm-2.0 was not found in the
pkg-config search path.
Perhaps you should add the directory containing `gtkmm-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkmm-2.0' found
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for snd_seq_open in -lasound... yes
checking for jack >= 0.40.0... yes
checking JACK_CFLAGS...
checking JACK_LIBS... -ljack -lpthread -ldl -lrt
checking for ladcca-1.0 >= 0.2... yes
checking LADCCA_CFLAGS... -I/usr/include/ladcca-1.0
checking LADCCA_LIBS... -lladcca -lpthread
checking for morality in -lcorporation... no
checking for doxygen... no
checking for dot... no
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating src/driver/Makefile
config.status: creating src/driver/alsa/Makefile
config.status: creating src/driver/jack/Makefile
config.status: creating src/gui/Makefile
config.status: creating src/gui/gtkmm/Makefile
config.status: creating src/gui/fltk/Makefile
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
configure:
 
  ALSA Patch Bay configured
 
  GTKmm interface:      no
  FLTK interface:       yes
  ALSA driver:          yes
  JACK driver:          yes
  LADCCA support:       yes
 
  Installation prefix:  /usr
  Desktop files prefix: /usr/share
 
 
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work/alsa-patch-bay-0.5.1'
Making all in m4
make[2]: Entering directory
`/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work/alsa-patch-bay-0.5.1/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work/alsa-patch-bay-0.5.1/m4'
Making all in src
make[2]: Entering directory
`/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work/alsa-patch-bay-0.5.1/src'
Making all in driver
make[3]: Entering directory
`/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work/alsa-patch-bay-0.5.1/src/driver'
Making all in alsa
make[4]: Entering directory
`/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work/alsa-patch-bay-0.5.1/src/driver/alsa'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../..    -g -D_REENTRANT -fexceptions
-I../../../src -Wall -I/usr/include/ladcca-1.0   -I../../../src -O3
-march=pentium4 -funroll-loops -pipe -MT alsa_so-alsa-driver.o -MD -MP -MF
".deps/alsa_so-alsa-driver.Tpo" \
  -c -o alsa_so-alsa-driver.o `test -f 'alsa-driver.cpp' || echo
'./'`alsa-driver.cpp; \
then mv ".deps/alsa_so-alsa-driver.Tpo" ".deps/alsa_so-alsa-driver.Po"; \
else rm -f ".deps/alsa_so-alsa-driver.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../..    -g -D_REENTRANT -fexceptions
-I../../../src -Wall -I/usr/include/ladcca-1.0   -I../../../src -O3
-march=pentium4 -funroll-loops -pipe -MT alsa_so-alsa-addr.o -MD -MP -MF
".deps/alsa_so-alsa-addr.Tpo" \
  -c -o alsa_so-alsa-addr.o `test -f 'alsa-addr.cpp' || echo './'`alsa-addr.cpp; \
then mv ".deps/alsa_so-alsa-addr.Tpo" ".deps/alsa_so-alsa-addr.Po"; \
else rm -f ".deps/alsa_so-alsa-addr.Tpo"; exit 1; \
fi
alsa-driver.cpp: In member function `void
   APB::Alsa::Driver::doPortSubscription(snd_seq_port_subscribe_t*, const
   APB::Addr*, const APB::Addr*)':
alsa-driver.cpp:244: error: no matching function for call to `
   std::list<APB::Subscription*, std::allocator<APB::Subscription*> >::
   push_back()'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3/bits/stl_list.h:746:
error: candidates
   are: void std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp =
   APB::Subscription*, _Alloc = std::allocator<APB::Subscription*>]
make[4]: *** [alsa_so-alsa-driver.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work/alsa-patch-bay-0.5.1/src/driver/alsa'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work/alsa-patch-bay-0.5.1/src/driver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work/alsa-patch-bay-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/alsa-patch-bay-0.5.1-r1/work/alsa-patch-bay-0.5.1'
make: *** [all] Error 2
 
!!! ERROR: media-sound/alsa-patch-bay-0.5.1-r1 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
 

----------------------------------------------------------
Configuration:

troels alsa-patch-bay # emerge --verbose info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.23-pre2-rc7)
=================================================================
System uname: 2.4.23-pre2-rc7 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/portage/bashrc"
CC="gcc"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:."
CLEAN_DELAY="5"
COLORTERM="gnome-terminal"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CVS_RSH="ssh"
CXX="g++"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DESKTOP_STARTUP_ID=""
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://gentoo.gg3.net/
ftp://gg3.net/pub/linux/gentoo/"
GNOME_DESKTOP_SESSION_ID="Default"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="troels"
IA32ROOT="/opt/intel/compiler70/ia32"
INFODIR="/usr/share/info:/usr/X11R6/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info"
INPUTRC="/etc/inputrc"
INTEL_FLEXLM_LICENSE="/opt/intel/licenses"
INTEL_LICENSE_FILE="/opt/intel/licenses"
JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.1"
JDK_HOME="/opt/blackdown-jdk-1.4.1"
KDEDIR="/usr/kde/3.1"
KDEDIRS="/usr"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LM_LICENSE_FILE="/usr/local/rsi/license/license.lic"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="-j2"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/opt/intel/compiler70/man:/usr/local/mpi-1.2.5/man:/opt/intel/vtune/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man:/opt/vmware/man"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
NOCOLOR="false"
OLDPWD="/usr/portage/distfiles"
PAGER="/usr/bin/less"
PATH="/root/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/intel/compiler70/ia32/bin:/usr/local/mpi-1.2.5/bin:/opt/intel/vtune/analyzer/bin:/opt/intel/vtune/shared/bin:/usr/local/hdf5-1.4.5-pre1/bin:/opt/Acrobat5:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/qt/2/bin:/opt/stihome/bin/pc-linux_elf:/opt/vmware/bin:/usr/share/karamba/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CACHEDIR="/var/cache/edb/dep/"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="28172"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/opt:/usr/local:/usr/src:/usr/lib/opera:/home"
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]"
PWD="/usr/portage/media-sound/alsa-patch-bay"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SESSION_MANAGER="local/troels:/tmp/.ICE-unix/3397"
SHELL="/bin/bash"
SHLVL="4"
SSH_AGENT_PID="3415"
SSH_AUTH_SOCK="/tmp/ssh-Hbyz3397/agent.3397"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
TERMINFO="/etc/linux-terminfo"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad
mikmod mmx mpeg ncurses nls pdflib png quicktime slang spell truetype xml2 xmms
xv zlib alsa gdbm berkdb readline tetex svga tcltk java X sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis gtk motif opengl mozilla acpi canna
cdr cjk dga dvd faad flash fltk freewnn gstreamer gtk2 icc icc-pgo imagemagick
jack jack-tmpfs ladcca lcd lcms moznocompose moznoirc moznomail mpi ppds radeon
samba socks5 sse tiff transcode type1 usb vim-with-x wmf X509 -arts -kde -qt"
USER="root"
USERLAND="GNU"
USE_ORDER="env:conf:auto:defaults"

------- Comment #1 From James Harlow (RETIRED) 2003-09-15 06:37:43 0000 -------
Created an attachment (id=17751) [details]
patch to fix 

This looks scary but is actually a really trivial fix.

------- Comment #2 From J. Ellis 2003-09-20 04:22:28 0000 -------
This is fixed in 0.5.2. Commited, ~x86 masked. Let me know if you have any
issues.

Thanks.

------- Comment #3 From Troels Haugboelle 2003-09-22 04:27:29 0000 -------
I tried to emerge 0.5.2 and it worked.
Thanks both of you for your help

Troels

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug