pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39616: lang/pnet doesn't support parallel builds



>Number:         39616
>Category:       pkg
>Synopsis:       lang/pnet doesn't support parallel builds
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 23 23:30:00 +0000 2008
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 4.99.72, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 4.99.72 NetBSD 4.99.72 (BONNIE) #: Fri Sep 19 
19:47:01 JST 2008 
ryoh%bonnie.jaist.ac.jp@localhost:/sys/arch/i386/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
lang/pnet doesn't support parallel builds as follows:

(MAKE_JOBS=2 in mk.conf)
$ make
gmake[1]: Leaving directory `/usr/pkgsrc/lang/pnet/work/pnet-0.8.0/ildd'
Making all in codegen
gmake[1]: Entering directory `/usr/pkgsrc/lang/pnet/work/pnet-0.8.0/codegen'
if [ "`cd . && pwd`" != "`pwd`" ]; then \
                cp ./*.tc .; \
        fi
gmake[1]: *** No rule to make target `cg_ainit.c', needed by `all'.  Stop.
gmake[1]: *** Waiting for unfinished jobs....
/usr/pkg/bin/treecc cg_all.tc && touch stamp-treecc
if [ "`cd . && pwd`" != "`pwd`" ]; then \
                rm -f *.tc; \
        fi
gmake[1]: Leaving directory `/usr/pkgsrc/lang/pnet/work/pnet-0.8.0/codegen'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/pnet
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/pnet
        
>How-To-Repeat:
make with MAKE_JOBS=2
        
>Fix:
Index: Makefile
===================================================================
RCS file: /usr/cvsup/pkgsrc/lang/pnet/Makefile,v
retrieving revision 1.19
diff -d -p -u -r1.19 Makefile
--- Makefile    18 Feb 2008 16:39:43 -0000      1.19
+++ Makefile    23 Sep 2008 22:38:40 -0000
@@ -13,6 +13,7 @@ BUILD_DEPENDS+=       treecc>=0.2.6:../../deve

 CONFLICTS=     mono-[0-9]*

+MAKE_JOBS_SAFE=        no
 USE_TOOLS+=    gmake lex makeinfo
 USE_LANGUAGES= c c++
 USE_LIBTOOL=   yes
        



Home | Main Index | Thread Index | Old Index