Hi! Marius Bakke <mar...@gnu.org> skribis:
> Ludovic Courtès <l...@gnu.org> skriver: > >> Ludovic Courtès <l...@gnu.org> skribis: >> >>> Quite a few packages depend on (guix build syscalls), starting from >>> ‘ant-bootstrap’ (since commit cded3a759356ff66b7df668bcdbdfa0daf96f4c5 >>> in 2018) up to GNOME-related packages such as ‘mutter’ (commit >>> d1c2fe248a7a326189fb7dcae64a59ece96251ba a few months ago). > > It seems the usage of (guix build syscalls) in java.scm and > ant-build-system is solely for 'mkdtemp!'. Guile 3.0.6 gained > 'mkdtemp', so I suppose we can switch to that? I think so. > If there are backwards-compatibility concerns it seems possible to > modify these procedures to not need to 'mkdtemp' at all. > > I can prepare a patch along these lines, but not sure if we need to > maintain backward compatibility in (gnu packages). In (gnu packages)? The only thing to keep in mind is that (guix build gnu-build-system) is used by packages in commencement.scm, which run on Guile 2.0; thus gnu-build-system.scm cannot rely on features that appeared in Guile 3.0. However, for ant-build-system.scm it’s fine to rely on those. Thanks, Ludo’.