pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58799: earm binary packages are actually compiled for earmv4, resulting in a fatal warning when adding packages



>Number:         58799
>Category:       pkg
>Synopsis:       earm binary packages are actually compiled for earmv4, resulting in a fatal warning when adding packages
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 31 21:45:00 +0000 2024
>Originator:     Ludit Gaj
>Release:        10.0
>Organization:
Private
>Environment:
NetBSD rez 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/zaurus/compile/GENERIC zaurus
>Description:
I am using NetBSD 10.0 on Sharp Zaurus SL-C3200.When installing packages from https://cdn.NetBSD.org/pubc/pkgsrc/packages/NetBSD/earm/10.0/All all packages seem to be compiled for earmv4, resulting in a warning:

pkg_add: Warning: package `mpg123-1.32.6' was built for a platform:
pkg_add: NetBSD/earmv4 10.0 (pkg) vs. NetBSD/earm 10.0 (this host)
pkg_add: 1 package addition failed

Using pkg_add with `-f` (force) option, the packages install fine.

I've checked +BUILD_INFO of few packages and they really have earmv4 as architecture. Also, 9.4 seems also to have same issue.
>How-To-Repeat:
1. Install NetBSD on Sharp Zaurus :)
2. Set PKG_PATH to https://cdn.NetBSD.org/pubc/pkgsrc/packages/NetBSD/earm/10.0/All
3. pkg_add any package

>Fix:
Compilation of earm packages should be done for armv5 architecture


Home | Main Index | Thread Index | Old Index