Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414541 - >=kde-base/okteta-4.8.1 doesn't compile (cannot find -lkasten1gui / -lkastencore) - parallel build issue
Summary: >=kde-base/okteta-4.8.1 doesn't compile (cannot find -lkasten1gui / -lkastenc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: fixed in 4.9.1
Keywords:
: 424679 429676 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-04 00:03 UTC by Matteo Modesti
Modified: 2012-09-04 18:51 UTC (History)
4 users (show)

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


Attachments
Build log for =kde-base/okteta-4.8.1 (build.log,45.93 KB, text/plain)
2012-05-04 00:03 UTC, Matteo Modesti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Modesti 2012-05-04 00:03:37 UTC
Created attachment 310723 [details]
Build log for =kde-base/okteta-4.8.1

I'm stuck with okteta 4.7.4 because I can't compile 4.8.1.
You can find my build.log attached. If you need anything else, just ask.
Thanks in advance!
Comment 1 Matteo Modesti 2012-05-04 00:04:53 UTC
Here's my emerge --info:


Portage 2.2.0_alpha101 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Thu, 03 May 2012 22:45:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 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.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo gentoo-zh pentoo Mio_overlay
Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula AdobeFlash-10.1 AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j 3 -l 3.5"
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="/var/lib/layman/gentoo-zh /var/lib/layman/pentoo /home/mattemod/mio-portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 64bit X Xaw3d a52 aac ace acl acpi additions aio akode alsa amd64 ao apache2 apng audacious audiofile autoreplace bash-completion berkdb branding bzip2 cairo cal3d caps ccache cdda cddb cdio cdparanoia cdr chardet chroot cli consolekit cracklib crypt css cups curl cxx dbus dga dirac directfb djvu double-precision dri dts dv dvb dvd dvdr ecc emovix enca encode exif expat fam fame fbcon fbdev ffmpeg fftw firefox flac flash fontconfig fortran fpx ftp gcj gd gdbm ggi gif gimp glib glitz glut gmp gnutls gpm graphviz gs gtk gtkhtml guile gzip hdri history iconv icu id3 id3tag idea imagemagick imlib inkjar ipv6 jabber java5 java6 javascript jbig jpeg jpeg2k justify kde kdrive ladspa lame lcms libcaca libffi libkms libnotify libsamplerate loop-aes lzma lzo mad matroska md5sum mikmod mime mjpeg mmap mmx mmxext mng modplug modules mono moonlight motif mozdom mp2 mp3 mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz ncurses networking nls nptl nptlonly nsplugin ntlm nuv oav objc objc++ objc-gc odk offensive ogg openal openexr opengl openmp openssl pam pcre pdf physfs plasma pm-utils png postproc ppds pppd pth qt3 qt3support qt4 quicktime radio rar readline replytolist rtc rtsp schroedinger scrobbler sdl sdl-image sdl-sound sdlaudio semantic-desktop sensord session shout slang slp smp sms sndfile sockets speex spell srp srt sse sse2 sse3 ssl static-libs stream svg sysfs syslog szip t1lib tcpd tga theora threads tidy tiff toolbar truetype tta unicode unzip usb utempter v4l v4l2 vcd vdr vlc vorbis wav wavpack webkit wifi winbind wma wmf x264 xanim xforms xine xml xnest xorg xpm xprint xsl xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="ca0106" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http 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" DVB_CARDS="usb-dib0700" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx radeon radeonhd fbdev" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2012-05-04 00:06:42 UTC
Try rebuilding with MAKEOPTS="-j1".
@KDE team: As a note, I've seen this happen with a couple other folks on IRC, where the build seems to be getting ahead of itself and building things that depend on libkasten1gui before the library is built (since the library is part of okteta). Not sure what the cause is, I've not been able to replicate it myself.
Comment 3 Matteo Modesti 2012-05-04 12:48:06 UTC
I already tried with MAKEOPTS="-j1" in April and it didn't work. I tried again now and it worked... I guess it's been bad luck the first time or good luck the second one...
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2012-05-04 15:39:26 UTC
> EMERGE_DEFAULT_OPTS="--with-bdeps y"
Do you forgot the '=' -> --with-bdeps=y

> MAKEOPTS="-j 3 -l 3.5"

Remove space -> MAKEOPTS="-j3". And the second parameter is not described in the man page?! If its load average it should be part of the EMERGE_DEFAULT_OPTS.
Comment 5 Matteo Modesti 2012-05-04 16:35:39 UTC
(In reply to comment #4)
> > EMERGE_DEFAULT_OPTS="--with-bdeps y"
> Do you forgot the '=' -> --with-bdeps=y

Works exactly the same for me. Anyhow, emerge man page says "--with-bdeps < y | n >" (no equal sign), so I'm gonna stick with that.

> > MAKEOPTS="-j 3 -l 3.5"
> 
> Remove space -> MAKEOPTS="-j3". And the second parameter is not described in
> the man page?! If its load average it should be part of the
> EMERGE_DEFAULT_OPTS.

It's the short version of --load-average and the emerge man page says to put it in MAKEOPTS, so I did it.

Anyway, even if I really appreciate your advices in making my make.conf better, the problem lies elsewhere, in okteta sources. You should probably check if all of the make targets' dependencies regarding libkasten1gui are present.

I'm gonna try to emerge okteta 4.8.3, so if the problem is still there I hope you'll reopen the bug and not leave as WORKSFORME, because ITDOESNTWORKFORME and apparently "a couple other folks on IRC"!
Using MAKEOPTS="-j1" is just a workaround, it's not fixing the bug.
Comment 6 Chris Reffett (RETIRED) gentoo-dev Security 2012-07-04 01:43:46 UTC
*** Bug 424679 has been marked as a duplicate of this bug. ***
Comment 7 Chris Reffett (RETIRED) gentoo-dev Security 2012-07-04 01:45:22 UTC
Reopening because Diego managed to reproduce this one on the tinderbox with normal-looking (if rather high) MAKEOPTS.
Comment 8 jannis 2012-08-02 10:25:28 UTC
Hit about the same case at okteta-4.9.0 (with MAKEOPTS="-j7"). Using -j1 fixed it. Can't we just force MAKEOPTS to -j1 (disable parallel build) for this package?
Comment 9 Johannes Huber (RETIRED) gentoo-dev 2012-08-03 16:16:22 UTC
*** Bug 429676 has been marked as a duplicate of this bug. ***
Comment 10 Johannes Huber (RETIRED) gentoo-dev 2012-09-04 18:51:15 UTC
Thanks all. KDE SC 4.9.1 is now in tree. Sync in some hours to get the change.

+  04 Sep 2012; Johannes Huber <johu@gentoo.org> +okteta-4.9.1.ebuild:
+  Version bump KDE SC 4.9.1