Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 20:45:15 +0200
From:      John Hay <jhay@meraka.org.za>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>, freebsd-arm@freebsd.org
Subject:   Re: AVILA getting close!
Message-ID:  <20140619184515.GA35207@zibbi.meraka.csir.co.za>
In-Reply-To: <20140619060531.GA64180@zibbi.meraka.csir.co.za>
References:  <20140618225808.GG31367@funkthat.com> <53A21C30.7060601@freebsd.org> <20140618231451.GI31367@funkthat.com> <20140619060531.GA64180@zibbi.meraka.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 19, 2014 at 08:05:31AM +0200, John Hay wrote:
> On Wed, Jun 18, 2014 at 04:14:51PM -0700, John-Mark Gurney wrote:
> > Nathan Whitehorn wrote this message on Wed, Jun 18, 2014 at 16:09 -0700:
> > > 
> > > On 06/18/14 15:58, John-Mark Gurney wrote:
> > > >So, w/ the recent couple of patches that alc has provided, I no longer
> > > >receive kernel panics on my AVILA board!
> > > >
> > > >$ uname -a
> > > >FreeBSD avila.funkthat.com 11.0-CURRENT FreeBSD 11.0-CURRENT #27 
> > > >r267333:267349M: Wed Jun 11 09:57:58 PDT 2014     
> > > >jmg@carbon.funkthat.com:/usr/obj/arm.armeb/usr/src.avila/sys/AVILA  arm
> > > >$ uptime
> > > >12:15AM  up 1 day, 15 mins, 2 users, load averages: 0.13, 0.11, 0.08
> > > >
> > > >This survived a portsnap extract...  This is all over NFS...
> > > >
> > > What happens if you set LD_BIND_NOW=1 in the environment first?

I'm now trying to build pkg from ports on a nfs booted CAMBRIA. I can
build the whole pkg, but then when trying to install, I get
pkg-static: failed to find the version elf note

#############
root@:/usr/ports/ports-mgmt/pkg # make install
===>  Installing for pkg-1.2.7_3
===>  Checking if ports-mgmt/pkg already installed
pkg-static: failed to find the version elf note
===>   Registering installation for pkg-1.2.7_3
pkg-static: failed to find the version elf note
pkg-static: failed to find the version elf note
Installing pkg-1.2.7_3...pkg-static: package field incomplete: architecture
pkg-static: the package is not valid
pkg-static: sqlite: cannot rollback - no transaction is active
If you are upgrading from the old package format, first run:

  # pkg2ng

*** Error code 70

Stop.
make[1]: stopped in /export/ports/ports-mgmt/pkg
*** Error code 1

Stop.
make: stopped in /export/ports/ports-mgmt/pkg
##############

Is there some bootstrapping that I need to do? My previous arm stuff
used the old pkg system.

Searching on Google I found these patches, but I'm unsure if they are
meant to fix that.

http://people.freebsd.org/~nwhitehorn/pkg_bootstrap_machinearch.diff
http://people.freebsd.org/~nwhitehorn/pkg_machinearch.diff

Regards

John
-- 
John Hay -- jhay@meraka.csir.co.za / jhay@meraka.org.za



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140619184515.GA35207>