Package Details: leiningen 1:2.6.1-3

Git Clone URL: https://aur.archlinux.org/leiningen.git (read-only)
Package Base: leiningen
Description: Automating Clojure projects without setting your hair on fire.
Upstream URL: https://github.com/technomancy/leiningen
Licenses: EPL
Submitter: None
Maintainer: ckafi
Last Packager: ckafi
Votes: 122
Popularity: 5.178311
First Submitted: 2010-05-19 02:29
Last Updated: 2016-04-22 20:40

Pinned Comments

ckafi commented on 2016-04-21 08:39

Giving Ultimate trust to unknown keys is a terrible idea and I absolutely do *not* recommend it. As with other signed packages you've got three options:

• import the key and sign it locally
gpg --recv-keys 5A92E04305696D78 && gpg --lsign-key 5A92E04305696D78

• add the key to the 'validpgpkeys' array in the PKGBUILD
validpgpkeys=('2E708FB2FCECA07FF8184E275A92E04305696D78')

• use makepkg --skippgpcheck

Once again, do NOT give ultimate trust to random keys from the internet!

Latest Comments

hidebu commented on 2016-04-21 10:53

I see. I just commented it because I could manage it only that way... after makepkg I reverted it. but yes, it is really BAD idea, also I forgot to check how to skip verifying PGP sign..
just to verify a sign of file, I usually don't do that neither...

I removed the comment.

ckafi commented on 2016-04-21 08:39

Giving Ultimate trust to unknown keys is a terrible idea and I absolutely do *not* recommend it. As with other signed packages you've got three options:

• import the key and sign it locally
gpg --recv-keys 5A92E04305696D78 && gpg --lsign-key 5A92E04305696D78

• add the key to the 'validpgpkeys' array in the PKGBUILD
validpgpkeys=('2E708FB2FCECA07FF8184E275A92E04305696D78')

• use makepkg --skippgpcheck

Once again, do NOT give ultimate trust to random keys from the internet!

ronjouch commented on 2016-04-20 09:02

@hidebu I certainly do *not* want to give ultimate trust to an unkown third party; here's a layman explanation of what the consequences of ultimate trust are: http://security.stackexchange.com/questions/69062/what-is-the-difference-between-full-and-ultimate-trust

This workaround seems worse than the problem being addressed; hoping someone or the maintainer @ckafi proposes/commits a proper fix.

synthetic commented on 2016-04-19 23:40

Same here:
leiningen-2.6.1-standalone.zip ... FAILED (unknown public key 5A92E04305696D78)

lianxiangru commented on 2016-04-19 18:14

Once again:
leiningen-2.6.1-standalone.zip ... FAILED (unknown public key 5A92E04305696D78)

heapifyman commented on 2016-04-19 13:43


gpg verification fails: unknown key 5A92E04305696D78

after downloading gpg key, build fails with: key is not trusted

ckafi commented on 2016-03-24 16:55

Can't reproduce the validity check failures

mayweed commented on 2016-03-20 18:10

That package should be in an official repo, with an optional dependency to clojure...

abigguyforyou commented on 2016-03-18 18:24

Once again, lein does not pass the validity check.

kuroneko commented on 2015-12-11 02:57

I'm getting validity check failure on lein.

ckafi commented on 2015-12-08 07:55

Sorry for the late update!

galaux commented on 2015-11-26 17:22

Update please? :)

ackalker commented on 2015-08-11 09:49

I'm getting:

==> Validating source files with sha1sums...
lein ... FAILED
lein.1 ... Passed

I know that this is because I built the package before (version 1:2.5.1-1) and when building the latest version, makepkg picks up the old `lein` which was downloaded before.
Would you perhaps consider versioning the downloaded `lein`? This will prevent the issue and also allow for easy diffing between two versions. Thanks in advance.

ckafi commented on 2015-01-11 15:45

Again, can't reproduce that packer bug.

essenceoffoo commented on 2015-01-11 08:47

I just had the same packer bug. But it's easy to work around this simply by going to /tmp/packerbuild-*/leiningen/leiningen/ and execute sudo pacman -U leiningen-*.pkg.tar.xz

ckafi commented on 2014-10-11 08:59

Can't reproduce the packer bug. Build fine on my machine.

psychoteadrink commented on 2014-10-08 15:10

I'm getting the following error when installing via packer:

error: 'leiningen-2.5.0-1*.pkg.tar.xz': could not find or read package

ckafi commented on 2014-09-18 16:57

GitHub is magic: Just adding .atom to the URL turns most things into Atom feeds.

ckafi commented on 2014-09-18 14:59

I did not add the git suffix because the package does not build directly from the VCS but from the latest stable source (hosted on github). The checksums are included to provide some basic integ check. If you don't like this, you can skip the check with --skipinteg. I will fix this package as soon as I'm home. Maybe I'm going to link to specific stable commits in the future. Does anyone know how to get an RSS from a github branch?

HER0_01 commented on 2014-09-18 13:57

Perhaps a package which pulls from git should have -git appended to the name and should exclude checksums.

But if you disagree, the new sha1 for lein is 119b4c8bacfa7f7809bce3cd0233b186ffdbc6d5

NebuPookins commented on 2014-09-17 00:54

PKGBUILD broken

new sum for len: 119b4c8bacfa7f7809bce3cd0233b186ffdbc6d5
len.1 stays the same and passes.

ckafi commented on 2014-08-10 05:52

Thanks, updated.

popoxee commented on 2014-08-10 04:55

PKGBUILD broken

new sum for len: c28fc30c7ba04ce35b00171cb86e142d62e297cd
len.1 stays the same and passes.

ckafi commented on 2014-06-11 12:23

Thanks.

dk0r commented on 2014-06-11 02:02

//Current pkg does not build:

==> Validating source files with sha1sums...
lein ... FAILED
lein.1 ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build leiningen.

//Please update the PKGBUILD w/ the following sums:

lein 4ad84b8ed9540e9a57ea3783392c1b942534270d
lein.1 290b634c0648e0710911aeee71f795401af6b2e7

dk0r commented on 2014-06-11 02:00

==> Validating source files with sha1sums...
lein ... FAILED
lein.1 ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build leiningen.

Please update the PKGBUILD w/ the following sums:
lein 4ad84b8ed9540e9a57ea3783392c1b942534270d
lein.1 290b634c0648e0710911aeee71f795401af6b2e7

dk0r commented on 2014-06-11 01:31

==> Validating source files with sha1sums...
lein ... FAILED
lein.1 ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build leiningen.

ckafi commented on 2013-09-21 16:42

Thanks, clojure dependency removed.

Anonymous comment on 2013-09-21 15:32

Yes, Leiningen does not depend on Clojure as a separate package. The shell script will download the Leiningen standalone jar which includes all its dependencies, including Clojure.

l3dx commented on 2013-09-21 12:04

Leiningen does not depend on clojure.

Driadan commented on 2013-08-21 07:39

lein's sha1 has changed to aece2e7909dcd7c4918b7e252a304df77782460a

ckafi commented on 2013-08-20 18:15

Moved completion scripts to leiningen-completions.

ckafi commented on 2013-08-19 10:44

Ok, should I split the completion scripts into a new package?

pdxleif commented on 2013-08-18 20:32

With the addition of /usr/share/zsh/site-functions/_lein, this now conflicts with the zsh-completions-git package over that file.

ckafi commented on 2013-08-18 17:51

Updated to 2.3.1 and changed arch to 'any'. Also added {bash,zsh}-completions and man page.

webmeister commented on 2013-08-17 18:57

Please change arch to any. This package contains only a bash script, thus it is not architecture-dependent. That should also fix dignati's problem when building on ARM.

Scimmia commented on 2013-08-17 04:21

Oh, and why wouldn't you have it pull tarball of the release, since this is supposed to be a stable package?
https://github.com/technomancy/leiningen/releases

Scimmia commented on 2013-08-17 04:16

Once this package is updated for 2.3.1, it would probably be best to merge the other 5 leiningen packages into it. There's really no reason for there to be 6 of them.

Anonymous comment on 2013-08-17 02:38

Source file validation fails; Looks like sha1sums is out of date.

ckafi commented on 2013-05-13 17:45

I have adopted this package. Because this is package is not named '*-git' or '*-snapshot' I've decided to point the source variable to the stable lein version, as mentioned in their README.

malcolmsparks commented on 2013-05-03 11:25

@dignati the build should work fine on the RPi, there's no dependencies on architecture.

malcolmsparks commented on 2013-05-03 11:24

I think that the build should download a particular tagged version, rather than 'latest', to ensure integrity and repeatability. Now that Leiningen 2 is out of preview/beta, the version of the Arch package should reflect the Leiningen version.

Anonymous comment on 2013-05-03 01:34

+1 on issue with wget. It should either be a dependency or use another application (is curl installed by default?)

coverslide commented on 2013-04-17 18:37

in keeping with arch tradition, I think that this package should be called "lein" whereas the old "lein" should be renamed to "lein1".

Anonymous comment on 2013-03-05 19:31

I am not sure if this is the right place to ask, but would it be possible to build this on the Raspberry Pi ARMv6?

BeepDog commented on 2013-02-10 03:37

Or have it use wget as a makedepends. Either way would be nice to fix it :)

Anonymous comment on 2012-10-15 01:49

I believe curl should replace wget, since it's not guaranteed to exist, whereas curl definitely is.

Anonymous comment on 2012-07-22 09:58

This package is now using Leiningen2 as it is the recommended version according to the author.
rlwrap is an optional dependency as far as I can tell.
The problems when running makepkg -s should be fixed.

Anonymous comment on 2012-04-02 22:14

This package also appears to rely on rlwrap.

Anonymous comment on 2012-03-16 02:09

Even when I don't run makepkg with the -s flag, I'm being told that I'm running as root.

cmlr commented on 2012-02-27 19:59

I believe you should delete the next to last line in PKGBUILD:

${pkgdir}/usr/bin/lein

and instead have a post-install file which would instruct the user to run "lein self-install".

cmlr commented on 2012-02-27 03:10

Compilation failed with this error message.

which: no rlwrap in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl)
Using JLine for console I/O; install rlwrap for optimum experience.
Exception in thread "main" java.io.FileNotFoundException: /root/.jline-clojure.main.history (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
at java.io.FileWriter.<init>(FileWriter.java:90)
at jline.History.setHistoryFile(History.java:45)
at jline.History.<init>(History.java:37)
at jline.ConsoleRunner.main(ConsoleRunner.java:47)
==> ERROR: A failure occurred in build().
Aborting...

Anonymous comment on 2010-06-23 13:50

Done.

Anonymous comment on 2010-06-23 10:08

The last lines should be something like:

install -m 755 lein -D ${pkgdir}/usr/bin/lein
${pkgdir}/usr/bin/lein self-install