From owner-freebsd-arm@freebsd.org Thu Aug 2 18:53:19 2018 Return-Path: Delivered-To: freebsd-arm@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 5AA14104A60A for ; Thu, 2 Aug 2018 18:53:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-22.consmr.mail.gq1.yahoo.com (sonic302-22.consmr.mail.gq1.yahoo.com [98.137.68.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 D7B6876208 for ; Thu, 2 Aug 2018 18:53:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 3FrbMx8VM1ldarww7CmRccu2F6l_fxtWXwhMg0FysntoFTwjWPp58XunbXBfi41 AF1nrFjDZI6y82tCBt1PJF6Cnr1jBxlm41GD8BJE3.vNlzhwy0rFwq_7Xoa00jgEXyNxiNNEAxUx Fb_DBftKdNi29WXvzWdL9ZR.Mc9kvVfNPywWNOMgSUzkhgNM3RWxDkEJpVmY2QxHu_nyt.2DIFt5 NIsr7Ro60GOncUbYsaMwnGmt01FkKRDwF5cYKDYKlvxfILWtGyxISiK4XRgfbZQrYorS4u5f2dTG 6gmE0iA8kC8FkzjrhnqOW9w6iZyOprisGvgfr6cA6R8ENZ8Zc4j_AdmvncBS5et9zgxUJJzYqJr2 8OVvAaeLaIxhdUkpmc3V8eZEtASFhdQJOtvyFUMFrljjxArBsb2EUp.M3Rmo003i_gdjCv4Fj3GU UPjy1zKPr3P5cETOhKxghU1A23fnO.8EH0vvOy0Ut29.Du2MikC4OAT4Z937l_EHxbFKKsJRwOG. kOXH4gfwE3h2HWt.wC2YXE6ABXCTVJEyvstI.549PQVytdhAtlJvZUP0dL9vb6WJvxytasECahbK pE5_RKEovobuiTF6y32lsmoHZpSVf0dnTkvRF7SaJ_MrsyTjS42NHl5fp3VIcZAlkF2LByU8c7pL hI2uJR7wvkF11WTNljtuyC6dsWb4hp8igljYDb1YdR_vgS.Q54Hm7yEuxSirlVcb1Qn54kLPuKay Tw2572l7WdGM9JW0PN7l_IgjPLi6d8s27ooypuKaNqjlqEA.APwc0Il7dTRzlMJu.7IiN5yDDN1K cWZNUceiRTUnEgN18LZ_X1vf1tLujAWknWhDlLDaM2glMl3eMft8tJo62G7.JTeeIExkL5GIGnk0 jAxZtHRLHc6ggF4dc.elB4J16qHuiy1z69Vbr8YfVaM5.Gby0XqP.0Lls0JyxWecpoP2NzJMSYeU KKvEyb0jFGK9f.Mz1kRwicCUON48T91JEcQ0LsXGxYdRqloyHa79Cr3AOo0U3bPU5DvRLSBg9Hpu xMfS6.6qkQZEttg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Thu, 2 Aug 2018 18:53:12 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp403.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 242e16a9824bc74658f56f26638b4f91; Thu, 02 Aug 2018 18:53:11 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: poudriere-devel build of sysutils/u-boot-pine64 | u-boot-pine64-2018.07_1 failed From: Mark Millard In-Reply-To: <4DBB7051-AEC9-4ECA-B645-0A5AF1C7C856@yahoo.com> Date: Thu, 2 Aug 2018 11:53:10 -0700 Cc: Mark Millard via freebsd-uboot , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <451D906A-3807-4029-BFFA-1A00AD8FB0F9@yahoo.com> <6D377AEB-C359-4DC3-A95F-2A4A72CBF090@yahoo.com> <20180801095942.91dfc4d5907b75b4fe63c1d0@bidouilliste.com> <20180802060927.72eadf5b1f8fe8bcf8860dc3@bidouilliste.com> <4DBB7051-AEC9-4ECA-B645-0A5AF1C7C856@yahoo.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2018 18:53:19 -0000 [BUILD_DEPENDS+=3D objdump:devel/binutils is sufficient to allow my poudreire-devel context to build u-boot-pine64 .] On 2018-Aug-1, at 11:47 PM, Mark Millard wrote: > [See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230288 .] >=20 > On 2018-Aug-1, at 10:57 PM, Mark Millard wrote: >=20 >> On 2018-Aug-1, at 9:09 PM, Emmanuel Vadot = wrote: >>=20 >>> On Wed, 1 Aug 2018 07:02:08 -0700 >>> Mark Millard via freebsd-uboot wrote: >>>=20 >>>>=20 >>>>=20 >>>> On 2018-Aug-1, at 12:59 AM, Emmanuel Vadot wrote: >>>>=20 >>>>> . . . >>>>=20 >>>> Definitely true that I do not yet know what matters for this = context. >>>> I'll continue to try to figure that out. >>>=20 >>> Well it's a port and you are building via poudriere so just put the >>> log file (the full log file) somewhere so we can have a look. >>> Also arch, ports tree revision, blah, the usual suspects. >>=20 >> The build did not get far: the log file is only 747 lines long. I'll >> probably submit a bugzilla for the issue at some point. I'll report >> the number when I do. >=20 > See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230288 >=20 >> I suggest looking at: >>=20 >> = https://lists.freebsd.org/pipermail/freebsd-ports/2018-August/113981.html >>=20 >> for a recent build failure type that I analyzed (devel/*-gcc = failures). John Baldwin >> reduced the history down to the final result for our exchanges and so = it will will not >> be a long read. The issue was tied to my use of WITHOUT_BINTUILS for = the buildworld >> that was installed and in use but devel/powerpc64-gcc (the master = port for the >> devel/*-gcc ports) not listing devel/binutils in BUILD_DEPENDS in = addition to the >> historical devel/${PKGNAMEPREFIX}binutils for the cross-build. >>=20 >> Other gcc-ish ports that cross-build things may have similar issues = with expecting >> but missing "builder-architecture" tools from binutils. I'm not = claiming that is >> the problem here but it is a fairly new type of problem to be aware = of. >>=20 >>=20 >>=20 >> Just FYI for the pine64 u-boot port context: >> (To be in the bugzilla submittal as well.) >>=20 >> # uname -apKU >> FreeBSD FBSDUSSD 12.0-CURRENT FreeBSD 12.0-CURRENT r336693M amd64 = amd64 1200075 1200075 >>=20 >> (The "M" is mostly for experiments targeting powerpc and powerpc64 >> via fairly modern toolchains. The poudriere-devel jail uses an >> install-tree installed from the same buildworld.) >>=20 >> # 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: 476026 >> Last Changed Rev: 476026 I've udpated: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230288 with the following comment: QUOTE The following change to sysutils/u-boot-master/Makefile was sufficient to allow sysutils/u-boot-pine64 to build in my poudriere-devel context that is based on a buildworld that uses WITHOUT_BINTUTILS. (I'm not claiming this is the best form of fix, just noting the behavior of the specific change.) # svnlite diff /usr/ports/sysutils/u-boot-master/Makefile Index: /usr/ports/sysutils/u-boot-master/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/ports/sysutils/u-boot-master/Makefile (revision 476026) +++ /usr/ports/sysutils/u-boot-master/Makefile (working copy) @@ -21,6 +21,7 @@ dtc>=3D1.4.1:sysutils/dtc \ mkimage:sysutils/u-boot-tools BUILD_DEPENDS+=3D ${COMPILER}:devel/${COMPILER} +BUILD_DEPENDS+=3D objdump:devel/binutils =20 USES=3D bison gmake python:2.7,build shebangfix tar:bz2 BINARY_ALIAS=3D bison=3D${LOCALBASE}/bin/bison = dtc=3D${LOCALBASE}/bin/dtc sed=3Dgsed swig=3Dswig3.0 I've not isolated where the builder environment's binutil tool(s) are put to use but this seems to solidly indicate that there is such use for sysutils/u-boot-pine64 . END QUOTE =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)