[MacPorts] #60139: Guile 3 is out
MacPorts
noreply at macports.org
Tue Apr 27 14:09:09 UTC 2021
#60139: Guile 3 is out
----------------------+--------------------
Reporter: casouri | Owner: (none)
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: guile |
----------------------+--------------------
Comment (by szhorvat):
I gave up on this, but I'll add a few notes in the hope that they'll save
others some time.
Several of the current ports do not work with guile 3.0. In many cases,
the first problem is that their build system looks specifically for
version 2.2. Therefore, it would make sense to provide three versions
concurrently: `guile18` (existing) `guile22` (current version should be
renamed) and `guile` 3.0. Guile supports parallel installations:
https://www.gnu.org/software/guile/manual/html_node/Parallel-
Installations.html
The `--program-suffix` option can be used to add `22` to the end of all
executable names. It will rename most, but not all things that may
conflict. The `guile18` port does not use this mechanism, I do not know
why. Perhaps guile's configure script didn't support it at that time. But
it can be used for version 2.2. Note that not everything will be renamed
accordingly. Notably, the texinfo documentation pages and `guile.m4` need
to be renamed manually or deleted (see how `guile18` does this).
After this is done, not everything will be working as it should when
version 3.0 and 2.2 are installed concurrently. Some dependent ports will
detect the `guile-2.2` _libraries_, but will pick up the `guile` (i.e.
version 3.0) executable instead of `guile22` and throw an error due to the
version mismatch. This is possibly because of the installed `guile.m4`
file, which provides information to the configure script. I don't have
enough knowledge about autoconf to be able to patch this, but I note that
`guile18` patches it extensively.
Some dependents are old an unmaintained, e.g. `g-wrap` had its last
release in 2015. I wouldn't hold my breath to see these updated for guile
3.0 compatibility. The build systems of these likely will also need
patching do actually pick up version 2.2.
Most dependents of `guile` in MacPorts are `nomaintainer`.
--
Ticket URL: <https://trac.macports.org/ticket/60139#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list