From owner-freebsd-arm@freebsd.org Thu Oct 26 22:55:56 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 CEA99E54E82 for ; Thu, 26 Oct 2017 22:55:56 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6CEC16D1B9 for ; Thu, 26 Oct 2017 22:55:55 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: ce4e9d7f-baa0-11e7-a893-25625093991c X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id ce4e9d7f-baa0-11e7-a893-25625093991c; Thu, 26 Oct 2017 22:55:49 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v9QMth0l002785; Thu, 26 Oct 2017 16:55:43 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1509058543.56824.61.camel@freebsd.org> Subject: Re: Make packages for armv7 makes armv6 packages From: Ian Lepore To: Carl Johnson , freebsd-arm@freebsd.org Date: Thu, 26 Oct 2017 16:55:43 -0600 In-Reply-To: <86lgjxo74h.fsf@elm.localnet> References: <86lgjxo74h.fsf@elm.localnet> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Thu, 26 Oct 2017 22:55:56 -0000 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.  I just tried building > armv7 packages to see if the system could be upgraded that way.  I did a > buildworld and buildkernel for armv7 and everything worked properly.  I > then did a make packages for armv7 and it referenced the files created > by the armv7 build, but then built armv6 packages.  The 'pkg info -F' > data showed armv6 architecture, and they were placed in the > FreeBSD:12.0:armv6 repo directory.   I don't think I did anything wrong, > and the commands I used were: > >   make -j4 KERNCONF=RPI2 TARGET=arm TARGET_ARCH=armv7 buildworld buildkernel >   make -j4 KERNCONF=RPI2 TARGET=arm TARGET_ARCH=armv7 packages >    > 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. > > Does anybody have any suggestions on what I am missing, or are the > packages not implemented yet for armv7?  I have upgraded it several > times before this conversion to armv7, so I think my procedure is > basically correct.  The svn revision I used for this was r325018, which > was the latest at this time. > > Thanks for any ideas on this. I think the problem is that pkg itself hasn't been updated to know about armv7.  If you apply this patch to ports-mgmt/pkg https://bz-attachments.freebsd.org/attachment.cgi?id=187008 then I think it should create armv7 packages for you. -- Ian