Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Not a Gentoo guy, inherited this server, Googled for hours

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
plzdontflamebro
n00b
n00b
Posts: 2
Joined: Sun Sep 11, 2016 6:01 pm

Not a Gentoo guy, inherited this server, Googled for hours

  • Quote

Post by plzdontflamebro » Sun Sep 11, 2016 6:09 pm

Hi, Gentoo is a bit out of my depth :/ I really tried searching everywhere for a solution but I haven't come any closer. I inherited a very old server at a client's site. My boss put me in charge of upgrading it (it hasn't been upgraded since 2012...) so I've gotten a few things to upgrade but now I'm stuck getting portage to upgrade to an EAPI 6 version ¯\_(ツ)_/¯ (sorry I'm not a Gentoo person :/) the package which seems to keep giving me hard blocks is ncurses.

When I try to ncurses 6.0rc1 via emerge it starts the configure then files with this output:

Code: Select all

 * IMPORTANT: 28 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
Calculating dependencies  ....... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 12) sys-libs/ncurses-6.0-r1
 * ncurses-6.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...               [ ok ]
>>> Unpacking source...
>>> Unpacking ncurses-6.0.tar.gz to /var/tmp/portage/sys-libs/ncurses-6.0-r1/work
>>> Source unpacked in /var/tmp/portage/sys-libs/ncurses-6.0-r1/work
>>> Preparing source in /var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0 ...
 * 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 ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * econf: updating ncurses-6.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating ncurses-6.0/config.sub with /usr/share/gnuconfig/config.sub
touch: failed to get attributes of `/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/configure._portage_tmp_.1314': No such file or directory
 * ERROR: sys-libs/ncurses-6.0-r1 failed (configure phase):
 *   (no error message)
 * 
touch: failed to get attributes of `/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/configure._portage_tmp_.1314': No such file or directory
 * Call stack:
/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/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=x86_64-pc-linux-gnu-pkg-config --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-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-widec --without-pthread --without-reentrant --includedir=/usr/include/cross --without-shared --with-normal
 * ERROR: sys-libs/ncurses-6.0-r1 failed (configure phase):
 *   (no error message)
 *          ebuild.sh, line   93:  Called src_configure
 * 
 * Call stack:
 *        environment, line 2943:  Called multilib-minimal_src_configure
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2065:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *        environment, line 2943:  Called multilib-minimal_src_configure
 *        environment, line 2279:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 2065:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *        environment, line 1926:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 2279:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 1924:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *        environment, line 1926:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line  341:  Called multilib-minimal_abi_src_configure
 *        environment, line 1924:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *        environment, line 2059:  Called multilib_src_configure
 *        environment, line  341:  Called multilib-minimal_abi_src_configure
 *        environment, line 2059:  Called multilib_src_configure
 *        environment, line 2502:  Called multijob_child_init 'do_configure' 'ncurses'
 *        environment, line 2502:  Called multijob_child_init 'do_configure' 'ncursesw'
 *        environment, line 1988:  Called do_configure 'ncurses'
 *        environment, line 1988:  Called do_configure 'ncursesw'
 *        environment, line  592:  Called econf '--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo' '--enable-pc-files' '--with-pkg-config=x86_64-pc-linux-gnu-pkg-config' '--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-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-widec' '--without-pthread' '--without-reentrant' '--enable-overwrite'
 *   phase-helpers.sh, line  449:  Called die
 * The specific snippet of code:
 *        environment, line  592:  Called econf '--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo' '--enable-pc-files' '--with-pkg-config=x86_64-pc-linux-gnu-pkg-config' '--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-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' '--enable-widec' '--without-pthread' '--without-reentrant' '--includedir=/usr/include/ncursesw'
 *   phase-helpers.sh, line  449:  Called die
 *   			touch -r "$ECONF_SOURCE/configure._portage_tmp_.$$" "$ECONF_SOURCE/configure" || die
 * The specific snippet of code:
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.0-r1'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.0-r1'`.
 *   			touch -r "$ECONF_SOURCE/configure._portage_tmp_.$$" "$ECONF_SOURCE/configure" || die
 * The complete build log is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/build.log'.
 * 
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/environment'.
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.0-r1'`,
 * Working directory: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_64.amd64/ncurses'
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.0-r1'`.
 * S: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0'
 * The complete build log is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_64.amd64/ncursesw'
 * S: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0'
