When I try to emerge bluej-bin (2.0.0), I get the warning "extra bytes at beginning or within zipfile" at some point during extraction, and later it fails with the following error messages... >>> Install bluej-bin-2.0.0 into /var/tmp/portage/bluej-bin-2.0.0/image/ category dev-java install: cannot stat `lib/*.zip': No such file or directory !!! ERROR: dev-java/bluej-bin-2.0.0 failed. !!! Function java-pkg_dojar, Line 163, Exitcode 1 !!! lib/*.zip not found Reproducible: Always Steps to Reproduce: 1.ACCEPT_KEYWORDS="~x86" emerge bluej-bin Actual Results: Emerge failed. I already had bluej-bin-1.3.5 installed before trying to emerge 2.0.0 My JDK is blackdown-jdk-1.4.1 My JRE is sun-jre-bin-1.4.2.05 I was able to workaround the problem by commenting out the line "java-pkg_dojar lib/*.zip" in bluej-bin-2.0.0.ebuild, but although it installed, i was unable to compile anything with Bluej... Portage 2.0.51_rc6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1 i686) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1400MHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 Binutils: sys-devel/binutils-2.14.90.0.7-r4 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-pipe -O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://chod.cwru.edu/gentoo http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse sse2 ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
The same thing happened to me when I tried installing it. You could try installing the latest sun-jdk and then emerge it using that instead of blackdown. Maybe the new version of Bluej is incompatible with the Blackdown jdk. I'm not sure if it'll work but it might be worth a try.
i get the same error when trying to compile, also with bluej-2.0.2, any idea?
are there also problems with 2.0.4? that versions works fine for me. the version which have caused the trouble arent in the portage any longer. maybe this one can be closed? if so, 2.0.4 maybe can marked stable on amd64 and x86 atleast as i don't have any problems with that version on these architectures.
there is still the problem, that bluej-2.0.4 doesn't compile any application here with blackdown-jdk, haven't tried sun-jdk though
According to their website, BlueJ requires Java 2 SDK 1.4.2 or newer. So it's no surprise that it failed with Blackdown JDK 1.4.1. I guess version 1.4.2 (or newer) of the SDK is needed, weither Sun or Blackdown, though I have not tested either.
i have blackdown-jdk-1.4.2.01 installed
Re-assign wrt Bug 23545, maintainer retired.
bluej-bin-2.0.0 isn't in portage anymore, maybe that's why the file cannot be found
Enough is enough - treecleaners, please remove this. It either doesn't emerge, or doesn't work, has no maintainer, this bug has been sitting here for ages, binary ebuilds are against Java policy, and nothing depends on it.
package masked for removal
Do not delete the BlueJ from the portage as it is quite popular in universities within linux users!
(In reply to comment #11) > Do not delete the BlueJ from the portage as it is quite popular in universities > within linux users! > Unless you find a maintainer, it will be removed because the ebuild is broken and noone maintains it. http://www.gentoo.org/proj/en/qa/treecleaners/#doc_chap6
Some people have no problems installing bluej(like me) when you remove it, you are bringing a whole community down as bluej is the best free tool for creating java applications on linux. Fine with me if you leave it as hard masked, although I prefer masked but do not remove it!
I'm taking a look at this.
Alec Warner, I'm a member of the gentoo-java mailing lsit who has also started to try to make an ebuild for bluej. I'm however new and have not made any ebuild yet. I've discovered that the current ebuild inherits java-pkg while it should be java-pkg-2 I'm not sure if you are on that mailinglist as well, please send me a mail(blommethomas@gmail.com) if you could use some help. I've sended a mail to blueJ to ask for the source code but I'm afraid that will be impossible due to their license
I did not have such problems when trying to install blueJ. I easily managed to install 2.0.5. But I'm looking through the different steps manually now and indeed when I perform: # unzip Installer.class Archive: Installer.class End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of Installer.class or Installer.class.zip, and cannot find Installer.class.ZIP, period. I do not understand what that line does in the ebuild where it is mentioned as: unzip -qq ${S}/Installer.class -d ${S} I aslo prefer to remove the -qq signs as they prevent error messages to pop up and that's why I think no one sees this error
bluej is working fine here. Using Sun JDK though.
Guess Steve really needs to follow Alec's guidelines ...
Ok I've played with this locally and can only manage to get it half working, there is one more thing I want to try... I know the Java team would prefer the sources for this app but at present only the editor source is available..
Yeah please don't remove it from portage. I also need this program for school. It's indeed very popular at universities. If i could write ebuilds i would write them but i don't have the knowledge to do that. Thanx
Please kill this
Being the reporter, I feel compelled to inform you that I've switched distro (though I liked Gentoo!) therefore I can't verify if this bug report is still valid or not. On the other hand, I do not wish to close it if it hasn't been resolved. I let this to the discretion of the Gentoo devs. --Thanks p.s.: dont remove BlueJ from Portage if it works for other people. Also BlueJ is AFAIK quite easy to install by following the instructions on their official site!
Since I asked the java herd repeatedly if they want to maintain it and said "gimme teh ebuild" (which should be present in bug 121141 since 2006-09-19), I think its time for it to go.
(In reply to comment #23) > I think its time for it to go. +1
(In reply to comment #23) > Since I asked the java herd repeatedly if they want to maintain it and said > "gimme teh ebuild" (which should be present in bug 121141 since 2006-09-19), I > think its time for it to go. > Well I actually took a look at this at one point. It just needs one eclass mod and it would be good to go (the local version I have) which Caster agreed to do but I never got into doing I guess. I probably should look into it myself.