Gentoo Archives: gentoo-lisp

From: Thomas Kahle <tomka@g.o>
To: gentoo-lisp@l.g.o
Subject: Re: [gentoo-lisp] dev-scheme/guile:2.0 status update and migration plan
Date: Tue, 16 Apr 2013 07:34:56
Message-Id: 20130416072010.GM3606@schlaumatte.Speedport_W723_V_Typ_A_1_00_096
In Reply to: [gentoo-lisp] dev-scheme/guile:2.0 status update and migration plan by Cyprien Nicolas
1 Hi,
2
3 Thanks for this update!
4
5 On 23:42 Mon 15 Apr 2013, Cyprien Nicolas wrote:
6 > Hi all. Here is a tentative guide for explaining how to move all
7 > guile stuff in the overlay to the tree, and hope avoiding
8 > forthcoming bugs. This guide is written according to what
9 > I recall for the year and a half since I started slotting guile.
10
11 As a consumer of lisp stuff, I would be mostly interested in plans to
12 unmask a version of guile:2. The package net-mai/mu that I maintain
13 supports only guile:2 and all those features are disabled at the moment.
14 It has been like this for a felt eternity now. So +1 for unmasking
15 guile:2 as soon as possible.
16
17 Cheers,
18 Thomas
19
20 >
21 > I should have written this a year ago, I was waiting for some Lisp
22 > Project dev to get enough time to dig into guile, but it has not
23 > happened, and more and more packages require their attention. I did
24 > not find the time to become myself a dev either, and time passes.
25 >
26 >
27 > I CC proxy-maint@ here, as I volonteer to maintain guile for the time
28 > being, and I think I'm currently the one using the lisp overlay having
29 > the best knowledge in Gentoo's guile status.
30 >
31 >
32 > Foreword
33 > --------
34 >
35 > I used SLOTted guile before I pushed it to the lisp overlay [1].
36 > I had some issues regarding eselect-guile script that I fixed
37 > since. I no longer have any Gentoo machine (my last and main laptop
38 > died two weeks ago), I only have a Gentoo Alt/Prefix amd64-linux on my
39 > work laptop, but I haven't really tested guile-2 on prefix yet. I am
40 > confident with what I have done with guile, but it needs more
41 > testing. Pushing it to the overlay with p.mask will benefit from
42 > flameeyes' tinderbox.
43 >
44 > 1. http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=8409eb91bf10a18080d33cb0c69797335f5aeec9
45 >
46 >
47 > Here is a short outline: first I list the new packages that need to be
48 > added to the tree, then review the known issues, and propose
49 > a migration plan.
50 >
51 > New Ebuilds
52 > ===========
53 >
54 >
55 > dev-scheme/guile-1.8.8-r2
56 > -------------------------
57 >
58 > Same version as in-tree guile-1.8.8-r1, but not compatible with.
59 > I wrote it long ago, and the tree version has been updated since, and
60 > I didn't get it in sync with. Changes summary:
61 >
62 > - Bump to EAPI4
63 > - Add +readline in IUSE and sys-libs/readline conditionnal dependency
64 > using a patch available in $FILESDIR
65 > - It misses the ~arm-linux and ~x64-macos KEYWORDS
66 > - R/Depends on app-admin/eselect-guile (see below)
67 > - 3 configure changes --program-suffix, slotted --infodir and use_with
68 > readline
69 > - einstall --infodir (I don't remember why it is here, seems redundant
70 > with configure's parameter)
71 > - Rename the guile.m4 file to guile-1.8.m4
72 > - Remove env file manipulation
73 > - Add eselect guile update ifunset to src_post{inst,rm} phases.
74 >
75 > dev-scheme/guile-2.0.9
76 > ----------------------
77 >
78 > The main change compared to guile-1.8 is the removal of emacs support,
79 > no longer supported by upstream. All the rest of the ebuild seems
80 > mostly trivial.
81 >
82 >
83 > app-admin/eselect-guile
84 > -----------------------
85 >
86 > An eselect module for managing slotted guile versions, barely tested.
87 > Explicit block on <dev-scheme/guile-1.8.8-r2 which is not
88 > properly slotted.
89 >
90 >
91 > 2. Known Issues
92 > ===============
93 >
94 > app-text/texmacs
95 > ----------------
96 >
97 > See https://bugs.gentoo.org/show_bug.cgi?id=436400
98 >
99 > Won't support guile-2, said grozin. I patched the texmacs build system
100 > to explicitly change all `guile-config` calls to
101 > `guile-config-1.8`. This patch is gentoo-specific and unlikely to be
102 > merged upstream anytime soon, as guile-1.8 does not provide any
103 > pkgconfig interface (guile-2.0 does).
104 >
105 > See texmacs-1.0.7.16-r2 in the overlay, here are the differences:
106 > - Change guile dependency to specify the correct slotted version
107 > 1.8.8-r2
108 > - Add a patch (in FILESDIR) to force guile*-1.8 in the build system.
109 >
110 > I haven't followed new texmacs releases (tree has 1.0.7.17 and
111 > 1.0.7.19).
112 >
113 >
114 > dev-scheme/greg
115 > ---------------
116 >
117 > See https://bugs.gentoo.org/show_bug.cgi?id=351991
118 >
119 > Almost used by nothing (only one package in sci- needs greg when
120 > FEATURE=test). Needs a proper fix, like texmacs maybe.
121 >
122 > Others
123 > ------
124 >
125 > I have not check all reverse deps, maybe there are more issue to
126 > come. We won't find them until we get all guile stuff in the tree.
127 >
128 >
129 > 3. Migration Plan
130 > =================
131 >
132 > Here is how I would move all that, based on my experience, quizes and
133 > documentation I read.
134 >
135 > First push app-admin/eselect-guile, as nothing depends on it yet, and
136 > won't block anything. Then push guile-1.8.8-r2, p.mask it, as it may
137 > break several packages in ~arch. Maybe just drop keywords for testing
138 > the slot system?. Then push guile-2.0.9, p.mask or w/o keywords, same
139 > reasons.
140 >
141 >
142 > This might mot be ideal, it will break texmacs and stuff, but I don't
143 > know of a better way to achieve it yet. Some of you have more
144 > experience here :-).
145 >
146 >
147 > I hope this helps, feel free to ask any question regarding guile if
148 > needed. I thank the one who volonteer to make this happen.
149 >
150 > Oh, as a sidenote, guile upstream does not really support 1.8 anymore,
151 > they don't have time to, and concentrate all efforts on 2.0, so moving
152 > to guile-2.0 is getting more and more urgent day after day. I heard
153 > remors that future autogen version will require guile-2.0. The earlier
154 > we push guile-2.0, the more testing window we have.
155 >
156 > Cheers,
157 > --
158 > Cyprien Nicolas (Fulax)
159 > Gentoo Lisp project contrib
160
161
162
163 --
164 Thomas Kahle
165 http://dev.gentoo.org/~tomka/

Attachments

File name MIME type
signature.asc application/pgp-signature