From owner-freebsd-arm@freebsd.org Fri Oct 27 03:42:07 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69879E5AAB9 for ; Fri, 27 Oct 2017 03:42:07 +0000 (UTC) (envelope-from carlj@peak.org) Received: from filter06.peak.org (filter06.peak.org [69.59.194.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 447B3750C7 for ; Fri, 27 Oct 2017 03:42:06 +0000 (UTC) (envelope-from carlj@peak.org) Received: from zmail-mta02.peak.org ([207.55.16.112]) by filter06.peak.org ({0c47b2c3-829a-4f18-b445-de68be8d048d}) via TCP (outbound) with ESMTPS id 20171027034204167_0000 for ; Thu, 26 Oct 2017 20:42:04 -0700 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta02.peak.org (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTPS id A6E584CA57 for ; Thu, 26 Oct 2017 20:41:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTP id 8E16C4CA88 for ; Thu, 26 Oct 2017 20:41:58 -0700 (PDT) Received: from zmail-mta02.peak.org ([127.0.0.1]) by localhost (zmail-mta02.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aF9tCSM6qMPX for ; Thu, 26 Oct 2017 20:41:58 -0700 (PDT) Received: from mailproxy-lb-05.peak.org (mailproxy-lb-05.peak.org [207.55.17.95]) by zmail-mta02.peak.org (Postfix) with ESMTP id 58D034CA57 for ; Thu, 26 Oct 2017 20:41:58 -0700 (PDT) Received: from carlj by elm.localnet with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1e7vWv-000Fk2-04 for freebsd-arm@freebsd.org; Thu, 26 Oct 2017 20:41:57 -0700 From: Carl Johnson To: freebsd-arm@freebsd.org Subject: Re: Make packages for armv7 makes armv6 packages References: <86lgjxo74h.fsf@elm.localnet> <1509058543.56824.61.camel@freebsd.org> X-Clacks-Overhead: GNU Terry Pratchett Date: Thu, 26 Oct 2017 20:41:56 -0700 In-Reply-To: <1509058543.56824.61.camel@freebsd.org> (Ian Lepore's message of "Thu, 26 Oct 2017 16:55:43 -0600") Message-ID: <86h8ulntob.fsf@elm.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2017 03:42:07 -0000 Ian Lepore writes: > On Thu, 2017-10-26 at 15:51 -0700, Carl Johnson wrote: >> I have a 12.0-CURRENT RPI2 system that I have been updating with >> packages that I build on my amd64 desktop system.=C2=A0=C2=A0I just trie= d building >> armv7 packages to see if the system could be upgraded that way.=C2=A0=C2= =A0I did a >> buildworld and buildkernel for armv7 and everything worked properly.=C2= =A0=C2=A0I >> then did a make packages for armv7 and it referenced the files created >> by the armv7 build, but then built armv6 packages.=C2=A0=C2=A0The 'pkg i= nfo -F' >> data showed armv6 architecture, and they were placed in the >> FreeBSD:12.0:armv6 repo directory.=C2=A0=C2=A0=C2=A0I don't think I did = anything wrong, >> and the commands I used were: >>=20 >> =C2=A0 make -j4 KERNCONF=3DRPI2 TARGET=3Darm TARGET_ARCH=3Darmv7 buildwo= rld buildkernel >> =C2=A0 make -j4 KERNCONF=3DRPI2 TARGET=3Darm TARGET_ARCH=3Darmv7 packages >> =C2=A0=C2=A0 >> I checked the typescript file and the only reference to armv6 was the >> line where it reports it is creating the the repository in >> .../FreeBSD:12:armv6/... at the end. >>=20 >> Does anybody have any suggestions on what I am missing, or are the >> packages not implemented yet for armv7?=C2=A0=C2=A0I have upgraded it se= veral >> times before this conversion to armv7, so I think my procedure is >> basically correct.=C2=A0=C2=A0The svn revision I used for this was r3250= 18, which >> was the latest at this time. >>=20 >> Thanks for any ideas on this. > > I think the problem is that pkg itself hasn't been updated to know > about armv7. =C2=A0If you apply this patch to ports-mgmt/pkg > > https://bz-attachments.freebsd.org/attachment.cgi?id=3D187008 > > then I think it should create armv7 packages for you. Thanks, but what is supposed to handle that file? I see two patches in there, but I don't know what the other lines are supposed to do. --=20 Carl Johnson carlj@peak.org