/var/tmp/portage/._portage_reinstall_.Nryghp/bin/isolated-functions.sh: line 246: kill: (1334) - No such process
checking for egrep... grep -E
Configuring NCURSES 6.0 ABI 6 (Sun Sep 11 12:58:49 CDT 2016)
checking for package version... 6.0
checking for package patch date... 20150808
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... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking version of x86_64-pc-linux-gnu-gcc... 86
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking $CC variable... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking for ldconfig... /sbin/ldconfig
checking if you want to ensure bool is consistent with C++... yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking if x86_64-pc-linux-gnu-g++ works... yes
checking version of x86_64-pc-linux-gnu-g++... 86
checking if you want to build C++ binding and demo... yes
checking if you want to build with Ada95... no
checking if you want to install terminal database... yes
checking if you want to install manpages... yes
checking if you want to build programs such as tic... yes
checking if you want to build test-programs... no
checking if you wish to install curses.h... yes
checking for mawk... no
checking for gawk... gawk
checking for egrep... (cached) grep -E
checking for a BSD compatible install... /usr/bin/install -c
checking for tdlint... no
checking for lint... no
checking for alint... no
checking for splint... no
checking for lclint... no
checking whether ln -s works... yes
checking if ln -s -f options work... yes
checking for long file names... yes
checking if you want to use pkg-config... x86_64-pc-linux-gnu-pkg-config
configure: WARNING: pkg-config is not installed
checking for x86_64-pc-linux-gnu-pkg-config library directory... /usr/lib64/pkgconfig
checking if we should install .pc files for x86_64-pc-linux-gnu-pkg-config... yes
checking for suffix to add to pc-files... none
checking if we should assume mixed-case filenames... auto
checking if filesystem supports mixed-case filenames... yes
checking whether make sets ${MAKE}... yes
checking for exctags... no
checking for ctags... ctags
checking for exetags... no
checking for etags... etags
checking for ctags... yes
checking for etags... yes
checking for makeflags variable... 
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-ld... x86_64-pc-linux-gnu-ld
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-nm... x86_64-pc-linux-gnu-nm
checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar
checking for options to update archives... -curv
checking if you have specified an install-prefix... 
checking if libtool -version-number should be used... yes
checking if you want to build libraries with libtool... no
checking if you want to build shared libraries... no
checking if you want to build static libraries... yes
checking if you want to build debug libraries... no
checking if you want to build profiling libraries... no
checking for specified models...  normal
checking for default model... normal
checking if you want to have a library-prefix... auto
checking for PATH separator... :
checking if you want to build a separate terminfo library... no
checking if you want to build a separate tic library... no
checking if you want to link with the GPM mouse library... no
checking for default loader flags... 
checking for an rpath option... -Wl,-rpath,
checking if release/abi version should be used for shared libs... auto
checking which x86_64-pc-linux-gnu-gcc option to use... -fPIC
checking if you want to disable library suffixes... no
checking if you wish to append extra suffix to header/library paths... 
checking if you wish to install ncurses overwriting curses... yes
checking if external terminfo-database is used... yes
checking which terminfo source-file will be installed... ${top_srcdir}/misc/terminfo.src
checking whether to use hashed database instead of directory/tree... no
checking for list of fallback descriptions... 
checking if you want modern xterm or antique... xterm-new
checking if xterm backspace sends BS or DEL... BS
checking for list of terminfo directories... /etc/terminfo:/usr/share/terminfo
checking for default terminfo directory... /usr/share/terminfo
checking if big-core option selected... yes
checking if big-strings option selected... yes
checking if you want termcap-fallback support... no
checking if ~/.terminfo is wanted... yes
checking if you want to use restricted environment when running as root... yes
checking for remove... yes
checking for unlink... yes
checking if link/symlink functions work...  link symlink
checking if tic should use symbolic links... yes
checking if you want broken-linker support code... no
checking if tputs should process BSD-style prefix padding... no
checking if we must define _GNU_SOURCE... no
checking if _XOPEN_SOURCE really is set... yes
checking if SIGWINCH is defined... yes
checking for nl_langinfo and CODESET... yes
checking if you want wide-character code... no
checking whether to enable _LP64 definition in curses.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking whether to use struct dirent64... no
checking if you want tparm not to use X/Open fixed-parameter list... yes
checking for type of bool... auto
checking for alternate terminal capabilities file... Caps
checking for type of chtype... uint32_t
checking for type of ospeed... short
checking for type of mmask_t... uint32_t
checking for size CCHARW_MAX... 5
checking for type of tparm args... intptr_t
checking if RCS identifiers should be compiled-in... yes
checking format of man-pages... normal
checking for manpage renaming... no
checking if manpage aliases will be installed... yes
checking if manpage symlinks should be used... yes
checking for manpage tbl... no
checking if you want to build with function extensions... yes
checking if you want to build with SCREEN extensions... yes
checking if you want to build with terminal-driver... no
checking for extended use of const keyword... yes
checking if you want to use extended colors... yes
configure: WARNING: This option applies only to wide-character library
checking if you want to use extended mouse encoding... yes
checking if you want to use extended putwin/screendump... yes
checking if you want $NCURSES_NO_PADDING code... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for signed char... yes
checking size of signed char... 1
checking if you want to use signed Boolean array in term.h... no
checking if you want SIGWINCH handler... yes
checking if you want user-definable terminal capabilities like termcap... yes
checking if you want all development code... no
checking if you want hard-tabs code... yes
checking if you want limited support for xmc... no
checking if you do not want to assume colors are white-on-black... yes
checking if you want hashmap scrolling-optimization code... yes
checking if you want colorfgbg code... yes
checking if you want interop bindings... yes
checking if you want to link with the pthread library... no
checking if you want reentrant code... no
checking if you want experimental safe-sprintf code... no
checking if you want wgetch-events code... no
checking if you want to see long compiling messages... yes
checking if you want to see compiler warnings... yes
checking if this is really Intel C compiler... no
checking if this is really Clang C compiler... no
configure: checking for x86_64-pc-linux-gnu-gcc warning options...
... -W
... -Wall
... -Wbad-function-cast
... -Wcast-align
... -Wcast-qual
... -Wdeclaration-after-statement
... -Wextra
... -Winline
... -Wmissing-declarations
... -Wmissing-prototypes
... -Wnested-externs
... -Wpointer-arith
... -Wshadow
... -Wstrict-prototypes
... -Wundef
... -Wignored-qualifiers
... -Wlogical-op
... -Wwrite-strings
... -Wno-unknown-pragmas
... -Wswitch-enum
checking if this is really Intel C++ compiler... no
checking if this is really Clang C++ compiler... no
configure: checking for x86_64-pc-linux-gnu-g++ warning options...
... -Wabi
... -fabi-version=0
... -Wextra
... -Wignored-qualifiers
... -Wlogical-op
... -Woverloaded-virtual
... -Wsign-promo
... -Wsynth
... -Wold-style-cast
... -Wcast-align
... -Wcast-qual
... -Wpointer-arith
... -Wshadow
... -Wundef
... -Wwrite-strings
... -Weffc++
... -Wno-unused
configure: checking for x86_64-pc-linux-gnu-gcc __attribute__ directives...
... scanf
... printf
... unused
... noreturn
checking if you want to work around bogus compiler/loader warnings... no
checking if you want to enable runtime assertions... no
checking if you want to use dmalloc for testing... no
checking if you want to use dbmalloc for testing... no
checking if you want to use valgrind for testing... no
checking if you want to perform memory-leak testing... no
checking whether to add trace feature to all models... no
checking if we want to use GNAT projects... yes
checking for gettimeofday... yes
checking if -lm needed for math functions... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for regcomp... yes
checking for regular-expression headers... regex.h
checking for fcntl.h... yes
checking for getopt.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for math.h... yes
checking for poll.h... yes
checking for sys/bsdtypes.h... no
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for ttyent.h... yes
checking for unistd.h... (cached) yes
checking for wctype.h... yes
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) yes
checking for header declaring getopt variables... unistd.h
checking if sys/time.h works with sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking if x86_64-pc-linux-gnu-gcc supports options to tune inlining... yes
checking for signal global datatype... volatile sig_atomic_t
checking if unsigned literals are legal... yes
checking if external errno is declared... yes
checking if external errno exists... no
checking if data-only library module links... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getopt... yes
checking for getttynam... yes
checking for issetugid... no
checking for poll... yes
checking for putenv... yes
checking for remove... (cached) yes
checking for select... yes
checking for setbuf... yes
checking for setbuffer... yes
checking for setenv... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigvec... yes
checking for strdup... yes
checking for strstr... yes
checking for tcgetpgrp... yes
checking for times... yes
checking for vsnprintf... yes
checking for isascii... yes
checking whether sigaction needs _POSIX_SOURCE... no
checking if nanosleep really works... yes
checking for termio.h... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking whether termios.h needs _POSIX_SOURCE... no
checking for tcgetattr... yes
checking for vsscanf function or workaround... vsscanf
checking for working mkstemp... yes
checking whether setvbuf arguments are reversed... no
checking for intptr_t... yes
checking for ssize_t... yes
checking for type sigaction_t... no
checking declaration of size-change... yes
checking for memmove... yes
checking if poll really works... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking for openpty in -lutil... yes
checking for openpty header... pty.h
checking if we should include stdbool.h... yes
checking for builtin bool type... no
checking for library stdc++... no
checking whether x86_64-pc-linux-gnu-g++ understands -c and -o together... yes
checking how to run the C++ preprocessor...  * The ebuild phase 'configure' with pid 1313 appears to have left an
 * orphan process running in the background.

