Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161426 - stable request for dev-lang/helium-1.6
Summary: stable request for dev-lang/helium-1.6
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL: http://www.cs.uu.nl/helium/download.html
Whiteboard:
Keywords: STABLEREQ
Depends on: 212725 247044
Blocks:
  Show dependency tree
 
Reported: 2007-01-10 22:34 UTC by Petteri Räty (RETIRED)
Modified: 2010-05-19 18:45 UTC (History)
5 users (show)

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


Attachments
patch to migrate to gen2 (helium.patch,2.57 KB, patch)
2009-02-10 23:15 UTC, Vlastimil Babka (Caster) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-01-10 22:34:43 UTC
http://www.cs.uu.nl/helium/download.html

When version bumping you should start using the generation 2 eclasses (java-pkg-2, java-ant-2). Please run the new ebuild through the java team to ensure that it follows our standards.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-01-27 20:41:21 UTC
*helium-1.6 (06 Apr 2007)

  06 Apr 2007; Andres Loeh <kosmikus@gentoo.org> +files/helium-wrapper-1.6,
  +helium-1.6.ebuild:
  Added new version 1.6, which is going to replace the broken older ebuilds.

Seems kosmikus didn't notice this bug so let's just make this a gen 2 migration. kosmikus: if you don't respond to this bug in a couple of weeks we will do the migration ourselves.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2008-01-27 20:43:11 UTC
Seems the 1.6 ebuild he committed doesn't use java eclasses so we just have to get rid of the old ebuilds so making this a stable request.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2008-02-15 12:37:02 UTC
kosmikus is retiring
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-09-13 22:40:44 UTC
Haskell: please consider if 1.6 can be stabilized and CC x86 if yes. The old versions are one of the last few packages that still use gen1 java eclass.
Comment 5 Lennart Kolmodin (RETIRED) gentoo-dev 2008-10-02 06:03:24 UTC
It turns out that helium-1.6 doesn't build with the latest stable dev-lang/ghc (6.8.x).

