Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209500 - media-plugins/eq-audacious-0.21 and older versions don't compile
Summary: media-plugins/eq-audacious-0.21 and older versions don't compile
Status: RESOLVED DUPLICATE of bug 238620
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-10 10:04 UTC by Gidea Liviu-Adrian
Modified: 2009-05-11 08:54 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gidea Liviu-Adrian 2008-02-10 10:04:24 UTC
Trying to emerge any version of media-plugins/eq-audacious ends with the same compile error "initializer element is not computable at load time". I've openned a forum thread to verify that is a bug and nobody could give me a solution. 


Reproducible: Always

Steps to Reproduce:
1. ACCEPT_KEYWORDS="~amd64" emerge eq-audacious


Actual Results:  
 * ERROR: media-plugins/eq-audacious-0.21 failed.
 * Call stack:
 *   ebuild.sh, line 1701:  Called dyn_compile
 *   ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *   ebuild.sh, line   44:  Called src_compile
 *   ebuild.sh, line  711:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 *  The die message:
 *   emake failed



Trying to modify the flags in make.conf is not an option because most of the flags used at compile time are added automatically by the script.
Comment 1 Gidea Liviu-Adrian 2008-02-10 10:11:47 UTC
emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 Mobile AMD Sempron(tm) Processor 3500+
Timestamp of tree: Sun, 10 Feb 2008 01:47:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 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.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -msse3 -pipe -fomit-frame-pointer -finline-functions"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -msse3 -pipe -fomit-frame-pointer -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ "
LANG="C"
LINGUAS="en_GB"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 berkdb bitmap-fonts bluetooth cdr cli cracklib crypt cups dri dvd dvdr fortran gdbm gif gpm hal iconv ipv6 isdnlog jpeg jpeg2k mad midi mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png ppds pppd python readline reflection rtc session spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis wmf x264 xorg xv xvid zlib" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="via fbdev vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Gidea Liviu-Adrian 2008-02-10 10:16:17 UTC
Oh boy! Here is the build.log file. I can't attach it because of an error in bugzilla.

>>> Unpacking source...

>>> Unpacking eq-audacious-0.21.tgz to /var/tmp/portage/media-plugins/eq-audacious-0.21/work

>>> Source unpacked.

>>> Compiling source in /var/tmp/portage/media-plugins/eq-audacious-0.21/work/eq-audacious-0.21 ...

 * econf: updating eq-audacious-0.21/config.guess with /usr/share/gnuconfig/config.guess

 * econf: updating eq-audacious-0.21/config.sub with /usr/share/gnuconfig/config.sub

./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/lib64 --build=x86_64-pc-linux-gnu

checking for a BSD-compatible install... /usr/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-gcc... x86_64-pc-linux-gnu-gcc

checking for C compiler default output file name... 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 ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3

checking build system type... x86_64-pc-linux-gnu

checking host system type... x86_64-pc-linux-gnu

checking for a sed that does not truncate output... /bin/sed

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld

checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes

checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r

checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B

checking whether ln -s works... yes

checking how to recognise dependent libraries... pass_all

checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 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 how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E

checking for x86_64-pc-linux-gnu-g77... no

checking for x86_64-pc-linux-gnu-xlf... no

checking for x86_64-pc-linux-gnu-f77... no

checking for x86_64-pc-linux-gnu-frt... no

checking for x86_64-pc-linux-gnu-pgf77... no

checking for x86_64-pc-linux-gnu-cf77... no

checking for x86_64-pc-linux-gnu-fort77... no

checking for x86_64-pc-linux-gnu-fl32... no

checking for x86_64-pc-linux-gnu-af77... no

checking for x86_64-pc-linux-gnu-xlf90... no

checking for x86_64-pc-linux-gnu-f90... no

checking for x86_64-pc-linux-gnu-pgf90... no

checking for x86_64-pc-linux-gnu-pghpf... no

checking for x86_64-pc-linux-gnu-epcf90... no

checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran

checking whether we are using the GNU Fortran 77 compiler... yes

checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes

checking the maximum length of command line arguments... 32768

checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok

checking for objdir... .libs

checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar

checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib

checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip

checking for correct ltmain.sh version... yes

checking if x86_64-pc-linux-gnu-gcc static flag  works... yes

checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no

checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC

checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes

checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes

checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking for shl_load... no

checking for shl_load in -ldld... no

checking for dlopen... no

checking for dlopen in -ldl... yes

checking whether a program can dlopen itself... yes

checking whether a statically linked program can dlopen itself... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

configure: creating libtool

appending configuration tag "CXX" to libtool

checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64

checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes

checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes

checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC

checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes

checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes

checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking for shl_load... (cached) no

checking for shl_load in -ldld... (cached) no

checking for dlopen... (cached) no

checking for dlopen in -ldl... (cached) yes

checking whether a program can dlopen itself... (cached) yes

checking whether a statically linked program can dlopen itself... (cached) yes

appending configuration tag "F77" to libtool

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC

checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes

checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes

checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking pthread.h usability... yes

checking pthread.h presence... yes

checking for pthread.h... yes

checking for old style FreeBSD -pthread flag... no

checking for pthread_attr_init in -lpthread... yes

checking for x86_64-pc-linux-gnu-pkg-config... no

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for AUDACIOUS... yes

checking for ANSI C header files... (cached) yes

checking for sort... /bin/sort

checking for uniq... /usr/bin/uniq

configure: creating ./config.status

config.status: creating Makefile

config.status: creating config.h

config.status: executing depfiles commands

configure: creating ./config.status

config.status: creating Makefile

config.status: creating src/Makefile

config.status: creating config.h

config.status: config.h is unchanged

config.status: executing depfiles commands



  Configuration:

  Install path              : /usr/lib64

  Debug compilation flags   : no

  Benchmark code            : no

  CPU features detection    : no

  3DNow/MMX code            : no

  SSE code                  : no

  SSE2 code                 : no

  SSE filter implementation : no



make  all-recursive

make[1]: Entering directory `/var/tmp/portage/media-plugins/eq-audacious-0.21/work/eq-audacious-0.21'

Making all in src

make[2]: Entering directory `/var/tmp/portage/media-plugins/eq-audacious-0.21/work/eq-audacious-0.21/src'

if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Iaudacious-headers -DARCH_X86_64 -DLOCALEDIR="/usr/share/locale" -D_REENTRANT -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/directfb -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libmowgli -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include -O3 -Wall -Wpointer-arith -ffast-math -finline-functions -fno-strict-aliasing -fomit-frame-pointer -march=k8 -DSKIN_BASE_PATH=\"/usr/lib64/audacious\" -O2 -march=k8 -msse3 -pipe -fomit-frame-pointer -finline-functions   -Wall  -MT eq.lo -MD -MP -MF ".deps/eq.Tpo" \

	  -c -o eq.lo `test -f 'eq.c' || echo './'`eq.c; \

	then mv -f ".deps/eq.Tpo" ".deps/eq.Plo"; \

	else rm -f ".deps/eq.Tpo"; exit 1; \

	fi

mkdir .libs

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Iaudacious-headers -DARCH_X86_64 -DLOCALEDIR=/usr/share/locale -D_REENTRANT -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/directfb -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libmowgli -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include -O3 -Wall -Wpointer-arith -ffast-math -finline-functions -fno-strict-aliasing -fomit-frame-pointer -march=k8 -DSKIN_BASE_PATH=\"/usr/lib64/audacious\" -O2 -march=k8 -msse3 -pipe -fomit-frame-pointer -finline-functions -Wall -MT eq.lo -MD -MP -MF .deps/eq.Tpo -c eq.c  -fPIC -DPIC -o .libs/eq.o

eq.c:45: warning: initialization makes integer from pointer without a cast

eq.c:45: error: initializer element is not computable at load time

eq.c:45: error: (near initialization for 'eq_ep.enabled')

eq.c: In function 'monitor_song_change':

eq.c:128: warning: passing argument 1 of 'EQequalizer_load_auto_preset' discards qualifiers from pointer target type

make[2]: *** [eq.lo] Error 1

make[2]: Leaving directory `/var/tmp/portage/media-plugins/eq-audacious-0.21/work/eq-audacious-0.21/src'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/var/tmp/portage/media-plugins/eq-audacious-0.21/work/eq-audacious-0.21'

make: *** [all] Error 2

 [31;01m*[0m 

 [31;01m*[0m ERROR: media-plugins/eq-audacious-0.21 failed.

 [31;01m*[0m Call stack:

 [31;01m*[0m   ebuild.sh, line 1701:  Called dyn_compile

 [31;01m*[0m   ebuild.sh, line 1039:  Called qa_call 'src_compile'

 [31;01m*[0m   ebuild.sh, line   44:  Called src_compile

 [31;01m*[0m   ebuild.sh, line  711:  Called die

 [31;01m*[0m The specific snippet of code:

 [31;01m*[0m   		emake || die "emake failed"

 [31;01m*[0m  The die message:

 [31;01m*[0m   emake failed

 [31;01m*[0m 

 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.

 [31;01m*[0m A complete build log is located at '/var/tmp/portage/media-plugins/eq-audacious-0.21/temp/build.log'.

 [31;01m*[0m 
Comment 3 Mike Doty (RETIRED) gentoo-dev 2008-03-18 16:30:27 UTC
confirmed here too
Comment 4 Mike Doty (RETIRED) gentoo-dev 2008-03-19 00:36:47 UTC
was able to build eq-audacious against audacious-1.4.5 and 1.5.0 on x86 using gcc-4.1.2.  Maybe an arch issue here....
Comment 5 Oliver Knodel 2008-07-21 10:17:07 UTC
don't compile (~x86):
Portage 2.2_rc1 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.11 i686)
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-20 23:28:06 UTC
Confirmed, googled, got sick of looking for answers, removed ~amd64 keywords.

@sound team: Two things, a) add us back to CC if you have a fix and want the ~amd64 keyword added back, and b) there is no more SRC_URI for this app, perhaps it is time to just remove this altogether?

Thanks.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-05-11 08:54:08 UTC

*** This bug has been marked as a duplicate of bug 238620 ***