Fair warning: Updated to disable the disassembler on x86_64; it doesn't build there, for unknown reasons.
Search Criteria
Package Details: gnu-lightning-git 2.0.4-2
Package Actions
| 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: | |
| Conflicts: | |
| Provides: | |
| Submitter: | heddwch |
| Maintainer: | heddwch |
| Last Packager: | heddwch |
| Votes: | 0 |
| First Submitted: | 2013-08-21 22:54 |
| Last Updated: | 2014-05-28 01:29 |
Latest Comments
Comment by heddwch
Comment by heddwch
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
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
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.