Package Details: gnu-lightning-git 2.0.4-2

Package Base: gnu-lightning-git
Description: A library that generates assembly language code at run-time
Upstream URL: http://www.gnu.org/software/lightning/
Category: lib
Licenses: GPL
Conflicts: gnu-lightning
Provides: gnu-lightning
Submitter: heddwch
Maintainer: heddwch
Last Packager: heddwch
Votes: 0
First Submitted: 2013-08-21 22:54
Last Updated: 2014-05-28 01:29

Dependencies (2)

Required by (0)

Sources

Latest Comments

Comment by heddwch

2014-05-28 01:29

Fair warning: Updated to disable the disassembler on x86_64; it doesn't build there, for unknown reasons.

Comment by heddwch

2014-05-27 19:24

TrialnError: I've incorporated your change and updated the PKGBUILD. Thanks :)
axper: At the moment I'm unable to do a test build on x86_64, but I didn't remove that from the arch list because I'm guessing it's the fact that you're using clang. Will test later, but if so, I'm not sure how to convey "Don't do wierd stuff" in the PKGBUILD. I don't wish to modify the project to build with clang.

Comment by TrialnError

2014-02-10 16:10

A suggestion for pkgver() func.
You use
git describe --always | sed -e 's|-|.|g' -e 's|lightning.||'

This would remove the leading lightning and make the version more "valid"

Comment by axper

2014-01-29 11:00

Getting this error:

...
/usr/bin/ld.gold: error: /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib64/libiberty.a(xstrerror.o): requires dynamic R_X86_64_PC32 reloc against 'strerror' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib64/libiberty.a(xexit.o): requires dynamic R_X86_64_PC32 reloc against '_xexit_cleanup' which may overflow at runtime; recompile with -fPIC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:455: recipe for target 'liblightning.la' failed
make[3]: *** [liblightning.la] Error 1
make[3]: Leaving directory '/media/storage/packages/makepkg/gnu-lightning-git/src/lightning/lib'
Makefile:978: recipe for target '../lib/liblightning.la' failed
make[2]: *** [../lib/liblightning.la] Error 2
make[2]: Leaving directory '/media/storage/packages/makepkg/gnu-lightning-git/src/lightning/doc'
Makefile:499: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/storage/packages/makepkg/gnu-lightning-git/src/lightning'
Makefile:387: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Using clang for compiling.