Bug 260960 - lang/guile1: lang/guile2: support concurrent installations
Summary: lang/guile1: lang/guile2: support concurrent installations
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-05 18:29 UTC by Martin Neubauer
Modified: 2022-02-10 04:43 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bofh)
m.ne: maintainer-feedback? (bofh)


Attachments
patch for guile1 and guile2 to coexist (7.30 KB, patch)
2022-01-05 18:29 UTC, Martin Neubauer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Neubauer 2022-01-05 18:29:01 UTC
Created attachment 230741 [details]
patch for guile1 and guile2 to coexist

There was some discussion[1] recently about the inability to install the lilypond package together with other software requiring guile2. I used this occasion to explore the work needed to enable concurrent installations. Attached is the result of my efforts so far.

Some notes:
- I haven't done anything with lang/guile yet, but there might be no conflict any longer with the patch applied.
- It might be preferable to only use the first part of the version number as program suffix. I just went for the first two because those were used already for the pkg-plist substitutions.
- The treatment of guile.m4 admittedly is a little hamfisted, but I wanted to have a demonstrable patch without spending much time digging through the build system.
- Before submitting there might be some work needed for the various consumers to pick the correct version if another is present as well. I already included changes for print/lilypond{,-devel}.

[1]: https://lists.gnu.org/archive/html/lilypond-user/2021-12/msg00277.html
Comment 1 Muhammad Moinur Rahman freebsd_committer 2022-02-01 18:51:57 UTC
Currently we also have lang/guile so I will need some times to check this. This might break lots of stuffs.
Comment 2 Martin Neubauer 2022-02-10 04:43:16 UTC
(In reply to Muhammad Moinur Rahman from comment #1)
Thanks for looking into it. If you need help with checking/updating the dependent ports feel free to let me know. I should be able to put some time into this task. My main reason for only changing the ports present in the submitted patch was to ensure the approach chosen is acceptable before putting too much effort in. That said, even though I'd prefer having this done rather sooner than later, objectively it's not particularly urgent. After all there never was support for multiple installed guile versions (although, arguably, there probably should have been.)