From owner-freebsd-ports@freebsd.org Sat Dec 22 03:14:29 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CBB31341138 for ; Sat, 22 Dec 2018 03:14:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62F0D6C1E9 for ; Sat, 22 Dec 2018 03:14:28 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: OIu1edAVM1l2EmHwh_uwzwndmyvn96Hbw7uWDV4oxltWebE8TVh.iJVfRXiuzNn yBTW1ZtAyuPze7uBDHMLYWWT8iz6Owhy3jNUOgx22LQAZuoKLGa9UNQGG1u8b.FUTdYBfXfG8iAm uGbeZq7Xwl35Ygih3AwCIWJPnHnR5FLcVZZxd9c3PlhnfkDWm5Oddh9HxYr9ICSRHk0tYm8_J0IX ZVTP5CoNQ.j8IhEH.7NOAz7SqbNtZzoM4.OBcs6fsqiteh7JaA41qF26oW0dydvMkggO2wpcyF5T 6LxTPWXLPVVkrubA0NkTQxnobXjSq_n0f3y0yOLy9S1nZDtlk..3l8WvB6lcScnZYn_0nQfcWUOz jhFtAV4YqSQ6tqkDYWZ_A0B2TJKqn0xeRNXVa2Np.lq_Pqu2favs.sk2RblfeSX42ttJJa_baI8u Fb1SOI7iTA4ZiDGNjAzhARGkq757JwBJo7CyiN_iYaF_WEmobjqZGRK6FxCqwJpBjUXOu6sETLQT B4IXT_qdbX_7XT7gWVkLddz2WYndRz8e4JGuGFAo9vICYTRGHcAp4Y_LImqK3qfbDd_H9M0lD0fb WyuMXEIIzZrNrjg8_uhL6caYyU79VcJ3g4Luy_OnQVHDpzWf_2rWV0NhyEWH7r6LwuNW4u2W5f63 CLV8Hqog5gZx6g0YyauH9rOWimn5Sm1sydGOk16ntTc6Alg19.e7l5_5_P2pTCgZKB8Y22wP_En6 .DIZq6jgmfouarno15bh5sP3_rFILxLcOt4Q2GbrS25x2cgnE_kJcRgeCMh3rxmsx0CXbOJa5Ofe CNEOSHhHAbLSRuls9XLX19ByAjdY3uVJ5lx0k5Uclifbh_34VAvE5GoznLr3p35jY14w41DVfzNI SmRg4eL0YzaNokMuyOzCqwqMZN3ypS9BqQNEI_FFPBKT0YUO81JYaDpC1b7Hx1JY2jPkc6f50wrg qeh6vIBDDH3o.gDyKhPGNYokqXAUxKm2NS7fdo2HE33l_sE9NJPO6a14k9ZHGc9epiiwZ9kpjGTt _70R4sHME8VfYn4ZmUIbZTDwBW7FY2w_DGb2fz71eIYBDuh4LQfXJ_0u4Z3zyVD5ng7MqR2w9YF_ J Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sat, 22 Dec 2018 03:14:20 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp426.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e0306e394260faa24df3cb8b88a66439; Sat, 22 Dec 2018 03:14:16 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) Message-Id: Date: Fri, 21 Dec 2018 19:14:15 -0800 Cc: freebsd-arm , FreeBSD Toolchain , ports-list freebsd To: freebsd-emulation@freebsd.or, FreeBSD Current X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 62F0D6C1E9 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.76 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.47)[-0.471,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.21)[ipnet: 98.137.64.0/21(0.64), asn: 36647(0.51), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[84.64.137.98.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2018 03:14:29 -0000 I had been reporting intermittent hang-ups for my amd64->{aarch64,armv7} = port cross builds in another message sequence. But it turns out that one thing I = ran into has hung-up every time, the same way, for amd64->armv7 cross builds: multimedia/gstreamer1-qt@qt5 . So I extract the material here into a = separate report with some updated notes. A little context: I had built from ports head -r484783 before under = FreeBSD head -r340287 (as I remember the version). Back then it did not have this = problem that it now has under FreeBSD head -r341836 . One ports-specific change was to = force perl5.28 as the default instead of perl5.26 originally. In fact this is what = drives what is being rebuilt for my experiment that caught this. But I doubt the perl = version is important to the problem. The context has a Ryzen Threadripper 1950X and = has been tested both for FreeBSD under Hyper-V and for the same media = native-booted. Both hang-up at the same point as seen via ps or top. The native tools for = cross-build speedup were in use. Cross-builds targeting aarch64 did not get this = problem but targeting armv7 did. 121 of 129 armv7 ports built before the hang-up for = the first armv7 try. The hang-up: In the port rebuilds targeting armv7, multimedia/gstreamer1-qt@qt5 = hung-up and timed out. Looking during the wait in later tries shows something much like = (from one of the examples): root 33719 0.0 0.0 12920 3528 0 I 11:40 0:00.03 | = | `-- sh: poudriere[FBSDFSSDjailArmV7-default][02]: build_pkg = (gstreamer1-qt5-1.2.0_14) (sh) root 41551 0.0 0.0 12920 3520 0 I 11:43 0:00.00 | = | `-- sh: poudriere[FBSDFSSDjailArmV7-default][02]: = build_pkg (gstreamer1-qt5-1.2.0_14) (sh) root 41552 0.0 0.0 10340 1744 0 IJ 11:43 0:00.01 | = | `-- /usr/bin/make -C /usr/ports/multimedia/gstreamer1-qt = FLAVOR=3Dqt5 build root 41566 0.0 0.0 10236 1796 0 IJ 11:43 0:00.00 | = | `-- /bin/sh -e -c (cd = /wrkdirs/usr/ports/multimedia/gstreamer1-qt/work-qt5/.build; if ! = /usr/bin/env QT_SELE root 41567 0.0 0.0 89976 12896 0 IJ 11:43 0:00.07 | = | `-- /usr/local/bin/qemu-arm-static ninja -j28 -v all root 41585 0.0 0.0 102848 25056 0 IJ 11:43 0:00.10 | = | |-- /usr/local/bin/qemu-arm-static = /usr/local/bin/cmake -E cmake_autogen /wrkdirs/usr/ports/multimedia/g root 41586 0.0 0.0 102852 25072 0 IJ 11:43 0:00.11 | = | `-- /usr/local/bin/qemu-arm-static = /usr/local/bin/cmake -E cmake_autogen /wrkdirs/usr/ports/multimedia/g or as top showed it: 41552 root 1 52 0 10M 1744K 0 wait 15 0:00 = 0.00% /usr/bin/make -C /usr/ports/multimedia/gstreamer1-qt FLAVOR=3Dqt5 = build 41566 root 1 52 0 10M 1796K 0 wait 1 0:00 = 0.00% /bin/sh -e -c (cd = /wrkdirs/usr/ports/multimedia/gstreamer1-qt/work-qt5/.build; if ! = /usr/bin/env QT_SELECT=3Dqt5 QMAKEMODULES 41567 root 2 52 0 88M 13M 0 select 4 0:00 = 0.00% /usr/local/bin/qemu-arm-static ninja -j28 -v all 41585 root 2 52 0 100M 24M 0 kqread 8 0:00 = 0.00% /usr/local/bin/qemu-arm-static /usr/local/bin/cmake -E = cmake_autogen /wrkdirs/usr/ports/multimedia/gstreamer1-qt/work-qt5/. 41586 root 2 52 0 100M 24M 0 kqread 22 0:00 = 0.00% /usr/local/bin/qemu-arm-static /usr/local/bin/cmake -E = cmake_autogen /wrkdirs/usr/ports/multimedia/gstreamer1-qt/work-qt5/. So: waiting in kqread trying to run cmake. Unlike some intermittent hang-ups, attaching-then-detaching via gdb does = not resume the hung-up processes. Kills of the processes waiting on kqread = stop the build. Given the prior ports have been built already, building just multimedia/gstreamer1-qt@qt5 still gets the hang-up at the same point. Building anything that requires multimedia/gstreamer1-qt@qt5 seems to be solidly blocked in my environment. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)