Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231198 - dev-java/kaffe-1.1.7-r4 - constants_check.h:73: error: `SND_SEQ_EVENT_SAMPLE' undeclared
Summary: dev-java/kaffe-1.1.7-r4 - constants_check.h:73: error: `SND_SEQ_EVENT_SAMPLE'...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 232836 292266 292659 295086 (view as bug list)
Depends on:
Blocks: 309459
  Show dependency tree
 
Reported: 2008-07-08 17:10 UTC by Zhivko Asenov
Modified: 2010-03-15 08:22 UTC (History)
9 users (show)

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


Attachments
/var/tmp/portage/dev-java/kaffe-1.1.7-r4/temp/build.log (build.log,609.15 KB, text/plain)
2008-08-31 05:31 UTC, Izad-Yar Daniel Rasheed
Details
A patch for kaffe-1.1.7 altered from debian trunk (kaffe-alsa-1.0.16.patch,7.80 KB, patch)
2008-09-03 14:55 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zhivko Asenov 2008-07-08 17:10:22 UTC
Compilation of dev-java/kaffe-1.1.7-r4 crashed with:
In file included from org_tritonus_lowlevel_alsa_AlsaSeq.c:25:
constants_check.h: In function `check_constants':
constants_check.h:73: error: `SND_SEQ_EVENT_SAMPLE' undeclared (first use in this function)
constants_check.h:73: error: (Each undeclared identifier is reported only once
constants_check.h:73: error: for each function it appears in.)
constants_check.h:74: error: `SND_SEQ_EVENT_SAMPLE_CLUSTER' undeclared (first use in this function)
constants_check.h:75: error: `SND_SEQ_EVENT_SAMPLE_START' undeclared (first use in this function)
constants_check.h:76: error: `SND_SEQ_EVENT_SAMPLE_STOP' undeclared (first use in this function)
constants_check.h:77: error: `SND_SEQ_EVENT_SAMPLE_FREQ' undeclared (first use in this function)
constants_check.h:78: error: `SND_SEQ_EVENT_SAMPLE_VOLUME' undeclared (first use in this function)
constants_check.h:79: error: `SND_SEQ_EVENT_SAMPLE_LOOP' undeclared (first use in this function)
constants_check.h:80: error: `SND_SEQ_EVENT_SAMPLE_POSITION' undeclared (first use in this function)
constants_check.h:81: error: `SND_SEQ_EVENT_SAMPLE_PRIVATE1' undeclared (first use in this function)
constants_check.h:92: error: `SND_SEQ_EVENT_INSTR_BEGIN' undeclared (first use in this function)
constants_check.h:93: error: `SND_SEQ_EVENT_INSTR_END' undeclared (first use in this function)
constants_check.h:94: error: `SND_SEQ_EVENT_INSTR_INFO' undeclared (first use in this function)
constants_check.h:95: error: `SND_SEQ_EVENT_INSTR_INFO_RESULT' undeclared (first use in this function)
constants_check.h:96: error: `SND_SEQ_EVENT_INSTR_FINFO' undeclared (first use in this function)
constants_check.h:97: error: `SND_SEQ_EVENT_INSTR_FINFO_RESULT' undeclared (first use in this function)
constants_check.h:98: error: `SND_SEQ_EVENT_INSTR_RESET' undeclared (first use in this function)
constants_check.h:99: error: `SND_SEQ_EVENT_INSTR_STATUS' undeclared (first use in this function)
constants_check.h:100: error: `SND_SEQ_EVENT_INSTR_STATUS_RESULT' undeclared (first use in this function)
constants_check.h:101: error: `SND_SEQ_EVENT_INSTR_PUT' undeclared (first use in this function)
constants_check.h:102: error: `SND_SEQ_EVENT_INSTR_GET' undeclared (first use in this function)
constants_check.h:103: error: `SND_SEQ_EVENT_INSTR_GET_RESULT' undeclared (first use in this function)
constants_check.h:104: error: `SND_SEQ_EVENT_INSTR_FREE' undeclared (first use in this function)
constants_check.h:105: error: `SND_SEQ_EVENT_INSTR_LIST' undeclared (first use in this function)
constants_check.h:106: error: `SND_SEQ_EVENT_INSTR_LIST_RESULT' undeclared (first use in this function)
constants_check.h:107: error: `SND_SEQ_EVENT_INSTR_CLUSTER' undeclared (first use in this function)
constants_check.h:108: error: `SND_SEQ_EVENT_INSTR_CLUSTER_GET' undeclared (first use in this function)
constants_check.h:109: error: `SND_SEQ_EVENT_INSTR_CLUSTER_RESULT' undeclared (first use in this function)
constants_check.h:110: error: `SND_SEQ_EVENT_INSTR_CHANGE' undeclared (first use in this function)
make[3]: *** [libtritonusalsa_la-org_tritonus_lowlevel_alsa_AlsaSeq.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../config -I../../../../include -I/var/tmp/portage/dev-java/kaffe-1.1.7-r4/work/kaffe-1.1.7/./kaffe/kaffevm -I/var/tmp/portage/dev-java/kaffe-1.1.7-r4/work/kaffe-1.1.7/./kaffe/kaffevm/jit3 -I/var/tmp/portage/dev-java/kaffe-1.1.7-r4/work/kaffe-1.1.7/./kaffe/kaffevm/systems/unix-pthreads -I../../../../replace -I../../../../config -I../../../../include -I../../../../libraries/javalib/external/classpath/include -DKAFFE_VMDEBUG -D_REENTRANT -O2 -march=i686 -mmmx -pipe -fno-strict-aliasing -Wall -W -Wextra -pthread -c org_tritonus_lowlevel_alsa_AlsaSeqClientInfo.c  -fPIC -DPIC -o .libs/libtritonusalsa_la-org_tritonus_lowlevel_alsa_AlsaSeqClientInfo.o
make[3]: Leaving directory `/var/tmp/portage/dev-java/kaffe-1.1.7-r4/work/kaffe-1.1.7/libraries/clib/sound/alsa'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-java/kaffe-1.1.7-r4/work/kaffe-1.1.7/libraries/clib/sound'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-java/kaffe-1.1.7-r4/work/kaffe-1.1.7/libraries/clib'
make: *** [all-recursive] Error 1
*
 * ERROR: dev-java/kaffe-1.1.7-r4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2690:  Called die
 * The specific snippet of code:
 *       emake || die "Failed to compile"
 *  The die message:
 *   Failed to compile
 *



