From owner-freebsd-arm@FreeBSD.ORG Wed Mar 6 18:06:01 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F2C6CEF2; Wed, 6 Mar 2013 18:06:00 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 4DEA6C2B; Wed, 6 Mar 2013 18:06:00 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id t44so8498899wey.40 for ; Wed, 06 Mar 2013 10:05:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=EyzcNWzuF7LGKmg4vdeDcFUdvS8ZctY+Aq+/bzvDZ6k=; b=tfA/BmemXaFKHidZyb+aOmtdhBcvA6UqAzYmxXl3ts4keiGTO5Oxe7qHlVk3BCzzrw im2rWT6f97ZAUQTcQ0EyEHpFDmjhMM17pBtUSZ7pjfM9RZalL/VVNrCDZkplffSUBZwj uqZ+3AmZoNapODWyEw0jS1aXeFPxniJenGNOqGFVTt9f1QEEOuks2+8bQ9jPSsK0wlKd uufUUs4ay3aM3zDqRELkMgAL/iGvDKFbQcFoTPDSNYlnE7dSxgATIjJf+4kkmBF4mjko lVfo1CcYGghQmuit46uW00a3ZnWTQUYnICqpclKGkQyhPG0xeb+m2bpz59ouB8Sds6SU SZ1A== X-Received: by 10.180.8.4 with SMTP id n4mr27982111wia.13.1362593158173; Wed, 06 Mar 2013 10:05:58 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id bs6sm31138197wib.4.2013.03.06.10.05.56 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Mar 2013 10:05:57 -0800 (PST) Sender: Baptiste Daroussin Date: Wed, 6 Mar 2013 19:05:55 +0100 From: Baptiste Daroussin To: Jad Cooper Subject: Re: Raspberry Pi image and pkg_add, pkg etc Message-ID: <20130306180555.GI18971@ithaqua.etoilebsd.net> References: <642BFD16-A5E3-447F-9C52-6855AB1E5CC4@yahoo.com> <1362524363.1291.51.camel@revolution.hippie.lan> <5136B2A3.4010701@ceetonetechnology.com> <20130306123945.60aff30773fdd0fb2707a635@ddteam.net> <7198D3D7-AEFA-4054-8769-4B5E64C015D3@yahoo.com> <20130306163135.GA45920@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2xeD/fx0+7k8I/QN" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "george@ceetonetechnology.com" , Aleksandr Rybalko , "freebsd-arm@freebsd.org" , Ian Lepore X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2013 18:06:01 -0000 --2xeD/fx0+7k8I/QN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 06, 2013 at 12:40:34PM -0500, Jad Cooper wrote: >=20 > On Mar 6, 2013, at 11:31 AM, Baptiste Daroussin wrote: >=20 > > On Wed, Mar 06, 2013 at 10:56:47AM -0500, Jad Cooper wrote: > >> Hi all thanks for taking the time to reply. > >>=20 > >> Indeed the packages are all available for ARM. > >=20 > > Not on the FreeBSD side, we do not provide any packages for arm, may th= at be > > pkgng or the old pkg_install, where did you find any packages? > I found the .txz files > ftp://ftp.freebsd.org/pub/FreeBSD/ports/arm/packages=20 > The file I use with pkgng is the repo.txz file in that directory -=20 Oh I forgot about those one, but they are very old and build on a 9.x box. > >=20 > >> When I delved into installing packages initially there were issues. > >> These are specific to the rpi image. > >>=20 > >> 1. The pkg_add works but wants to download packages from an armv6 dir = that's not in the public repo. > >> 2. Since pkgng is the new manager , trying to get it bootstrapped fail= s, so a manual build is necessary - downloading the txz and extracting it = leaves it missing several libraries. > > To manually build pkgng the best is to use the ports tree which does ev= erything > > needed for you. > >=20 > > How does it leaves missing libraries and what libraries, I do myself us= r pkgng > > on a pandoboard with no problem you mean you have done the whole thing = by hand > > (picking the sources and building?). > >=20 >=20 > Yes I downloaded the source from github and built it using make etc Meaning you are now running on the master code which can easily be broken (branch release-1.0 for stable things) >=20 >=20 > >> 3. Once pkgng is setup and working the location of the repo has to be = set manually using the setenv packagesite > > It can also be specified via pkg.conf but this is only useful if you ha= ve any > > repository available somewhere to make binary only installation > >=20 >=20 > I have the repo as above - the problem is that the pkg.conf file isn't in= the image... Nope because 1.0b16 is really old and buggy for pkgng >=20 >=20 > >> 4. using pkgng I have to force install the packages. > >=20 > > I don't get this one? can you give more details? >=20 > When I do "pkg install curl" for example=20 >=20 > It resolves the package but when it tries to install it complains that th= e version is not correct, saying that the version is incorrect built for 9 = but not 10the exact output I don't have - but=20 >=20 > "pkg install -f curl" works it just forces it to install - and curl then = works=20 Sure you are trying to install package build on a FreeBSD 9 into a FreeBSD = 10. curl works just because you got some compatibility bit able to use FreeBSD 9 binaries but if one of the base library ABI has changed since 9 it would ha= ve been broken >=20 > >>=20 > >> Most of us are technical but to a hobbyist this is a bit complex, thes= e are the tools, files/condos I'd like to repair so that the image is immed= iately useful for RPI.=20 > >>=20 > >> It's a great image already but I want to make it as simple as possible= for students to get started with it.=20 > >>=20 > >> Do I need to download the image source as tweak the c and header files= ?? > >=20 > > Use the ports tree until we are able to create an arm build cluster, or= use some > > of the third party package repositories available out there (sorry I ha= ve no > > link for arm, just know that it does exists :) > >=20 > Isn't that FTP directory the ARM repo?? Somehow :), but I do not recommand to use it :) >=20 > Maybe I'm missing some very fundamental FreeBSD insight but the FTP folde= rs above contain the compressed binary packages for almost everything - eve= n without pkgng or pkg_add I could install most using=20 > tar - zxvPf package.txz , granted I had a lot of missing dependencies but= yeah the ARM bins are all there I thought... Yes the pkgng format has been made that way, so if pkgng itself break a sim= ple tar xvpf can save you :) regards, Bapt --2xeD/fx0+7k8I/QN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlE3hYMACgkQ8kTtMUmk6Ew73ACdFtnCV3b4tVcQ1751m3wllBDG sR8An0Cr5Vf3pCTpCBmc59aSC8gaEVpJ =f/Mt -----END PGP SIGNATURE----- --2xeD/fx0+7k8I/QN--