Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378319 - sys-devel/gcc-4.5.3: Illegal option: @ Usage: jar
Summary: sys-devel/gcc-4.5.3: Illegal option: @ Usage: jar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 384291
Blocks:
  Show dependency tree
 
Reported: 2011-08-08 12:24 UTC by Martin Mokrejš
Modified: 2011-09-26 20:40 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,30.54 KB, text/plain)
2011-08-08 12:40 UTC, Martin Mokrejš
Details
build.log.bz2 (build.log.bz2,137.26 KB, text/plain)
2011-08-08 21:48 UTC, Martin Mokrejš
Details
build.log.bz2 (as binary) (build.log.bz2,137.26 KB, text/plain)
2011-08-08 21:50 UTC, Martin Mokrejš
Details
build.log.bz2 (really as THE BINARY now) (build.log.bz2,137.26 KB, application/octet-stream)
2011-08-08 21:52 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2011-08-08 12:24:10 UTC
Incidentally I glanced over this message from gcc compile process:

libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.5.3/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.5.3/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I/var/tmp/portage/sys-devel/gcc-4.5.3/work/gcc-4.5.3/boehm-gc/include -fexceptions -Iinclude -I././targ-include -I.//libc/include -g -O2 -march=pentium4m -pipe -fno-strict-aliasing -ggdb -fexceptions -Iinclude -I././targ-include -I.//libc/include -c /var/tmp/portage/sys-devel/gcc-4.5.3/work/gcc-4.5.3/boehm-gc/dyn_load.c  -fPIC -DPIC -o .libs/dyn_load.o
Illegal option: @
Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...
Options:
    -c  create new archive
    -t  list table of contents for archive
    -x  extract named (or all) files from archive
    -u  update existing archive
    -v  generate verbose output on standard output
    -f  specify archive file name
    -m  include manifest information from specified manifest file
    -e  specify application entry point for stand-alone application 
        bundled into an executable jar file
    -0  store only; use no ZIP compression
    -M  do not create a manifest file for the entries
    -i  generate index information for the specified jar files
    -C  change to the specified directory and include the following file
If any file is a directory then it is processed recursively.
The manifest file name, the archive file name and the entry point name are
specified in the same order as the 'm', 'f' and 'e' flags.

Example 1: to archive two class files into an archive called classes.jar: 
       jar cvf classes.jar Foo.class Bar.class 
Example 2: use an existing manifest file 'mymanifest' and archive all the
           files in the foo/ directory into 'classes.jar': 
       jar cvfm classes.jar mymanifest -C foo/ .


