Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172093 - dev-java/gnu-crypto-2.0.1-r2 do not compile
Summary: dev-java/gnu-crypto-2.0.1-r2 do not compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 172095 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-24 20:56 UTC by Cristian
Modified: 2007-05-27 00:46 UTC (History)
0 users

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 Cristian 2007-03-24 20:56:40 UTC
when I make emerge -pvt eclipse-sdk, I have the following error:
########
CLASSPATH=. javac -source 1.3 -target 1.3 org/bouncycastle/asn1/BERConstructedSequence.java
Note: org/bouncycastle/asn1/BERConstructedSequence.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
CLASSPATH=. javac -source 1.3 -target 1.3 org/bouncycastle/asn1/BERInputStream.java
org/bouncycastle/asn1/BERInputStream.java:37: <anonymous org.bouncycastle.asn1.BERInputStream$1> is not abstract and does not override abstract method equals(java.lang.Object) in org.bouncycastle.asn1.DERObject
                                                                                void encode(
                                                                                     ^
Note: org/bouncycastle/asn1/BERInputStream.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
make[1]: *** [org/bouncycastle/asn1/BERInputStream.class] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-java/gnu-crypto-2.0.1-r2/work/gnu-crypto-2.0.1/jce'
make: *** [all-recursive] Error 1

!!! ERROR: dev-java/gnu-crypto-2.0.1-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4431:   Called src_compile
  gnu-crypto-2.0.1-r2.ebuild, line 31:   Called die

!!! (no error message)
!!! 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/gnu-crypto-2.0.1-r2/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.10"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info
########

my emerge --info:

emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) XP Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 23 Mar 2007 15:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe -fomit-frame-pointer -march=athlon-xp"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=i686 -pipe -fomit-frame-pointer -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mirror.solnet.ch"
LANG="it"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X accessibility acpi alsa asf berkdb bitmap-fonts cdr cli cracklib crypt cups dbus dri dvd dvdr fortran gdbm gpm gtk hal howl iconv ipv6 isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libg++ mad midi mmx mp3 mpeg ncurses nls nptl nptlonly nsplugin opengl oss pam pcre perl png ppds pppd python qt3 qt4 readline reflection session spl sse sse2 ssl symlink tcpd threads tk truetype-fonts type1-fonts udev unicode win32codecs x86 xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
######



Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-24 22:20:01 UTC
*** Bug 172095 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-24 22:51:33 UTC
This is NOT a Gentoo Bugzilla bug; read the descriptions.
Comment 3 Cristian 2007-03-25 00:46:07 UTC
(In reply to comment #2)
> This is NOT a Gentoo Bugzilla bug; read the descriptions.
> 

why??? 

I do not understand ...

you excuse to me if I have mistaken, but where I would have to mail?
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-03-26 15:47:09 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > This is NOT a Gentoo Bugzilla bug; read the descriptions.
> > 
> 
> why??? 
> 
> I do not understand ...
> 
> you excuse to me if I have mistaken, but where I would have to mail?
> 

This comment was about you assigning the bug to the wrong product. The description:
Bugzilla:   	Bugs regarding the Gentoo Bugzilla website  (bugs.gentoo.org),
Bugs related to ebuilds belong in 'Gentoo Linux'

See this bug has nothing to do with the software running this site.

Does java-check-environment report that everything is in order? Please also attach /var/tmp/portage/dev-java/gnu-crypto-2.0.1-r2/temp/build.log
Comment 5 Cristian 2007-03-26 20:58:09 UTC
> 
> This comment was about you assigning the bug to the wrong product. The
> description:
> Bugzilla:       Bugs regarding the Gentoo Bugzilla website  (bugs.gentoo.org),
> Bugs related to ebuilds belong in 'Gentoo Linux'
> 
Use gentoo-linux, is the error comes outside when launch “emerge eclipse-sdk”. 


> See this bug has nothing to do with the software running this site.
> 
> Does java-check-environment report that everything is in order? 
this is my java-check-environment
 * === Java Environment Checker ===
 * The purpose of this script is to check the sanity of your Java Environment.
 * We have significantly changed and improved the way Java is handled in many respects.
 * Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml for details

 * Checking vm_environment_files ...                                                                        [ ok ]

 * Checking user_settings ...                                                                               [ ok ]

 * Checking generation_1_system_vm ...                                                                      [ ok ]

 * Checking virtual_provides ...                                                                            [ ok ]

 * Checking overlays_eclasses ...                                                                           [ ok ]

 * Java environment is sane. Congratulations!



>Please also
> attach /var/tmp/portage/dev-java/gnu-crypto-2.0.1-r2/temp/build.log
> 
this is my  "/var/tmp/portage/dev-java/gnu-crypto-2.0.1-r2/temp/build.log"
 
* Using: sun-jdk-1.5
>>> Unpacking source...
>>> Unpacking gnu-crypto-2.0.1.tar.bz2 to /var/tmp/portage/dev-java/gnu-crypto-2.0.1-r2/work
 * Applying gnu-crypto-2.0.1-jdk15.patch ...                                                                [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/gnu-crypto-2.0.1-r2/work/gnu-crypto-2.0.1 ...
 * econf: updating gnu-crypto-2.0.1/gcj/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gnu-crypto-2.0.1/gcj/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gnu-crypto-2.0.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gnu-crypto-2.0.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib JAVAC=javac JAVACFLAGS=-source 1.3 -target 1.3 --with-jce=yes --with-sasl=yes --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
You have no CLASSPATH, I hope it is good
checking if javac works... yes
checking for uudecode... no
configure: WARNING: I have to compile Test.class from scratch
checking if /opt/sun-jdk-1.5.0.10/bin/java works... yes
checking for jar... jar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for Windows and DOS and OS/2 style pathnames... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating jce/Makefile
config.status: creating security/Makefile
config.status: creating source/Makefile
config.status: creating source/gnu/testlet/config.java
config.status: creating source/mauve-gnu-crypto
config.status: creating docs/Makefile
config.status: creating docs/diagrams/Makefile
Making all in jce
make[1]: Entering directory `/var/tmp/portage/dev-java/gnu-crypto-2.0.1-r2/work/gnu-crypto-2.0.1/jce'
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/BadPaddingException.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/Cipher.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/CipherInputStream.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/CipherOutputStream.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/CipherSpi.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/EncryptedPrivateKeyInfo.java
Note: javax/crypto/EncryptedPrivateKeyInfo.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/ExemptionMechanism.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/ExemptionMechanismException.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/ExemptionMechanismSpi.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/IllegalBlockSizeException.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/KeyAgreement.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/KeyAgreementSpi.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/KeyGenerator.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/KeyGeneratorSpi.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/Mac.java
CLASSPATH=. javac -source 1.3 -target 1.3 javax/crypto/MacSpi.java
                                                                                 
Note: Recompile with -Xlint:deprecation for details.
1 error
make[1]: *** [org/bouncycastle/asn1/BERInputStream.class] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-java/gnu-crypto-2.0.1-r2/work/gnu-crypto-2.0.1/jce'
make: *** [all-recursive] Error 1

!!! ERROR: dev-java/gnu-crypto-2.0.1-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4431:   Called src_compile
  gnu-crypto-2.0.1-r2.ebuild, line 31:   Called die

!!! (no error message)
!!! 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/gnu-crypto-2.0.1-r2/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.10"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info

------------------
If they serve other information I will be happy for giving them.

nb:I have resolved inserting in /etc/portage/package.mask    
   this row ">=dev-java/gnu-crypto-2.0.1-r1"  ;

Regards
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2007-03-28 18:32:54 UTC
> CFLAGS="-O2 -mtune=i686 -pipe -fomit-frame-pointer -march=athlon-xp"

As a side note these CFLAGS look weird as -march means to generate code that runs only with athlon-xp (or something with all those features). I think -mtune=i686 is just ignored in this case.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-03-28 18:40:33 UTC
Do you get different errors on different emerges? Original report contains:

org/bouncycastle/asn1/BERInputStream.java:37: <anonymous
org.bouncycastle.asn1.BERInputStream$1> is not abstract and does not override
abstract method equals(java.lang.Object) in org.bouncycastle.asn1.DERObject
                                                                               
void encode(

This not in the build.log which you inlined but were supposed to attach as a file.
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-04-11 12:55:34 UTC
(In reply to comment #7)
> Do you get different errors on different emerges? Original report contains:
> 

Closing as NEEDINFO until you can answer this. No-one of us was able to reproduce this either.
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2007-05-27 00:46:16 UTC
(In reply to comment #8)
> Closing as NEEDINFO until you can answer this. No-one of us was able to
> reproduce this either.
> 

The best guess I can give here is that you somehow managed to get a parallel compile going on although the ebuild forces -j1