Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2021 18:28:45 -0700
From:      Mark Millard via freebsd-ports <freebsd-ports@freebsd.org>
To:        freebsd-ports@freebsd.org
Subject:   native aarch64 lang/mono6.8 build in poudriere hangs up (and, so, eventually times out)
Message-ID:  <62DC6489-25CD-4EF1-99F3-AC43CA197D2B@yahoo.com>
References:  <62DC6489-25CD-4EF1-99F3-AC43CA197D2B.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On aarh64 my poudriere=3D-devel builds of lang/mono6.8 get stuck
(and so evenutally time out with a lack of output to stdout).

. . .
[00:02:42] Building 1 packages using 1 builders
[00:02:42] Starting/Cloning builders
[00:02:43] Hit CTRL+t at any time to see build progress and stats
[00:02:43] [01] [00:00:00] Building lang/mono6.8 | mono6.8-6.8.0.123

In a variant of top the hangup looks like (process birth time ordering,
most recent first):

11715 root         52    0  95196Ki   49412Ki usem     1   0:00   0.00% =
/wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123/mono/mini/mono =
--config /wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123
11715 root         52    0  95196Ki   49412Ki ucond    7   0:00   0.00% =
/wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123/mono/mini/mono =
--config /wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123
11715 root         52    0  95196Ki   49412Ki umtxpi   2   0:01   0.00% =
/wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123/mono/mini/mono =
--config /wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123
11714 root         52    0  12912Ki    2932Ki wait     3   0:00   0.00% =
gmake -s .//build/deps/basic-profile-check.out
11712 root         52    0  13620Ki    3200Ki wait     4   0:00   0.00% =
/bin/sh -c ok=3D:; \\\nrm -f .//build/deps/basic-profile-check.exe =
.//build/deps/basic-profile-check.out; \\\nif [ -z '-s' ] && [
11711 root         52    0  12912Ki    2936Ki wait     0   0:00   0.00% =
gmake do-profile-check
11705 root         52    0  12912Ki    2920Ki wait     8   0:00   0.00% =
gmake -s do-profile-check-monolite
11700 root         52    0  12912Ki    2944Ki wait     9   0:00   0.00% =
gmake PROFILE=3Dbuild all
11699 root         52    0  12912Ki    2912Ki wait     2   0:00   0.00% =
gmake profile-do--binary_reference_assemblies--all =
profile-do--net_4_x--all profile-do--xbuild_12--all =
profile-do--xbuild_14--a
11698 root         52    0  12912Ki    2908Ki wait    14   0:00   0.00% =
gmake --no-print-directory -s NO_DIR_CHECK=3D1 =
PROFILES=3Dbinary_reference_assemblies net_4_x xbuild_12 xbuild_14       =
        CC=3D
11674 root         52    0  12912Ki    2928Ki wait     4   0:00   0.00% =
gmake all
95294 root         52    0  13620Ki    3204Ki wait     8   0:00   0.00% =
/bin/sh -c fail=3D; \\\nif (target_option=3Dk; case ${target_option-} in =
?) ;; *) echo "am__make_running_with_option: internal erro
95293 root         52    0  12912Ki    2916Ki wait    12   0:00   0.00% =
gmake all-recursive
95000 root         52    0  12912Ki    2904Ki wait     7   0:00   0.00% =
gmake -f Makefile -j16 all
94999 root         52    0  13620Ki    3180Ki wait     0   0:00   0.00% =
/bin/sh -e -c (cd /wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123; =
if ! /usr/bin/env MONO_SHARED_DIR=3D"/wrkdirs/usr/ports/la
94974 root         52    0  12960Ki    3556Ki wait     2   0:00   0.00% =
/usr/bin/make -C /usr/ports/lang/mono6.8 build
94973 root         27    0  26292Ki    7956Ki wait    13   0:00   0.00% =
sh: poudriere[main-CA72-default][01]: build_pkg (mono6.8-6.8.0.123) (sh)
69377 root         20    0  26292Ki    7964Ki select   3   0:00   0.00% =
sh: poudriere[main-CA72-default][01]: build_pkg (mono6.8-6.8.0.123) (sh)

The log files shows what apepars to have lead to such a status:

. . .
echo '#! /bin/sh' > _tmpinst/bin/mcs ; \
r=3D`pwd`; m=3D`cd =
/wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123/mcs && pwd`; \
echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/class/lib/net_4_x/mcs.exe"'" =
"$@"' >> _tmpinst/bin/mcs ; \
chmod +x _tmpinst/bin/mcs
echo '#! /bin/sh' > _tmpinst/bin/al ; \
r=3D`pwd`; m=3D`cd =
/wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123/mcs && pwd`; \
echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/class/lib/net_4_x/al.exe"'" =
"$@"' >> _tmpinst/bin/al ; \
if test -w /wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123/mcs; then =
:; else chmod -R +w =
/wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123/mcs; fi
cd /wrkdirs/usr/ports/lang/mono6.8/work/mono-6.8.0.123/mcs && gmake =
--no-print-directory -s NO_DIR_CHECK=3D1 =
PROFILES=3D'binary_reference_assemblies net_4_x xbuild_12 xbuild_14      =
        ' CC=3D'cc' all-profiles
mkdir -p -- build/deps
gmake[7]: mcs: No such file or directory
gmake[7]: *** [build/profiles/build.make:134: =
build/deps/basic-profile-check.exe] Error 127
*** The runtime 'mono' doesn't appear to be usable.
*** Trying the 'monolite-unix/ABB721D6-116A-4555-B4FD-9248146D2051' =
directory.

(There is no more to the log at this point.)

For reference:

# uname -apKU
FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #12 =
main-n249019-0637070b5bca-dirty: Tue Aug 31 02:24:20 PDT 2021     =
root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm6=
4.aarch64/sys/GENERIC-NODBG-CA72  arm64 aarch64 1400032 1400032

# pwd
/usr/ports
# ~/fbsd-based-on-what-commit.sh=20
branch: main
merge-base: 59611d61d70a85f4418f3f701db1b7baf58560ba
merge-base: CommitDate: 2021-09-29 09:39:17 +0000
59611d61d70a (HEAD -> main, freebsd/main, freebsd/HEAD) =
databases/postgresql14-server: fix openssl dependency
n560161 (--first-parent --count for merge-base)

(This was discovered via bulk -a testing. I do not normally build
lang/mono6.8 .)

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62DC6489-25CD-4EF1-99F3-AC43CA197D2B>