From owner-freebsd-arm@FreeBSD.ORG Sun Mar 9 16:52:21 2014 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 730A1587 for ; Sun, 9 Mar 2014 16:52:21 +0000 (UTC) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 35FBFD75 for ; Sun, 9 Mar 2014 16:52:20 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WMgxX-000DGF-R8; Sun, 09 Mar 2014 16:52:19 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s29GqH2Q057945; Sun, 9 Mar 2014 10:52:17 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/0hpB8ej3mo6CUqCslfCn4 Subject: Re: problem compiling pkgng From: Ian Lepore To: Tom Everett In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Sun, 09 Mar 2014 10:52:17 -0600 Message-ID: <1394383937.1149.440.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2014 16:52:21 -0000 On Sun, 2014-03-09 at 10:16 -0600, Tom Everett wrote: > Hello, I'm running into the below error compiling pkgng on wandboard. My > source revision is r262932. > > root@wandboard:/usr/home/tom/pkg-1.1 # make > > make: "/usr/home/tom/pkg-1.1/Makefile" line 13: warning: Couldn't read > shell's output for "( which atf-version ) 2>&1 || true" > > ===> external (all) > > ===> external/sqlite (all) > > Warning: Object directory not changed from original > /usr/home/tom/pkg-1.1/external/sqlite > > ===> external/libyaml (all) > > Warning: Object directory not changed from original > /usr/home/tom/pkg-1.1/external/libyaml > > ===> libpkg (all) > > Warning: Object directory not changed from original > /usr/home/tom/pkg-1.1/libpkg > > ===> pkg (all) > > Warning: Object directory not changed from original > /usr/home/tom/pkg-1.1/pkg > > ===> scripts (all) > > ===> scripts/periodic (all) > > ===> scripts/completion (all) > > ===> scripts/sbin (all) > > ===> pkg-static (all) > > Warning: Object directory not changed from original > /usr/home/tom/pkg-1.1/pkg-static > > cc -O -pipe -I/usr/home/tom/pkg-1.1/pkg-static/../libpkg > -I/usr/home/tom/pkg-1.1/pkg-static/../external/uthash -std=gnu99 > -Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow > -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs > -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations > -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int > -Wno-unused-const-variable -static -o pkg-static add.o annotate.o audit.o > autoremove.o backup.o check.o clean.o convert.o create.o delete.o event.o > info.o install.o lock.o main.o plugins.o progressmeter.o query.o register.o > repo.o rquery.o update.o upgrade.o search.o set.o shlib.o updating.o > utils.o version.o which.o fetch.o shell.o stats.o ssh.o > -L/usr/home/tom/pkg-1.1/pkg-static/../libpkg -lpkg -larchive -lutil > -lpthread -lsbuf -lfetch -lssl -lcrypto -lmd -lz -lbz2 -llzma > -lbsdxml -L/usr/home/tom/pkg-1.1/pkg-static/../external/sqlite > -L/usr/home/tom/pkg-1.1/pkg-static/../external/libyaml -lyaml -lsqlite3 > -larchive -lsbuf -lfetch -lpthread -lelf -lssl -lcrypto -lmd -lz > -lbz2 -llzma -ledit -lncursesw -ljail > > /usr/lib/libarchive.a: could not read symbols: Malformed archive > > cc: error: linker command failed with exit code 1 (use -v to see invocation) > > *** Error code 1 > > > Stop. > > make[1]: stopped in /usr/home/tom/pkg-1.1/pkg-static > > *** Error code 1 > > > Stop. > > make: stopped in /usr/home/tom/pkg-1.1 If it's like the ports building problems I ran into last week, if you reboot and build again it'll either work or die in a different place. I don't really have even a theory yet on what could be wrong, but I've been fixing everything I can find hoping that it'll just get better. I'm running out of things I know are a problem, so if it's not fixed by all the changes between r262941-950 then I'll have to start hunting specifically for this problem, which appears to be that sometimes data read from sdcard is corrupted (but I've yet to see corruption get onto the card, it seems to be during a read). Another problem I've run into in the past couple days is that event timers just stop running. You see this is an apparent lockup of anything periodic (such as a top display) or timeout-based, but you can still enter commands and get responses. Doing "sysctl kern.eventtimer.periodic=1" appears to work around it. -- Ian