Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge of knights fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1108
Location: Stuart, Florida

PostPosted: Mon Aug 06, 2012 4:07 am    Post subject: Emerge of knights fails Reply with quote

After emerge updated several libraries, I followed up with an "emerge --newuse --deep --update world" and a "revdep-rebuild". Revdep-rebuild is failing on the emerge of knights. The error message states that the build system is building files and then overwriting them, which used to be acceptable, but isn't now. I don't see how to fix what is wrong

One suspicious thing is that the failing emerge lists KDE 4.8 libraries and I just updated to KDE 4.9.

[list=]
>>> Emerging (1 of 3) games-board/knights-2.4.2
* knights-2.4.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking knights-2.4.2.tar.bz2 to /var/tmp/portage/games-board/knights-2.4.2/work
>>> Source unpacked in /var/tmp/portage/games-board/knights-2.4.2/work
>>> Preparing source in /var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2_build/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2_build/gentoo_rules.cmake /var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2_build/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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
-- 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.8.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.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
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - 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 OpenSSL: /usr/lib64/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found Phonon: /usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.8 include dir: /usr/include
-- Found KDE 4.8 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
CMake Error at CMakeLists.txt:4 (find_package):
Could not find module FindLibKDEGames.cmake or a configuration file for
package LibKDEGames.

Adjust CMAKE_MODULE_PATH to find FindLibKDEGames.cmake or set
LibKDEGames_DIR to the directory containing a CMake configuration file for
LibKDEGames. The file will have one of the following names:

LibKDEGamesConfig.cmake
libkdegames-config.cmake




-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
* Qt Animation Framework - Support for property animations in Qt

-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
CMake Warning (dev) at /usr/share/apps/cmake/modules/MacroOptionalAddSubdirectory.cmake:38 (ADD_SUBDIRECTORY):
Policy CMP0013 is not set: Duplicate binary directories are not allowed.
Run "cmake --help-policy CMP0013" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The binary directory

/var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2_build/doc

is already used to build a source directory. This command uses it to build
source directory

/var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2/doc

which can generate conflicting build files. CMake does not support this
use case but it used to work accidentally and is being allowed for
compatibility.
Call Stack (most recent call first):
CMakeLists.txt:43 (macro_optional_add_subdirectory)
This warning is for project developers. Use -Wno-dev to suppress it.

