pkgsrc-Bugs archive

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

pkg/54749: pkgsrc/pkgtools/cwrappers build failure on earm (earmv5)



>Number:         54749
>Category:       pkg
>Synopsis:       pkgsrc/pkgtools/cwrappers build failure on earm (earmv5)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 08 15:40:00 +0000 2019
>Originator:     Izumi Tsutsui
>Release:        NetBSD 9.0_RC1 + pkgsrc-2019Q3
>Organization:
>Environment:
System: NetBSD hpt5325 9.0_RC1 NetBSD 9.0_RC1 (HPT5325) #0: Sun Dec  1 23:17:48 JST 2019  tsutsui@mirage:/s/netbsd-9/src/sys/arch/evbarm/compile/HPT5325 evbarm
Architecture: earm (earmv5 userland)
Machine: evbarm, maybe iyonix and zaurus are also affected
>Description:
On machines MACHINE_ARCH (uname -p) is earm,
pkgsrc/pkgtools/cwrappers fails to build.

>How-To-Repeat:

---
# uname -mprs
NetBSD 9.0_RC1 evbarm earm
# pwd
/usr/pkgsrc/pkgtools/cwrappers
# make package
===> Installing dependencies for cwrappers-20180325
===> Overriding tools for cwrappers-20180325
===> Extracting for cwrappers-20180325
/bin/cp -R /usr/pkgsrc/pkgtools/cwrappers/files/bin /usr/obj.earm/pkgsrc/pkgtools/cwrappers/work.earm/cwrappers-20180325
/usr/bin/touch /usr/obj.earm/pkgsrc/pkgtools/cwrappers/work.earm/cwrappers-20180325/transform-gcc.c
/bin/rm -f /usr/obj.earm/pkgsrc/pkgtools/cwrappers/work.earm/libnbcompat/config.guess /usr/obj.earm/pkgsrc/pkgtools/cwrappers/work.earm/libnbcompat/config.sub
/bin/ln -fs /usr/pkgsrc/mk/gnu-config/config.guess /usr/obj.earm/pkgsrc/pkgtools/cwrappers/work.earm/libnbcompat/config.guess
/bin/ln -fs /usr/pkgsrc/mk/gnu-config/config.sub /usr/obj.earm/pkgsrc/pkgtools/cwrappers/work.earm/libnbcompat/config.sub
===> Patching for cwrappers-20180325
===> Creating toolchain wrappers for cwrappers-20180325
===> Configuring for cwrappers-20180325
=> Configuring and building libnbcompat
checking build system type... Invalid configuration `earm-unknown-netbsdelf9.0earm': machine `earm-unknown' not recognized
configure: error: /bin/sh ./config.sub earm-unknown-netbsdelf9.0earm failed
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/pkgtools/cwrappers
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/cwrappers
# 
---

>Fix:
Handle earm as earmv5 in libnbcomat/config.guess?

---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index