First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 45986
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WORKSFORME
Assigned To: Chris White (RETIRED) <chriswhite@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jens Mayer <jensmayer@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
patch-beast-0.6.1-optind-fix sfidl.cc patch patch Mike Messmore 2004-04-26 13:49 0000 1.12 KB Details | Diff
beast.patch updated to work with Glib 2.4 patch Mike Messmore 2004-04-29 23:10 0000 666 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 45986 depends on: Show dependency tree
Bug 45986 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: 2004-03-28 06:25 0000
Trying to build beast, emerge stops with the following output:

>>----------
In file included from bsesniffer.cc:18:
../sfi/sficxx.h: In function `void Sfi::cxx_boxed_from_rec(const GValue*, GValue*) [with Type = Bse::SnifferRequest]':
bsesniffer.gen-idl.h:255:   instantiated from here
../sfi/sficxx.h:978: error: `g_value_set_boxed_take_ownership' undeclared (first use this function)
../sfi/sficxx.h:978: error: (Each undeclared identifier is reported only once for each function it appears in.)
../sfi/sficxx.h: In function `void Sfi::cxx_boxed_from_seq(const GValue*, GValue*) [with SeqType = Bse::SnifferRequestSeq]':
bsesniffer.gen-idl.h:338:   instantiated from here
../sfi/sficxx.h:1010: error: `g_value_set_boxed_take_ownership' undeclared (first use this function)
make[3]: *** [bsesniffer.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/beast-0.6.0/work/beast-0.6.0/bse'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/beast-0.6.0/work/beast-0.6.0/bse'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/beast-0.6.0/work/beast-0.6.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-sound/beast-0.6.0 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! configure failed
<<<----------

Reproducible: Always
Steps to Reproduce:
1. emerge -v beast
Actual Results:  
Emerge fails, output: See details.

Expected Results:  
Beast to compile and install successfully.

My 'emerge info':

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1-hw1)
=================================================================
System uname: 2.6.4-gentoo-r1-hw1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -mmmx -m3dnow -msse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -mmmx -m3dnow -msse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apm arts avi berkdb bonobo cdr composite crypt cups
dga directfb dvd dvdr encode esd fam fbcon foomaticdb gd gdbm ggi gif gnome
gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib imlib2 java jpeg kde lcms libg++
libwww mad maildir mbox mikmod mmx motif mozilla mpeg mysql ncurses nls
oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline samba
scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb videos
x86 xml2 xmms xv zlib"

------- Comment #1 From Daniel G. Taylor 2004-03-29 07:43:25 0000 -------
Confirmed. I recieve the same error.
Here is my emerge info:

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-rc1-mm2)
=================================================================
System uname: 2.6.4-rc1-mm2 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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="-mcpu=pentium3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bonobo cdr crypt cups divx dvd encode esd flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 guile imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype wmf x86 xml2 xmms xv xvid zlib"

------- Comment #2 From Jeremy Huddleston (RETIRED) 2004-04-02 02:39:27 0000 -------
does the other beast version in portage work fine?

------- Comment #3 From Daniel G. Taylor 2004-04-03 05:10:57 0000 -------
Just thought I'd mention that using a slightly modified ebuild (removing the
docpatch) I tried to emerge beast-0.6.1 and it still fails with the same error.
Also, I've just emerged 0.5.4 successfully.

------- Comment #4 From Jeremy Huddleston (RETIRED) 2004-04-21 10:55:52 0000 -------
reassigning to gnome since its their package.

------- Comment #5 From foser (RETIRED) 2004-04-21 15:29:12 0000 -------
if sound wants to be 1st maintainer of this package, fine with us. We have
hardly ever touched this pack.

@ reporters : what gtk+ version are you guys using & can you provide more
output, it misses the relevant parts.

------- Comment #6 From Mike Messmore 2004-04-24 19:35:09 0000 -------
Ditto here.  I'm trying to emerge beast-0.6.0 with "-debug +mad -static" as the
applicable use flags.  I've got GTK 2.4.0r1 and Gnome 2.6.  My output is:

---------------------------------------------------------------------
gcc -I.. -I.. -I. -I. -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DG_DISABLE_DEPRECATED -DG_DISABLE_CONST_RETURNS
-DG_DISABLE_CHECKS -DBSE_DISABLE_CAST_CHECKS -fno-cond-mismatch -Wall
-Wmissing-prototypes -Wmissing-declarations -Wno-cast-qual -Wpointer-arith
-Wredundant-decls -Wmissing-noreturn -pipe -O2 -ftracer -finline-functions
-fno-keep-static-consts -c bsewaverepo.gen-proc.c  -fPIC -DPIC -o
.libs/bsewaverepo.gen-proc.o
/bin/sh ../libtool --mode=compile g++ -DG_LOG_DOMAIN=\"BSE\" -DBSE_COMPILATION
-I.. -I.. -I. -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DG_DISABLE_DEPRECATED -DG_DISABLE_CONST_RETURNS    -O3 -march=pentium3
-fomit-frame-pointer -pipe -Wdeprecated -Wall -Wmissing-prototypes
-Wno-cast-qual -ftracer -finline-functions -fno-keep-static-consts
-fmessage-length=80 -c bseamplifier.cc
bsewaverepo.proc: In function `bse_sample_file_info_exec':
bsewaverepo.proc:194: warning: passing arg 2 of `gsl_wave_file_info_load' from
incompatible pointer type
/bin/sh ../libtool --mode=compile g++ -DG_LOG_DOMAIN=\"BSE\" -DBSE_COMPILATION
-I.. -I.. -I. -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DG_DISABLE_DEPRECATED -DG_DISABLE_CONST_RETURNS    -O3 -march=pentium3
-fomit-frame-pointer -pipe -Wdeprecated -Wall -Wmissing-prototypes
-Wno-cast-qual -ftracer -finline-functions -fno-keep-static-consts
-fmessage-length=80 -c bsesniffer.cc
 g++ -DG_LOG_DOMAIN=\"BSE\" -DBSE_COMPILATION -I.. -I.. -I. -I. -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_DISABLE_DEPRECATED
-DG_DISABLE_CONST_RETURNS -O3 -march=pentium3 -fomit-frame-pointer -pipe
-Wdeprecated -Wall -Wmissing-prototypes -Wno-cast-qual -ftracer
-finline-functions -fno-keep-static-consts -fmessage-length=80 -c
bseamplifier.cc  -fPIC -DPIC -o .libs/bseamplifier.o
g++ -DG_LOG_DOMAIN=\"BSE\" -DBSE_COMPILATION -I.. -I.. -I. -I. -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_DISABLE_DEPRECATED
-DG_DISABLE_CONST_RETURNS -O3 -march=pentium3 -fomit-frame-pointer -pipe
-Wdeprecated -Wall -Wmissing-prototypes -Wno-cast-qual -ftracer
-finline-functions -fno-keep-static-consts -fmessage-length=80 -c bsesniffer.cc
 -fPIC -DPIC -o .libs/bsesniffer.o
In file included from bsesniffer.cc:18:
../sfi/sficxx.h: In function `void Sfi::cxx_boxed_from_rec(const GValue*,
   GValue*) [with Type = Bse::SnifferRequest]':
bsesniffer.gen-idl.h:255:   instantiated from here
../sfi/sficxx.h:978: error: `g_value_set_boxed_take_ownership' undeclared
   (first use this function)
../sfi/sficxx.h:978: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
../sfi/sficxx.h: In function `void Sfi::cxx_boxed_from_seq(const GValue*,
   GValue*) [with SeqType = Bse::SnifferRequestSeq]':
bsesniffer.gen-idl.h:338:   instantiated from here
../sfi/sficxx.h:1010: error: `g_value_set_boxed_take_ownership' undeclared
   (first use this function)
make[3]: *** [bsesniffer.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/beast-0.6.0/work/beast-0.6.0/bse'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/beast-0.6.0/work/beast-0.6.0/bse'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/beast-0.6.0/work/beast-0.6.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-sound/beast-0.6.0 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! configure failed
-----------------------------------------------------------------------

Hope that goes far enough back for you.  

And of course my emerge --info:
-----------------------------------------------------------------------
 Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
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="X aac aalib adns aim alsa apache2 apm arts audiofile autofs avi berkdb
bonobo caps cddb cdr crypt cups curl dga directfb dnd emacs emacs-w3 encode esd
ethereal evo faad fam fbcon ffmpeg flac flash foomaticdb freetype gd gdbm geoip
gif glade glut gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hbci
imagemagick imap imlib imlib2 innodb jabber java javascript jikes jpeg ladcca
ldap libg++ libgda libsamplerate libwww mad matroska mbox mcal mdb mikmod mmx
monkey mono motif mozcalendar mozilla moznocompose mozp3p mozsvg mpeg mpeg4 msn
mysql ncurses nls objc offensive oggvorbis opengl operanom2 oscar oss pam
parse-clocks pcap pcmcia pcre pda pdflib pear-db perl php png pnp portaudio
ppds pthreads python quicktime readline samba sasl scanner sdl slang slp sox
speedo speex spell sqlite sse ssl svg svga tcpd tiff timidity truetype trusted
type1 unicode usb v4l v4l2 wifi wxwin wxwindows x86 xml2 xmms xosd xv zlib"
----------------------------------------------------------------------------

Haven't tried Beast 0.5.4 but I'm about to.

------- Comment #7 From foser (RETIRED) 2004-04-25 03:25:29 0000 -------
try compiling with the -DG_DISABLE* definitions removed.

------- Comment #8 From Mike Messmore 2004-04-26 13:41:21 0000 -------
Ok, to build without the -DG_DISABLE* declaration I had to manually edit a
bunch of files.  It looked like building with USE="debug" (therefore
--enable-debug) would do it, but alas the Makefiles tack on a couple of those
with or without --enable-debug passed to configure.  I'm not real well versed
in Autoconf/Automake so I manually edited configure and a bunch of Makefile.am
and Makefile.in files.  I commented out every instance of the -DG_DISABLE*
declarations where ever grep found them.  So now I hope this is maybe more
informative for you ;-)

