Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487984 - [kde overlay] kde-base/knode-9999 fails to build (missing kaddressbookgrantlee directory)
Summary: [kde overlay] kde-base/knode-9999 fails to build (missing kaddressbookgrantle...
Status: RESOLVED FIXED
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-10-14 09:21 UTC by Jakub Caban
Modified: 2014-01-02 22:52 UTC (History)
0 users

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


Attachments
Working ebuild (knode-9999.ebuild,753 bytes, text/plain)
2013-10-14 09:21 UTC, Jakub Caban
Details
Build.log (build.log,266.04 KB, text/plain)
2013-12-20 02:19 UTC, Robert Cabrera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Caban 2013-10-14 09:21:11 UTC
kde-base/knode-9999 depends on kaddressbookgrantlee that is not extracted by default.

Easy workaround is simply addingo grantleetheme/ and kaddressbookgrantlee/ to KCOMPILEONLY, as was done before for other ebuilds.

I will attach working ebuild with that one change.

Reproducible: Always

Steps to Reproduce:
1. Try to install kde-base/knode-9999
Actual Results:  
Build failure

Expected Results:  
Build
Comment 1 Jakub Caban 2013-10-14 09:21:38 UTC
Created attachment 360858 [details]
Working ebuild
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2013-10-14 20:38:10 UTC
Thanks for reporting. I have added your changes to the ebuild and kdepimcommon/ folder additionally because of today master changes. Please sync to get the changes. 

http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=0057813fe68c17c22876659c15622ccbb1337f4b
Comment 3 Robert Cabrera 2013-12-19 21:01:05 UTC
Please reopen this bug. I just got hit with this on my ~amd64 laptop while attempting to update to 4.12.0 from 4.11.4.  The build fails with the exact same error. Before discovering this bug report and the modified ebuild, I was able to get knode to emerge by disabling kontact use. I'll try with the modified ebuild and see if it works with kontact use enabled and report back my results.
Comment 4 Robert Cabrera 2013-12-19 23:12:31 UTC
Update, the modified ebuild posted above works, as does the previous ebuild from 4.11.4 Please fix and update in the tree ASAP. TIA
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2013-12-19 23:15:51 UTC
(In reply to Robert Cabrera from comment #4)
> Update, the modified ebuild posted above works, as does the previous ebuild
> from 4.11.4 Please fix and update in the tree ASAP. TIA

I dont know what you are talking about, the ebuild version in tree has the kaddressbookgrantlee folder inclusion.
Comment 6 Robert Cabrera 2013-12-20 01:45:22 UTC
This is what I'm talking about:

[ 79%] Building CXX object knode/CMakeFiles/knodecommon.dir/foldertreewidget.o
[ 79%] Building CXX object knode/CMakeFiles/knodecommon.dir/knodeadaptor.o
[ 80%] make[2]: *** No rule to make target 'lib/libkaddressbookgrantlee.so.4.12.0', needed by 'lib/libknodecommon.so.4.12.0'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Building CXX object knode/CMakeFiles/knodecommon.dir/settings_base.o
CMakeFiles/Makefile2:1226: recipe for target 'knode/CMakeFiles/knodecommon.dir/all' failed
make[1]: *** [knode/CMakeFiles/knodecommon.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: kde-base/knode-4.12.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=kde-base/knode-4.12.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/knode-4.12.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-base/knode-4.12.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/knode-4.12.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-base/knode-4.12.0/work/knode-4.12.0_build'
 * S: '/var/tmp/portage/kde-base/knode-4.12.0/work/knode-4.12.0'

I've been a Gentoo user who diligently files bug reports since 2003. I'm not a newbie here posting to waste your or my time and don't appreciate the insinuation. I know what I'm doing.

I'm currently posting this while tethering to my phone where I have only limited bandwidth without charges. I'll upload the other relevant logs as soon as I get home. That is unless you want me to start a new bug report.
Comment 7 Chris Reffett (RETIRED) gentoo-dev Security 2013-12-20 01:47:41 UTC
I don't see "Error 1" in there, which means that you aren't seeing the actual error. Please post your full build.log.
Comment 8 Robert Cabrera 2013-12-20 02:13:43 UTC
My emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.17, 3.12.2-pf x86_64)
=================================================================
System uname: Linux-3.12.2-pf-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.2
KiB Mem:     3337532 total,    805212 free
KiB Swap:    4200960 total,   4200960 free
Timestamp of tree: Fri, 20 Dec 2013 01:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r2
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:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise sabayon my_local_overlay
Installed sets: @nicefonts, @toolchain, @xorgupdate
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --with-bdeps=y --keep-going --complete-graph --load-average=1.5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.wetzlmayr.com/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.hoobly.com/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2 -l1.5 -s"
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/sunrise /var/lib/layman/sabayon /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus aacs aalib acl acpi alsa amd64 amr avahi berkdb bidi bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt cups curl cvs cxx dbus declarative device-mapper dirac djvu dri dts dv dvd dvdr emboss encode exif faac fam fat ffmpeg firefox flac fontconfig fortran gdbm gif git gphoto2 gtk iconv idn ieee1394 imagemagick ipv6 java jbig joystick jpeg jpeg2k kde kipi lame lastfm lcms ldap libass libnotify libsamplerate live lua lzma lzo mad matroska mime mjpeg mms mmx mmxext mng modplug modules mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses netlink nls nptl nsplugin ntfs ntp ogg openal openexr opengl openmp pam pango pcre pdf phonon plasma png policykit postproc ppds qalculate qt3support qt4 quicktime rar readline samba scanner schroedinger sdl semantic-desktop session smp sndfile sox speex spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink taglib tcpd telepathy theora tiff truetype twolame udev udisks unicode upower usb vcd vcdx vlm vnc vorbis vpx wavpack wicd wifi wmf wxwidgets x264 xa xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" 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" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python2_7" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 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="3.3 2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Robert Cabrera 2013-12-20 02:19:24 UTC
Created attachment 365716 [details]
Build.log
Comment 10 Robert Cabrera 2013-12-20 02:27:58 UTC
Correction to my comments in post #4: I was mistaken, the other ebuilds don't work either. I had forgotten that I had placed -kontact in package.use to get it to build the first time, so when I emerged with the other modified ebuilds they worked because of this. Re-enabling kontact "use" causes them to fail as well.
Comment 11 Robert Cabrera 2013-12-20 06:28:09 UTC
I'll open another bug report if unrelated.
Comment 12 Robert Cabrera 2014-01-02 22:52:25 UTC
Update: over the holiday I recompiled my entire system and this again failed to build with the same errors. This time, however, I was finally able to emerge when I used MAKEOPTS="-j1" emerge -1 knode. When I used MAKEOPTS="-j2" the emerge fails as before.