Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557834 - sys-libs/ncurses: install requires `tic` (which fails w/multilib builds)
Summary: sys-libs/ncurses: install requires `tic` (which fails w/multilib builds)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ncurses-6
  Show dependency tree
 
Reported: 2015-08-15 11:35 UTC by Sander Sweers
Modified: 2015-09-05 22:33 UTC (History)
0 users

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


Attachments
log (20150815-104821.log.bz2,65.18 KB, application/x-bzip2)
2015-08-15 18:58 UTC, Sander Sweers
Details
build.log for x86 ("tar -cj" for smaller size) (build-abi_x86_32.x86.log.tar.bz2,37.43 KB, application/x-bzip)
2015-09-05 22:28 UTC, Konstantin M
Details
emerge --info =ncurses-6.0-r1 (emerge-info.txt,5.62 KB, text/plain)
2015-09-05 22:33 UTC, Konstantin M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Sweers 2015-08-15 11:35:14 UTC
When building ncurses 6 it failed because run_tic.sh is unable to find the tic command. For some reason it can not find the internal one and is falling back on the system one which it can also not find as ncurses is not installed.

To be clear, this only happens when *no* older version of ncurses is installed that provides the command. Installing an older version will work around this and install succeeds.

----
mkdir -p /var/tmp/portage/sys-libs/ncurses-6.0/image//usr/lib32/pkgconfig
DESTDIR=/var/tmp/portage/sys-libs/ncurses-6.0/image/ \
prefix=/usr \
exec_prefix=/usr \
bindir=/usr/bin \
top_srcdir=/var/tmp/portage/sys-libs/ncurses-6.0/work/ncurses-6.0 \
srcdir=/var/tmp/portage/sys-libs/ncurses-6.0/work/ncurses-6.0/misc \
datadir=/usr/share \
ticdir=/usr/share/terminfo \
source=terminfo.tmp \
cross_compiling=no \
/bin/bash ./run_tic.sh
** creating ncurses.pc
/usr/bin/install -c ncurses-config /var/tmp/portage/sys-libs/ncurses-6.0/image//usr/bin/ncurses6-config
** Building terminfo database, please wait...
** creating panel.pc
? no tic program found
Makefile:90: recept voor doel 'install.data' is mislukt
make[1]: *** [install.data] Fout 1
make[1]: *** Wachten op onvoltooide taken...
** creating menu.pc
** creating form.pc
** creating ncurses++.pc
** creating tinfo.pc
touch pc-files
make[1]: Map '/var/tmp/portage/sys-libs/ncurses-6.0/work/ncurses-6.0-abi_x86_32.x86/ncurses/misc' wordt verlaten
Makefile:113: recept voor doel 'install' is mislukt
make: *** [install] Fout 2
make: Map '/var/tmp/portage/sys-libs/ncurses-6.0/work/ncurses-6.0-abi_x86_32.x86/ncurses' wordt verlaten
 * ERROR: sys-libs/ncurses-6.0::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-libs:ncurses-6.0:20150815-110520.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/ncurses-6.0/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ncurses-6.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/ncurses-6.0/work/ncurses-6.0-abi_x86_32.x86'
 * S: '/var/tmp/portage/sys-libs/ncurses-6.0/work/ncurses-6.0'
Comment 1 SpanKY gentoo-dev 2015-08-15 18:21:52 UTC
you need to attach full build logs to all of your bug reports as well as emerge info.  i don't think this has been fully/properly triaged.
Comment 2 Sander Sweers 2015-08-15 18:58:07 UTC
Created attachment 409092 [details]
log
Comment 3 Sander Sweers 2015-08-15 19:13:46 UTC
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.1.2-gentoo x86_64)
=================================================================
System uname: Linux-4.1.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    15322052 total,   7717784 free
KiB Swap:    8388604 total,   8329236 free
Timestamp of repository gentoo: Sat, 15 Aug 2015 08:15:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.0::gentoo
dev-util/pkgconfig:       0.28-r3::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-r1::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.25.1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

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

mate
    location: /home/sander/repos/mate-overlay
    masters: gentoo
    priority: 0

jitsi
    location: /home/sander/repos/jitsi
    masters: gentoo
    priority: 2

mate-community
    location: /home/sander/repos/mate-community
    masters: gentoo
    priority: 3

infirit
    location: /home/sander/repos/infirit
    masters: gentoo
    priority: 4

betagarden
    location: /var/lib/layman/betagarden
    sync-uri: https://anongit.gentoo.org/git/proj/betagarden.git
    masters: gentoo
    priority: 50

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

tox-overlay
    location: /var/lib/layman/tox-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
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 a52 aac acl acpi alsa amd64 aspell avahi avx berkdb bluetooth bluray branding bzip2 cairo caja canberra caps cdda cddb cdio cdr cjk cli consolekit corefonts cracklib crypt cue cups curl cxx dbus dconf device-mapper dri dts dv dvd dvdr egl emboss encode exif faac faad fam ffmpeg firefox flac fontconfig fontforge fortran gdbm gif glamor gles gles1 gles2 gmp gnome-keyring gpm gstreamer gtk gtk3 hires-icons iconv icu idn introspection ipv6 jack jpeg jpeg2k lame lcms ldap libcanberra libnotify libsecret lm_sensors lzma lzo mad mate mate-keyring mmx mmxext mng modules mp3 mp4 mpeg multilib musepack musicbrainz ncurses networkmanager nls nptl nsplugin offensive ogg openal opengl openldap openmp opus osmesa pam pango pch pcre pdf png policykit ppds ppp pulseaudio python qt3support qt4 readline resolvconf rle samba sasl scanner schroedinger sdl session sndfile speex spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog tcpd telepathy theora threads tiff truetype udev udisks unicode upnp upower usb usbredir v4l vaapi vdpau vorbis vpx wavpack wayland webp wmf wxwidgets x264 x265 xcb xml xmp xpm xscreensaver xv xvid xvmc zeroconf zip zlib" ABI_X86="32 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 auth_digest dav_fs authn_file dav authz_groupfile" 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="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" ENLIGHTENMENT_MODULES="backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess start syscon systray tasks temperature tiling winlist wizard xkbswitch access shot mate-keyring" 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" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US nl it_IT fr_FR es_ES ru_RU ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_4" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel fbdev 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 SpanKY gentoo-dev 2015-08-17 13:00:34 UTC
this isn't new to ncurses-6
Comment 5 SpanKY gentoo-dev 2015-08-17 13:53:58 UTC
i've reworked the code a good amount which should fix this:
http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=badf9b730721ec3c0781588cb7614721db3a045a
Comment 6 Konstantin M 2015-09-05 22:28:08 UTC
Created attachment 411098 [details]
build.log for x86 ("tar -cj" for smaller size)

This is still an issue for me, building ncurses-6.0-r1 on a multilib systems fails during the x86 build the way described above. I attached another build.log anyway, if needed.
Comment 7 Konstantin M 2015-09-05 22:33:10 UTC
Created attachment 411100 [details]
emerge --info =ncurses-6.0-r1

Additionally the output of "emerge --info =ncurses-6.0-r1".

I seem to be unable to change the status of this bug and thus reopen it - could someone do that or shall I open a new bug ?