Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152248 - media-sound/jmax fails to build no matter the USE flags
Summary: media-sound/jmax fails to build no matter the USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 152249 (view as bug list)
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-10-21 08:29 UTC by kartebi
Modified: 2007-03-04 22:31 UTC (History)
2 users (show)

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


Attachments
There is a different error when USE="-jack" or USE="jack" (jmax.txt,4.52 KB, text/plain)
2006-10-21 09:24 UTC, kartebi
Details
jmax-4.1.0-usercflags.patch (jmax-4.1.0-usercflags.patch,431 bytes, patch)
2006-12-03 20:13 UTC, Ryan Hill (RETIRED)
Details | Diff
jmax-4.1.0.ebuild.javafix.diff (jmax-4.1.0.ebuild.javafix.diff,953 bytes, patch)
2006-12-03 20:16 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kartebi 2006-10-21 08:29:07 UTC
I have tried many times with several combination of setups (x86,~x86) and only once it compiled with gcc-3.4
Please Fix :(

-----------------------------------------------------------------
emerge --info
-----------------------------------------------------------------

Gentoo Base System version 1.12.5
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-emission1 i686)
=================================================================
System uname: 2.6.18-emission1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Last Sync: Sat, 21 Oct 2006 14:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-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/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF8"
LINGUAS="en el"
MAKEOPTS="-j3"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/MYstuff"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac akode alsa amr arts artswrappersuid asf audiofile bash-completion bzip2 cairo caps cracklib crypt css dga dio djbfft dlloader dts dv dvd dvdr dvdread elibc_glibc encode extrafilters fame ffmpeg firefox flac fortran gif glitz glut gpm hal imlib input_devices_keyboard input_devices_mouse insecure-savers ithreads jack jpeg jpeg2k kde kdehiddenvisibility kdexdeltas kernel_linux ladspa lame lash lcms linguas_el linguas_en lm_sensors logitech-mouse lzo mad mailwrapper mjpeg mmap mmx mng modplug mp3 mpeg musepack musicbrainz nls no-old-linux nptl nptlonly nsplugin nvidia offensive ogg openal openexr opengl oss pam png qt3 quicktime rar rdesktop rle sdl sndfile snmp speex spell sse sse2 ssl svg szip tcpd theora threads tidy tiff truetype unicode usb userland_GNU vcd video_cards_none video_cards_nv video_cards_nvidia visualization vorbis win32codecs wmf xcomposite xine xml xorg xosd xpm xscreensaver xv xvid xvmc yv12 zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

--------------------------------------------------------------------
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-21 08:33:34 UTC
*** Bug 152249 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-21 08:38:17 UTC
How about posting some errors?
Comment 3 kartebi 2006-10-21 09:24:17 UTC
Created attachment 100144 [details]
There is a different error when USE="-jack" or USE="jack"
Comment 4 kartebi 2006-10-21 09:30:13 UTC
reopened bug. Sorry me noob :)
Comment 5 kartebi 2006-10-23 08:02:51 UTC
Ok i emerged gcc-3.4.6-r2 and i got a working jmax with alsa and jack flags.
So i guess its either the ebuild or the program itself not working with gcc-4
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2006-12-03 18:54:46 UTC
taking.
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2006-12-03 20:13:49 UTC
Created attachment 103302 [details, diff]
jmax-4.1.0-usercflags.patch

this will fix the first error (-fmove--all-movables).
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2006-12-03 20:16:05 UTC
Created attachment 103303 [details, diff]
jmax-4.1.0.ebuild.javafix.diff

this updates the ebuild to use the new java system.
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2006-12-03 20:22:58 UTC
I don't want to apply the above until I have a fix to this:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../../include -I../../../../packages/data/c/include -I../../../../packages/utils/c/include -O2 -march=native -fomit-frame-pointer -fno-ident -pipe -Wall -Wno-unused -DUSE_ALSA -Wp,-MD,.deps/key.pp -c key.c  -fPIC -DPIC -o .libs/key.o
key.c:26: error: static declaration of 'sym_f1' follows non-static declaration
keyserver.h:50: error: previous declaration of 'sym_f1' was here
key.c:27: error: static declaration of 'sym_f2' follows non-static declaration
keyserver.h:52: error: previous declaration of 'sym_f2' was here
key.c:28: error: static declaration of 'sym_f3' follows non-static declaration
keyserver.h:54: error: previous declaration of 'sym_f3' was here
key.c:29: error: static declaration of 'sym_f4' follows non-static declaration
keyserver.h:56: error: previous declaration of 'sym_f4' was here
key.c:30: error: static declaration of 'sym_f5' follows non-static declaration
keyserver.h:58: error: previous declaration of 'sym_f5' was here
key.c:31: error: static declaration of 'sym_f6' follows non-static declaration
keyserver.h:60: error: previous declaration of 'sym_f6' was here
key.c:32: error: static declaration of 'sym_f7' follows non-static declaration
keyserver.h:62: error: previous declaration of 'sym_f7' was here
key.c:33: error: static declaration of 'sym_f8' follows non-static declaration
keyserver.h:64: error: previous declaration of 'sym_f8' was here
key.c:34: error: static declaration of 'sym_f9' follows non-static declaration
keyserver.h:66: error: previous declaration of 'sym_f9' was here
key.c:35: error: static declaration of 'sym_f10' follows non-static declaration
keyserver.h:68: error: previous declaration of 'sym_f10' was here
key.c:36: error: static declaration of 'sym_f11' follows non-static declaration
keyserver.h:70: error: previous declaration of 'sym_f11' was here
key.c:37: error: static declaration of 'sym_f12' follows non-static declaration
keyserver.h:72: error: previous declaration of 'sym_f12' was here
key.c:39: error: static declaration of 'sym_enter' follows non-static declaration
keyserver.h:74: error: previous declaration of 'sym_enter' was here
key.c:40: error: static declaration of 'sym_esc' follows non-static declaration
keyserver.h:75: error: previous declaration of 'sym_esc' was here
key.c:42: error: static declaration of 'sym_shift' follows non-static declaration
keyserver.h:77: error: previous declaration of 'sym_shift' was here
key.c:43: error: static declaration of 'sym_alt' follows non-static declaration
keyserver.h:78: error: previous declaration of 'sym_alt' was here
key.c:45: error: static declaration of 'sym_space' follows non-static declaration
keyserver.h:80: error: previous declaration of 'sym_space' was here
make[4]: *** [key.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-sound/jmax-4.1.0/work/jmax-4.1.0/packages/guiobj/c/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/jmax-4.1.0/work/jmax-4.1.0/packages/guiobj/c'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/jmax-4.1.0/work/jmax-4.1.0/packages/guiobj'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/jmax-4.1.0/work/jmax-4.1.0/packages'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/jmax-4.1.0 failed.

This is fixed in cvs but it's a huge change that i can't backport.  I might do a snapshot version.

I haven't looked at the jack errors yet.
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2007-03-04 22:31:18 UTC
All better.