We'll look into patching the build system, wait 30 days and then stabilize.
Ok?
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2008-10-11 19:47:00 UTC
(In reply to comment #5)
> 
> We'll look into patching the build system, wait 30 days and then stabilize.
> Ok?
> 
 sure
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2008-12-16 00:45:06 UTC
(In reply to comment #5)
> It turns out that helium-1.6 doesn't build with the latest stable dev-lang/ghc
> (6.8.x).
> 
> We'll look into patching the build system, wait 30 days and then stabilize.
> Ok?
> 

How's this coming along?
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-02-09 17:39:27 UTC
Any news? helium is one of last 3 packages using the old gen1 java eclasses. Also I wonder if you need the eclass at all? In 1.6 you removed it from inherit. In both 1.1 and 1.6 the only thing that could need java (after first look) is interpreter/Hi.java for which I couldn't find any reference in makefiles or anywhere. Does it mean it really doesn't need java? In that case we could just remove java-pkg from inherit in 1.1 and 1.2 and be done.
Comment 9 Lennart Kolmodin (RETIRED) gentoo-dev 2009-02-09 19:32:31 UTC
I don't have an x86 machine atm to test, is the changes easily done?

There is also a console interpreter, so I think we could do without the GUI in java, it seems quite minimalistic anyway and just wraps the console app.
It's just a single java file though, should be simple to install using the new java eclasses too?
However, I could not get it to work properly, so I'd vote to just not install it :)
Comment 10 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-02-09 21:54:58 UTC
(In reply to comment #9)
> I don't have an x86 machine atm to test, is the changes easily done?

I don't have gcc 3.x required for the ghc used in helium 1.1/1.2 to test, but the changes should be easy yes.

> There is also a console interpreter, so I think we could do without the GUI in
> java, it seems quite minimalistic anyway and just wraps the console app.
> It's just a single java file though, should be simple to install using the new
> java eclasses too?

Oh I see, you are just directly downloading and installing the .jar, well that's done the same way in new eclasses. So a simple change in inherit from java-pkg to java-pkg-2 should work.

> However, I could not get it to work properly, so I'd vote to just not install
> it :)

That's another option, in that case java-pkg can be removed from inherit altogether, as done in 1.6.
Comment 11 Lennart Kolmodin (RETIRED) gentoo-dev 2009-02-10 19:20:30 UTC
I'd like to do this to both ebuilds:

diff -u -B -r1.20 helium-1.1.ebuild
--- helium-1.1.ebuild   31 Oct 2007 13:22:01 -0000      1.20
+++ helium-1.1.ebuild   10 Feb 2009 19:17:58 -0000
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/dev-lang/helium/helium-1.1.ebuild,v 1.20 2007/10/31 13:22:01 dcoutts Exp $
 
-inherit java-pkg
+inherit java-utils-2
 
 DESCRIPTION="Helium (for learning Haskell)"
 HOMEPAGE="http://www.cs.uu.nl/helium"

Meaning just to convert into the new eclasses.
It requires an ancient version of the ghc compiler, I doubt anyone actually uses 1.1 or 1.2 of helium.
Comment 12 Serkan Kaba (RETIRED) gentoo-dev 2009-02-10 19:26:13 UTC
(In reply to comment #11)
> -inherit java-pkg
> +inherit java-utils-2

You can't inherit java-utils-2 directly. You need to inherit java-pkg-2 instead.
Comment 13 Lennart Kolmodin (RETIRED) gentoo-dev 2009-02-10 19:42:57 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > -inherit java-pkg
> > +inherit java-utils-2
> 
> You can't inherit java-utils-2 directly. You need to inherit java-pkg-2
> instead.
> 

Ok, so
-inherit java-pkg
+inherit java-pkg-2
then. Dare I change this without a machine to test it on? Any takers? :)
Comment 14 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-02-10 23:15:43 UTC
Created attachment 181586 [details, diff]
patch to migrate to gen2

OK tried to test the migration by commenting the build, leaving just the java stuff, and there was really a catch :) the gen2 java-pkg_dojar() treats symlinks differently and DISTDIR contains symlinks. The patch is therefore copying the jar to WORKDIR first. I've also changed the unnecessary jdk dep to a versioned jre dep.
Comment 15 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-04-17 20:08:48 UTC
(In reply to comment #14)
> Created an attachment (id=181586) [edit]
> patch to migrate to gen2

Just applied it, no more gen-1. Leaving the original stable request to your consideration.

Comment 16 Alistair Bush (RETIRED) gentoo-dev 2010-03-16 15:46:33 UTC
Are we able to move this defect alone?

Thanks
Comment 17 Alistair Bush (RETIRED) gentoo-dev 2010-03-16 15:53:47 UTC
(In reply to comment #16)
> Are we able to move this defect alone?
> 
> Thanks
> 

along. sorry 4:30 am brains work slowly.
Comment 18 Petteri Räty (RETIRED) gentoo-dev 2010-03-16 20:57:54 UTC
(In reply to comment #16)
> Are we able to move this defect alone?
> 
> Thanks
> 

Yes. Let's add arches as haskell seems inactive.
Comment 19 Lennart Kolmodin (RETIRED) gentoo-dev 2010-03-16 21:41:52 UTC
Helium 1.6 is 4 years old, dead upstream and not a lot of action around it at all in the community.

I'm not sure it even compiles with recent GHC versions? I don't have the hardware to test.
Comment 20 Ivan 2010-03-16 22:24:32 UTC
I wouldn't quite say "dead upstream": upstream _is_ using it and is developing more infrastructure around it (such as a plagiarism detector), but they're no longer updating it (and it seems that upstream are the only users of Helium).

(This is what I came out with from a talk with one of Helium's developers earlier this year.)
Comment 21 Thomas Kahle (RETIRED) gentoo-dev 2010-03-17 21:17:30 UTC
Please fix bug 212725 before stabilization.
Comment 22 Thomas Kahle (RETIRED) gentoo-dev 2010-03-17 21:27:31 UTC
After installing the missing deps I was running into the --as-needed failures of bug 247044 :(
Comment 23 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-05-19 14:55:13 UTC
This package is definitely not ready, see Thomas' comments above. Please re-open when these issues are fixed.
Comment 24 Lennart Kolmodin (RETIRED) gentoo-dev 2010-05-19 18:45:43 UTC
I've talked to upstream about getting a fixed version. Awaiting reply.

In the current state I can't say I'd like helium to be stable, or even present in portage at all. Let's see what upstream thinks.