Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182898 - drscheme needs bump to 370
Summary: drscheme needs bump to 370
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Scheme Project
URL: http://download.plt-scheme.org/drscheme/
Whiteboard:
Keywords:
Depends on: 185536
Blocks:
  Show dependency tree
 
Reported: 2007-06-22 16:07 UTC by Marijn Schouten (RETIRED)
Modified: 2007-08-02 10:23 UTC (History)
3 users (show)

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


Attachments
370 ebuild (DOESN'T WORK) (drscheme-370-r1.ebuild,2.25 KB, text/plain)
2007-07-07 18:42 UTC, Hendrik Boom
Details
New version of DESTDIR patch for 370 (drscheme-370-DESTDIR-3m.patch,790 bytes, patch)
2007-07-07 18:44 UTC, Hendrik Boom
Details | Diff
build log for failed 370 ebuild (build.log,200.85 KB, text/plain)
2007-07-07 18:53 UTC, Hendrik Boom
Details
Old fPIC patch still being used (drscheme-350-fPIC.patch,2.91 KB, patch)
2007-07-15 16:50 UTC, Hendrik Boom
Details | Diff
drscheme-999999.ebuild (drscheme-999999.ebuild,2.01 KB, text/plain)
2007-07-24 12:34 UTC, Marijn Schouten (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marijn Schouten (RETIRED) gentoo-dev 2007-06-22 16:07:18 UTC
drscheme needs bump to 370
Comment 1 Martin Wohlleben 2007-07-06 20:28:31 UTC
Hi,
I would also appreciate if the maintainer could update dev-scheme/drscheme to at least version 369. 
Took a look at the ebuild, but it seems to require some tricks to get this thing installed and so I didn't succeed with my basic ebuild knowledge.

Thanks in advance
Martin
Comment 2 Hendrik Boom 2007-07-07 18:39:45 UTC
So, I decided to give the version bump a whack, but I've hit a wall. I've updated the ebuild and fixed one of the patches for the new version (the other one still works), but don't use them except for testing, as they don't work >_<. The biggest difference in the new version is that the 3m collector is now the default upstream, with the cgc now being optional.

Here's the problem, after a certain time I hit this compile error: 

---
standard-module-name-resolver: collection not found: #<path:compiler/private> in any of: (#<path:/home/non-user/tmp/portage/dev-scheme/drscheme-370-r1/work/plt-370/src/mred/gc2/xform-collects>)
---

Even though when I check afterwards, /home/non-user/tmp/portage/dev-scheme/drscheme-370-r1/work/plt-370/src/mred/gc2/xform-collects/compiler/private does exist.

not sure what to do at this point, so I'll attach the relevant files and let someone else take a stab at it. >_<
Comment 3 Hendrik Boom 2007-07-07 18:42:14 UTC
Created attachment 124163 [details]
370 ebuild (DOESN'T WORK)

My try at the version bump, but it doesn't compile successfully.
Comment 4 Hendrik Boom 2007-07-07 18:44:45 UTC
Created attachment 124165 [details, diff]
New version of DESTDIR patch for 370

Manually went through the new Makefile.in applying the changes manually (too many changes in the new version for it to apply cleanly), then remade the patch with diff.
Comment 5 Hendrik Boom 2007-07-07 18:53:18 UTC
Created attachment 124167 [details]
build log for failed 370 ebuild
Comment 6 Hendrik Boom 2007-07-15 16:50:00 UTC
Created attachment 124924 [details, diff]
Old fPIC patch still being used

Just so that non-gentoo users can still see all the applied patches.
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2007-07-15 18:51:33 UTC
Hi Hendrik, fortunately today I remembered again the important rule that strange build failures can occur from build systems with broken support for parallel building. Using this line, it should compile:

MAKEOPTS="-j1" emake || die "emake failed"

I'll probably fix this soon now.
Comment 8 Hendrik Boom 2007-07-15 23:07:06 UTC
(In reply to comment #7)
> Hi Hendrik, fortunately today I remembered again the important rule that
> strange build failures can occur from build systems with broken support for
> parallel building. Using this line, it should compile:
> 
> MAKEOPTS="-j1" emake || die "emake failed"
> 
> I'll probably fix this soon now.
> 

Yup, just found today that it works when you add -j1 to the first (3m) emake.

emake -j1 || die "emake failed"

In fact, you could probably remove it from the second (cgc) emake as well without trouble, as that's how it was in the last version.

Thanks,
    Hendrik Boom
Comment 9 Patrick McLean gentoo-dev 2007-07-16 23:55:03 UTC
I have an ebuild that compiles, but it needs more work. I am on vacation at the moment, I should be able to commit it shortly after I get back next week.
Comment 10 Marijn Schouten (RETIRED) gentoo-dev 2007-07-19 12:45:08 UTC
It seems that the internal libtool version is broken when using --enable-shared. In a day or so an updated version should be available from [http://pre.plt-scheme.org/installers/].
Comment 11 Marijn Schouten (RETIRED) gentoo-dev 2007-07-22 14:31:53 UTC
no luck with 370.6
Comment 12 Marijn Schouten (RETIRED) gentoo-dev 2007-07-24 12:34:26 UTC
Created attachment 125867 [details]
drscheme-999999.ebuild

I worked with upstream to get all issues I was having fixed. This live ebuild which is also in our overlay works for now. To release 370 we need to patch at least configure to the new version. llvm use flag should be made to do something. Unfortunately prerelease version numbers do not change for every nightly build or we could release 370.6 or 370.7... We could also just take 370.6 and host it.
Comment 13 Marijn Schouten (RETIRED) gentoo-dev 2007-07-24 16:14:27 UTC
(In reply to comment #12)
> llvm use flag should be made to do something.

Never mind, it already does something.
Comment 14 Marijn Schouten (RETIRED) gentoo-dev 2007-07-24 17:46:52 UTC
Comment on attachment 125867 [details]
drscheme-999999.ebuild

bug fixed live ebuild in our overlay, #gentoo-lisp for more info. I will probably commit an ebuild for tonights snapshot tomorrow.
Comment 15 Marijn Schouten (RETIRED) gentoo-dev 2007-07-25 16:46:27 UTC
fixed, lots of nasty QA messages at the end though.
Comment 16 Marijn Schouten (RETIRED) gentoo-dev 2007-07-28 13:11:47 UTC
reopening until drscheme doesn't segfault anymore and is unmasked again.
Comment 17 Marijn Schouten (RETIRED) gentoo-dev 2007-08-02 10:23:44 UTC
fixed now