FS#37638 - [elinks] freeze on start
Attached to Project:
Community Packages
Opened by Immae (immae) - Monday, 04 November 2013, 16:56 GMT
Last edited by Balló György (City-busz) - Tuesday, 25 February 2014, 15:40 GMT
Opened by Immae (immae) - Monday, 04 November 2013, 16:56 GMT
Last edited by Balló György (City-busz) - Tuesday, 25 February 2014, 15:40 GMT
|
Details
Description:
The elinks package in "community" fails in one of my archlinux installation, but works fine in another. Maybe there is a package dependency missing? (cannot figure out which one). No configuration where done in both case, I simply did pacman -S elinks; elinks An strace of the program in the failing machine ends up in an infinite loop of mmap/munmap's that looks like this: ---------- mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x304823a4000 munmap(0x304823a4000, 2097152) = 0 mmap(0x30482400000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x304824a4000 munmap(0x304824a4000, 1048576) = 0 mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x304823a4000 munmap(0x304823a4000, 2097152) = 0 ---------- Furthermore, the version packaged in the community is the one that corresponds to an experimental (wrongly named master) branch upstream. The compilation is also not "exactly" reproducible, makepkg is unable to create the package with the PKGBUILD in abs, small changes have to be done to have it working. The git repository upstream is quite messy and it is quite difficult to find the correct version in the tree (In particular because a branch elinks-0.12 ~= master is on a completely different branch than the prerelease tagged version elinks-0.12pre6), which corresponds to 029f16beb7f01459a621f5a7823d852fdc173d6b (This version works and compiles correctly in all my machines) Would it be possible to package the correct version of elinks instead of an experimental version (which happens to not work everywhere)? Steps to reproduce: pacman -S elinks; elinks (no configuration needed) |
This task depends upon
Closed by Balló György (City-busz)
Tuesday, 25 February 2014, 15:40 GMT
Reason for closing: Upstream
Tuesday, 25 February 2014, 15:40 GMT
Reason for closing: Upstream
Consider taking the bug upstream? If your problem is as bad as you vaguely make it sound (immediately freezing on start without visiting any pages) upstream will probably want to hear about it.
> The compilation is also not "exactly" reproducible, makepkg is unable to create the package with the PKGBUILD in abs, small changes have to be done to have it working.
What are these changes?
---------------------------------------------------------------
[LINK] src/elinks
lib.o: In function `script_hook_pre_format_html':
hooks.c:(.text+0x86120): undefined reference to `lua_strlen'
collect2: error: ld returned 1 exit status
Makefile:41: recipe for target 'elinks' failed
make[1]: *** [elinks] Error 1
make[1]: Leaving directory '/home/immae/.no_backup/build/elinks-test/src/elinks/src'
Makefile.lib:268: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
---------------------------------------------------------------
There is the following line in /usr/include/luaconf.h:
#define lua_strlen(L,i) lua_rawlen(L, (i))
(The use of lua_strlen has been deprecated for lua_rawlen)
but I had to manually replace lua_strlen by lua_rawlen in the code for it to work.
Didn't you have to do this to compile?
I have the following relevant packages installed:
local/lua 5.2.2-1
local/lua51 5.1.5-3
I didn't try to look further since it was enough tu run a s/lua_strlen/lua_rawlen/ to have it compile (but not running)
Writing this comment I thought that maybe the other problem comes from lua/lua51, I'll try to look this way and report upstream...
Is your installation fully up to date?
Maybe you have some different lua packages/extensions that were not listed as required?
I saw that the status changed to "Waiting on Response", however I contacted the mailing-list more than 3 months ago and got no answer (and the issue is still there), so I think nothing should be expected anymore from upstream...
http://www.mail-archive.com/elinks-users%40linuxfromscratch.org/msg01283.html
http://bugzilla.elinks.cz/
http://bugzilla.elinks.cz/show_bug.cgi?id=1142