Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723242 - app-admin/lnav segfaults due to libtinfow not being linked -- proposed fix
Summary: app-admin/lnav segfaults due to libtinfow not being linked -- proposed fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://forums.gentoo.org/viewtopic-t...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2020-05-15 14:10 UTC by Winston Weinert
Modified: 2020-12-27 05:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix segfault (tinfow.patch,579 bytes, patch)
2020-05-15 14:10 UTC, Winston Weinert
Details | Diff
emerge --info (emerge--info.txt,10.70 KB, text/plain)
2020-05-15 14:11 UTC, Winston Weinert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Winston Weinert 2020-05-15 14:10:53 UTC
Created attachment 639332 [details, diff]
patch to fix segfault

This is a continuation of bug 697776 (which is a marked duplicate of bug 692954). The attached patch as found on the forums fixes the issue (found here https://forums.gentoo.org/viewtopic-t-1099762-postdays-0-postorder-asc-start-25.html ).

As per bug 692954, `env LD_PRELOAD='/lib64/libtinfow.so.6' lnav /var/log` works. The attached patch should fix this at build time.
Comment 1 Winston Weinert 2020-05-15 14:11:38 UTC
Created attachment 639334 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-12-27 05:45:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7729b0dd1d6a6c8cdc65422d94cce220df98c4f1

commit 7729b0dd1d6a6c8cdc65422d94cce220df98c4f1
Author:     Randy Barlow <randy@electronsweatshop.com>
AuthorDate: 2020-12-18 20:19:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-12-27 05:44:59 +0000

    app-admin/lnav: Update to 0.9.0
    
    Update lnav to 0.9.0 and fix a segmentation fault.
    
    Closes: https://bugs.gentoo.org/723242
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/lnav/Manifest                  |  1 +
 app-admin/lnav/files/639332-tinfow.patch | 10 ++++++++
 app-admin/lnav/lnav-0.9.0.ebuild         | 40 ++++++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+)