Reproducible: Always

Steps to Reproduce:
1. emerge -DNuva world
2.
3.

Actual Results:  
compilation error

Expected Results:  
normal exit status

emerge --info
Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.5-r4, 2.6.23-hardened-r11 i686)
=================================================================
System uname: 2.6.23-hardened-r11 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Tue, 08 Jul 2008 10:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
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-r2
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.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mmmx -fomit-frame-pointer -pipe"
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/config /usr/share/xsessions /var/lib/hsqldb"
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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mmmx -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.tiscali.nl/gentoo/"
LANG="en_US"
LC_ALL=""
LINGUAS="de en en_GB"
MAKEOPTS="-j2"
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/java-overlay /usr/local/overlays/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aim alsa apache2 apm arts async audiofile avi bash-completion berkdb bitmap-fonts blas bonobo bzip2 cairo cdparanoia cdr cracklib crypt cscope cups curl custom-cflags dbus divx4linux dlloader doc dri dvd dvdr dvdread dvi eds emacs emacs-w3 encode esd ethereal evo examples expat f77 faad fam ffmpeg fftw firefox flac font-server foomaticdb fortran fpx gcj gd gdbm gif gimpprint ginac glut gmp gnome gpm graphviz gsl gstreamer gtk gtk2 gtkhtml hardened icq idea idn imagemagick imap imlib imlib2 inkjar ithreads jabber java jpeg jpeg2k junit kde kdeenablefinal lapack latex lcms leim libg++ libgda mad maildir mailwrapper math matroska mbox midi mikmod mmap mmx mmx2 mmxext mng motif mozbranding mp3 mpeg msn mule ncurses nls nptl nptlonly nsplugin oci8 odbc ogg oggvorbis opengl oracle oscar pam pcre pda pdf pdflib perl php pic plotutils plugin png postgres python qt quicktime readline real reflection rtc ruby samba scanner sdl slang smp spell spl sqlite ssl svg t1lib tcltk tcpd test tetex theora thesaurus threads tiff tk truetype truetype-fonts type1-fonts unicode urandom usb vcd vim-syntax vorbis win32codecs wmf x86 xine xml xml2 xorg xv xvid yv12 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB" USERLAND="GNU" VIDEO_CARDS="i810 mga nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

uname -a
2.6.23-hardened-r11 #1 SMP PREEMPT Thu May 8 12:06:48 CEST 2008 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-24 14:19:41 UTC
*** Bug 232836 has been marked as a duplicate of this bug. ***
Comment 2 Izad-Yar Daniel Rasheed 2008-08-31 05:31:55 UTC
Created attachment 164151 [details]
/var/tmp/portage/dev-java/kaffe-1.1.7-r4/temp/build.log

/var/tmp/portage/dev-java/kaffe-1.1.7-r4/temp/build.log
Comment 3 Izad-Yar Daniel Rasheed 2008-08-31 05:33:49 UTC
I have the same issue on my ~amd64 system.

