git: e3e2bdea3f19 - main - devel/freebsd-sysroot: disable armv6 and armv7 flavors on big-endian architectures
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Oct 2021 12:09:06 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=e3e2bdea3f19925fb18d1b18fe697da251f57643 commit e3e2bdea3f19925fb18d1b18fe697da251f57643 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-22 11:42:14 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-10-22 11:42:14 +0000 devel/freebsd-sysroot: disable armv6 and armv7 flavors on big-endian architectures Extracting little-endian UFS fails on big-endian systems, since UFS is not bi-endian: => SHA256 Checksum OK for rust/bootstrap/armv6/12.2-RELEASE/FreeBSD-12.2-RELEASE-arm-armv6-RPI-B.img.xz. 6188032+0 records in 6188032+0 records out 3168272384 bytes transferred in 143.411914 secs (22092114 bytes/sec) fstab: /etc/fstab:0: No such file or directory DUMP: Can't open /etc/fstab for dump table information: No such file or directory DUMP: Date of this level 0 dump: Mon Oct 18 18:22:26 2021 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /wrkdirs/usr/ports/devel/freebsd-sysroot/work-armv6/base.img to standard output dump: Cannot find file system superblock: No such file or directory Tape is not a dump tape *** Error code 1 --- devel/freebsd-sysroot/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/devel/freebsd-sysroot/Makefile b/devel/freebsd-sysroot/Makefile index 80a5e836cf29..de56db04e615 100644 --- a/devel/freebsd-sysroot/Makefile +++ b/devel/freebsd-sysroot/Makefile @@ -91,6 +91,16 @@ _SYSROOT_LLVM_TRIPLE_powerpc= powerpc-unknown-freebsd13.0 # secure-plt DISTFILES:= ${FLAVORS:O:@_flavor@${:!${SETENV} FLAVOR=${_flavor} ${MAKE} -V'DISTFILES'!}@} .endif +# to be removed if the port ever switched to base.txz for armv* +.if ${FLAVOR:Marmv*} +BROKEN_mips= little-endian UFS fails to be read on big-endian architectures +BROKEN_mips64= little-endian UFS fails to be read on big-endian architectures +BROKEN_powerpc= little-endian UFS fails to be read on big-endian architectures +BROKEN_powerpcspe= little-endian UFS fails to be read on big-endian architectures +BROKEN_powerpc64= little-endian UFS fails to be read on big-endian architectures +BROKEN_sparc64= little-endian UFS fails to be read on big-endian architectures +.endif + .include <bsd.port.pre.mk> .if ${OPSYS} != FreeBSD