Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163774 - media-sound/glame-2.0.1 fails to build with guile-1.6.7
Summary: media-sound/glame-2.0.1 fails to build with guile-1.6.7
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 194585 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-25 17:10 UTC by Account removed
Modified: 2008-09-03 02:46 UTC (History)
8 users (show)

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


Attachments
Patch to build against guile-1.8.2 (glame_build.patch,511 bytes, patch)
2007-10-04 18:20 UTC, Dustin Polke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Account removed 2007-01-25 17:10:03 UTC
The #if #endif in glame_guile_compat.h (line 50+52) should be removed or
applied for guile-1.6.7, else glame-2.0.1 fails to build with an
undefined reference to 'GLAME_NEWCELL' in
glame_console.c:63

Reproducible: Always
Comment 1 Jouni Rinne 2007-03-26 21:11:57 UTC
I get the same error on building glame-2.0.1 with guile-1.8.1-r3, the latter compiled with USE="deprecated discouraged nls".
Comment 2 Stian Skjelstad 2007-04-24 20:46:31 UTC
Works for me.

revdep-rebuild, does that detect anything on your system?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-07-15 08:15:02 UTC
Get back to us, please.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-10-03 09:33:31 UTC
*** Bug 194585 has been marked as a duplicate of this bug. ***
Comment 5 Andre Hinrichs 2007-10-03 10:09:10 UTC
Well, my bug #194585 has been marked as a duplicate of this bug, while this is marked NEEDINFO, so I'm asking what further info you need to fix this.
Comment 6 Dustin Polke 2007-10-04 18:19:27 UTC
I had the same failure as mentioned in bug #194585 when guile-1.8.2 was stabilized and I had to re-compile glame against it.

I found a patch at http://www.koders.com/noncode/fidB0F56E2AB2971BC99508AD29FF1C38CDED2E8C72.aspx

This makes glame compile fine. But I did not test whether glame is fully functional.

For completeness my emerge --info:

Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 mobile AMD Athlon(tm) XP 1500+
Timestamp of tree: Thu, 04 Oct 2007 15:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/sbin/run-crons /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/pda /usr/local/portage/layman/science /usr/local/portage/layman/webapps-experimental /usr/local/portage/modified /usr/local/portage/own"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acpi alsa amr amrnb amrr amrwb apache2 apm asf async audacious audiofile bash-completion bindist bl branding bzip2 cardbus cjk cli cpudetection cracklib crypt ctype cups dbus dga divx dri dvd dvdread eds encode evo exif expat extensions fam fbcon ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gedit gif gimp gimpprint glibc-omitfp gmedia gs gsm gtk gtkhtml guile hal icq idn imagemagick imap imlib iproute2 jack java javascript jikes jpeg jpeg2k kerberos lcms ldap libcaca libwww live lm_sensors logrotate lzo mad madwifi memlimit midi mikmod mime mmx mmxext mng motif mp2 mp3 mp4 mpeg musepack mysql ncurses nls nntp nptl nptlonly nsplugin ogg opengl pam pam_timestamp pch pcmcia pcre pda pdf perl php plotutils png posix postgres ppds print python qt3support qt4 quicktime readline real realmedia ruby rubytests samba sasl sdl server session simplexml slang smbkrb5passwd sndfile soap sockets speex spell spl sse ssl suhosin svg svga swat syslog tcpd test tetex tga theora tiff truetype unicode usb userlocales vcd vidix vim-syntax vim-with-x vorbis wifi win32codecs winbind wma wmf wmp x264 x86 xanim xine xinetd xml xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="via82xx via82xx-modem mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="savage"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS_FLAGS
Comment 7 Dustin Polke 2007-10-04 18:20:49 UTC
Created attachment 132579 [details, diff]
Patch to build against guile-1.8.2
Comment 8 Andre Hinrichs 2007-10-04 19:25:38 UTC
The patch solves the problem here. Thanx!
Comment 9 dt 2008-01-31 20:44:53 UTC
I'm using glame-2.0.1 and guile-1.8.3-r2 and getting the same error.  Has this patch been applied to portage yet?
Comment 10 Plero H 2008-03-26 19:49:37 UTC
After merging this patch, I successfully compiled glame.
But it crashes every time I go to the preferences.

If I set GUILE_WARN_DEPRECATED=detailed, I get this:

SCM_NEWCELL is deprecated.  Use `scm_cell' instead.

SCM_DEFER_INTS etc are deprecated.  Use a mutex instead if appropriate.

When will this patch be merged?

my emerge --info

Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
Timestamp of tree: Mon, 24 Mar 2008 10:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.uoi.gr/mirror/OS/gentoo/ http://ftp.uoi.gr/mirror/OS/gentoo/ "
LANG="en_US.UTF-8"
LINGUAS="en el"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/sajinet /usr/portage/local/layman/desktop-effects"
SYNC="rsync://rsync.gr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 arts bash-completion berkdb cairo cddb cdr cli cracklib crypt cups dbus dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac fortran gdbm gif gimp gnome gphoto2 gpm gstreamer gtk hal iconv imagemagick ipv6 isdnlog jpeg kde kerberos ladspa lcms ldap libnotify libsamplerate lm_sensors mad matroska midi mikmod mmx mono mp3 mpeg mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba scanner sdl session smp sox spell spl sse sse2 ssl svg symlink tcpd threads tiff truetype unicode usb vcd vorbis wxwindows x264 xattr xcomposite xine xml xorg xv xvid yahoo zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en el" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 MAL 2008-08-14 08:47:43 UTC
I had the same compile error when emerging glame-2.0.1, so checked the USE flags:

# emerge -pv glame
[ebuild   R   ] media-sound/glame-2.0.1  USE="alsa gnome* nls vorbis -debug"

I noticed the gnome flag was newly enabled, so tried emerging with it disabled and it compiled successfully.
Comment 12 Volker R. Müller 2008-08-27 06:54:08 UTC
(In reply to comment #11)
 
> I noticed the gnome flag was newly enabled, so tried emerging with it disabled
> and it compiled successfully.

I second thatt; same here. 

Unsetting the flag made glame-2.0.1 compile ...



Comment 13 Walther 2008-09-03 02:46:25 UTC
I fear Glame is unmaintained? The last activity in their mailing lists was a year ago (June 2007). Look at the announcement for Glame-2.0.2-r1:

"A release candidate for Glame 2.0.2 is now available from the
SourceForge download repository. This release brings us forward to
updated build environments of recent Linux distributions and should fix
issues that 2.0.1 has with respect to guile and gnome."

One year without any progress seems worrisome.

On the upside, the patch posted on this thread worked fine here to correct the Glame compilation issues on my end (glade 1.8.4), and I d not experience any crashes when going into the Glame properties window.