Package Details: cl-alexandria-git r261.521e9a0-1

Git Clone URL: https://aur.archlinux.org/cl-alexandria-git.git (read-only, click to copy)
Package Base: cl-alexandria-git
Description: A set of common-lisp help functions
Upstream URL: https://common-lisp.net/project/alexandria/
Licenses: custom
Conflicts: cl-alexandria
Provides: cl-alexandria
Submitter: jdemille
Maintainer: Ergus
Last Packager: Ergus
Votes: 7
Popularity: 0.000000
First Submitted: 2019-08-02 17:44
Last Updated: 2020-06-29 17:53

Dependencies (0)

Required by (4)

Sources (1)

Latest Comments

fabi commented on 2020-07-05 19:36

Hi @Ergus

nice, thanks. It might make sense to add 'common-lisp' and 'cl-asdf' as dependencies, too. I can adopt the package and take care of it.

Ergus commented on 2020-06-29 17:57

Hi @fabi:

I made the change. I am not using cl-alexandria so I just adopted it temporally. If you find any issue you are free to share the patch and I will apply it; or adopt it if you prefer. Best, Ergus

fabi commented on 2020-06-28 19:53

Hi,

could you please replace replaces=('cl-alexandria') with

conflicts=('cl-alexandria')
provides=('cl-alexandria')

Otherwise other packages don't recognize this package correctly (e.g. cl-bordeaux-threads). Furthermore this seems to be best practice, based on the guidlines

zonotope commented on 2020-04-07 21:34

It looks like the alexandria maintainers changed the package structure upstream. I had to make the following diff to the PKGBUILD to get it to work

diff --git a/PKGBUILD b/PKGBUILD
index 5b1cc37..7f7ebb0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,12 @@
 pkgname=cl-alexandria-git
 _pkgname=${pkgname#cl-}
 _pkgname=${_pkgname%-git}
-pkgver=r237.3b849bc
+pkgver=r260.c501bdd
 pkgver() {
   cd "$_pkgname"
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }
-pkgrel=2
+pkgrel=1
 pkgdesc="A set of common-lisp help functions"
 arch=('any')
 url="https://common-lisp.net/project/alexandria/"
@@ -23,10 +23,12 @@ package() {
   install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
   install -d "$pkgdir"/usr/share/common-lisp/source/${_pkgname}
   install -d "$pkgdir"/usr/share/common-lisp/systems
-  
-  install -m 644 -t "$pkgdir"/usr/share/common-lisp/source/${_pkgname} *.lisp
+
+  install -m 644 -t "$pkgdir"/usr/share/common-lisp/source/${_pkgname} alexandria-1/*.lisp
+  install -m 644 -t "$pkgdir"/usr/share/common-lisp/source/${_pkgname} alexandria-2/*.lisp
   install -m 644 -t "$pkgdir"/usr/share/common-lisp/source/${_pkgname} *.asd

+
   cd "$pkgdir"/usr/share/common-lisp/systems
   ln -s ../source/${_pkgname}/${_pkgname}.asd .
   ln -s ../source/${_pkgname}/${_pkgname}.asd $pkgname-unicode.asd

zonotope commented on 2020-04-07 21:04

Hi. This package fails to build for me. After cloning the repository and changing to the package directory, I get:

------------------------------------------------------
[cl-alexandria-git] [ master]
% ➜ makepkg -si       

==> Making package: cl-alexandria-git r237.3b849bc-2 (Tue 07 Apr 2020 04:57:52 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning alexandria git repo...
Cloning into bare repository '/home/zonotope/code/aur/cl-alexandria-git/alexandria'...
remote: Enumerating objects: 1057, done.
remote: Counting objects: 100% (1057/1057), done.
remote: Compressing objects: 100% (418/418), done.
remote: Total 1057 (delta 712), reused 961 (delta 636), pack-reused 0
Receiving objects: 100% (1057/1057), 187.15 KiB | 667.00 KiB/s, done.
Resolving deltas: 100% (712/712), done.
==> Validating source files with md5sums...
    alexandria ... Skipped
==> Extracting sources...
  -> Creating working copy of alexandria git repo...
Cloning into 'alexandria'...
done.
==> Starting pkgver()...
==> Updated version: cl-alexandria-git r260.c501bdd-1
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '*.lisp': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

took 3s

Does anyone know how to fix?

z3t0 commented on 2018-05-27 06:29

There seems to be an issue with the official source.

I used the mirror at https://github.com/keithj/alexandria to get it to install.

haawda commented on 2017-10-17 19:43

updated

DacodaS commented on 2017-02-28 06:39

:D :D

Also, it looks like this tries to symlink cl-alexandria.asd to /usr/share/common-lisp/systems - unfortunately that one doesn't exist. Gotta use the other _pkgname variable you created.

haawda commented on 2017-02-19 07:42

Description changed, the old one was a simple copy'n'paste error.

DacodaS commented on 2017-02-19 04:04

I think the description of this package needs to be changed, but when I made my own version of the package, I also was confused as to what I should call it.