#29307 closed update (fixed)
GNU Guile version 2 series
Reported by: | rkmspence@… | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | aconchillo@…, dbevans (David B. Evans), drkp (Dan Ports), dweber@…, markemer (Mark Anderson), gwright@…, jyrkiwahlstedt, kevin@…, michaelld (Michael Dickens), mww@…, nerdling (Jeremy Lavergne), tommyd@…, cooljeanius (Eric Gallager), jon.armond@…, ecbrown (Eric Brown), JadeNB1729@…, chutzpah (Christopher Hansen), mwette, larryv (Lawrence Velázquez), jul_bsd@… |
Port: | guile guile18 |
Description
GNU Guile (lang/guile) has started a new stable release series (version 2) and Portfiles need to change to reflect this.
In the spirit of the existing guile16 port, I have created a guile18 port for the old stable series and changed the existing guile port for version 2.0. All this, of course, in a private repository.
Portfiles attached.
Details: The guile18 port uses the same patch files as the former guile from from which it was copied. post-destroot fixups follow those in the guile16 port. guile 2.0.1 builds and installs without patches.
Attachments (5)
Change History (38)
Changed 14 years ago by rkmspence@…
Changed 14 years ago by rkmspence@…
Attachment: | Portfile.2 added |
---|
lang/guile/Portfile (version 2 series)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Port: | guile guile18 added |
---|
comment:2 Changed 13 years ago by jmroot (Joshua Root)
Cc: | aconchillo@… devans@… dports@… dweber@… emer@… gwright@… jwa@… kevin@… michaelld@… mww@… snc@… tommyd@… added |
---|---|
Version: | 1.9.2 |
Adding maintainers of dependent ports to Cc, since I don't know how this will affect them.
comment:3 Changed 13 years ago by drkp (Dan Ports)
For gnucash: it will still need guile 1.8, so we'll need to keep it around as guile18. It would probably require patching gnucash to find guile18 in its new location, as we did back when guile was updated to 1.8 (and gnucash was still using 1.6).
I imagine the same is true of at least some of the other dependents...
comment:5 Changed 12 years ago by rkmspence@…
I'm not a MacPorts maintainer and have no real experience as such. So, all I can do is state the current position and ask that it be addressed by somebody qualified.
Port 'guile16' is the 1.6.x series. Port 'guile' is still the old 1.8.x series. There is no sign of a port for the guile 2.x series.
Basically, nothing has changed.
comment:7 Changed 12 years ago by aconchillo@…
I was the maintainer of mdk. As I posted in ticket #32345 I will not maintain the port anymore.
However, one of the last things I did was a patch for mdk to support Guile 2. The patch was sent to mdk's author. Still waiting for release.
I will attach the patch here, it should apply cleanly.
Changed 12 years ago by aconchillo@…
Attachment: | mdk-guile2-support.patch added |
---|
mdk Guile 2 support
comment:8 Changed 12 years ago by aconchillo@…
Hi, just let you know that mdk 1.2.7 has been released with my Guile 2 patch included. So, you just need to update mdk.
comment:13 Changed 10 years ago by cooljeanius (Eric Gallager)
Seeing as more GNU software is adding guile support these days (gnumake 4.0, gdb in its upcoming 7.8 release), having these guile Portfiles committed would make it easier to add guile support in these other ports as well. Although the one in the 2.0.x series may need to be updated to a newer version, as it is now at 2.0.11...
comment:15 follow-up: 16 Changed 10 years ago by cooljeanius (Eric Gallager)
Apparently there are still some upstream issues that need to be worked out that prevent guile 2.0.11 from building with MacPorts libraries: http://lists.gnu.org/archive/html/bug-guile/2014-07/msg00002.html
Unfortunately the "attached log" in the message does not seem to be coming through for me...
Changed 10 years ago by JadeNB1729@…
comment:16 Changed 10 years ago by JadeNB1729@…
Replying to egall@…:
Apparently there are still some upstream issues that need to be worked out that prevent guile 2.0.11 from building with MacPorts libraries: http://lists.gnu.org/archive/html/bug-guile/2014-07/msg00002.html
Unfortunately the "attached log" in the message does not seem to be coming through for me...
(Sorry if this appears twice; it seems to have got eaten the first time.)
That's my bug report. The attached log downloads as a '.bin' file, but it seems to behave fine when read as a text file; I attach it here, re-named as guile.log.
I think that the problem might be something in my environment, since I can't build MacPorts's guile either: #44112. On the other hand, the HomeBrew formula *does* build for me without trouble. The only difference that I can find is https://github.com/Homebrew/homebrew/blob/49bb89e1e494603fbfb41a3092c30ba4ed9f27a0/Library/Formula/guile.rb#L50-53, but, when I e-mailed mkhl to find out more about the fix, he said that he no longer develops on Macs, and didn't think that he could offer any insight.
comment:17 Changed 10 years ago by jul_bsd@…
Here, it builds/destroot/installs fine. also solves #44112 with current Mavericks and macports 2.3.1.
https://github.com/Homebrew/homebrew/blob/67995a62d81e9ea9d53213e2cd221dae81fa9436/Library/Formula/guile.rb http://fink.cvs.sourceforge.net/fink/dists/10.7/stable/main/finkinfo/languages/guile20.info?view=markup
Didn't check for 1.8 if we want to keep a guile18 in tree. Seems both fink and homebrew have it
Changed 10 years ago by jul_bsd@…
Attachment: | patch-guile-Portfile.diff added |
---|
comment:18 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | macports@… added |
---|---|
Keywords: | haspatch added |
Duplicate #44892 has another patch for updating guile to version 2.
comment:22 Changed 10 years ago by mwette
Replying to mwette@…:
Cc Me!
What about installing guile 2.0(.11) as guile20? This is what I have done for myself, though I am skipping install of documentation.
comment:24 Changed 10 years ago by drkp (Dan Ports)
I am looking into this. There doesn't appear to be any problem upgrading guile to 2.0.x or moving to a guile18 port. The hard part is checking compatibility for dependent ports and patching them to use guile18 when necessary...
Looking at the list of dependencies:
- autogen - seems ok with guile20
- denemo - needs patching
- g-wrap(16) - seems ok; needs a 18 subport
- geda-gaf - needs patching
- gnotime - currently doesn't build
- gnucash(-devel) - ok
- harminv - builds ok, haven't tested further
- InsightToolkit(312/314) - doesn't build
- libctl - builds ok
- lilypond(-devel) - needs patching
- slib-guile(16) - needs updating
- swig-guile - builds ok, haven't tested
- taxbird - doesn't build
- TeXmacs - doesn't build
- libmatheval - needs patch
Notice that many of these don't even build now (on my 10.9 system)...
comment:26 Changed 10 years ago by drkp (Dan Ports)
In the interests of getting this process started, I've committed the guile18 port in r129579. I will commit the guile 2.0 update once we've patched the dependent ports to either support guile 2.0 or use guile18.
comment:27 Changed 10 years ago by drkp (Dan Ports)
updated lilypond and lilypond-devel to use guile18 in r129582.
comment:29 Changed 10 years ago by drkp (Dan Ports)
Owner: | changed from macports-tickets@… to dports@… |
---|---|
Status: | new → assigned |
comment:31 Changed 10 years ago by drkp (Dan Ports)
So here's where we are:
Patched to use guile18:
- lilypond, lilypond-devel
- geda-gaf
- libmatheval
Looks OK with guile20 (just needs a revbump or minor patch):
- autogen
- denemo
- gnucash, gnucash-devel
- harminv
- libctl
- swig-guile
Needs some kind of fix eventually:
- slib-guile
- g-wrap
Totally broken at the moment:
- gnotime
- taxbird
- InsightToolkit, InsightToolkit312, InsightToolkit314
- TeXmacs
I'll shortly update guile and the ports in the second category. I'm going to skip the last two for now. slib-guile and g-wrap are libraries that nothing is using, and the last category are ports that don't even build now.
comment:32 Changed 10 years ago by drkp (Dan Ports)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:33 Changed 10 years ago by markemer (Mark Anderson)
I'll look at fixing geda-gaf. I'm working on getting the latest version to build and actually show something on the screen, but a rev bump to guile 2 seems to be in order.
lang/guile18/Portfile