uname -a
Linux 2.6.26-gentoo-r1 #1 PREEMPT Sat Aug 16 22:08:52 EDT 2008 x86_64 AMD Athlon(tm) 64 Processor 3300+ AuthenticAMD GNU/Linux


emerge --info
Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3300+-with-glibc2.2.5
Timestamp of tree: Sun, 31 Aug 2008 01:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon64"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_US"
MAKEOPTS="-j2"
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/local/portage/layman/synce /usr/local/portage/layman/java-overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl alsa amd amd64 amr artworkextra berkdb branding bzip2 cairo calendar cdinstall cdr cli cracklib crypt cups dbus dga dri dvd dvdr dvdread eds ffmpeg firefox flac fortran ftp fuse gcj gdbm geoip gif glib glibc-omitfp gmail gmp gnuplot gnutls gpm graphvis gsl gtk hal icu isdnlog java java6 jpeg jpeg2k libnotify mad midi mmx mmxext mp3 mpeg mplayer msn mudflap multilib musepack ncurses nls nocd nptl nptlonly nsplugin ntfs offensive ogg opengl openmp pam pcre pda pdf perl plotutils png ppds pppd python qt3support qt4 quicktime rar raw readline reflection rtc scanner sdl session sharedext sharedmem sndfile sound speex spell spl srt sse sse2 ssl startup-notification svg sysfs syslog tcpd tiff truetype unicode usb videos vorbis xcomposite xfce xfce4 xinerama xml xorg xulrunner 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 mmap_emul 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Izad-Yar Daniel Rasheed 2008-09-03 06:35:17 UTC
Kaffe compiles for me iff the ALSA USE flag is unset. Add " =dev-java/kaffe-1.1.7-r4 -alsa " to your /etc/portage/package.use
Comment 5 Peter Levine 2008-09-03 14:55:50 UTC
Created attachment 164493 [details, diff]
A patch for kaffe-1.1.7 altered from debian trunk

Instrument layer and synthesizer events were removed in alsa-lib-1.0.16.
Please include this patch in the Kaffe ebuild.
Comment 6 Peter Levine 2008-09-03 15:01:10 UTC
(In reply to comment #5)
> Created an attachment (id=164493) [edit]
> A patch for kaffe-1.1.7 altered from debian trunk
> 
> Instrument layer and synthesizer events were removed in alsa-lib-1.0.16.
> Please include this patch in the Kaffe ebuild.
> 

Never mind.
Apparently, its in the masked kaffe-1.1.7-r6.
Comment 7 Peter Levine 2008-09-03 15:45:21 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Created an attachment (id=164493) [edit]
> > A patch for kaffe-1.1.7 altered from debian trunk
> > 
> > Instrument layer and synthesizer events were removed in alsa-lib-1.0.16.
> > Please include this patch in the Kaffe ebuild.
> > 
> 
> Never mind.
> Apparently, its in the masked kaffe-1.1.7-r6.
> 

Sorry. The patch for 1.1.7-r6 is apparently different and the build fails even when its included in the src_unpack section. The attached patch is confirmed built and working for kaffe-1.1.7-r6 on x86_64.
Comment 8 Peter Levine 2008-09-03 15:46:28 UTC
I meant kaffe-1.1.7-r4.
Comment 9 Peter Levine 2008-09-03 17:23:51 UTC
Still fails with bug 234445 though.
Comment 10 Martin von Gagern 2009-11-18 17:32:56 UTC
Maybe remove hardened from summary, as I can reproduce on non-hardened ~x86, as can the author of bug 292266 and several commenters on that bug, according to their emerge --info.
Comment 11 Rafał Mużyło 2009-11-29 21:23:25 UTC
*** Bug 292659 has been marked as a duplicate of this bug. ***
Comment 12 Rafał Mużyło 2009-11-29 21:23:52 UTC
*** Bug 292266 has been marked as a duplicate of this bug. ***
Comment 13 Rafał Mużyło 2009-11-29 21:24:51 UTC
*** Bug 295086 has been marked as a duplicate of this bug. ***
Comment 14 Rafał Mużyło 2009-11-29 21:25:15 UTC
Yeah, hardened is unrelated - bug 292266, bug 292659 and
bug 295086 are duplicates of this one.
Comment 15 William Keaney 2009-12-23 12:14:07 UTC
This bug has been open for well over a year now, and kaffe-1.1.7-r4 is still the only unmasked version in portage.  It still fails the same way.

Can someone please at least unmask -r6 if we're not going to patch -r4?
Comment 16 merwan kashouty 2010-03-13 14:39:31 UTC
r6 is still failing with this error

Comment 17 Alistair Bush (RETIRED) gentoo-dev 2010-03-15 08:22:51 UTC
kaffe is package masked for removal,  closing as wontfix.