-----------------------------------------------------------------------------
 gcc -DG_LOG_DOMAIN=\"BSE\" -DBSE_COMPILATION -I.. -I.. -I. -I. -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -g -ggdb3
-fno-cond-mismatch -Wall -Wmissing-prototypes -Wmissing-declarations
-Wno-cast-qual -Wpointer-arith -Wredundant-decls -Wmissing-noreturn -pipe -O2
-ftracer -finline-functions -fno-keep-static-consts -c bsemidifile.c  -fPIC
-DPIC -o .libs/bsemidifile.o
 g++ -DG_LOG_DOMAIN=\"BSE\" -DBSE_COMPILATION -I.. -I.. -I. -I. -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O3 -march=pentium3
-fomit-frame-pointer -pipe -g -Wdeprecated -Wall -Wmissing-prototypes
-Wno-cast-qual -ftracer -finline-functions -fno-keep-static-consts
-fmessage-length=157 -c bsecxxvalue.cc  -fPIC -DPIC -o .libs/bsecxxvalue.o
/bin/sh ../libtool --mode=compile g++ -DG_LOG_DOMAIN=\"BSE\" -DBSE_COMPILATION
-I.. -I.. -I. -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
     -O3 -march=pentium3 -fomit-frame-pointer -pipe -g -Wdeprecated -Wall
-Wmissing-prototypes -Wno-cast-qual -ftracer -finline-functions
-fno-keep-static-consts -fmessage-length=157 -c bsecxxutils.cc
bsecxxvalue.cc: In member function `gchar* const Bse::Value::get_string()
const':
bsecxxvalue.cc:61: error: invalid conversion from `const gchar*' to `gchar*'
 g++ -DG_LOG_DOMAIN=\"BSE\" -DBSE_COMPILATION -I.. -I.. -I. -I. -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O3 -march=pentium3
-fomit-frame-pointer -pipe -g -Wdeprecated -Wall -Wmissing-prototypes
-Wno-cast-qual -ftracer -finline-functions -fno-keep-static-consts
-fmessage-length=157 -c bsecxxutils.cc  -fPIC -DPIC -o .libs/bsecxxutils.o
make[3]: *** [bsecxxvalue.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/beast-0.6.0/work/beast-0.6.0/bse'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/beast-0.6.0/work/beast-0.6.0/bse'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/beast-0.6.0/work/beast-0.6.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-sound/beast-0.6.0 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! configure failed
------------------------------------------------------------------------------

This seems to be a part of the C++ifying that happened between 0.5.4 and 0.6.0.
As I said before I'm no expert, but I'm at a loss as to why it compiles
anywhere.  The only outside dependency this seems to deal with is Glib.  

0.5.4 compiled and runs fine.  I'll download and try to build 0.6.1 and see if
this was fixed amongst other changes.  

------- Comment #9 From Mike Messmore 2004-04-26 13:49:39 0000 -------
Created an attachment (id=30112) [details]
sfidl.cc patch

Don't have time right now to check, but wonder if this patch that I just ran
into on the BEAST/BSE site fixes our problem.  

Changelog entry:
+	* sfidl.cc: Don't use optind any longer, since we also don't use
+	getopt() any longer. This fixes compilation on systems where optind
+	is not declared in those header files sfidl.cc directly/indirectly
+	includes.

Someone want to try to build 0.6.1 with it?

------- Comment #10 From Mike Messmore 2004-04-26 18:50:47 0000 -------
Tried compiling 0.6.1.  Same issue.  Patch did not help. 

------- Comment #11 From Mike Messmore 2004-04-29 23:10:10 0000 -------
Created an attachment (id=30374) [details]
updated to work with Glib 2.4

I asked on the Beast list and found out that this was an issue where Beast
isn't ready for Glib 2.4.  This is the patch against Beast 0.6.1 that Tim Janik
send me to try out for now, until Debian puts out Glib 2.4 and he has time to
work with it.  It builds and runs for me now.  The email with the patch is
here:
http://lists.gnome.org/archives/beast/2004-April/msg00016.html

------- Comment #12 From foser (RETIRED) 2004-08-08 07:33:23 0000 -------
can the sound herd deal with this ?

The fix is straightforward if it is still needed, seeing there is a newer version in the tree.

------- Comment #13 From foser (RETIRED) 2004-08-18 09:11:51 0000 -------
and there... again.. 

@ sound : see comment #12

------- Comment #14 From Chris White (RETIRED) 2004-12-19 20:57:19 0000 -------
The latest glib 2.4 and the latest beast-0.62 compiles ok for me, so I'm
marking this as WORKSFORME ( should have been fixed on time really though,
which is my fault :( ).  If this is still an issue, reopen and I'll get this
fixed in a more timely fashion.

First Last Prev Next    No search results available      Search page      Enter new bug