-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C -O2 -pipe -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common
C++ -O2 -pipe -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden
Linker flags:
Executable -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed
Shared -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!
* ERROR: games-board/knights-2.4.2 failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 85: Called src_configure
* environment, line 3829: Called kde4-base_src_configure
* environment, line 2949: Called cmake-utils_src_configure
* environment, line 1103: Called _execute_optionaly 'src_configure'
* environment, line 543: Called enable_cmake-utils_src_configure
* environment, line 1416: 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 '=games-board/knights-2.4.2'`,
* the complete build log and the output of `emerge -pqv '=games-board/knights-2.4.2'`.
* The complete build log is located at '/var/tmp/portage/games-board/knights-2.4.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-board/knights-2.4.2/temp/environment'.
* Working directory: '/var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2_build'
* S: '/var/tmp/portage/games-board/knights-2.4.2/work/knights-2.4.2'

>>> Failed to emerge games-board/knights-2.4.2, Log file:

>>> '/var/tmp/portage/games-board/knights-2.4.2/temp/build.log'
[/list]
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Tue Aug 07, 2012 11:28 am    Post subject: Reply with quote

Start from removing knights, completing the revdep-rebuild, doing emerge --depclean and then try to re-emerge knights.
_________________
BTW, TWM FTW!
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1108
Location: Stuart, Florida

PostPosted: Tue Aug 07, 2012 3:21 pm    Post subject: Reply with quote

I did what you suggested and it still fails.

emerge --info follows:


    bopper portage # emerge --info
    Portage 2.1.10.65 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.3.8-gentoo x86_64)
    =================================================================
    System uname: Linux-3.3.8-gentoo-x86_64-AMD_Phenom-tm-_II_X4_970_Processor-with-gentoo-2.1
    Timestamp of tree: Mon, 06 Aug 2012 22:00:01 +0000
    app-shells/bash: 4.2_p20
    dev-java/java-config: 2.1.11-r3
    dev-lang/python: 2.7.3-r2, 3.1.5, 3.2.3
    dev-util/cmake: 2.8.7-r5
    dev-util/pkgconfig: 0.26
    sys-apps/baselayout: 2.1-r1
    sys-apps/openrc: 0.9.8.4
    sys-apps/sandbox: 2.5
    sys-devel/autoconf: 2.13, 2.69
    sys-devel/automake: 1.10.3, 1.11.1
    sys-devel/binutils: 2.21.1-r1
    sys-devel/gcc: 4.5.3-r2
    sys-devel/gcc-config: 1.7.3
    sys-devel/libtool: 2.4-r1
    sys-devel/make: 3.82-r1
    sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
    sys-libs/glibc: 2.14.1-r3
    Repositories: gentoo
    ACCEPT_KEYWORDS="amd64"
    ACCEPT_LICENSE="* -@EULA"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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"
    DISTDIR="/usr/portage/distfiles"
    FCFLAGS="-O2 -pipe"
    FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
    FFLAGS="-O2 -pipe"
    GENTOO_MIRRORS="http://distfiles.gentoo.org"
    LANG="en_US.UTF-8"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed"
    LINGUAS="en"
    MAKEOPTS="-j5"
    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=""
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="3dnow X Xaw3d a52 aac aalib acl acpi aim alsa amd64 ao apache2 apm audiofile avahi berkdb blas bluetooth branding bzip2 cairo calendar caps cdda cddb cdinstall cdparanoia cdr cgi clamav cli consolekit cracklib crypt css ctype cups curl cvs cxx dbi dbm dbus dbx dga directfb dri dts dv dvb dvd dvdr eds emboss encode enscript evo examples exif expat fam fastcgi fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gcj gdbm gif gimp glu gmp gnome gnuplot gnutls gphoto2 gpm graphviz gsl gsm gstreamer gtk gtkhtml guile gzip hal handbook hddtemp iconv icq icu idn ieee1394 imagemagick imlib innodb introspection iodbc ipv6 jabber java java6 javascript jbig jingle jpeg jpeg2k kde kontact lapack lcms ldap libcaca libedit libgda libnotify libwww lm_sensors lua lzma lzo mad maildir mikmod milter mime mmap mmx mng modules motif mozilla mp3 mp4 mpeg mpi mplayer msn mudflap multilib musepac mysql mysqli nas ncurses networkmanager nls nntp nptl nsplugin odbc offensive ofx ogg opengl openmp osc oscar oss pam pango pch pcntl pcre pdf perl php plasma plotutils png policykit portaudio posix postgres ppds pppd pulseaudio python qt3support qt4 quicktime raw rdesktop readline rss ruby samba sasl sdl semantic-desktop session sharedext sharedmem simplexml smp sndfile snmp soap sockets socks5 speex spell sqlite sqlite3 sse sse2 ssl startup-notification subversion suid svg symlink syslog sysvipc szip tcl tcpd theora threads tidy tiff timiditytk tokenizer truetype udev udisks unicode upower usb v4l v4l2 vcd vorbis wmf wxwidgets x264 xcb xcomposite xft xine xinerama xinetd xml xnlrpc xosd xv xvid yahoo zeroconf zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="brightness menu trash" 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_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

    bopper portage #
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Tue Aug 07, 2012 4:10 pm    Post subject: Reply with quote

If it still fails after revdep-rebuild and emerge --depclean and a second revdep-rebuild, please file a bug at bugs.gentoo.org, providing the full build log.
_________________
BTW, TWM FTW!
Back to top
View user's profile Send private message
njharris
n00b
n00b


Joined: 17 Sep 2002
Posts: 13

PostPosted: Tue Aug 07, 2012 8:55 pm    Post subject: Emerge of knights fails Reply with quote

A bug report for this problem already exists at https://bugs.gentoo.org/show_bug.cgi?id=429418. Upstream has ported knights to KDE-4.9.0, but hasn't released it yet.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players 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