Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627672 - app-office/kmymoney:4 w/ cmake-3.9: "No rule to make target '//kmymoneysettings.h'"
Summary: app-office/kmymoney:4 w/ cmake-3.9: "No rule to make target '//kmymoneysettin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-12 07:15 UTC by David Zaslavsky
Modified: 2017-08-12 08:21 UTC (History)
0 users

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


Attachments
Complete build log (build.log,284.40 KB, text/x-log)
2017-08-12 07:15 UTC, David Zaslavsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Zaslavsky 2017-08-12 07:15:13 UTC
Created attachment 488668 [details]
Complete build log

Compilation of app-office/kmymoney fails for me with the following message in the build log being the first indicator of failure, as far as I can tell:

make -f kmymoney/dialogs/settings/CMakeFiles/settings_autogen.dir/build.make kmymoney/dialogs/settings/CMakeFiles/settings_autogen.dir/build
make[2]: Entering directory '/var/tmp/portage/app-office/kmymoney-4.8.0-r2/work/kmymoney-4.8.0_build'
make[2]: *** No rule to make target '//kmymoneysettings.h', needed by 'kmymoney/dialogs/settings/CMakeFiles/settings_autogen'.  Stop.
make[2]: *** Waiting for unfinished jobs....

I have tested this with both versions 4.8.0-r1 (currently stable) and 4.8.0-r2 (currently unstable, i.e. ~amd64), with the same result. On the face of it, it seems to be related to the GCC version, since I was previously able to compile kmymoney-4.8.0-r2 using GCC 4.9.3 (stable); the error only started after I upgraded to GCC 6.4.0 (unstable). But I did also recompile a lot of other packages with the new GCC 6 prior to emerging kmymoney, so it could be related to something else.

Unlike https://bugs.gentoo.org/show_bug.cgi?id=407611, this error does not go away when using MAKEOPTS=-j1.


$ emerge --info app-office/kmymoney
Portage 2.3.6 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-6.4.0, glibc-2.24-r3, 4.11.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.11.7-gentoo-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.4.1
KiB Mem:     8180560 total,   1040732 free
KiB Swap:    8388604 total,   7502844 free
Timestamp of repository gentoo: Mon, 07 Aug 2017 00:45:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo
dev-util/cmake:           3.9.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1::gentoo
sys-devel/binutils:       2.27::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.4.0-r3::gentoo, 6.3.0::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: webrsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

acetylene09_local
    location: /usr/local/portage
    masters: gentoo
                                                                                                                                                                                                                                 
fkmclane                                                                                                                                                                                                                         
    location: /var/lib/layman/fkmclane                                                                                                                                                                                           
    masters: gentoo                                                                                                                                                                                                              
    priority: 50                                                                                                                                                                                                                 
                                                                                                                                                                                                                                 
megacoffee                                                                                                                                                                                                                       
    location: /var/lib/layman/megacoffee                                                                                                                                                                                         
    sync-type: laymansync                                                                                                                                                                                                        
    sync-uri: https://rhodecode.megacoffee.net/gentoo-overlay/main                                                                                                                                                               
    masters: gentoo                                                                                                                                                                                                              
    priority: 50                                                                                                                                                                                                                 
                                                                                                                                                                                                                                 
science                                                                                                                                                                                                                          
    location: /var/lib/layman/science                                                                                                                                                                                            
    masters: gentoo                                                                                                                                                                                                              
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

vaca
    location: /var/lib/layman/vaca
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet --ask-enter-invalid --keep-going"
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 userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://lug.mtu.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacs acl acpi activities alsa amd64 bash-completion berkdb branding bzip2 cairo caps cdda cdr cjk cli consolekit cracklib crypt cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif git glamor gpm iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify lm_sensors mad mng modules mp3 mp4 mpeg multilib ncurses network-uri networkmanager nls nptl nvidia ogg opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session smp spell ssl startup-notification subversion svg tcpd threads tiff truetype udev udisks unicode upower usb vlc vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev roccat_konextd" KERNEL="linux" L10N="en-US" 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" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby23 ruby24" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

app-office/kmymoney-4.8.0-r2::gentoo was built with the following:
USE="handbook (-aqua) -calendar -debug -doc -hbci -ofx -pim -quotes -test -weboob" ABI_X86="(64)" L10N="-bs -ca -ca-valencia -cs -da -de -el -en-GB -es -et -eu -fi -fr -gl -hu -it -kk -nds -nl -pl -pt -pt-BR -ro -ru -sk -sv -tr -uk -zh-CN -zh-TW"
Comment 1 Andreas Sturmlechner gentoo-dev 2017-08-12 07:43:42 UTC
This actually looks like a cmake-3.9 issue once again.
Comment 3 David Zaslavsky 2017-08-12 08:09:16 UTC
Yep, that patch fixes the issue for me and gets kmymoney to compile successfully. (Thanks for the link!)

And now that I look at my emerge history, it definitely makes sense that it'd be related to cmake-3.9. The upgrade from 3.8 to 3.9 was among the set of emerges I did just after upgrading GCC.
Comment 4 Andreas Sturmlechner gentoo-dev 2017-08-12 08:21:53 UTC
Thanks for report and testing, fixed in git commit 807894ae54d9743b03088f9315d492e286c352d1