Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513868 - sys-apps/gptfdisk-0.8.10[ncurses] should depend on ncurses[unicode] - src_prepare(): Package ncursesw was not found in the pkg-config search path.
Summary: sys-apps/gptfdisk-0.8.10[ncurses] should depend on ncurses[unicode] - src_pre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
: 519308 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-19 15:34 UTC by Neil Bothwick
Modified: 2018-07-09 08:27 UTC (History)
2 users (show)

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


Attachments
sys-apps:gptfdisk-0.8.10:20140616-223904.log (sys-apps:gptfdisk-0.8.10:20140616-223904.log,18.38 KB, text/plain)
2014-06-19 15:35 UTC, Neil Bothwick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Bothwick 2014-06-19 15:34:10 UTC
gptfdisk-0.8.10 dropped the icu USE flag. now if you try to build it with USE=ncurses and ncurses is built without unicode support, you get this

>>> Preparing source in /var/tmp/portage/sys-apps/gptfdisk-0.8.10/work/gptfdisk-0.8.10 ...
Package ncursesw was not found in the pkg-config search path.
Perhaps you should add the directory containing `ncursesw.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ncursesw' found
>>> Source prepared.

but then compilation proceeds and fails with a bunch of undefined references

gptcurses.o: In function `GPTDataCurses::MainMenu()':
gptcurses.cc:(.text+0x3447): undefined reference to `LINES'
gptcurses.cc:(.text+0x3450): undefined reference to `COLS'
gptcurses.cc:(.text+0x348c): undefined reference to `endwin'
gptcurses.cc:(.text+0x3507): undefined reference to `endwin'
gptcurses.o: In function `ClearLine(int)':
gptcurses.cc:(.text+0xa37): undefined reference to `wclrtoeol'
gptcurses.o: In function `ClearBottom()':
gptcurses.cc:(.text+0xd40): undefined reference to `wclrtobot'
gptcurses.o: In function `PromptToContinue()':
gptcurses.cc:(.text+0x1606): undefined reference to `wgetch'
gptcurses.o: In function `Report(std::string)':
gptcurses.cc:(.text+0x1c46): undefined reference to `wgetch'
collect2: error: ld returned 1 exit status
make: *** [cgdisk] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: sys-apps/gptfdisk-0.8.10::gentoo failed (compile phase):
 *   emake failed
 * 

Build ncurses with USE=unicode and all works fine.



Reproducible: Always
Comment 1 Neil Bothwick 2014-06-19 15:35:22 UTC
Created attachment 379260 [details]
sys-apps:gptfdisk-0.8.10:20140616-223904.log

Portage 2.2.10 (default/linux/amd64/13.0/no-multilib, gcc-4.8.3, glibc-2.17, 3.0.6-gentoo-6 x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-6-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2200_@_2.20GHz-with-gentoo-2.2
KiB Mem:     4056440 total,    374000 free
KiB Swap:    2097148 total,   2003312 free
Timestamp of tree: Thu, 19 Jun 2014 14:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo portage-backup digimed
Installed sets: @base, @kernels, @system, @temp
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs 2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/mnt/portage/packages/agrajag"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/mnt/portage/layman/portage-backup /mnt/portage/local"
SYNC="rsync://portage.digimed.co.uk/portage"
USE="acl amd64 apache2 berkdb bzip2 cli crypt cxx dbus device-mapper dri encode gdbm iconv logrotate mmx modules mysql ncurses nptl openmp pcre qt3support readline session snmp sse sse2 ssl ssse3 tcpd theora threads x264 zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-wt220u usb-dib0700" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB.UTF-8" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-27 10:45:03 UTC
*** Bug 519308 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2018-07-09 08:27:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50001c50b70e0efe708b5c2a57fbe1e32ad207f6

commit 50001c50b70e0efe708b5c2a57fbe1e32ad207f6
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-07-09 08:27:00 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-07-09 08:27:00 +0000

    sys-apps/gptfdisk: We need nucurses with unicode support.
    
    Closes: https://bugs.gentoo.org/513868
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-apps/gptfdisk/gptfdisk-1.0.1.ebuild | 4 ++--
 sys-apps/gptfdisk/gptfdisk-1.0.3.ebuild | 4 ++--
 sys-apps/gptfdisk/gptfdisk-1.0.4.ebuild | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)