Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65923 - dev-java/bluej-bin removal request
Summary: dev-java/bluej-bin removal request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 122772
  Show dependency tree
 
Reported: 2004-09-30 07:59 UTC by kenkon
Modified: 2007-07-20 08:48 UTC (History)
6 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 kenkon 2004-09-30 07:59:12 UTC
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"
Comment 1 Stephen Earl 2004-09-30 08:57:40 UTC
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.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-11-17 05:54:02 UTC
i get the same error when trying to compile, also with bluej-2.0.2, any idea?
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-03 11:28:08 UTC
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.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-03 12:29:03 UTC
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
Comment 5 kenkon 2005-03-18 10:47:44 UTC
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.
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-18 13:25:53 UTC
i have blackdown-jdk-1.4.2.01 installed
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-06-27 03:14:29 UTC
Re-assign wrt Bug 23545, maintainer retired.
Comment 8 Thomas Blomme 2006-10-26 12:54:13 UTC
bluej-bin-2.0.0 isn't in portage anymore, maybe that's why the file cannot be found
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-10-26 13:03:13 UTC
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.

Comment 10 Steve Dibb (RETIRED) gentoo-dev 2006-10-26 13:10:48 UTC
package masked for removal
Comment 11 Sergej Pisarenko 2006-10-27 13:35:58 UTC
Do not delete the BlueJ from the portage as it is quite popular in universities within linux users!
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-10-28 21:26:34 UTC
(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
Comment 13 Thomas Blomme 2006-10-30 07:06:53 UTC
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!
Comment 14 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-10-30 08:18:26 UTC
I'm taking a look at this.
Comment 15 Thomas Blomme 2006-10-30 09:25:44 UTC
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
Comment 16 Thomas Blomme 2006-10-30 09:39:14 UTC
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
Comment 17 Amir Taaki 2006-10-31 10:37:55 UTC
bluej is working fine here. Using Sun JDK though.
Comment 18 Christian Heim (RETIRED) gentoo-dev 2006-11-04 12:53:35 UTC
Guess Steve really needs to follow Alec's guidelines ...
Comment 19 Alec Warner (RETIRED) archtester gentoo-dev Security 2007-01-11 01:19:16 UTC
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..
Comment 20 Ewoud Canniere 2007-01-25 14:26:01 UTC
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
Comment 21 Alec Warner (RETIRED) archtester gentoo-dev Security 2007-05-12 22:54:53 UTC
Please kill this
Comment 22 kenkon 2007-06-09 07:58:44 UTC
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!
Comment 23 Christian Heim (RETIRED) gentoo-dev 2007-07-01 15:28:01 UTC
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.
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2007-07-01 16:04:10 UTC
(In reply to comment #23)
> I think its time for it to go.

+1
Comment 25 Petteri Räty (RETIRED) gentoo-dev 2007-07-01 17:16:10 UTC
(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.