Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Cannot emerge world - ncurses
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
vofan
n00b
n00b


Joined: 05 Jun 2019
Posts: 3

PostPosted: Wed Jun 05, 2019 7:38 pm    Post subject: [SOLVED] Cannot emerge world - ncurses Reply with quote

I'll start with the ncurses info:

l
Code:

Portage 2.3.66 (python 3.6.5-final-0, default/linux/amd64/17.1/hardened, gcc-8.3.0, glibc-2.29-r2, 4.19.37-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.37-gentoo-x86_64-Intel-R-_Core-TM-_i5-4300M_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:     8052456 total,   7464280 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Wed, 05 Jun 2019 18:30:01 +0000
Head commit of repository gentoo: 40323d02cb1ba804994e7909b7dc0ae68dee5cf7
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p7) 2.31.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r6::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:
 
gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -02 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=haswell -02 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ https://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ rsync://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ https://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ http://mirrors.evowise.com/gentoo/ https://mirrors.evowise.com/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 bzip2 crypt cxx hardened iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre pie readline seccomp ssl ssp unicode xattr xtpax zlib" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
 
=================================================================
                        Package Settings
=================================================================
 
sys-libs/ncurses-6.1-r2::gentoo was built with the following:
USE="cxx unicode -ada -debug -doc -gpm -minimal -profile -static-libs -test -threads -tinfo -trace" ABI_X86="(64) -32 (-x32)"
CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"


Code:

ebuild     U ] sys-libs/ncurses-6.1-r3 [6.1-r2] USE="cxx unicode -ada -debug -doc -gpm -minimal -profile -static-libs -test -threads -tinfo -trace" ABI_X86="(64) -32 (-x32)"


Code:

[32;01m * Package:    sys-libs/ncurses-6.1-r3
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        abi_x86_64 amd64 cxx elibc_glibc kernel_linux unicode userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking ncurses-6.1.tar.gz to /var/tmp/portage/sys-libs/ncurses-6.1-r3/work
>>> Source unpacked in /var/tmp/portage/sys-libs/ncurses-6.1-r3/work
>>> Preparing source in /var/tmp/portage/sys-libs/ncurses-6.1-r3/work/ncurses-6.1 ...
 * Applying ncurses-6.0-gfbsd.patch ...
 [ ok ]
 * Applying ncurses-5.7-nongnu.patch ...
 [ ok ]
 * Applying ncurses-6.0-rxvt-unicode-9.15.patch ...
 [ ok ]
 * Applying ncurses-6.0-pkg-config.patch ...
 [ ok ]
 * Applying ncurses-5.9-gcc-5.patch ...
 [ ok ]
 * Applying ncurses-6.0-ticlib.patch ...
 [ ok ]
 * Applying ncurses-6.0-cppflags-cross.patch ...
 [ ok ]
 * Applying ncurses-6.1-st07_terminfo_typo.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/ncurses-6.1-r3/work/ncurses-6.1 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * econf: updating ncurses-6.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating ncurses-6.1/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/sys-libs/ncurses-6.1-r3/work/ncurses-6.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo --enable-pc-files --with-pkg-config-libdir=/usr/lib64/pkgconfig --with-shared --without-hashed-db --without-ada --with-cxx --with-cxx-binding --with-cxx-shared --without-debug --without-profile --without-gpm --disable-term-driver --disable-termcap --enable-symlinks --with-rcs-ids --with-manpage-format=normal --enable-const --enable-colorfgbg --enable-hard-tabs --enable-echo --enable-warnings --without-assertions --enable-leaks --without-expanded --with-macros --with-progs --without-tests --without-trace --without-termlib --disable-stripping --disable-widec --without-pthread --without-reentrant --enable-overwrite
checking for egrep... grep -E
Configuring NCURSES 6.1 ABI 6 (Wed Jun  5 12:34:36 -00 2019)
checking for package version... 6.0
checking for package patch date... 20180127
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Configuring for linux-gnu
checking for prefix... /usr
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
 
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/ncurses-6.1-r3/work/ncurses-6.1-abi_x86_64.amd64/ncurses/config.log
 * ERROR: sys-libs/ncurses-6.1-r3::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 2836:  Called multilib-minimal_src_configure
 *             environment, line 1963:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 2190:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1893:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1891:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  377:  Called multilib-minimal_abi_src_configure
 *             environment, line 1957:  Called multilib_src_configure
 *             environment, line 2421:  Called do_configure 'ncurses'
 *             environment, line  541:  Called econf '--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo' '--enable-pc-files' '--with-pkg-config-libdir=/usr/lib64/pkgconfig' '--with-shared' '--without-hashed-db' '--without-ada' '--with-cxx' '--with-cxx-binding' '--with-cxx-shared' '--without-debug' '--without-profile' '--without-gpm' '--disable-term-driver' '--disable-termcap' '--enable-symlinks' '--with-rcs-ids' '--with-manpage-format=normal' '--enable-const' '--enable-colorfgbg' '--enable-hard-tabs' '--enable-echo' '--enable-warnings' '--without-assertions' '--enable-leaks' '--without-expanded' '--with-macros' '--with-progs' '--without-tests' '--without-trace' '--without-termlib' '--disable-stripping' '--disable-widec' '--without-pthread' '--without-reentrant' '--enable-overwrite'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  119:  Called die
 * The specific snippet of code:
 *          die "$@"
 *
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.1-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.1-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/ncurses-6.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ncurses-6.1-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/ncurses-6.1-r3/work/ncurses-6.1-abi_x86_64.amd64/ncurses'
 * S: '/var/tmp/portage/sys-libs/ncurses-6.1-r3/work/ncurses-6.1'


New migrant from Arch, much of this makes little sense to me - sorry if I've been obnoxious and not given you something I should have done, and thanks for any direction.


Last edited by vofan on Wed Jun 05, 2019 8:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
vofan
n00b
n00b


Joined: 05 Jun 2019
Posts: 3

PostPosted: Wed Jun 05, 2019 7:45 pm    Post subject: Reply with quote

Tried changing MAKEOPTS to both -j2 and commenting it out, no luck.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2117
Location: Frankfurt, Germany

PostPosted: Wed Jun 05, 2019 7:52 pm    Post subject: Reply with quote

Quote:
Code:
CFLAGS="-march=haswell -02 -pipe"

It should be O2 instead of 02 (letter "O" instead of zero)...
Back to top
View user's profile Send private message
vofan
n00b
n00b


Joined: 05 Jun 2019
Posts: 3

PostPosted: Wed Jun 05, 2019 8:02 pm    Post subject: Reply with quote

mike155 wrote:
Quote:
Code:
CFLAGS="-march=haswell -02 -pipe"

It should be O2 instead of 02 (letter "O" instead of zero)...


That'll do it.

Sigh. This isn't even my first Gentoo install.

Thanks a bunch.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15294

PostPosted: Thu Jun 06, 2019 2:25 am    Post subject: Reply with quote

It's also not even close to the first time I've seen someone make this mistake. Don't feel bad. I think we were overdue for someone to show up with this typo. ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum