pkgsrc-Bugs archive

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

pkg/38363: benchmarks/bytebench is not MAKE_JOBS safe



>Number:         38363
>Category:       pkg
>Synopsis:       benchmarks/bytebench is not MAKE_JOBS safe
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 04 06:25:00 +0000 2008
>Originator:     YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost>
>Release:        NetBSD 4.99.58
>Organization:
        
>Environment:
Architecture: i386
Machine: i386
>Description:
        the following is with MAKE_JOBS=8.

cc -o ./pgms/dhry2reg -O2 -DTIME -O2 -fomit-frame-pointer -fforce-addr 
-fforce-mem -ffast-math -Wall ./src/dhry_1.o ./src/dhry_2.o
--- ./pgms/context1 ---
cc -o ./pgms/context1 -O2 -DTIME -O2 -fomit-frame-pointer -fforce-addr 
-fforce-mem -ffast-math -Wall ./src/context1.c
--- ./pgms/pipe ---
--- ./pgms/spawn ---
--- ./pgms/arithoh ---
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
--- ./pgms/pipe ---
cc -o ./pgms/pipe -O2 -DTIME -O2 -fomit-frame-pointer -fforce-addr -fforce-mem 
-ffast-math -Wall ./src/pipe.c
--- ./pgms/spawn ---
cc -o ./pgms/spawn -O2 -DTIME -O2 -fomit-frame-pointer -fforce-addr -fforce-mem 
-ffast-math -Wall ./src/spawn.c
--- ./pgms/dhry2reg ---
gcc: ./src/dhry_1.o: No such file or directory
gcc: ./src/dhry_2.o: No such file or directory
gcc: no input files
*** [./pgms/dhry2reg] Error code 1
--- ./pgms/syscall ---
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
--- ./pgms/context1 ---
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
--- ./pgms/pipe ---
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
--- ./pgms/spawn ---
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
1 error

make: stopped in 
/nfs/eos-fs.nfskuro/wrkobjdir.nfskuro/benchmarks/bytebench/work/unixbench-4.1.0
*** Error code 2

Stop.
make: stopped in /siro/pkgsrc/benchmarks/bytebench
*** Error code 1

Stop.
make: stopped in /siro/pkgsrc/benchmarks/bytebench
nfskuro%

>How-To-Repeat:
        build the package with MAKE_JOBS=8.
>Fix:
        
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/benchmarks/bytebench/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile    3 Mar 2008 00:51:44 -0000       1.21
+++ Makefile    4 Apr 2008 06:23:07 -0000
@@ -26,6 +26,8 @@ INSTALLATION_DIRS=    bin
 REPLACE_PERL+=         pgms/perlbench
 USE_TOOLS+=            perl:run
 
+MAKE_JOBS_SAFE=                no
+
 post-extract:
        ${RM} -f ${WRKSRC}/pgms/select
 

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index