Bug#891573: openjdk-10: builds with unlimited 'make -j'

2018-02-26 Thread Andreas Beckmann
Source: openjdk-10
Version: 10~32-1
Severity: serious
Justification: make build machine unusable while building

Hi,

I just stumbled upon load 425 while rebuilding openjdk-10 in
experimental ... the build runs with DEB_BUILD_OPTIONS=parallel=4

There seem to be some unlimited 'make -j' calls ...

Unfortunately no such commands were logged in the build logfile, the
only evidence I have left is a screen full of
'ps aux | grep make | grep -- -j' output:

1234  3767  0.0  0.0   8892  1660 pts/40   SN+  18:34   0:00 /usr/bin/make 
-r -R -I /build/openjdk-10-10~32/make/common 
SPEC=/build/openjdk-10-10~32/build/spec.gmk MAKE_LOG_FLAGS= LOG_LEVEL=debug 
LOG_NOFILE= L
OG_CMDLINES= LOG_PROFILE_TIMES_LOG= LOG_PROFILE_TIMES_FILE= -Onone -j 4 -f 
make/Main.gmk bootcycle-images
1234  3768  0.0  0.0   9668  1736 pts/40   S+   18:34   0:00 /bin/bash -o 
pipefail -e -c ( cd /build/openjdk-10-10~32 && \ /usr/bin/nice 
/usr/bin/make  -r -R -I /build/openjdk-10-10~32/make/common SPEC
=/build/openjdk-10-10~32/build/spec.gmk MAKE_LOG_FLAGS=""  LOG_LEVEL=debug   
LOG_NOFILE=   LOG_CMDLINES=   LOG_PROFILE_TIMES_LOG=   LOG_PROFILE_TIMES_FILE=  
-Onone \ -j 4 -f make/Main.gmk  \   
  bootcycle-images  > >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/build.log) 2> >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/build.log >&2) && wait || \ ( exitcode=$? 
&& \ /usr/bin/printf "\nERROR: Build failed for target 
'bootcycle-images' in configuration '/build/openjdk-10-10~32/build' (exit code 
$exitcode) \n" \ > >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/build.log) 2> >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/build.log >&2) && wait && \ cd 
/build/openjdk-10-10~32 && /usr/bin/make  -r -R -I 
/build/openjdk-10-10~32/make/common SPEC=/build/openjdk-10-10~32/build/spec.gmk 
MAKE_LOG_FLAGS=""  LOG_LEVEL=debug   LOG_NOFILE=   LOG_CMDLINES=   
LOG_PROFILE_TIMES_LOG=   LOG_PROFILE_TIMES_FILE=  -j 1 -f make/Init.gmk \   
  HAS_SPEC=true on-failure ; \ exit $exitcode ) )
1234  3769  0.0  0.0   9668  1692 pts/40   S+   18:34   0:00 /bin/bash -o 
pipefail -e -c ( cd /build/openjdk-10-10~32 && \ /usr/bin/nice 
/usr/bin/make  -r -R -I /build/openjdk-10-10~32/make/common 
SPEC=/build/openjdk-10-10~32/build/spec.gmk MAKE_LOG_FLAGS=""  LOG_LEVEL=debug  
 LOG_NOFILE=   LOG_CMDLINES=   LOG_PROFILE_TIMES_LOG=   LOG_PROFILE_TIMES_FILE= 
 -Onone \ -j 4 -f make/Main.gmk  \ bootcycle-images  > 
>(/usr/bin/tee -a /build/openjdk-10-10~32/build/build.log) 2> >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/build.log >&2) && wait || \ ( exitcode=$? 
&& \ /usr/bin/printf "\nERROR: Build failed for target 
'bootcycle-images' in configuration '/build/openjdk-10-10~32/build' (exit code 
$exitcode) \n" \ > >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/build.log) 2> >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/build.log >&2) && wait && \ cd 
/build/openjdk-10-10~32 && /usr/bin/make  -r -R -I 
/build/openjdk-10-10~32/make/common SPEC=/build/openjdk-10-10~32/build/spec.gmk 
MAKE_LOG_FLAGS=""  LOG_LEVEL=debug   LOG_NOFILE=   LOG_CMDLINES=   
LOG_PROFILE_TIMES_LOG=   LOG_PROFILE_TIMES_FILE=  -j 1 -f make/Init.gmk \   
  HAS_SPEC=true on-failure ; \ exit $exitcode ) )
1234 22671  0.0  0.0   9660  2428 pts/40   SN+  19:16   0:00 /bin/bash -o 
pipefail -e -c ( cd /build/openjdk-10-10~32 && \ /usr/bin/nice 
/usr/bin/make  -r -R -I /build/openjdk-10-10~32/make/common 
SPEC=/build/openjdk-10-10~32/build/bootcycle-spec.gmk MAKE_LOG_FLAGS=""  
LOG_LEVEL=debug   LOG_NOFILE=   LOG_CMDLINES=   LOG_PROFILE_TIMES_LOG=   
LOG_PROFILE_TIMES_FILE=  -Onone \ -j  -f make/Main.gmk  \   
  product-images  > >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/bootcycle-build/build.log) 2> >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/bootcycle-build/build.log >&2) && wait || \   
  ( exitcode=$? && \ /usr/bin/printf "\nERROR: Build failed for target 
'product-images' in configuration '/build/openjdk-10-10~32/build' (exit code 
$exitcode) \n" \ > >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/bootcycle-build/build.log) 2> >(/usr/bin/tee -a 
/build/openjdk-10-10~32/build/bootcycle-build/build.log >&2) && wait && \   
  cd /build/openjdk-10-10~32 && /usr/bin/make  -r -R -I 
/build/openjdk-10-10~32/make/common 
SPEC=/build/openjdk-10-10~32/build/bootcycle-spec.gmk MAKE_LOG_FLAGS=""  
LOG_LEVEL=debug   LOG_NOFILE=   LOG_CMDLINES=   LOG_PROFILE_TIMES_LOG=   
LOG_PROFILE_TIMES_FILE=  -j 1 -f make/Init.gmk \ HAS_SPEC=true 
on-failure ; \ exit $exitcode ) )
1234 22672  0.0  0.0   9668  2040 pts/40   SN+  19:16   0:00 /bin/bash -o 
pipefail -e -c ( cd /build/openjdk-10-10~32 && \ /usr/bin/nice 
/usr/bin/make  -r -R -I /build/openjdk-10-10~32/make/common 
SPEC=/build/openjdk-10-10~32/build/bootcycle-spec.gmk MAKE_LOG_

Processed: Re: [Openjdk] Bug#891573: openjdk-10: builds with unlimited 'make -j'

2018-03-14 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 important
Bug #891573 [src:openjdk-10] openjdk-10: builds with unlimited 'make -j'
Severity set to 'important' from 'serious'

-- 
891573: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891573
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#891573: [Openjdk] Bug#891573: openjdk-10: builds with unlimited 'make -j'

2018-03-14 Thread Matthias Klose
Control: severity -1 important

On 26.02.2018 19:56, Andreas Beckmann wrote:
> Source: openjdk-10
> Version: 10~32-1
> Severity: serious
> Justification: make build machine unusable while building
> 
> Hi,
> 
> I just stumbled upon load 425 while rebuilding openjdk-10 in
> experimental ... the build runs with DEB_BUILD_OPTIONS=parallel=4
> 
> There seem to be some unlimited 'make -j' calls ...
> 
> Unfortunately no such commands were logged in the build logfile, the
> only evidence I have left is a screen full of

I can't reproduce this. Let's see how the builds on the buildds work out.  You
should see a configure option --with-num-cores=