Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325189 - dev-java/bytelist-1.0.6 fails to build
Summary: dev-java/bytelist-1.0.6 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High major
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 324437 325191
  Show dependency tree
 
Reported: 2010-06-23 09:53 UTC by Michel Ganguin
Modified: 2010-06-27 07:22 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Ganguin 2010-06-23 09:53:52 UTC
build fails on jar creation claiming that jar cannot be found, because of missing lib directory in workdir. Creating the directory fixes the problem.



Reproducible: Always

Steps to Reproduce:
1. dev-java/bytelist-1.0.6 ~amd64 keyworded
2. emerge dev-java/bytelist




>>> Emerging (1 of 1) dev-java/bytelist-1.0.6
 * bytelist-1.0.6.tar.gz RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  dev-java/bytelist-1.0.6
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib source userland_GNU
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking bytelist-1.0.6.tar.gz to /var/tmp/portage/dev-java/bytelist-1.0.6/work
>>> Source unpacked in /var/tmp/portage/dev-java/bytelist-1.0.6/work
>>> Preparing source in /var/tmp/portage/dev-java/bytelist-1.0.6/work/bytelist-1.0.6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/bytelist-1.0.6/work/bytelist-1.0.6 ...
Rewriting attributes
Rewriting ./build.xml
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-java/bytelist-1.0.6/work/bytelist-1.0.6 ...
 * Disabling all optional ANT_TASKS
Buildfile: build.xml

init:
    [mkdir] Created dir: /var/tmp/portage/dev-java/bytelist-1.0.6/work/bytelist-1.0.6/build
    [mkdir] Created dir: /var/tmp/portage/dev-java/bytelist-1.0.6/work/bytelist-1.0.6/build/classes
    [mkdir] Created dir: /var/tmp/portage/dev-java/bytelist-1.0.6/work/bytelist-1.0.6/build/test-classes

compile:
    [javac] Compiling 1 source file to /var/tmp/portage/dev-java/bytelist-1.0.6/work/bytelist-1.0.6/build/classes

jar:
      [jar] Building jar: /var/tmp/portage/dev-java/bytelist-1.0.6/work/bytelist-1.0.6/lib/bytelist-1.0.1.jar

BUILD FAILED
/var/tmp/portage/dev-java/bytelist-1.0.6/work/bytelist-1.0.6/build.xml:40: Problem creating jar: /var/tmp/portage/dev-java/bytelist-1.0.6/work/bytelist-1.0.6/lib/bytelist-1.0.1.jar (No such file or directory) (and the archive is probably corrupt but I could not delete it)

Total time: 0 seconds
 * ERROR: dev-java/bytelist-1.0.6 failed:
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 4394:  Called java-pkg-2_src_compile
 *   environment, line 2414:  Called eant 'jar' '-f' 'build.xml'
 *   environment, line  932:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-java/bytelist-1.0.6',
 * the complete build log and the output of 'emerge -pqv =dev-java/bytelist-1.0.6'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.20"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"

emerge --info:
Portage 2.2_rc62 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 23 Jun 2010 08:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/tmp/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="fr en de"
MAKEOPTS="-j3"
PKGDIR="/var/tmp/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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi additions alsa amd64 apache2 applet archive bash-completion berkdb blender-game bluetooth boost branding bzip2 cairo cdda cddb cdparanoia cdr chardet chm clamav cleartype cli color-console consolekit coverage cracklib crypt cscope css ctype cups curl custom-cflags custom-cxxflags custom-optimization cxx dbus detex device-mapper dia disk-partition dri dts dv dvb dvd dvdr dvdread dvi dvipdfm edb emboss emerald encode exchange exif faac faad fam fbcon fbcondecor ffmpeg fftw filter firefox flac fltk foomaticdb fortran ftp fts3 fuse galago gd gdbm gdu gedit gif gimp glade glib glitz glut gmp gnome gnome-keyring gnome-print gnutls gphoto2 gpm graphviz gs gstreamer gtk gvfs helpers html iconv icotools icq icu idn ieee1394 imagemagick imap imlib intl ipod ipv6 ipw4965 ithreads jadetex java java5 java6 javascript jbig jmf jpeg jpeg2k kdrive kerberos keyring kpathsea krb4 lame laptop latex latex3 lcms libcaca libgcrypt libnotify libssh2 lightning lucene lzma lzo mad matroska mbrola mikmod mjpeg mmap mmx mmxext mng modules mono mozdevelop mp3 mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses netbeans nls nptl nptlonly oci8-instant-client ogg ole openexr opengl openmp oracle pam pango pcre pdf pdo perl pic plotutils png policykit postgres postproc ppds pppd python qt3support qt4 quicktime quotes radio radius rar readline reflection rtc samba scanner sdl servletapi session sip slang smp sound soundex soup sourceview sox spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification svg sysfs system-sqlite t1lib tcpd teletext tetex tex4ht theora threads thunderbird tidy tiff truetype tta udev unicode unsupported usb v4l v4l2 vboxwebsrv vhosts vim vim-syntax vorbis wav webdav webkit wifi winetools wma wmf x264 xcb xcomposite xforms xml xmp xorg xpm xprint xslt xulrunner xv xvid xvmc zlib zvbi" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en de" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy harness ide identity java mobility nb php profiler ruby websvccommon" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Carlos Manuelda 2010-06-24 00:25:58 UTC
I can confirm this issue, and also, it is a blocker for #325191
Comment 2 Piotr Król 2010-06-26 13:30:09 UTC
I also confirm this bug, although adding a directory didn't solve the problem for me - it generated even more errors...
Comment 3 Alistair Bush (RETIRED) gentoo-dev 2010-06-27 07:22:21 UTC
Hi guys,

I wasn't able to reproduce this but have created the lib dir anyway so hopefully this will help.  Please reopen if it doesn't.