>>> Failed to emerge sys-libs/ncurses-6.0-r1, Log file:

>>>  '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/build.log'

 * Messages for package sys-libs/ncurses-6.0-r1:

 * The ebuild phase 'configure' with pid 1313 appears to have left an
 * orphan process running in the background.
 * ERROR: sys-libs/ncurses-6.0-r1 failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 * ERROR: sys-libs/ncurses-6.0-r1 failed (configure phase):
 *   (no error message)
 *          ebuild.sh, line   93:  Called src_configure
 * 
 * Call stack:
 *        environment, line 2943:  Called multilib-minimal_src_configure
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2065:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *        environment, line 2943:  Called multilib-minimal_src_configure
 *        environment, line 2279:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 2065:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *        environment, line 1926:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 2279:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 1924:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *        environment, line 1926:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line  341:  Called multilib-minimal_abi_src_configure
 *        environment, line 1924:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *        environment, line 2059:  Called multilib_src_configure
 *        environment, line  341:  Called multilib-minimal_abi_src_configure
 *        environment, line 2059:  Called multilib_src_configure
 *        environment, line 2502:  Called multijob_child_init 'do_configure' 'ncurses'
 *        environment, line 2502:  Called multijob_child_init 'do_configure' 'ncursesw'
 *        environment, line 1988:  Called do_configure 'ncurses'
 *        environment, line 1988:  Called do_configure 'ncursesw'
 *        environment, line  592:  Called econf '--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo' '--enable-pc-files' '--with-pkg-config=x86_64-pc-linux-gnu-pkg-config' '--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-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-widec' '--without-pthread' '--without-reentrant' '--enable-overwrite'
 *   phase-helpers.sh, line  449:  Called die
 * The specific snippet of code:
 *        environment, line  592:  Called econf '--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo' '--enable-pc-files' '--with-pkg-config=x86_64-pc-linux-gnu-pkg-config' '--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-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' '--enable-widec' '--without-pthread' '--without-reentrant' '--includedir=/usr/include/ncursesw'
 *   phase-helpers.sh, line  449:  Called die
 *   			touch -r "$ECONF_SOURCE/configure._portage_tmp_.$$" "$ECONF_SOURCE/configure" || die
 * The specific snippet of code:
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.0-r1'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.0-r1'`.
 *   			touch -r "$ECONF_SOURCE/configure._portage_tmp_.$$" "$ECONF_SOURCE/configure" || die
 * The complete build log is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/build.log'.
 * 
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/environment'.
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.0-r1'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.0-r1'`.
 * Working directory: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_64.amd64/ncurses'
 * S: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0'
 * The complete build log is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_64.amd64/ncursesw'
 * S: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0'
