Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491650 - [kde overlay] Lots of random failures in parallel emerge at "failed to disable hardcoded settings"
Summary: [kde overlay] Lots of random failures in parallel emerge at "failed to disabl...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-19 10:04 UTC by Jakub Caban
Modified: 2014-02-26 09:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Example build log (build.log,8.11 KB, text/x-log)
2013-11-20 11:37 UTC, Jakub Caban
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Caban 2013-11-19 10:04:48 UTC
Recently I got lots of failures on live ebuilds when using emerge with -j4 option. All of them dies at:

 * ERROR: kde-base/kcontrol-9999::kde failed (configure phase):
 *   879: failed to disable hardcoded settings
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4780:  Called kde4-meta_src_configure
 *   environment, line 3887:  Called kde4-base_src_configure
 *   environment, line 3609:  Called cmake-utils_src_configure
 *   environment, line 1316:  Called _execute_optionaly 'src_configure'
 *   environment, line  542:  Called enable_cmake-utils_src_configure
 *   environment, line 1621:  Called _modify-cmakelists
 *   environment, line  879:  Called die
 * The specific snippet of code:
 *       find "${CMAKE_USE_DIR}" -name CMakeLists.txt -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_BUILD_TYPE.*)/{s/^/#IGNORE /g}' {} + -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_COLOR_MAKEFILE.*)/{s/^/#IGNORE /g}' {} + -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_INSTALL_PREFIX.*)/{s/^/#IGNORE /g}' {} + -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_VERBOSE_MAKEFILE.*)/{s/^/#IGNORE /g}' {} + || die "${LINENO}: failed to disable hardcoded settings";
 * 
 * If you need support, post the output of `emerge --info '=kde-base/kcontrol-9999::kde'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/kcontrol-9999::kde'`.
 * The complete build log is located at '/var/tmp/portage/kde-base/kcontrol-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kcontrol-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-base/kcontrol-9999/work/kcontrol-9999'
 * S: '/var/tmp/portage/kde-base/kcontrol-9999/work/kcontrol-9999'

It occurs on totally random packages and whenever I try to recompile them it succeeds.

I will attach full build log.

Reproducible: Always




Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.2, glibc-2.17, 3.12.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-2670QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8141332 total,    672688 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Tue, 19 Nov 2013 08:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r4, 3.3.2-r2
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.1-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo kde mozilla qt x11 mysql my
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache clean-logs compressdebug 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 userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--sort-common"
MAKEOPTS="-j8"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/mozilla /var/lib/layman/qt /var/lib/layman/x11 /var/lib/layman/mysql /var/lib/layman/my"
USE="3dnow 3dnowext X a52 aac acl acpi addressbook alsa amd64 attica avi bash-completion berkdb bluetooth bluray branding bzip2 cairo cdda cdio cdr cli cracklib crypt cups cxx dbus declarative dirac divx djvu dri dts dv dvd dvdr egl emboss encode eps exif facebook fam fame ffmpeg firefox firmware flac fortran g3dvl gdbm gif git gles gpm iconv icu id3tag ipv6 jpeg kde kdenlive kdepim kipi kontact lcms libass libkms lm_sensors lzma mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl ogg opengl openmp optimized-qmake opus pam pango pch pcre pdf phonon php plasma png policykit ppds pulseaudio python3 qt3support qt4 readline rss samba scanner schroedinger sdl semantic-desktop session sftp spell sse sse2 sse2_4way ssl ssse3 ssse4 svg system-cairo system-ffmpeg system-icu system-jpeg system-sqlite systemd tcpd theora threads tidy tiff truetype udev udisks unicode upower usb v4l v4l2 vdpau vim-syntax vorbis wayland wicd wifi wxwidgets x264 xcb xcomposite xinerama xml xv xvid xvmc zlib" ABI_X86="64 32" 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="access_compat authn_core vhost_alias {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="kexi words flow plan sheets stage tables krita karbon braindump author" 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="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python2_7" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC

=================================================================
                        Package Settings
=================================================================

kde-base/kcontrol-9999 was built with the following:
USE="handbook (-aqua) -debug"
Comment 1 Jakub Caban 2013-11-20 11:37:17 UTC
Created attachment 363636 [details]
Example build log
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2013-11-24 10:09:29 UTC
Did you tried without ccache?
Comment 3 Jakub Caban 2013-11-24 10:46:20 UTC
Not yet. I will try on next rebuilds and report back.
Comment 4 Jakub Caban 2013-11-24 11:03:28 UTC
With ccache removed from FEATURES I got exact same failure on libkworkspace:

>>> Emerging (1 of 121) kde-base/oxygen-icons-9999 from kde
>>> Emerging (2 of 121) kde-base/kde-env-9999 from kde
>>> Installing (2 of 121) kde-base/kde-env-9999
>>> Installing (1 of 121) kde-base/oxygen-icons-9999
>>> Emerging (3 of 121) kde-base/libkworkspace-9999 from kde
>>> Emerging (4 of 121) kde-base/kephal-9999 from kde
>>> Emerging (5 of 121) kde-base/nepomuk-core-9999 from kde
>>> Emerging (6 of 121) kde-base/ksysguard-9999 from kde
>>> Failed to emerge kde-base/libkworkspace-9999, Log file:
>>>  '/var/tmp/portage/kde-base/libkworkspace-9999/temp/build.log'

build.log:

 * Package:    kde-base/libkworkspace-9999
 * Repository: kde
 * Maintainer: kde@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   compressdebug preserve-libs sandbox userpriv usersandbox
 * Fetching refs/heads/KDE/4.11 from git://anongit.kde.org/kde-workspace ...
_git-r3_smart_fetch --no-tags git://anongit.kde.org/kde-workspace -f refs/heads/KDE/4.11:kde-base/libkworkspace/4/__main__
git fetch --progress --no-tags git://anongit.kde.org/kde-workspace -f refs/heads/KDE/4.11:kde-base/libkworkspace/4/__main__
remote: Counting objects: 82, done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 43 (delta 39), reused 0 (delta 0)
error: unable to create temporary file: File exists
fatal: failed to write object
fatal: unpack-objects failed
 * Checking out git://anongit.kde.org/kde-workspace to /var/tmp/portage/kde-base/libkworkspace-9999/work/libkworkspace-9999 ...
git checkout -f kde-base/libkworkspace/4/__main__ .
GIT update -->
   repository:               git://anongit.kde.org/kde-workspace
   at the commit:            a5e16cc48489644e92c707bf5470264b551b745c
Initialized empty Git repository in /var/tmp/portage/kde-base/libkworkspace-9999/work/libkworkspace-9999/.git/
 * Exporting parts of working copy to /var/tmp/portage/kde-base/libkworkspace-9999/work/libkworkspace-9999
 * Saving library dependencies in libkworkspace ...
 [ ok ]
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/libkworkspace-9999/work/libkworkspace-9999_build"
find: ‘/var/tmp/portage/kde-base/libkworkspace-9999/work/libkworkspace-9999/kcontrol/kfontinst/viewpart’: No such file or directory
 * ERROR: kde-base/libkworkspace-9999::kde failed (configure phase):
 *   886: failed to disable hardcoded settings
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4787:  Called kde4-meta_src_configure
 *   environment, line 3894:  Called kde4-base_src_configure
 *   environment, line 3616:  Called cmake-utils_src_configure
 *   environment, line 1323:  Called _execute_optionaly 'src_configure'
 *   environment, line  549:  Called enable_cmake-utils_src_configure
 *   environment, line 1628:  Called _modify-cmakelists
 *   environment, line  886:  Called die
 * The specific snippet of code:
 *       find "${CMAKE_USE_DIR}" -name CMakeLists.txt -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_BUILD_TYPE.*)/{s/^/#IGNORE /g}' {} + -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_COLOR_MAKEFILE.*)/{s/^/#IGNORE /g}' {} + -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_INSTALL_PREFIX.*)/{s/^/#IGNORE /g}' {} + -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_VERBOSE_MAKEFILE.*)/{s/^/#IGNORE /g}' {} + || die "${LINENO}: failed to disable hardcoded settings";
 * 
 * If you need support, post the output of `emerge --info '=kde-base/libkworkspace-9999::kde'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/libkworkspace-9999::kde'`.
 * The complete build log is located at '/var/tmp/portage/kde-base/libkworkspace-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/libkworkspace-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-base/libkworkspace-9999/work/libkworkspace-9999'
 * S: '/var/tmp/portage/kde-base/libkworkspace-9999/work/libkworkspace-9999'

There probably will be more failures - they all looks exactly the same.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2013-11-24 14:45:57 UTC
What is the full emerge command you are using?