[Bug 219606] aarch64: libarchive.so.6 not present, libarchive.so not equivalent @ 318898

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 29 22:58:40 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219606

Mark Millard <markmi at dsl-only.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markmi at dsl-only.net

--- Comment #5 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Phillip R. Jaenke from comment #4)

> there is no possibility of having a libarchive.so.6 on aarch64 currently

I have not updated yet, and in fact have not
updated in some time. But when I look at the
Pine64+ 2GB I see a /usr/lib/libarchive.so.6 :

# uname -paKU
FreeBSD pine64 12.0-CURRENT FreeBSD 12.0-CURRENT  r317015M  arm64 aarch64
1200028 1200028

# ls -lTt /usr/lib/libarc*
-r--r--r--  1 root  wheel  1358498 Apr 16 18:16:16 2017 /usr/lib/libarchive.a
lrwxr-xr-x  1 root  wheel       15 Apr 16 18:16:16 2017 /usr/lib/libarchive.so
-> libarchive.so.6
-r--r--r--  1 root  wheel   804776 Apr 16 18:16:16 2017
/usr/lib/libarchive.so.6
-r--r--r--  1 root  wheel  1408466 Apr 16 18:16:16 2017 /usr/lib/libarchive_p.a

So it appears that if nothing else the painful
sequence of getting/building an older vintage
and copying the /usr/lib/libarchive.so.6 from
it to something that has COMPAT_FREEBSD11 and
ino64 might provide a sufficient file.

It might be nice if the last snapshot from before
ino64 stuck around longer than normal to be a
way to provide such older files without having
to do builds to extract such files. This is
for folks that jump versions instead of
incrementally build the update: no old files
around in the first place.

I do not think that updating has mentioned that
avoiding delete-old-libs can be appropriate so
long as:

ABI = "FreeBSD:11:aarch64"

is in use (even implicitly before everything
that was based on it has been replaced). The
likes of:

https://wiki.freebsd.org/arm64/rpi3

that say to use things like:

env ABI=FreeBSD:11:aarch64 pkg bootstrap

could also use notes about new prerequisites
for after head -r318736 / -r 317737 .

These sorts of notes would apply after
manually copying over any older libraries
just like they apply to an incremental
update from before ino64 to after ino64

(I'm still trying to gather evidence for a
periodic/random panic issue for
TARGET_ARCH=powerpc that seems to be strongly
kernel memory layout sensitive. This was
run into before ino64. So it will be
a while before I deal with upgrading
everything to be after -r318735. This means
that I've not tested the above ideas.
If having two libarchive.so.* files around
can not accurately resolve which is needed
when then the above would not work.)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list