Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72779 - komics-1.4 won't compile because of -j2 or larger make flag
Summary: komics-1.4 won't compile because of -j2 or larger make flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-28 16:47 UTC by Pawel Bugalski
Modified: 2004-11-29 08:10 UTC (History)
1 user (show)

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


Attachments
komics-1.4.ebuild.patch (komics-1.4.ebuild.patch,322 bytes, patch)
2004-11-28 16:50 UTC, Pawel Bugalski
Details | Diff
komics-1.4.ebuild (komics-1.4.ebuild,714 bytes, text/plain)
2004-11-29 01:39 UTC, Simone Gotti (RETIRED)
Details
files/komics-1.4-Makefiles.patch (komics-1.4-Makefiles.patch,1.15 KB, patch)
2004-11-29 01:39 UTC, Simone Gotti (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Bugalski 2004-11-28 16:47:03 UTC
while emerging komics-1.4 and having -j flag set, compilation fails with following message:
make[3]: *** No rule to make target `../src/libkomics.la', needed by `komics'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/komics-1.4/work/komics/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/komics-1.4/work/komics/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/komics-1.4/work/komics'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1. MAKEOPTS="-j2" emerge =kde-misc/komics-1.4
2.


Expected Results:  
 

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, 
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r4+reiser4 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r4+reiser4 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz 
Gentoo Base System version 1.4.16 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  sys-kernel/linux-headers-2.4.21-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://src.gentoo.pl http://www.gigaload.org/gentoo.org/ 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.zie.pg.gda.pl" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups divx4linux 
doc dri dvd dvdr dvdread encode esd f77 fam firebird foomaticdb fortran gdbm 
gif glx gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib jabber 
java javascript jpeg kadu-modules kde libg++ libwww mad matroska md5sum mikmod 
mmx mmx2 motif mozillamoznocompose moznoirc moznomail mpeg ncurses network nls 
oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline 
samba sdl spell sse ssl tcpd tetex theora tiff truetype truetype-fonts 
type1-fonts unicode usb x86 xml xml2 xmms xscreensaver xv xvid zlib 
linguas_pl"
Comment 1 Pawel Bugalski 2004-11-28 16:50:26 UTC
Created attachment 44902 [details, diff]
komics-1.4.ebuild.patch

setting -j1 flag directly in ebuild solves the problem for me. am i right? or
is there over(better) way to solve this problem
Comment 2 teidakankan 2004-11-28 23:10:40 UTC
Patch worked for me.

emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.6
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -mfpmath=sse -pipe"
DISTDIR="/maxtor/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X aalib alsa anthy apm arts avi berkdb bitmap-fonts cdr cjk crypt cscope cups dri dvd encode esd f77 fam flac foomaticdb fortran gdbm ggi gif glx gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 jack java jpeg junit kde ldap libg++ libwww mad mailwrapper mikmod mmx motif mpeg nas ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png pythonqt quicktime readline samba scanner sdl slang speex spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb x86 xml xml2 xmms xprint xv zlib"
Comment 3 Simone Gotti (RETIRED) gentoo-dev 2004-11-29 01:38:27 UTC
Thanks for reporting this. 
I'd like to fix the origin of the problem and not to workaround it.

So please try this new ebuild and patch and let me know if it works for you with various -jN.
Comment 4 Simone Gotti (RETIRED) gentoo-dev 2004-11-29 01:39:00 UTC
Created attachment 44915 [details]
komics-1.4.ebuild
Comment 5 Simone Gotti (RETIRED) gentoo-dev 2004-11-29 01:39:29 UTC
Created attachment 44916 [details, diff]
files/komics-1.4-Makefiles.patch
Comment 6 Pawel Bugalski 2004-11-29 07:13:11 UTC
it works fine for me with both -j2 and -j4 flags

thanks for fixing it correctly. I haven't had enough knowlage to do it.
There is also another problem with komics, but i've send it as another bug : http://bugs.gentoo.org/show_bug.cgi?id=72814
Comment 7 Simone Gotti (RETIRED) gentoo-dev 2004-11-29 08:10:07 UTC
Well thanks.

If in bug #72814 you are referring to this patch I don't exactly know if this is a Makefile problem or a "make" bug as the a very similar Makefile worked with komics-1.3. But feel free to send it to the author informing him on this issue.