# emerge --info
Portage 2.1.10.10 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.13-r4, 3.0.0 i686)
=================================================================
System uname: Linux-3.0.0-i686-Mobile_Intel-R-_Pentium-R-_4_-_M_CPU_1.80GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 08 Aug 2011 07:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.7-r2, 2.7.2-r2, 3.1.4-r2, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            3.3.6-r1, 4.2.4-r1, 4.3.5, 4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.81-r2
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage science
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Nero-EULA-US skype-eula AdobeFlash AdobeFlash-10 AdobeFlash-10.1 PUEL"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4m -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/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="-O2 -march=pentium4m -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en cs cz"
MAKEOPTS="-j4"
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/local/portage /home/mmokrejs/proj/sci"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="32bit 7zip R X Xaw3d a52 aac aalib ace acl acpi alsa amr amrnb amrwb apache apache2 apng audacious audiofile bash-completion bcmath berkdb blas bluetooth boost branding bzip2 cairo caps cblas cdda cddb cdparanoia cdr cgi clamav cli colordiff compress consolekit cpio cracklib crypt cscope css ctype cups curl curlwrappers cxx dbi dbus dga dhcp dia directfb djbfft dri dts dv dvb dvd dvdr dvdread emboss emf enblend encode enscript exif expat faad fam fame fat fbcon ffmpeg fftw firefox flac flash fontconfig fortran fpx ftp gcj gd gdbm gdu ggi gif gimp gimpprint glibc-compat20 glibc-omitfp glut gmp gnuplot gnutls gpgme gphoto2 gpm graphviz gs gsl gsm gtk gtkhtml hdf hdf5 hp2xx i8x0 iconv icu id3 id3tag ieee1394 imagemagick imlib inifile innodb ithreads jack java javascript jbig jce jikes jpeg jpeg2k kdtree kerberos ladspa lame lapack laptop largefile lcms leim libcaca libnotify libwww live lzo lzw mad maildir matroska mhash mikmod mime ming mjpeg mmap mmx mng mod_python modperl modplug modules motif mozilla moznoirc mp2 mp3 mp4 mpeg mplayer mudflap mule musepack mxdatetime mysql mysqli nat ncurses netcdf netpbm network nls nntp nptl nptlonly nsplugin ntfs numeric objc ogg opengl openmp openssl pam pango parport pcmcia pcntl pcre pdf perl php plotutils plugin png pnm policykit postproc postscript ppds pppd procmail pymol python qt3support qt4 quicktime rar raw readline recode reiserfs romio rpm samba sasl scanner scp sdl seamonkey server session sftp sift slp smime sndfile soap sockets spell sqlite srt sse sse2 ssl startup-notification static-libs subtitles subversion svg svgz sysfs sysvipc t1lib tcl tcpd theora threads tidy tiff tk transcode truetype udev unicode urandom usb userlocales utils uuencode v4l v4l2 vcd vhook vim-syntax vim-with-x vorbis wavpack wifi win32codecs wmf wxwindows x264 x86 xanim xcb xcf xfs xft xinerama xinetd xml xorg xpm xsl xslt xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="intel-8x0m" 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 cgi cgid dbd deflate dir disk_cache env expires ext_filter file_cache filter headers icu ident imagemap include info log_config mem_cache mime mime_magic php rewrite setenvif speling status unique_id userdir usertrack vhost_alias negotiation" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" PHP_TARGETS="php-5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Mokrejš 2011-08-08 12:27:20 UTC
I placed the build.log at http://195.113.57.32/~mmokrejs/build.log
Comment 2 Martin Mokrejš 2011-08-08 12:32:23 UTC
# ls -lat /var/tmp/portage/sys-devel/gcc-4.5.3/work/build/
total 816
drwxr-xr-x 13 root root   4096 Aug  8 14:17 i686-pc-linux-gnu
drwxr-xr-x  2 root root   4096 Aug  8 14:04 fixincludes
drwxr-xr-x 10 root root   4096 Aug  8 13:58 .
-rw-r--r--  1 root root     10 Aug  8 13:58 stage2-lean
-rw-r--r--  1 root root      7 Aug  8 13:58 stage_current
-rw-r--r--  1 root root      7 Aug  8 13:58 stage_last
-rw-r--r--  1 root root     10 Aug  8 13:58 compare
drwxr-xr-x  4 root root   4096 Aug  8 13:58 libiberty
drwxr-xr-x  3 root root   4096 Aug  8 13:58 libcpp
drwxr-xr-x  2 root root   4096 Aug  8 13:58 libdecnumber
drwxr-xr-x 13 root root  20480 Aug  8 13:58 gcc
drwxr-xr-x  2 root root   4096 Aug  8 13:17 intl
-rw-r--r--  1 root root     10 Aug  8 13:16 stage1-lean
drwxr-xr-x  4 root root   4096 Aug  8 12:03 build-i686-pc-linux-gnu
-rw-r--r--  1 root root  39622 Aug  8 12:03 config.log
-rw-r--r--  1 root root      7 Aug  8 12:03 stage_final
-rw-r--r--  1 root root 660807 Aug  8 12:03 Makefile
-rwxr-xr-x  1 root root  40696 Aug  8 12:03 config.status
-rw-r--r--  1 root root     13 Aug  8 12:03 serdep.tmp
drwx------  8 root root   4096 Aug  8 12:03 ..
#
# ls -lat /var/tmp/portage/sys-devel/gcc-4.5.3/work/build/i686-pc-linux-gnu/
total 92
drwxr-xr-x  2 root root  4096 Aug  8 14:17 libjava
drwxr-xr-x  4 root root  4096 Aug  8 14:17 boehm-gc
drwxr-xr-x  4 root root 24576 Aug  8 14:17 libgfortran
drwxr-xr-x  2 root root  4096 Aug  8 14:17 libobjc
drwxr-xr-x 13 root root  4096 Aug  8 14:17 .
drwxr-xr-x  4 root root  4096 Aug  8 14:06 libiberty
drwxr-xr-x 10 root root  4096 Aug  8 14:06 libstdc++-v3
drwxr-xr-x  6 root root  4096 Aug  8 14:04 libmudflap
drwxr-xr-x  3 root root  4096 Aug  8 14:04 zlib
drwxr-xr-x  7 root root  4096 Aug  8 14:02 libffi
drwxr-xr-x 10 root root  4096 Aug  8 13:58 ..
drwxr-xr-x  5 root root  4096 Aug  8 13:58 libgomp
drwxr-xr-x  2 root root 24576 Aug  8 13:58 libgcc
# ls -lat /var/tmp/portage/sys-devel/gcc-4.5.3/work/build/i686-pc-linux-gnu/libjava/
total 60
drwxr-xr-x  2 root root  4096 Aug  8 14:17 .
-rw-r--r--  1 root root 23758 Aug  8 14:17 config.log
-rw-r--r--  1 root root   481 Aug  8 14:17 conftest.c
-rw-r--r--  1 root root    99 Aug  8 14:17 conftest.er1
-rw-r--r--  1 root root    99 Aug  8 14:17 conftest.err
-rw-r--r--  1 root root   430 Aug  8 14:17 confdefs.h
-rw-r--r--  1 root root     0 Aug  8 14:17 libgcj.spec
-rw-r--r--  1 root root   637 Aug  8 14:17 standard.omit
-rw-r--r--  1 root root    25 Aug  8 14:17 vm-tools-packages
-rw-r--r--  1 root root     0 Aug  8 14:17 config.cache
drwxr-xr-x 13 root root  4096 Aug  8 14:17 ..
-rw-r--r--  1 root root     3 Aug  8 14:17 multilib.out
#
Comment 3 Martin Mokrejš 2011-08-08 12:40:10 UTC
Created attachment 282561 [details]
config.log

