problem compiling pkgng

Ian Lepore ian at FreeBSD.org
Sun Mar 9 16:52:21 UTC 2014


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 at 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




More information about the freebsd-arm mailing list