FYI: bulk -a math/fricas stuck-build example; odd math/fricas related text in bulk -a 's output sequence earlier

From: Mark Millard <marklmi_at_yahoo.com>
Date: Fri, 10 Nov 2023 00:41:05 UTC
The following first shows the odd math/fricas related text that was mixed in
with the bulk -a output:

. . .
[32:32:49] [02] [00:00:00] Building math/fricas | fricas-1.3.9_1
. . .
[32:33:08] [11] [00:00:07] Finished textproc/rubygem-whatlanguage | rubygem-whatlanguage-1.0.6: Success
[32:33:09] [11] [00:00:00] Building graphics/libimg | libimg-1.4.12_1

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit from the current thread.

(SB-IMPL::REFILL-INPUT-BUFFER #<SB-SYS:FD-STREAM for "file /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/target/amd64-portbld-freebsd15.0/algebra/category.daase" {100426EAA3}>)
0]  Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit from the current thread.

(SB-IMPL::REFILL-INPUT-BUFFER #<SB-SYS:FD-STREAM for "file /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/target/amd64-portbld-freebsd15.0/algebra/category.daase" {1003B66AA3}>)
0] [32:33:21] [09] [00:00:13] Finished science/p5-Geo-BUFR | p5-Geo-BUFR-1.39: Success
[32:33:21] [09] [00:00:00] Building ports-mgmt/synth | synth-2.13_1
. . .
[39:48:10] [09] [00:16:23] Finished devel/gcc-msp430-ti-toolchain | gcc-msp430-ti-toolchain-9.3.1.2.20210722_1: Success

Note: math/fricas did not finish but that last is the laster of the other builds.

(Separate ssh session, later :)

# poudriere status -b
[main-amd64-bulk_a-default] [2023-11-07_22h51m22s] [parallel_build:] Queued: 34683 Built: 33840 Failed: 165   Skipped: 357   Ignored: 320   Fetched: 0     Tobuild: 1      Time: 40:19:23
 ID  TOTAL         ORIGIN   PKGNAME        PHASE PHASE    TMPFS    CPU% MEM%
[02] 07:46:35 math/fricas | fricas-1.3.9_1 build 07:46:20 1.91 GiB   0%   0%
=>> Logs: /usr/local/poudriere/data/logs/bulk/main-amd64-bulk_a-default/2023-11-07_22h51m22s

# ps -oetime -alxdww
     ELAPSED UID   PID  PPID  C PRI NI     VSZ  RSS MWCHAN   STAT TT       TIME COMMAND
