Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558716 - =media-sound/moc-2.6_alpha1 - interface_elements.o: undefined reference to symbol 'cbreak'
Summary: =media-sound/moc-2.6_alpha1 - interface_elements.o: undefined reference to sy...
Status: RESOLVED DUPLICATE of bug 521860
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-25 12:58 UTC by Alice Ferrazzi
Modified: 2015-08-29 04:04 UTC (History)
1 user (show)

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


Attachments
build (build.txt,38.66 KB, text/plain)
2015-08-25 13:00 UTC, Alice Ferrazzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2015-08-25 12:58:12 UTC
Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.20-r2, 3.17.8-gentoo-r101 x86_64)
=================================================================
System uname: Linux-3.17.8-gentoo-r101-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32840176 total,  27178748 free
KiB Swap:    1000444 total,   1000444 free
Timestamp of repository gentoo: Tue, 25 Aug 2015 11:15:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p39::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.2.5-r6::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.6.3::gentoo, 4.7.3-r1::gentoo, 4.8.4::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.jp.gentoo.org/gentoo-portage
    priority: -1000

pypy_alice
    location: /var/lib/layman/aliceinwire
    masters: gentoo
    priority: 0

betagarden
    location: /var/lib/layman/betagarden
    masters: gentoo
    priority: 50

emc
    location: /var/lib/layman/emc
    masters: gentoo
    priority: 50

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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://gg3.net/pub/linux/gentoo/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
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"
USE="X \ acl acpi aes alsa amd64 avahi avx bash-completion battery bindist bzip2 cairo cjk cleartype cli consolekit corefonts cracklib crypt cups cxx dbus devicekit dri emacs encode freetype ftp gdbm gif glibc gtk gtk2 hal history i915 iconv ieee1394 imagemagick imap ipv6 jabber javascript jpeg libg++ maildir mime mmx mmxext modules multilib ncurses nls nptl nptlonly opengl openmp oss pam pcre pdf perl pmu png policykit popcnt posix python readline samba seccomp session spell sql sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg symlink sysfs tcpd tiff trayicon truetype udev unicode usb vhosts vim vim-syntax xine xml xml2 xpm xulrunner 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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="i915 intel" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

/lib64/libtinfow.so.5: error adding symbols: DSO missing from command line


Reproducible: Always

Steps to Reproduce:
1. installing with use flag: 
aac alsa cache curl ffmpeg flac* mad magic oss unicode vorbis
2.
3.
Actual Results:  
build fail

Expected Results:  
install moc
Comment 1 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2015-08-25 13:00:00 UTC
Created attachment 410244 [details]
build
Comment 2 Rafał Mużyło 2015-08-25 13:30:15 UTC
Which version of ncurses  is installed (and its useflags) ?
Comment 3 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2015-08-26 09:03:19 UTC
sys-libs/ncurses-5.9-r3 cxx tinfo unicode ABI_X86_32_64
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-08-28 19:19:25 UTC
Looks like an underlinking bug; moc's build system failed to add -ltinfow to LIBADD/LDADD, perhaps as a result of using custom m4 macros instead of standard pkg-config for detecting ncurses in configure.

Also, I think the moc ebuild is missing a dependency on ncurses[tinfo]
Comment 5 Tim Harder gentoo-dev 2015-08-28 19:29:23 UTC
(In reply to Alexandre Rostovtsev from comment #4)
> Also, I think the moc ebuild is missing a dependency on ncurses[tinfo]

That sort of dep only makes sense for binary packages; otherwise, packages should use pkgconfig as you pointed out to get the libs for ncurses that they should link against.
Comment 6 Tim Harder gentoo-dev 2015-08-29 04:04:59 UTC

*** This bug has been marked as a duplicate of bug 521860 ***