pkgsrc-Bugs archive

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

Re: pkg/54795: rust pbulk build stalls with 2 idle cargo processes



The following reply was made to PR pkg/54795; it has been noted by GNATS.

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/54795: rust pbulk build stalls with 2 idle cargo processes
Date: Tue, 14 Jan 2020 09:28:47 +0000

 The standard pbulk rust failure seems to have changed for the second time.
 Now I see:
 
 thread 'rustc' panicked at 'could not initialize thread_rng: No such file or directory', /cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.7.0/src/rngs/thread.rs:65:17                                                        
 
 repeatedly.
 
 This is with
 
 MAKE_JOBS.lang/rust=1
 MAKE_JOBS.rust=1
 
 in mk.conf, which apparently has no effect, and also with, in addition
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/lang/rust/Makefile,v
 retrieving revision 1.136
 diff -u -r1.136 Makefile
 --- Makefile    12 Jan 2020 20:20:27 -0000      1.136
 +++ Makefile    14 Jan 2020 09:27:36 -0000
 @@ -98,7 +98,7 @@
  CONFIGURE_ARGS+=       --enable-vendor
  
  # cargo defaults to using the number of available CPUs
 -MAKE_ENV+=             CARGO_BUILD_JOBS=${MAKE_JOBS:U1}
 +MAKE_ENV+=             CARGO_BUILD_JOBS=1
  
  CFLAGS.SunOS+=         -D_POSIX_PTHREAD_SEMANTICS
  
 @@ -351,7 +351,7 @@
  do-build:
         cd ${WRKSRC} \
         && ${SETENV} ${MAKE_ENV} \
 -               ${PYTHONBIN} ./x.py -v ${BUILD_TARGET} -j ${MAKE_JOBS:U1}
 +               ${PYTHONBIN} ./x.py -v ${BUILD_TARGET} -j1
  
  do-install:
         cd ${WRKSRC} \
 
 
 Repeatable on various baremetal multicore -current/amd64 (9.99.37 this round)
 


Home | Main Index | Thread Index | Old Index