. . .
    07:51:19   0 42010 70293  9  61  0   26224 2924 select   I     1    0:00.03 | |       |-- sh: poudriere[main-amd64-bulk_a-default][02]: build_pkg (fricas-1.3.9_1) (sh)
    07:51:04   0 66529 42010 10  63  0   26224 2924 wait     I     1    0:00.00 | |       | `-- sh: poudriere[main-amd64-bulk_a-default][02]: build_pkg (fricas-1.3.9_1) (sh)
    07:51:04   0 66530 66529 13  68  0   12896   36 wait     IJ    1    0:00.01 | |       |   `-- /usr/bin/make -C /usr/ports/math/fricas build
    07:51:04   0 66547 66530  1  68  0   13356   48 wait     IJ    1    0:00.00 | |       |     `-- /bin/sh -e -c (cd /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9; if ! /usr/bin/env XDG_DATA_HOME=/wrkdirs/usr/ports/math/fricas/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/fricas/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/fricas/work/.cache  HOME=/wrkdirs/usr/ports/math/fricas/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/fricas/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/fricas/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig DONTSTRIP=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install   -m 555"  BSD_INSTALL_LIB="install   -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" gmake -f Makefile -j16  all; then  if [ -n "Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer." ] ; then  echo "===> Compilation failed unexpectedly.";  (echo "Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer.") | /usr/bin/fmt 75 79 ;  fi;  false;  fi)
    07:51:04   0 66549 66547 13  68  0   13056   36 wait     IJ    1    0:00.00 | |       |       `-- gmake -f Makefile -j16 all
    07:51:04   0 66658 66549  2  68  0   13056   36 wait     IJ    1    0:00.00 | |       |         `-- gmake BUILD_DATE=Thu Nov  9 15:24:27 UTC 2023 all-src
    07:50:50   0 80309 66658 12  68  0   15616   36 wait     IJ    1    0:00.01 | |       |           `-- gmake
    07:50:50   0 80343 80309  7  63  0   15616   36 wait     IJ    1    0:00.06 | |       |             `-- gmake BUILD_WAY=use_lisp stamp-alg
    07:50:50   0 80422 80343  1  68  0   13356   48 wait     IJ    1    0:00.00 | |       |               |-- /bin/sh -c ( for A in QALGSET2 QALGSET QCMPACK QEQUAT QFCAT2 QFCAT QFORM QUAGG QUATCAT QUATCT2 QUAT2 QUAT QUEUE RADCAT RADFF RADIX RADUTIL RANDSRC RATFACT RATPSCT RATRET RCAGG RCFIELD RDEAUX RDEEFX RDEEFX2 RDEPAR RDIST RDIV REAL0Q REAL0 REALSOLV REAL RECLOS REDORDER REF REGSET REP1 REP2 REPDB REP REPSQ RESLATC RESRING RESULT RETFROM RETRACT RETSOL RFDIST RFFACT RFSSPLIT RF RGCHAIN RIDIST RING RINTERP RMATCAT RMATRIX RMCAT2 RMODULE RNG RNORM RNS ROIRC ROMAN RPOLCAT RRCC RSDCMPK RSETCAT RSETGCD RULECOLD RULESET RULE RURPK SAE SAOS SARGND SBOUND SCACHE SCANUTIL SCELL SCENE SCIFS SCNP SCONF SCPKG SCRT SDPOL SDVAR SEG2 SEGBIND2 SEGBIND SEGCAT SEG SEGXCAT SEM SEQU SEQU2 SEQUCAT SETAGG SETCAT SETMN SETLAT SEXCAT SEXOF SEX SFORT SFQCMPK SFRGCD SFRTCAT SGCF SGROUP SHDP SHP SIGNEF SIGNRF SIMPAN SIMPC SIMPCF SINT SKAGG SKICOMB SKSMP SMATCAT SMITH SMP SMPCOER SMTS SNTSCAT SOLVEFOR SOLVERAD SOLVESER SOLVETRA SORD SOREXPV SORTPAK SPACE3 SPACEC SPECOUT SPFCAT SPFUTS SPLNODE SPLTREE SPTCAT SQMATRIX SRAGG SRDCMPK SREGSET SRNG SRING SSKPOLC STACK STEXPS STEXPST STR ; do \\\n   echo ')lisp (fricas_compile_fasl' \\\n                ' "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/pre-generated/src/algebra/'$A'.lsp"' \\\n                '"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/target/amd64-portbld-freebsd15.0/algebra/'$A'.fasl")' ; \\\ndone ; \\\necho ')quit' ) | \\\nDAASE=/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/target/amd64-portbld-freebsd15.0 FRICAS=/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/target/amd64-portbld-freebsd15.0 FRICAS_INITFILE='' /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/build/amd64-portbld-freebsd15.0/bin/interpsys
    07:50:50   0 80425 80422  6  68  0 1218688   52 select   IJ    1    0:00.04 | |       |               | `-- /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/build/amd64-portbld-freebsd15.0/bin/interpsys
    07:50:50   0 80428 80343 12  68  0   13356   52 wait     IJ    1    0:00.00 | |       |               `-- /bin/sh -c ( for A in BPADIC BPADICRT COMMONOP GALUTIL MKFLCFN PADIC PADICRAT SET WFFINTBS XPBWPOLY SMPEXPR FAMR2 NEWTON UFPS GOPT GUESSF1 GUESSP1 UTSSOL FFFG UFPS1 GOPT0 EXPRSOL FFFGF RECOP STNSR GUESS GUESSEB  GUESSINT GUESSF GUESSP GUESSPI GUESSAN TESTCNT TESTAUX TESTUNIT  A1AGG-  ABELGRP-  ABELMON-  ABELSG-  ACF-  ACFS-  AGG-  ALAGG-  ALGEBRA-  AMR-  ARR2CAT-  ATRIG-  BASTYPE-  BGAGG-  BRAGG-  BTAGG-  BTCAT-  CLAGG-  COMPCAT-  DIAGG-  DIFEXT-  DIFRING-  DIOPS-  DIRPCAT-  DIVRING-  DPOLCAT-  DVARCAT-  ELAGG-  ELEMFUN-  ELTAGG-  ENTIRER-  ES-  EUCDOM-  EVALAB-  FACTCAT-  FAMR-  FAXF-  FDIVCAT-  FEVALAB-  FFCAT-  FFIELDC-  FGRPH-  FIELD-  FINAALG-  FINGRP-  FINITE-  FINRALG-  FLINEXP-  FMCAT-  FMTCAT-  FPC-  FPS-  FRAMALG-  FRETRCT-  FRMOD-  FRNAALG-  FSAGG-  FS-  GCDDOM-  GPOLCAT-  GRALG-  GRMOD-  GROUP-  HASHABL-  HOAGG-  HYPCAT-  IEVALAB-  INS-  IXAGG-  JBBFC-  JBC-  JBFC-  KDAGG-  LALG-  LIECAT-  LNAGG-  LODOCAT-  LOGIC-  LSAGG-  LZSTAGG-  MAGMA-  MAGMAWU-  MATCAT-  MODULE-  MONOGEN-  MTSCAT-  NAALG-  NARING-  NARNG-  NASRNG-  OC-  OM-  ORDRING-  ORDSET-  OREPCAT-  PDRING-  PFECAT-  POLYCAT-  PORDER-  POSET-  PSCAT-  PSETCAT-  QFCAT-  QUATCAT-  RADCAT-  RCAGG-  RCFIELD-  RETFROM-  RETRACT-  RMATCAT-  RNG-  RNS-  RPOLCAT-  RRCC-  RSETCAT-  SETAGG-  SETCAT-  SMATCAT-  SPTCAT-  SRAGG-  STAGG-  TBAGG-  TENSPC-  TRANFUN-  TRIGCAT-  TSEREXP-  TSETCAT-  UFD-  ULSCAT-  ULSCCAT-  UPOLYC-  UPSCAT-  UPXSCCA-  URAGG-  UTSCAT-  VECTCAT-  XF- ; do \\\n   echo ')lisp (fricas_compile_fasl' \\\n                ' "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/pre-generated/src/algebra/'$A'.lsp"' \\\n                '"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/target/amd64-portbld-freebsd15.0/algebra/'$A'.fasl")' ; \\\ndone ; \\\necho ')quit' ) | \\\nDAASE=/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/target/amd64-portbld-freebsd15.0 FRICAS=/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/target/amd64-portbld-freebsd15.0 FRICAS_INITFILE='' /wrkdirs/usr/ports/math/fricas/work/fricas-1.3
    07:50:50   0 80462 80428 15  68  0 1218688   52 select   IJ    1    0:00.04 | |       |                 `-- /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/build/amd64-portbld-freebsd15.0/bin/interpsys
