when emerging java-config 2.1.4, 2.1.6 and 2.1.6-r1 it fails to compile I've tried removing the old java-config-2.1.4 and I've tried removing 1.3.7 aswell The log, if I cut to the end: running install_egg_info Writing /var/tmp/portage/dev-java/java-config-2.1.6-r1/image/usr/lib64/python2.5/site-packages/java_config-2.1.6-py2.5.egg-info cp: cannot stat `config/jdk-defaults-x86_64.conf': No such file or directory * * ERROR: dev-java/java-config-2.1.6-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2597: Called die * The specific snippet of code: * newins config/jdk-defaults-${ARCH}.conf jdk-defaults.conf || die "arch config not found" * The die message: * arch config not found * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-java/java-config-2.1.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/java-config-2.1.6-r1/temp/environment'. Reproducible: Always Steps to Reproduce: 1. emerge -1 java-config Actual Results: It fails to compile/install Expected Results: I expect it to compile successfully. Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) ================================================================= System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz Timestamp of tree: Sun, 14 Sep 2008 12:17:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 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.5, 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="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/ca-certificates.conf /etc/env.d /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/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.ISO-8859-1" LC_ALL="en_US.ISO-8859-1" LINGUAS="en en_GB sv sv_SE" MAKEOPTS="-j5" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib acl acpi aiglx alsa amd amd64 apache2 applet asf aspnet2 audiofile automount bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cardbus cdr chroot cli cpudetection cracklib crypt crypto_libgcrypt crypto_openssl css ctype cups curl curlwrappers dbus device-mapper dlloader dri dts dvd dvdr dvdread eds effects emerald encode esd examples exif expat extras fastbuild fat fbcon ffmpeg firefox flac font-server fontconfig foomaticdb force-cgi-redirect fortran ftp fuse gatos gd gdbm gif gimp glitz glx gmedia gnome gnome-print gphoto2 gpm gstreamer gstreamer-010 gtk gtk2 gtkhtml gvim gzip hal hash ibam icms iconv ieee1394 imagemagick imap imlib ipod isdnlog java javascript john jpeg jpeg2k kdeenablefinal lame latin1 libg++ libnotify logrotate loop-aes lzo mad madwifi midi mikmod mmx mmxext mng mono motif mozbranding mp3 mpeg mpeg2 mplayer msn mudflap musicbrainz mysql mysqli ncurses nls no-seamonkey nptl nptlonly nsplugin ntfs nvidia offensive ogg opengl openmp openssh openssl pam pcap pcre pdf perl php png pnp ppds pppd print python qt3 qt3support qt4 quicktime rar rdesktop readlin readline realmedia reflection rtc ruby samba scanner screen sdk sdl session slang sockets spell spl sqlite sqllite srt sse sse2 ssl suhosin svg sysfs tcltk tcpd tiff tokenizer truetype truetype-fonts type1 type1-fonts udev unicode urandom usb userlocales vim vim-with-x vnc vorbis wifi wma wmf wmp wxwindows x11vnc x264 xcomposite xine xml xmlreader xmlwriter xorg xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB sv sv_SE" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
You have set ACCEPT_KEYWORDS="amd64" in make.conf The man page for make.conf states: Only define a ~arch. Defaults to the value of $ARCH. In other words, if uname -r doesn't return the correct arch, you should set ARCH="amd64", not ACCEPT_KEYWORDS="amd64". ACCEPT_KEYWORDS should be used if you want e.g. "~amd64" (i.e. unstable). Setting ARCH=amd64 globally should cause it to use jdk-defaults-amd64.conf, which does exist. Also, I fail to see how this is a blocker, considering that java isn't in polled in by emerge system.
(In reply to comment #1) > You have set ACCEPT_KEYWORDS="amd64" in make.conf > The man page for make.conf states: > > Only define a ~arch. > Defaults to the value of $ARCH. Having amd64 there doesn't hurt though, unlike what you propose later... > In other words, if uname -r doesn't return the correct arch, you should set > ARCH="amd64", not ACCEPT_KEYWORDS="amd64". NO WAY! ARCH is not determined by uname -r, ARCH is set by your profile. Please don't ever set it manually! > ACCEPT_KEYWORDS should be used if you want e.g. "~amd64" (i.e. unstable). Right, but like I said, having amd64 there doesn't hurt. > Setting ARCH=amd64 globally should cause it to use jdk-defaults-amd64.conf, > which does exist. Which should be done by your profile. The reason it doesn't work is that you probably already have ARCH="x86_64" set in your make.conf. Please tell me who suggested this to you so I can kill... erm correct them.
Yeah you where right, there was a ARCH="x86_64" in my make.conf And don't ask me how it got there cause i honestly don't remember. probibly some old package messing and fixed with a ugly hack like that... And for the blocking part, It's a blocker for me, cause it blocked my update of world.. yeah sure it boots, but java is a important part of the system... everything is relative :-)