[ebuild U ] sys-process/htop-1.0.2-r1 [1.0.2] USE="-openvz -unicode -vserver" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-process/htop-1.0.2-r1 >>> Failed to emerge sys-process/htop-1.0.2-r1, Log file: >>> '/var/log/portage/sys-process:htop-1.0.2-r1:20130512-113314.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.94, 1.54, 1.83 * Package: sys-process/htop-1.0.2-r1 * Repository: gentoo * Maintainer: idl0r@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: sandbox >>> Unpacking source... >>> Unpacking htop-1.0.2.tar.gz to /tmp/portage/sys-process/htop-1.0.2-r1/work >>> Source unpacked in /tmp/portage/sys-process/htop-1.0.2-r1/work >>> Preparing source in /tmp/portage/sys-process/htop-1.0.2-r1/work/htop-1.0.2 ... * Applying htop-1.0.2-tinfo.patch ... [ ok ] * Running eautoreconf in '/tmp/portage/sys-process/htop-1.0.2-r1/work/htop-1.0.2' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy ... [ ok ] * Running elibtoolize in: htop-1.0.2/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... * Applying target-nm/2.4.2 patch ... >>> Source prepared. >>> Configuring source in /tmp/portage/sys-process/htop-1.0.2-r1/work/htop-1.0.2 ... * econf: updating htop-1.0.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating htop-1.0.2/config.guess with /usr/share/gnuconfig/config.guess ./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 --disable-dependency-tracking --disable-openvz --enable-cgroup --disable-vserver --disable-unicode --enable-taskstats configure: loading site script /usr/share/config.site checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for ceil in -lm... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking whether closedir returns void... no checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for memmove... yes checking for strncasecmp... yes checking for strstr... yes checking for strdup... yes checking whether gcc -std=c99 option works... yes checking for NCURSES... no configure: error: in `/tmp/portage/sys-process/htop-1.0.2-r1/work/htop-1.0.2': configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables NCURSES_CFLAGS and NCURSES_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see <http://pkg-config.freedesktop.org/>. See `config.log' for more details !!! Please attach the following file when seeking support: !!! /tmp/portage/sys-process/htop-1.0.2-r1/work/htop-1.0.2/config.log * ERROR: sys-process/htop-1.0.2-r1 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2900: Called econf '--disable-openvz' '--enable-cgroup' '--disable-vserver' '--disable-unicode' '--enable-taskstats' * phase-helpers.sh, line 521: Called die * The specific snippet of code: * die "econf failed" * Reproducible: Always Portage 2.1.11.63 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.17, 3.7.10-gentoo-heroth-v5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.7.10-gentoo-heroth-v5-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-gentoo-2.2 KiB Mem: 8094404 total, 3671816 free KiB Swap: 4194300 total, 4194300 free Timestamp of tree: Sun, 12 May 2013 10:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.4 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.12.6, 1.13.1 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.7.2-r1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo location: /usr/portage sync: rsync://rsync1.pl.gentoo.org/gentoo-portage priority: -1000 ABI="amd64" ABI_X86="64" ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ALSA_CARDS="usb-audio hda-intel" ALSA_PCM_PLUGINS="ioplug dmix empty copy rate null route share shm softvol lfloat linear file ioplug extplug" ANDROID_SWT="/usr/share/swt-4.2/lib" ANT_HOME="/usr/share/ant" APACHE2_MODULES="" ARCH="amd64" AUTOCLEAN="yes" BOOTSTRAP_USE="cxx unicode python_targets_python3_2 python_targets_python2_7 multilib" CALLIGRA_FEATURES="" CAMERAS="" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -mtune=native" CFLAGS_amd64="-m64" CFLAGS_x32="-mx32" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x32="x86_64-pc-linux-gnux32" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLECTD_PLUGINS="" COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class" COLORTERM="rxvt" 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/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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CURL_SSL="gnutls" CXXFLAGS="-O2 -pipe -march=native -mtune=native" DEFAULT_ABI="amd64" DISPLAY=":0.1" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" ELIBC="glibc" EMERGE_WARNING_DELAY="10" EPREFIX="" EROOT="/" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" FLTK_DOCDIR="/usr/share/doc/fltk-1.3.2/html" FOO2ZJS_DEVICES="hp1020" GCC_SPECS="" GPSD_PROTOCOLS="" GRUB_PLATFORMS="" GSETTINGS_BACKEND="dconf" GTK2_RC_FILES="/home/manwe/.gtkrc-2.0" GUILE_LOAD_PATH="/usr/share/guile/1.8" HISTIGNORE="&:[ ]*:exit" HISTSIZE="1000" HOME="/root" INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.2/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.23.1/info" INPUT_DEVICES="mouse keyboard synaptics evdev" IUSE_IMPLICIT="prefix" KERNEL="linux" LANG="pl_PL" LANGUAGE="48" LCD_DEVICES="g15" LC_ALL="pl_PL" LINGUAS="pl" LOGNAME="root" MAKEOPTS="-j5" MULTILIB_ABIS="amd64 x86" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)" OPENCL_PROFILE="nvidia" OPENGL_PROFILE="nvidia" PAGER="/usr/bin/less" PATH="/home/manwe/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/home/manwe/.bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/4.6.3:/opt/vmware/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:/sbin:/usr/sbin" PHP_TARGETS="php5-3 php5-4" PKGDIR="/usr/portage/packages" PORTAGE_NICENESS="19" PORTAGE_OVERRIDE_EPREFIX="" PORTAGE_PYM_PATH="/usr/lib64/portage/pym" PORTAGE_RSYNC_INITIAL_TIMEOUT="500" PORTAGE_RSYNC_RETRIES="-1" PORTAGE_SYNC_STALE="30" PORTAGE_TMPDIR="/var/tmp" PORTAGE_VERBOSE="1" PORTAGE_WORKDIR_MODE="0700" PORTAGE_XATTR_EXCLUDE="security.*" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portages/layman/manwe /usr/portages/layman/asux /var/lib/g-ctan" PORT_LOGDIR="/var/log/portage" PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete" PRELINK_PATH_MASK="/usr/lib64/klibc:/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so" PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND" PWD="/root" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QT_GRAPHICSSYSTEM="raster" ROOTPATH="/opt/bin:/home/manwe/.bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/4.6.3:/opt/vmware/bin" RPMDIR="/usr/portage/rpm" RUBYOPT="-rauto_gem" RUBY_TARGETS="ruby19" SHELL="/bin/bash" SHLVL="2" SVN_EDITOR="/usr/bin/subl" SYMLINK_LIB="yes" SYNC="rsync://rsync1.pl.gentoo.org/gentoo-portage" TERM="rxvt" UNINSTALL_IGNORE="/lib/modules/*" USE="X a52 aac aalib acpi aiglx alsa amd64 apm bash-completion bcmath berkdb bluetooth bmp branding browserplugin bzip2 calendar cdinstall cdr cleartype crypt cups cxx dbus directfb dvd dvdr dvdread encode fbcon ffmpeg flac ftp gd-exteral gif glut gpm gtk2 ieee1394 jabber javascript jpeg libnotify libwww mmx mozilla mp3 mpd mpeg3 multilib mysql ncurses newspr nls nptl nptlonly nsplugin nvidia ogg opengl pam pdf perl php png readline smp soap spell sse sse2 sse3 sse4_1 ssl ssse3 svg threads tiff truetype truetype-fonts usb userlocales vdpau vim wifi with-x wmf xcomposite xinerama xml xorg xosd xv xvid" ABI_X86="64" USER="root" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev" WANT_MP="true" XDG_CONFIG_DIRS="/etc/xdg" XDG_DATA_DIRS="/usr/local/share:/usr/share"
Please read the output, it says: !!! Please attach the following file when seeking support: !!! /tmp/portage/sys-process/htop-1.0.2-r1/work/htop-1.0.2/config.log
And try `pkg-config --libs ncurses` from commandline, paste that output too
Created attachment 348062 [details] config.log for htop-1.0.2-r1 I had it copied to attach, and forgot in last second. Sorry. # pkg-config --libs ncurses -lncurses I have ncurses installed. [ebuild R ] sys-libs/ncurses-5.9-r2:5 USE="cxx gpm unicode -ada -debug -doc -minimal -profile -static-libs -tinfo -trace"
The build fails because of USE="-unicode". htop-1.0.2-r1 introduces the patch htop-1.0.2-tinfo.patch which seems to have the error desribed here in section 3.4: http://www.flameeyes.eu/autotools-mythbuster/pkgconfig/pkg_check_modules.html
Yup. Works with USE=unicode. I don't have this flag on, 'cause I'm using iso8859-2 locale. So I'm guessing it should be removed from USE and turned on by default.
+ 12 May 2013; Samuli Suominen <ssuominen@gentoo.org> + files/htop-1.0.2-tinfo.patch: + Explicit call to PKG_PROG_PKG_CONFIG wrt #469566 by Roman Žilka