. . .

In top it appears the processes in the JID are not getting CPU time:
2 "select", 2 "uwait" and the rest for the JID (21) having "wait" status.

Wating and  looking again:

# poudriere status -b
[main-amd64-bulk_a-default] [2023-11-07_22h51m22s] [parallel_build:] Queued: 34683 Built: 33840 Failed: 165   Skipped: 357   Ignored: 320   Fetched: 0     Tobuild: 1      Time: 41:32:57
 ID  TOTAL         ORIGIN   PKGNAME        PHASE PHASE    TMPFS    CPU% MEM%
[02] 09:00:08 math/fricas | fricas-1.3.9_1 build 08:59:53 1.91 GiB   0%   0%

For reference:

# tail /usr/local/poudriere/data/logs/bulk/main-amd64-bulk_a-default/2023-11-07_22h51m22s/logs/fricas-1.3.9_1.log
;   The variable % is defined but never used.
;  ; compilation unit finished
;   caught 7 STYLE-WARNING conditions


; wrote /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/target/amd64-portbld-freebsd15.0/algebra/ILOGIC.fasl
; compilation finished in 0:00:00.097
Value = #P"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/target/amd64-portbld-freebsd15.0/algebra/ILOGIC.fasl"
(1) -> echo timestamp > stamp-fasls3



A prior successful bulk -a suggests that the next line would be:

gmake[4]: Leaving directory '/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.9/src/algebra'
finished .



Looks like I'll be killing processes 80462 and 80422 to let the rest continue.




===
Mark Millard
marklmi at yahoo.com