View previous topic :: View next topic |
Author |
Message |
saski4711 Apprentice
Joined: 24 Jun 2004 Posts: 176
|
Posted: Thu Oct 01, 2015 5:11 pm Post subject: app-admin/conky-1.10.0 fails to emerge |
|
|
Hi,
conky failed to emerge:
Code: |
* Package: app-admin/conky-1.10.0
* Repository: gentoo
* Maintainer: billie@gentoo.org
* Upstream: brenden@rty.ca
* USE: X abi_x86_64 amd64 elibc_glibc iconv kernel_linux ncurses portmon userland_GNU wifi
* FEATURES: preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking conky-1.10.0.tar.gz to /tmp/portage/app-admin/conky-1.10.0/work
>>> Source unpacked in /tmp/portage/app-admin/conky-1.10.0/work
>>> Preparing source in /tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0 ...
* Applying conky-1.10.0-cmake.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0 ...
>>> Working in BUILD_DIR: "/tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build"
cmake --no-warn-unused-cli -C /tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_X11=ON -DOWN_WINDOW=ON -DBUILD_XDAMAGE=ON -DBUILD_XDBE=ON -DBUILD_XFT=OFF -DBUILD_IMLIB2=OFF -DBUILD_XSHAPE=ON -DBUILD_ARGB=ON -DBUILD_LUA_CAIRO=OFF -DBUILD_LUA_IMLIB2=OFF -DBUILD_LUA_RSVG=OFF -DBUILD_nvidia=OFF -DBUILD_NVIDIA=OFF -DBUILD_Nvidia=OFF -DBUILD_audacious=OFF -DBUILD_AUDACIOUS=OFF -DBUILD_Audacious=OFF -DBUILD_xmms2=OFF -DBUILD_XMMS2=OFF -DBUILD_Xmms2=OFF -DBUILD_apcupsd=OFF -DBUILD_APCUPSD=OFF -DBUILD_Apcupsd=OFF -DBUILD_debug=OFF -DBUILD_DEBUG=OFF -DBUILD_Debug=OFF -DBUILD_cmus=OFF -DBUILD_CMUS=OFF -DBUILD_Cmus=OFF -DBUILD_curl=OFF -DBUILD_CURL=OFF -DBUILD_Curl=OFF -DBUILD_eve=OFF -DBUILD_EVE=OFF -DBUILD_Eve=OFF -DBUILD_hddtemp=OFF -DBUILD_HDDTEMP=OFF -DBUILD_Hddtemp=OFF -DBUILD_iostats=OFF -DBUILD_IOSTATS=OFF -DBUILD_Iostats=OFF -DBUILD_ical=OFF -DBUILD_ICAL=OFF -DBUILD_Ical=OFF -DBUILD_iconv=ON -DBUILD_ICONV=ON -DBUILD_Iconv=ON -DBUILD_ipv6=OFF -DBUILD_IPV6=OFF -DBUILD_Ipv6=OFF -DBUILD_irc=OFF -DBUILD_IRC=OFF -DBUILD_Irc=OFF -DBUILD_math=OFF -DBUILD_MATH=OFF -DBUILD_Math=OFF -DBUILD_moc=OFF -DBUILD_MOC=OFF -DBUILD_Moc=OFF -DBUILD_mpd=OFF -DBUILD_MPD=OFF -DBUILD_Mpd=OFF -DBUILD_mysql=OFF -DBUILD_MYSQL=OFF -DBUILD_Mysql=OFF -DBUILD_ncurses=ON -DBUILD_NCURSES=ON -DBUILD_Ncurses=ON -DBUILD_PORT_MONITORS=ON -DBUILD_rss=OFF -DBUILD_RSS=OFF -DBUILD_Rss=OFF -DBUILD_IBM=OFF -DBUILD_WEATHER_METAR=OFF -DBUILD_WEATHER_XOAP=OFF -DBUILD_HTTP=OFF -DBUILD_WLAN=ON -DBUILD_BUILTIN_CONFIG=ON -DBUILD_OLD_CONFIG=ON -DBUILD_I18N=ON -DMAINTAINER_MODE=ON -DBUILD_AUDACIOUS_LEGACY=OFF -DBUILD_BMPX=OFF -DDOC_PATH=/usr/share/doc/conky-1.10.0 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build/gentoo_toolchain.cmake /tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0
Not searching for unused variables given on the command line.
loading initial cache file /tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "0.29")
-- Looking for include file sys/statfs.h
-- Looking for include file sys/statfs.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/inotify.h
-- Looking for include file sys/inotify.h - found
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for pipe2
-- Looking for pipe2 - not found
-- Looking for O_CLOEXEC
-- Looking for O_CLOEXEC - found
-- Looking for statfs64
-- Looking for statfs64 - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for ncurses.h
-- Looking for ncurses.h - found
-- Looking for iwlib.h
-- Looking for iwlib.h - found
-- Looking for iw_sockets_open
-- Looking for iw_sockets_open - not found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for 5 include files netdb.h, ..., arpa/inet.h
-- Looking for 5 include files netdb.h, ..., arpa/inet.h - found
-- Looking for iconv.h
-- Looking for iconv.h - found
-- Looking for iconv
-- Looking for iconv - found
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- checking for one of the modules 'lua5.2;lua-5.2;lua>=5.1;lua5.1;lua-5.1'
CMake Error at cmake/ConkyPlatformChecks.cmake:402 (message):
Unable to find program 'man'
Call Stack (most recent call first):
CMakeLists.txt:37 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build/CMakeFiles/CMakeOutput.log".
See also "/tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build/CMakeFiles/CMakeError.log".
* ERROR: app-admin/conky-1.10.0::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 90: Called src_configure
* environment, line 4291: Called cmake-utils_src_configure
* environment, line 1338: Called _execute_optionally 'src_configure'
* environment, line 587: Called enable_cmake-utils_src_configure
* environment, line 2094: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
*
* If you need support, post the output of `emerge --info '=app-admin/conky-1.10.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-admin/conky-1.10.0::gentoo'`.
* The complete build log is located at '/tmp/portage/app-admin/conky-1.10.0/temp/build.log'.
* The ebuild environment file is located at '/tmp/portage/app-admin/conky-1.10.0/temp/environment'.
* Working directory: '/tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build'
* S: '/tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0'
|
my USE Flags:
Code: |
USE="binddist X acpi apm udev dbus gtk cairo opengl alsa \
exif tiff png jpeg classic openal usb xml consolekit policykit \
bluetooth gdu gudev libnotify wifi yasm cups python openvpn mp3 \
ssl iproute2 vaapi threads gstreamer x264 sqlite ffmpeg apng
networkmanager gnome-keyring \
-arts -gpm -kde -gnome -java -ipv6 -samba -doc -ssmtp -cgi -libav \
-gallium -ppp -xv -tools -debug -fortran -hal -llvm -hunspell \
-aspell -xscreensaver -qt4 -encode -modemmanager -vdpau"
|
Any help?
Regards
Saski |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
|
Back to top |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2284 Location: Adendorf, Germany
|
Posted: Fri Oct 02, 2015 6:42 am Post subject: |
|
|
Either add portage to the man group or merge it with Code: | FEATURES="-userpriv -usersandbox" emerge conky |
_________________ Important German:- "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
- "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
|
|
Back to top |
|
|
jserink Veteran
Joined: 30 Jan 2004 Posts: 1008
|
Posted: Sun Jan 03, 2016 12:54 pm Post subject: |
|
|
What if you have no 'man' group on your machine?
Create one?
Cheers,
John |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21607
|
Posted: Sun Jan 03, 2016 5:19 pm Post subject: |
|
|
The problem reported here is about a failure to find /usr/bin/man, which the comment in the cited bug says is app-admin/conky: dev-util/cmake can't find non-readable programs. Per comments in that bug, disabling userpriv allows cmake to run as root so that it can read the program. The bug does not depend on whether you have a group named man. It depends on whether /usr/bin/man can be read by an unprivileged user. |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Sun Jan 03, 2016 5:24 pm Post subject: |
|
|
The question that I've been wondering is, why haven't the devs simple make a patch that comments/removes that check in the make file (maybe having a build level dependency on the man package, to ensure it's there). As it's already know that cmake knows of this issue, and already stated that they could care less about it and won't do anything about it. |
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1165 Location: /run/user/1000
|
Posted: Tue Jan 05, 2016 6:02 pm Post subject: |
|
|
Indeed, if it can't compile for whatever reason and devs don't care to fix it, then why is it in portage ?
Every version above 1.9.0-r3 won't compile. |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Wed Jan 06, 2016 3:19 am Post subject: |
|
|
Well this problem is specifically an issue with cmake, and those devs don't care enough to fix their issues. As far as Gentoo's devs (a different group of people), who knows anymore. I know I used to want to help our helps out, but anymore I am not sure if it's worth it anymore.
kajzer, a work around (pointed out in the bug report that will work) is to change the file permissions on the man executable file(/usr/bin/man) to like 755. |
|
Back to top |
|
|
|