[gentoo-user] kaffe compile failed

2009-11-12 Thread Jacques Montier
Hi all,

My system wants me to install dev-java/kaffe (i didn't need it
before...) but kaffe fails to  compile.

..
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]
Erreur 1
make[3]: *** Attente des tâches non terminées
make[3]: quittant le répertoire «
/var/tmp/portage/dev-java/kaffe-1.1.7-r6/work/kaffe-1.1.7/libraries/clib/sound/alsa
»
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire «
/var/tmp/portage/dev-java/kaffe-1.1.7-r6/work/kaffe-1.1.7/libraries/clib/sound
»
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire «
/var/tmp/portage/dev-java/kaffe-1.1.7-r6/work/kaffe-1.1.7/libraries/clib »
make: *** [all-recursive] Erreur 1
 * ERROR: dev-java/kaffe-1.1.7-r6 failed:
 *   Failed to compile

.


Any idea ?

thank you very much,

Best regards,

--
Jacques




- My java configuation !

java-config -L
The following VMs are available for generation-2:
*)  IcedTea6-bin 1.6.1 [icedtea6-bin]

- emerge --info :

Portage 2.1.7.4 (default/linux/x86/10.0/desktop, gcc-4.3.4,
glibc-2.9_p20081201-r2, 2.6.31-gentoo-r5 i686)
=
System uname:
Linux-2.6.31-gentoo-r5-i686-AMD_Athlon-tm-_Processor-with-gentoo-1.12.13
Timestamp of tree: Thu, 12 Nov 2009 09:45:01 +
ccache version 2.4 [disabled]
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache: 2.4-r7
dev-util/cmake:  2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-mtune=athlon -O2 -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/config
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /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/sandbox.d
/etc/splash /etc/terminfo /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c
/etc/udev/rules.d
CXXFLAGS=-mtune=athlon -O2 -pipe -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=--with-bdeps y
FEATURES=assume-digests candy distlocks fixpackages news parallel-fetch
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans
userfetch userpriv usersandbox
GENTOO_MIRRORS=http://mirror.ovh.net/gentoo-distfiles/
http://gentoo.modulix.net/gentoo/ http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo;
LANG=fr_FR.UTF-8
LC_ALL=fr_FR.UTF-8
LDFLAGS=-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s
LINGUAS=fr fr_FR
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
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
/usr/portage/local/layman/desktop-effects /usr/portage/local
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
USE=X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr
cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss
encode evo fam firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal
iconv java jpeg kde ldap libnotify mad mikmod modules mp3 mp4 mpeg
mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp pam pcre
pdf perl pic png ppds pppd python qt qt3support qt4 quicktime readline
reflection sdl session spell spl ssl startup-notification svg svga sysfs
tcltk tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86
xml xorg xulrunner xv xvid zlib ALSA_CARDS=via82xx ice1712
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 CAMERAS=canon
ELIBC=glibc INPUT_DEVICES=evdev KERNEL=linux LCD_DEVICES=bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text
LINGUAS=fr fr_FR USERLAND=GNU VIDEO_CARDS=fglrx radeon
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, 

Re: [gentoo-user] kaffe compile failed

2009-11-12 Thread Alan McKinnon
On Thursday 12 November 2009 18:13:03 Jacques Montier wrote:
 Hi all,
 
 My system wants me to install dev-java/kaffe (i didn't need it
 before...) but kaffe fails to  compile.

I think you are missing an ACCEPT_LICENSE statement in make.conf, so portage 
wants to pull in that ancient jvm instead of sun-jdk or icedtea

$ grep LICENSE /etc/make.conf
ACCEPT_LICENSE=dlj-1.1 sun-bcla-java-vm


-- 
alan dot mckinnon at gmail dot com



[solved] Re: [gentoo-user] kaffe compile failed

2009-11-12 Thread Jacques Montier
Alan McKinnon a gentiment tapote:
 On Thursday 12 November 2009 18:13:03 Jacques Montier wrote:
 Hi all,

 My system wants me to install dev-java/kaffe (i didn't need it
 before...) but kaffe fails to  compile.
 
 I think you are missing an ACCEPT_LICENSE statement in make.conf, so portage 
 wants to pull in that ancient jvm instead of sun-jdk or icedtea
 
 $ grep LICENSE /etc/make.conf
 ACCEPT_LICENSE=dlj-1.1 sun-bcla-java-vm
 
 

Thank you for your help.
I found the same issue
http://bugs.gentoo.org/231198
So i patched the kaffe ebuild with kaffe-alsa-1.0.16.patch.
And then kaffe-1.1.7-r4 compiled fine.
Now it works and java-config -L gives
*)  IcedTea6-bin 1.6.1 [icedtea6-bin]
2)  Kaffe 1.1.7 [kaffe]

One question : what the use of Kaffe vm as i use IcedTea6-bin ?
Thanks again,

Best regards,

--
Jacques



Re: [solved] Re: [gentoo-user] kaffe compile failed

2009-11-12 Thread Alan McKinnon
I only ever used kaffe once and that was years ago. It seems to be just
another jvm - there's quite a few around

On Nov 12, 2009 7:15 PM, Jacques Montier jacques.mont...@numericable.fr
wrote:

Alan McKinnon a gentiment tapote:

 On Thursday 12 November 2009 18:13:03 Jacques Montier wrote:  Hi all, 
 My system wants me t...
Thank you for your help.
I found the same issue
http://bugs.gentoo.org/231198
So i patched the kaffe ebuild with kaffe-alsa-1.0.16.patch.
And then kaffe-1.1.7-r4 compiled fine.
Now it works and java-config -L gives

*) IcedTea6-bin 1.6.1 [icedtea6-bin]
2)  Kaffe 1.1.7 [kaffe]

One question : what the use of Kaffe vm as i use IcedTea6-bin ?
Thanks again,

Best regards,

--
Jacques