This function works for me:
pkgver() {
cd $srcdir/ccl
# get version from version.lisp file & the svn revision
local ver_prog="(format t \"~a.~a_r~a\" ccl::*openmcl-major-version*
ccl::*openmcl-minor-version*
$(svnversion))"
# use head to remove trailing NIL
echo -n $ver_prog | ./lx86cl$_arch -n -Q -b -l level-1/version.lisp | awk '/Version/ {print $2}'|sed 's+-+.+g'|sed 's+M++'
}
Search Criteria
Package Details: ccl-svn 1.10_r16193-1
Package Actions
| Package Base: | ccl-svn |
|---|---|
| Description: | The Clozure Common Lisp implementation |
| Upstream URL: | http://ccl.clozure.com/ |
| Category: | devel |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | Rogof |
| Maintainer: | Rogof |
| Last Packager: | Rogof |
| Votes: | 3 |
| First Submitted: | 2014-09-08 22:14 |
| Last Updated: | 2014-09-09 18:16 |
Latest Comments
Comment by haawda
Comment by haawda
No, I do not.
At revision 16341.
==> Validating source files with sha1sums...
ccl ... Skipped
==> Extracting sources...
-> Creating working copy of ccl svn repo...
==> Starting pkgver()...
> Error of type UNBOUND-VARIABLE: Unbound variable: 16341M
> While executing: CCL::CHEAP-EVAL-IN-ENVIRONMENT, in process listener(1).
==> ERROR: pkgver is not allowed to contain colons, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: (7F5FDA04F728) : 0 (PRINT-CALL-HISTORY :CONTEXT NIL :PROCESS NIL :ORIGIN NIL :DETAILED-P T :COUNT 1152921504606846975 :START-FRAME-NUMBER 0 :STREAM #<SYNONYM-STREAM to *TERMINAL-IO* #x30200049B71D> :PRINT-LEVEL 2 :PRINT-LENGTH 5 :SHOW-INTERNAL-FRAMES NIL :FORMAT :TRADITIONAL) 853
Comment by Rogof
The function properly works on my pc's.
Are you using an aur wrapper perhaps?
Comment by haawda
Hm, I just encountered this must have changed with recent pacman upgrade. It used to work before.
Comment by haawda
The pkgver function always returns "1.10_r16193-1", but svn is at 16339.