if I go into the sys-libs/ncurses-6.0-r1/work/dist dir and do a ./configure and a make and a make install it all works fine...so I don't really know what's going wrong...

emerge --info

Code: Select all

Portage 2.1.12.6 (default/linux/amd64/13.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.11-gentoo x86_64)
=================================================================
System uname: Linux-3.2.11-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5530_@_2.40GHz-with-gentoo-2.1
KiB Mem:    12297576 total,    127784 free
KiB Swap:    2441876 total,   2430560 free
Timestamp of tree: Sun, 11 Sep 2016 08:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-lang/perl:            5.12.4-r2
dev-lang/python:          2.7.3-r2, 3.1.5, 3.2.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.10-r2
sys-devel/autoconf:       2.68, 2.69-r2
sys-devel/automake:       1.10.3, 1.11.3, 1.13.4, 1.15-r2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2::x-portage
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j24"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 apache apache2 ares bcmath bzip2 calendar cdb cgi cli cracklib crypt ctype curl curlwrappers cxx dri encode endfile exif fastbuild flac force-cgi-redirect fortran ftp gd gmp gnutls hardenedphp hash iconv imap inifile ipv6 ithreads kerberos ladspa libmpeg2 mad mcve memlimit mhash ming mmx mmxext modules mssql multilib mysql ncurses nls nptl ogg openmp pam pcntl pcre perl pic posix python qdbm readline reflection sasl seccomp session sharedext simplexml snmp soap sockets spell spl sqlite sse sse2 ssl svg sybase sysvipc tcpd tidy tokenizer truetype unicode vhosts wddx xattr xml xmlreader xmlrpc xmlwriter xpm xsl zip 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 auth_basic expires" APACHE2_MPMS="prefork" 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="mmx mmxext sse sse2" 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-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Hopefully you guys can help me out, thanks in advance. Oh yea, when I try to run configure && make from the dir then run ebuild on the ebuild.sh (I found that on a solution in my Googlings) it gives me "ebuild doesn't have a valid portdir"
Top
Buffoon
Veteran
Veteran
User avatar
Posts: 1369
Joined: Wed Jun 17, 2015 2:22 pm
Location: EU or US

  • Quote

