It should copy the .jar instead of symlinking to it because DISTDIR isn't guaranteed to be persistent. >>> Installing dev-java/jdbc2-postgresql-7.4-r1 * checking 1 files for package collisions --- /usr/ --- /usr/share/ >>> /usr/share/jdbc2-postgresql-6/ >>> /usr/share/jdbc2-postgresql-6/lib/ >>> /usr/share/jdbc2-postgresql-6/lib/pg74.215.jdbc2.jar -> /tmp/distfiles/pg74.215.jdbc2.jar >>> Auto-cleaning packages... # emerge --info Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-gentoo i686) ================================================================= System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-glibc2.0 Timestamp of tree: Fri, 16 Jan 2009 17:00:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 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.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -march=pentium-m -pipe" DISTDIR="/tmp/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1,--reduce-memory-overheads" LINGUAS="de en" 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="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/lxde /usr/local/portage" SYNC="rsync://anubis.local.porno-bullen.de/gentoo-portage" USE="X acl acpi alsa audacious bash-completion berkdb branding bzip2 cairo caps cdr cli cracklib crypt cups custom-cflags custom-cpuopts custom-optimization dbus dri dvd dvdr dvdread dynamic emboss encode esd evo fam fbcondecor fbsplash firefox fortran gdbm gif gpm gtk hal icons iconv ipv6 isdnlog jpeg laptop libnotify lilo mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd tiff truetype unicode usb vim vim-syntax vim-with-x vorbis wifi win32codecs x264 x86 xft xml xorg xulrunner xv xvid 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 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 synaptics" KERNEL="linux" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="intel i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 178865 [details] debug output Output of JAVA_PKG_DEBUG="true" emerge --debug jdbc2-postgresql It's falling into "is a symlink" case of java-pkg_dojar
I wouldn't mind ending support for these old versions and just supporting dev-java/jdbc-postgresql. Do you specifically need the old jdbc2 driver for something?
No, I'm fine with dev-java/jdbc-postgresql :)
Moved to Java junkyard.