Opened 13 years ago

Closed 9 years ago

Last modified 9 years ago

#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)

Portfile (4.8 KB) - added by rkmspence@… 13 years ago.
lang/guile18/Portfile
Portfile.2 (2.5 KB) - added by rkmspence@… 13 years ago.
lang/guile/Portfile (version 2 series)
mdk-guile2-support.patch (7.4 KB) - added by aconchillo@… 11 years ago.
mdk Guile 2 support
guile.log (25.1 KB) - added by JadeNB1729@… 10 years ago.
Log attached to http://lists.gnu.org/archive/html/bug-guile/2014-07/msg00002.html
patch-guile-Portfile.diff (5.4 KB) - added by jul_bsd@… 10 years ago.

Download all attachments as: .zip

Change History (38)

Changed 13 years ago by rkmspence@…

Attachment: Portfile added

lang/guile18/Portfile

Changed 13 years ago by rkmspence@…

Attachment: Portfile.2 added

lang/guile/Portfile (version 2 series)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Port: guile guile18 added

comment:2 Changed 12 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 12 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:4 Changed 11 years ago by macports@…

What is the current status on this?

comment:5 Changed 11 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:6 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added

Cc Me!

comment:7 Changed 11 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 11 years ago by aconchillo@…

Attachment: mdk-guile2-support.patch added

mdk Guile 2 support

comment:8 Changed 11 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:9 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:10 Changed 11 years ago by jon.armond@…

Cc: jon.armond@… added

Cc Me!

comment:11 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… removed

Cc Me!

comment:12 Changed 10 years ago by ecbrown (Eric Brown)

Cc: eric.c.brown@… added

Cc Me!

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:14 Changed 10 years ago by JadeNB1729@…

Cc: JadeNB1729@… added

Cc Me!

comment:15 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@…

Attachment: guile.log added

comment:16 in reply to:  15 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: https://trac.macports.org/ticket/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.

Version 0, edited 10 years ago by JadeNB1729@… (next)

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:19 Changed 10 years ago by macports@…

Cc: macports@… removed

Cc Me!

comment:20 Changed 10 years ago by chutzpah (Christopher Hansen)

Cc: cphansen@… added

Cc Me!

comment:21 Changed 9 years ago by mwette

Cc: mwette@… added

Cc Me!

comment:22 in reply to:  21 Changed 9 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:23 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added

Cc Me!

comment:24 Changed 9 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:25 Changed 9 years ago by jul_bsd@…

Cc: jul_bsd@… added

Cc Me!

comment:26 Changed 9 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 9 years ago by drkp (Dan Ports)

updated lilypond and lilypond-devel to use guile18 in r129582.

comment:28 Changed 9 years ago by drkp (Dan Ports)

and geda-gaf in r129585.

comment:29 Changed 9 years ago by drkp (Dan Ports)

Owner: changed from macports-tickets@… to dports@…
Status: newassigned

comment:30 Changed 9 years ago by drkp (Dan Ports)

r129612: updated libmatheval to use guile18.

comment:31 Changed 9 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 9 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed

Updated guile to 2.0.11 in r129616

revbumped/updated dependents:

swig-guile doesn't need a revbump as far as I can tell.

comment:33 Changed 9 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.

Note: See TracTickets for help on using tickets.