Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646792 - app-misc/vifm-0.9.1 : configure: error: libncursesw not found
Summary: app-misc/vifm-0.9.1 : configure: error: libncursesw not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chema Alonso Josa (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-06 17:56 UTC by Toralf Förster
Modified: 2018-05-02 08:40 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.71 KB, text/plain)
2018-02-06 17:56 UTC, Toralf Förster
Details
app-misc:vifm-0.9.1:20180206-015356.log (app-misc:vifm-0.9.1:20180206-015356.log,13.64 KB, text/plain)
2018-02-06 17:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,80.55 KB, text/plain)
2018-02-06 17:56 UTC, Toralf Förster
Details
environment (environment,71.25 KB, text/plain)
2018-02-06 17:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.72 KB, application/x-bzip)
2018-02-06 17:56 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.45 KB, application/x-bzip)
2018-02-06 17:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.56 KB, application/x-bzip)
2018-02-06 17:56 UTC, Toralf Förster
Details
emerge --info app-misc/vifm (emerge-info.txt,7.31 KB, text/plain)
2018-03-26 09:44 UTC, Viacheslav Ostroukh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-02-06 17:56:21 UTC
checking whether PTHREAD_MUTEX_INITIALIZER is declared... yes
checking for initscr in -lncursesw... no
configure: error: libncursesw not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-misc/vifm-0.9.1/work/vifm-0.9.1/config.log

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_abi32+64-test_20180203-182621

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-misc/vifm
[ebuild  N    ] app-misc/vifm-0.9.1_beta  USE="extended-keys magic -X -developer -gtk -vim -vim-syntax"
Comment 1 Toralf Förster gentoo-dev 2018-02-06 17:56:23 UTC
Created attachment 518094 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-06 17:56:26 UTC
Created attachment 518096 [details]
app-misc:vifm-0.9.1:20180206-015356.log
Comment 3 Toralf Förster gentoo-dev 2018-02-06 17:56:29 UTC
Created attachment 518098 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-02-06 17:56:32 UTC
Created attachment 518100 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-02-06 17:56:35 UTC
Created attachment 518102 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-06 17:56:38 UTC
Created attachment 518104 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-02-06 17:56:41 UTC
Created attachment 518106 [details]
temp.tbz2
Comment 8 Chema Alonso Josa (RETIRED) gentoo-dev 2018-03-24 11:29:32 UTC
No clue what's happening. By looking at your emerge-history.txt libncursesw seems installed but the linker can't find it:

configure:8668: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -fsigned-char -Wall -pthread  -Wl,-O1 -Wl,--as-needed conftest.c -lncursesw   -lm >&5

...

/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lncursesw

I've successfully built =app-misc/vifm-0.9.1 in several machines using your configuration with both =sys-libs/ncurses-6.0-r2 and =sylibs/ncurses-6.1-r1
Comment 9 Viacheslav Ostroukh 2018-03-26 09:43:12 UTC
May or may not be relevant: for me vifm-0.9.0 and -0.9.1 are compiled successfully, but both segfault. gdb shows that:

> (gdb) run
> Starting program: /usr/bin/vifm
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> [New Thread 0x7ffff65ed700 (LWP 2018)]

> Thread 1 "vifm" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff767dcad in termattrs_sp () from /lib64/libncursesw.so.6

Shall it be this bug or I better open another one?
Comment 10 Viacheslav Ostroukh 2018-03-26 09:44:38 UTC
Created attachment 525462 [details]
emerge --info app-misc/vifm
Comment 11 Viacheslav Ostroukh 2018-03-26 09:47:31 UTC
(In reply to Viacheslav Ostroukh from comment #9)
> May or may not be relevant: for me vifm-0.9.0 and -0.9.1 are compiled
> successfully, but both segfault. gdb shows that:
> 
> > (gdb) run
> > Starting program: /usr/bin/vifm
> > [Thread debugging using libthread_db enabled]
> > Using host libthread_db library "/lib64/libthread_db.so.1".
> > [New Thread 0x7ffff65ed700 (LWP 2018)]
> 
> > Thread 1 "vifm" received signal SIGSEGV, Segmentation fault.
> > 0x00007ffff767dcad in termattrs_sp () from /lib64/libncursesw.so.6
> 
> Shall it be this bug or I better open another one?

Sorry, forgot to mention: problem appeared after update of ncurses to sys-libs/ncurses-6.1-r1.
Comment 12 Chema Alonso Josa (RETIRED) gentoo-dev 2018-03-28 14:20:31 UTC
(In reply to Viacheslav Ostroukh from comment #11)

> Sorry, forgot to mention: problem appeared after update of ncurses to
> sys-libs/ncurses-6.1-r1.

I can't reproduce the segfault here with vifm-0.9.1 and ncurses-6.1-r1. Please, fill in a separate bug and include as much information as posible (backtrace, core dump, ...) so we can report it upstream.

Thanks.
Comment 13 Chema Alonso Josa (RETIRED) gentoo-dev 2018-05-02 08:40:02 UTC
Fixed, see bug #651914