A config.log from currently opened file during the build process, /var/tmp/portage/sys-devel/gcc-4.5.3/work/build/i686-pc-linux-gnu/libjava/config.log where I hope is logged something related to the error message.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-08 21:37:06 UTC
(In reply to comment #1)
> I placed the build.log at http://195.113.57.32/~mmokrejs/build.log

Attach that, please.
Comment 5 Martin Mokrejš 2011-08-08 21:48:16 UTC
Created attachment 282619 [details]
build.log.bz2

Was too large to be allowed by bugzilla for upload but compression works. ;)

I suspect you answer that it is about boehm-gc related code ... but let's see what you really say ... ;)
Comment 6 Martin Mokrejš 2011-08-08 21:50:46 UTC
Created attachment 282621 [details]
build.log.bz2 (as binary)
Comment 7 Martin Mokrejš 2011-08-08 21:52:25 UTC
Created attachment 282623 [details]
build.log.bz2 (really as THE BINARY now)

Time for sleep I think, sorry ... ;)
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2011-08-12 03:00:50 UTC
Java guys, is anyone familiar enough with gcj that they can help out with java bugs?  We have multiple problems and no one on toolchain that really uses it.
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-09-26 09:45:19 UTC
I don't think this error breaks anything as there should be fallback from jar to zip according to bug 196643. IMHO we should prevent gcc from using jar at all, also for bug 384291 (which has thus possibly same solution as this one).
Comment 10 SpanKY gentoo-dev 2011-09-26 20:34:43 UTC
yes, once we force the internal jar, this bug should resolve itself
Comment 11 SpanKY gentoo-dev 2011-09-26 20:40:48 UTC
and that commit is now in

http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.470&r2=1.471