Page MenuHomeFreeBSD

devel/cl-asdf: Update to 3.3.7
ClosedPublic

Authored by jrm on Dec 8 2022, 5:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 3:58 AM
Unknown Object (File)
Sun, Dec 15, 10:13 PM
Unknown Object (File)
Thu, Dec 5, 1:57 AM
Unknown Object (File)
Thu, Dec 5, 1:56 AM
Unknown Object (File)
Thu, Dec 5, 1:56 AM
Unknown Object (File)
Sat, Nov 30, 12:02 PM
Unknown Object (File)
Nov 27 2024, 9:33 AM
Unknown Object (File)
Nov 4 2024, 12:25 AM
Subscribers

Details

Summary

Also:

  • resolve warnings from SBCL about the ASDF port being outdated and subsequently disabled [0] by installing version.lisp-expr
  • re-add the devel/cl-asdf-sbcl port to the tree in a subsequent commit because it is required to avoid filesystem violation errors when building *-sbcl ports with Poudriere.

[0]

WARNING: You are using ASDF version 3.3.1 (probably from (require "asdf") or loaded by quicklisp) and have an older version of ASDF (and older than 2.27 at that) registered at #P"/usr/local/lib/common-lisp/asdf/asdf.asd". Having an ASDF installed and registered is the normal way of configuring ASDF to upgrade itself, and having an old version registered is a configuration error. ASDF will ignore this configured system rather than downgrade itself. In the future, you may want to either: (a) upgrade this configured ASDF to a newer version, (b) install a newer ASDF and register it in front of the former in your configuration, or (c) uninstall or unregister this and any other old version of ASDF from your configuration. Note that the older ASDF might be registered implicitly through configuration inherited from your system installation, in which case you might have to specify :ignore-inherited-configuration in your in your ~/.config/common-lisp/source-registry.conf or other source-registry configuration file, environment variable or lisp parameter. Indeed, a likely offender is an obsolete version of the cl-asdf debian or ubuntu package, that you might want to upgrade (if a recent enough version is available) or else remove altogether (since most implementations ship with a recent asdf); if you lack the system administration rights to upgrade or remove this package, then you might indeed want to either install and register a more recent version, or use :ignore-inherited-configuration to avoid registering the old one. Please consult ASDF documentation and/or experts.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 48656
Build 45542: arc lint + arc unit

Event Timeline

jrm requested review of this revision.Dec 8 2022, 5:06 PM

Remove some commented code in asdf-init.lisp

devel/cl-asdf-sbcl: New port to install ASDF FASL for SBCL

With a few tweaks to devel/cl-asdf and re-adding devel/cl-asdf-sbcl, our common
lisp ports behave as before, unless certain conditions are not met.

Details:

  • lang/sbcl has its own bundled asdf, but it still depends on devel/cl-asdf, presumably because devel-cl-asdf installs ${LOCALBASE}/etc/asdf-init.lisp.
  • If we install (the updated) devel/cl-asdf without also installing (the re-added) devel/cl-asdf-sbcl, ASDF will start trying to write files under ${LOCALBASE}/lib/common-lisp on users' systems.
  • lang/sbcl cannot depend on devel/cl-asdf-sbcl, because this would create a dependency loop.

With this update, users can get into trouble if they install some lisp port
without also installing the assocaited fasl port. If they don't, we're back to
having asdf trying to write things under ${LOCALBASE}/lib/common-lisp.

I will take more time to look deeper into the ASDF code and documentation to see
what the best way is to eiter tell it to stop automatically building the fasl
files, or build and install everything under the user's home directory.

If we did want remove SBCL's dependecy on devel/cl-asdf, perhaps we could
decouple devel/cl-asdf and asdf-init.lisp and create a new port to just install
the configuration.

Update to 3.3.7 and re-add devel/cl-asdf-sbcl to the tree

jrm retitled this revision from devel/cl-asdf: [WIP] Update to 3.3.6 to devel/cl-asdf: Update to 3.3.7.Nov 22 2024, 3:32 PM
jrm edited the summary of this revision. (Show Details)
jrm edited the summary of this revision. (Show Details)

devel/cl-asdf-sbcl: Prevent the fasl file from being installed under the build/ directory.

Split changes into multiple reviews

Handle removal of asdf-init.lisp

This revision was not accepted when it landed; it landed in state Needs Review.Fri, Dec 20, 2:48 AM
This revision was automatically updated to reflect the committed changes.