From owner-freebsd-ports@freebsd.org Tue Jan 1 03:00:39 2019 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 8087B14245B3 for ; Tue, 1 Jan 2019 03:00:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 3969468540 for ; Tue, 1 Jan 2019 03:00:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Wz_.scgVM1khe5KePqMyFXlkE6GTgublMfEO44SQCg.lgOj5KMs4VaCw7ajcmPi k_BdqefUXyaEiRGRe6GlzEHe6_IluIhSfsBiLsGgx1kSjbRjnUyaNFgV6qnHlf54d9vwGDLemX0G g7eGRlQadi2HOBwKHDivodc8Bb3G_hqa92WVpfuOHjL.DyVmH9PqGT6tSpdwhzhOk03G6pZVm8fs 535tE7AEviK.nB8wA5oGsgxEhrfmAiLXhSwbtJQkXRmvYY_f5Vikc__ecd5vmLlLJaLLyUJWx5go TlhvcFZrZDi89jMgpDX.3n.6rbT7M8pW1ICXlIYVd8VqyaOArzaoWpiAxkzMEF0p2WCLH_YL3rlg Kl4CkQkM9.dnCjvRNW5y8xEDRHDiiAkPbqOo1kBJ5K.HA8u0r4Ah1xMr9DRLSSXKOIXl7obqSXlV DlhDb.KnHnn_pSAtN0HO1FdU18rE3jPivtF51VPq9hSdLyzIkwZtpUOyfW.RDR69l3QHewiWuTcW oB.4Av.0BCGvLlI.k9OWyEKA7KwO5blugxNqzT1zj5OT3Qf0xM1fT88Z1lOEvKw8XAY8BsiWD0sB PUU9_c2b.Zy0jS4_GSJYhP8riDn488Xh9EdGp4.5bdJP1XZRUJ.Y6jslg23wYSB5ecgq1qCbw107 ks3_G5DeU3IyGroq5XnZQWoq3zb2HAEPNDtUb2oBIqCKWY61RwDzjvN.NYVxhG.JbMIEnQZekzAU EhF0d5lq7cagsXNxnpYOK2gLpqAD.uSj_eHzh_kcMqph_e3zsg3hW6Ld8QVFkrE7an_zp.HvNptf XyMS6MgzJ5RQ5MG4FZ1X1qMTmIs2Rw1GJd5cQabQQlFERRlC1Ix8kzNBeeow2EFzBayE4lZ6uktl KVic4.m8t4_vWYSCPSXAo3ftBDHiHd8VRc3MHnHiyVLLSwvb8_k9p0yHt6KR3.DGxp3w7wmjZhRj LEZTclDGa1fwp0G1T1shZuKidWjhKC6sDEsTRdjLoH2VDSHDDozOiU28Xm012.iWg.mfKgU_iF7t msW7W6o67K88YhjIWmiRIulHWzYUbVaOBj4dYEDfLDnasL0JR1jOL1_MECXGoGZqqSg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Tue, 1 Jan 2019 03:00:36 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp414.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID dbd0bb2a6a724229abedbad683618265; Tue, 01 Jan 2019 02:50:24 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) [details of a specific qemu-arm-static source code problem] From: Mark Millard In-Reply-To: <984303F3-ADCD-442A-B1E9-412B8365B399@yahoo.com> Date: Mon, 31 Dec 2018 18:50:23 -0800 Cc: freebsd-emulation@freebsd.org, FreeBSD Current , freebsd-arm , ports-list freebsd , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: <642A3C38-5229-4BA3-9BA7-CD78F52D0335@yahoo.com> References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> <82478A45-7D15-4995-B333-FC42B39E5345@yahoo.com> <984303F3-ADCD-442A-B1E9-412B8365B399@yahoo.com> To: Jonathan Chen X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 3969468540 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.54 / 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)[6]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.97)[-0.973,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)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-1.06)[ip: (-6.33), ipnet: 98.137.64.0/21(0.61), asn: 36647(0.49), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[148.69.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: Tue, 01 Jan 2019 03:00:39 -0000 [I listed my /usr/src svn veriosn information instead of /usr/ports . Correcting. . .] On 2018-Dec-31, at 12:05, Mark Millard wrote: > On 2018-Dec-31, at 10:16, Jonathan Chen wrote: >=20 >> On Mon, 31 Dec 2018 at 21:05, Mark Millard = wrote: >> [...] >>> But if you have a form of hang-up that shows no sign of being tied >>> to kevent or hangs-up only sometimes, I'd be surprised if the = __packed >>> change(s) would fix the issue. >>=20 >> With the __packed-modified qemu-user-static, the amd64->armv7 >> crossbuilds does not hang anymore, but I get build failures instead. >> Interestingly enough, an unmodified qemu-user-static gets further >> along in a amd64->armv6 crossbuild, with only one reproducible hang. >=20 > I tend to compare cross-build failures to native-build attempts. The > multimedia-gstreamer1-qt@qt5 hang-up was qemu-arm-static specific, > not occurring native. That and being reliable about hanging-up is > what prompted the investigation. >=20 > The lld thread fanout hangup also has only happened under > qemu-arm-static but I do not have a context with more than 4 cores for > armv7: far less than 28 (FreeBSD under Hyper-V) or 32 cpus (FreeBSD > native) that I use for cross-builds. >=20 > I do not know if you care to but it is possible to see if the FreeBSD > package builders get failures or hangs for the same ports. I use > head port build examples below: >=20 > http://beefy16.nyi.freebsd.org/jail.html?mastername=3Dhead-armv7-default= >=20 > http://beefy8.nyi.freebsd.org/jail.html?mastername=3Dhead-armv6-default >=20 > The pages displayed show a list of port version (p??????) and freebsd > version (s??????) looking like p??????_s?????? . Those links take you > to pages for exploring the built, failed, skipped, and ignored > ports. >=20 > Of course, for race-condition problems in builds, checking is messier > because of needing to look at possibly many port/system combinations. >=20 > My attempts to build x11/lumina fail for: >=20 > [00:01:02] [01] [00:00:00] Building multimedia/libvpx | libvpx-1.7.0_2 > [00:02:23] [01] [00:01:21] Saved multimedia/libvpx | libvpx-1.7.0_2 = wrkdir to: = /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailArmV7-default/default/libvpx= -1.7.0_2.tar > [00:02:23] [01] [00:01:21] Finished multimedia/libvpx | = libvpx-1.7.0_2: Failed: build > [00:02:24] [01] [00:01:22] Skipping multimedia/ffmpeg | ffmpeg-4.1,1: = Dependent port multimedia/libvpx | libvpx-1.7.0_2 failed > [00:02:24] [01] [00:01:22] Skipping multimedia/gstreamer1-libav | = gstreamer1-libav-1.14.4_2: Dependent port multimedia/libvpx | = libvpx-1.7.0_2 failed > [00:02:24] [01] [00:01:22] Skipping multimedia/gstreamer1-plugins-core = | gstreamer1-plugins-core-1.14: Dependent port multimedia/libvpx | = libvpx-1.7.0_2 failed > [00:02:24] [01] [00:01:22] Skipping x11/lumina | lumina-1.4.1,3: = Dependent port multimedia/libvpx | libvpx-1.7.0_2 failed > [00:02:24] [01] [00:01:22] Skipping x11/lumina-core | = lumina-core-1.4.1: Dependent port multimedia/libvpx | libvpx-1.7.0_2 = failed > . . . > [00:06:19] Failed ports: multimedia/libvpx:build > [00:06:19] Skipped ports: multimedia/ffmpeg = multimedia/gstreamer1-libav multimedia/gstreamer1-plugins-core = x11/lumina x11/lumina-core > [FBSDFSSDjailArmV7-default] [2018-12-30_17h04m02s] [committing:] = Queued: 7 Built: 1 Failed: 1 Skipped: 5 Ignored: 0 Tobuild: 0 = Time: 00:06:16 >=20 > Native build attempts on an armv7 get the same. >=20 > But I'm still at: >=20 > . . . Correcting to have the /usr/ports information: # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 484783 Last Changed Rev: 484783 >=20 > because I froze at that while investigating the reliable hang and > have not started progressing again yet. Last I looked the > head-armv7-default package builds were also failing for libvpx if > I remember right. Looks like more recently libvpx builds on the package builders. So next = time that I update the ports tree I'll get to see the next problem (if any). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)