Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607486 - =app-emulation/qemu-2.8.0: configure error with sys-libs/ncurses[-unicode]: User requested feature curses, configure was not able to find it
Summary: =app-emulation/qemu-2.8.0: configure error with sys-libs/ncurses[-unicode]: U...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-28 15:37 UTC by Bertrand Jacquin
Modified: 2017-02-13 07:22 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,5.66 KB, text/x-log)
2017-01-28 15:37 UTC, Bertrand Jacquin
Details
emerge --info (info.log,16.17 KB, text/x-log)
2017-01-28 15:38 UTC, Bertrand Jacquin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2017-01-28 15:37:53 UTC
Created attachment 461726 [details]
build.log

Hi,

=app-emulation/qemu-2.8.0 with USE=ncurses does not build. The following error is observed during src_configure():

>>> Configuring source in /var/tmp/portage/app-emulation/qemu-2.8.0/work/qemu-2.8.0 ...
../configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --docdir=/usr/share/doc/qemu-2.8.0/html --disable-bsd-user --disable-guest-agent --disable-strip --disable-werror --disable-gcrypt --python=/usr/bin/python2.7 --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --host-cc=x86_64-pc-linux-gnu-gcc --disable-debug-info --disable-debug-tcg --enable-docs --disable-tcg-interpreter --enable-attr --disable-brlapi --enable-linux-aio --enable-bzip2 --disable-bluez --enable-cap-ng --enable-curl --enable-fdt --disable-glusterfs --disable-gnutls --disable-nettle --disable-gtk --disable-rdma --disable-libiscsi --enable-vnc-jpeg --enable-kvm --enable-lzo --enable-curses --disable-libnfs --disable-numa --disable-opengl --enable-vnc-png --disable-rbd --disable-vnc-sasl --disable-sdl --enable-seccomp --disable-smartcard --disable-snappy --disable-spice --disable-libssh2 --disable-libusb --disable-usb-redir --disable-vde --enable-vhost-net --disable-virglrenderer --disable-virtfs --enable-vnc --disable-vte --disable-xen --disable-xen-pci-passthrough --disable-xfsctl --disable-linux-user --enable-system --with-system-pixman --audio-drv-list=oss --target-list=aarch64-softmmu,alpha-softmmu,arm-softmmu,cris-softmmu,i386-softmmu,m68k-softmmu,microblaze-softmmu,microblazeel-softmmu,mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu,or32-softmmu,ppc-softmmu,ppc64-softmmu,s390x-softmmu,sh4-softmmu,sh4eb-softmmu,sparc-softmmu,sparc64-softmmu,x86_64-softmmu,lm32-softmmu,moxie-softmmu,ppcemb-softmmu,unicore32-softmmu,xtensa-softmmu,xtensaeb-softmmu --enable-pie

ERROR: User requested feature curses
       configure was not able to find it.
       Install ncurses devel

 * ERROR: app-emulation/qemu-2.8.0::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line   115:  Called src_configure
 *   environment, line 13284:  Called qemu_src_configure 'softmmu'
 *   environment, line 13022:  Called die
 * The specific snippet of code:
 *       ../configure "${conf_opts[@]}" || die "configure failed";

While ncurses is installed on the system:

[ebuild   R    ] sys-libs/ncurses-6.0-r1:0/6::gentoo  USE="cxx -ada -debug -doc -gpm -minimal (-profile) -static-libs {-test} -threads -tinfo -trace -unicode" ABI_X86="32 (64) (-x32)" 0 KiB

Full log attached as long as emerge --info
Comment 1 Bertrand Jacquin 2017-01-28 15:38:29 UTC
Created attachment 461728 [details]
emerge --info
Comment 2 Jared B. 2017-01-30 23:05:57 UTC
Have this issue as well.  Same experience as described by Bertrand.  I have ncurses-6.0-r1:0/6 installed:

[ebuild   R    ] sys-libs/ncurses-6.0-r1:0/6::gentoo  USE="cxx minimal -ada -debug -doc -gpm (-profile) -static-libs {-test} -threads -tinfo -trace -unicode" 0 KiB

The only thing unusual that I saw at a glance is that minimal USE flag.  I tried rebuilding with USE=-minimal and upgrading qemu again, but it still fails with the same error.
Comment 3 Matthias Maier gentoo-dev 2017-02-13 07:22:11 UTC
I turns out that qemu needs unicode support in ncurses, i.e. sys-libs/ncurses[unicode].


commit 7af1b562d1a90cf1313e1be891679b5bdb560bd4
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Mon Feb 13 01:19:14 2017 -0600

    app-emulation/qemu: require sys-libs/ncurses[unicode], bug #607486
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1