Post by Buffoon » Sun Sep 11, 2016 6:15 pm

You may want to check out this thread. There are more threads like this, they all reach the same conclusion.
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Sun Sep 11, 2016 6:24 pm

My boss put me in charge of upgrading it (it hasn't been upgraded since 2012...)
Don't upgrade. Reinstall from scratch. Will be faster and easier... and if you're not a gentoo guy, you may also consider migrating to something else at the same time.
Don't take me wrong, gentoo is really cool, but heterogenous environments are always high-maintenance ones, and you made it sound like this particular server was a singleton, so why won't you just get rid of it?
Top
plzdontflamebro
n00b
n00b
Posts: 2
Joined: Sun Sep 11, 2016 6:01 pm

  • Quote

Post by plzdontflamebro » Sun Sep 11, 2016 6:54 pm

Buffoon wrote:You may want to check out this thread. There are more threads like this, they all reach the same conclusion.
I looked at that, but I'm not out of inodes...so I don't really follow

Code: Select all

Filesystem                                          Inodes  IUsed     IFree IUse% Mounted on
rootfs                                            17539072 538849  17000223    4% /
udev                                               1537197    706   1536491    1% /dev
/dev/sda3                                         17539072 538849  17000223    4% /
rc-svcdir                                          1537197     78   1537119    1% /lib64/rc/init.d
cgroup_root                                        1537197      4   1537193    1% /sys/fs/cgroup
shm                                                1537197      1   1537196    1% /dev/shm
Don't upgrade. Reinstall from scratch. Will be faster and easier... and if you're not a gentoo guy, you may also consider migrating to something else at the same time.
Don't take me wrong, gentoo is really cool, but heterogenous environments are always high-maintenance ones, and you made it sound like this particular server was a singleton, so why won't you just get rid of it?
Yea, I may end up doing that man, I really would love me some CentOS or Debian right now lol

thanks for the help guys, I'll give it another 8 cups of coffee and if it's not solved by then I'll nuke and pave.

[Moderator edit: Cleaned up mismatched quote/code tags. -Hu]
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Sun Sep 11, 2016 10:21 pm

Upgrading from ncurses 5.9 to 6.0 on its own is a suicide mission likely to break /bin/bash, *even if* you know what you're doing. Much better to wipe it and start clean.
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

  • Quote

Post by desultory » Tue Sep 13, 2016 3:23 am

Just to offer a different take on this, it is entirely possible to do the necessary updates if you must keep the system running instead of being allowed to take it down for a rebuild, and if you do go that route you should be able to deal with virtually any problem that you might encounter with the system later. The trick to it is twofold: grab a series of snapshots from cvs and clone yourself a copy of the git repo from which you can then pull snapshots locally (the two VCS are due to a changeover between them since that system last got an update), then update system through the snapshots (one every six months should be quite manageable).

Also...
plzdontflamebro wrote:

Code: Select all

 * IMPORTANT: 28 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
Do that.
plzdontflamebro wrote:Hopefully you guys can help me out, thanks in advance. Oh yea, when I try to run configure && make from the dir then run ebuild on the ebuild.sh (I found that on a solution in my Googlings) it gives me "ebuild doesn't have a valid portdir"
Not that. But if you really need to (you really do not need to) we could help you do that right too.
Top
dilfridge
Developer
Developer
User avatar
Posts: 121
Joined: Sat Sep 18, 2010 11:38 am
Location: Regensburg, Germany
Contact:
Contact dilfridge
Website

Re: Not a Gentoo guy, inherited this server, Googled for hou

  • Quote

Post by dilfridge » Sat Sep 17, 2016 7:13 pm

plzdontflamebro wrote:Hi, Gentoo is a bit out of my depth :/ I really tried searching everywhere for a solution but I haven't come any closer. I inherited a very old server at a client's site. My boss put me in charge of upgrading it (it hasn't been upgraded since 2012...) so I've gotten a few things to upgrade but now I'm stuck getting portage to upgrade to an EAPI 6 version ¯\_(ツ)_/¯ (sorry I'm not a Gentoo person :/) the package which seems to keep giving me hard blocks is ncurses.

When I try to ncurses 6.0rc1 via emerge it starts the configure then files with this output:
The ncurses update is a nightmare in itself. If you can (i.e., if you dont need specifically ncurses-6 for some reason), avoid it for now until everything else is fixed. You could for example put (for the moment, NOT long-term)

Code: Select all

>sys-libs/ncurses-5.9-r5
in /etc/portage/package.mask.

About getting a EAPI=6 capable portage. The trick is that portage/emerge is able to run "uninstalled". So what you can try is to grab the tarball of the latest stable portage release, unpack it somewhere (/root/temporary-portage/...), cd into that directory, and run the emerge file from in there by providing its exact path. This, of course, understands EAPI=6, and may be able to update your system, including the installed portage. (You may encounter other unrelated problems. 4 years is way beyond the usual update cycle.)
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic