Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#49843 - [elinks] Fail to build with lua enabled
Attached to Project:
Community Packages
Opened by Alif (alive4ever) - Saturday, 25 June 2016, 17:52 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 26 June 2016, 06:35 GMT
Opened by Alif (alive4ever) - Saturday, 25 June 2016, 17:52 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 26 June 2016, 06:35 GMT
|
DetailsDescription:
Elinks failed to build with default PKGBUILD. Additional info: * package ver: 0.13-16 Steps to reproduce: 1. Get PKGBUILD and elinks.install file from Arch Linux web or ABS. 2. Build the package (some modification of PKGBUILD may be needed). 3. The linker complains that there is some undefined reference to lua_strlen [LINK] src/elinks lib.o: In function `l_tmpname': core.c:(.text+0x875e1): warning: the use of `tempnam' is dangerous, better use `mkstemp' lib.o: In function `script_hook_pre_format_html': hooks.c:(.text+0x880ff): undefined reference to `lua_strlen' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:41: elinks] Error 1 make[1]: Leaving directory '/tmp/elinks-broken/src/elinks/src' make: *** [Makefile.lib:268: all-recursive] Error 1 ==> ERROR: A failure occurred in build(). Additional notes: The git source need to be modified to "git+http://repo.or.cz/elinks.git" since the original git repo is not responding. Including "#ref=$_commit" causes makepkg to fail, so I just remove the '#ref=$_commit" tag. Temporary workaround to fix this build error is adding '--without-lua' option in the './configure'. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Sunday, 26 June 2016, 06:35 GMT
Reason for closing: Not a bug
Additional comments about closing: Builds fine as written in a clean chroot. PKGBUILDs don't account for things auto-detected on your system.
Sunday, 26 June 2016, 06:35 GMT
Reason for closing: Not a bug
Additional comments about closing: Builds fine as written in a clean chroot. PKGBUILDs don't account for things auto-detected on your system.
PKGBUILD-nolua.diff