[Bug 277277] sysutils/coreutils: fix on i386
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277277] sysutils/coreutils: fix on i386"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277277] sysutils/coreutils: fix on i386"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277277] sysutils/coreutils: fix on i386"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277277] sysutils/coreutils: fix on i386"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Feb 2024 09:37:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277277 Bug ID: 277277 Summary: sysutils/coreutils: fix on i386 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: d8zNeCFG@aon.at CC: jharris@widomaker.com CC: jharris@widomaker.com Flags: maintainer-feedback?(jharris@widomaker.com) Scenario: - FreeBSD stable/14 - ports latest - using portmaster to upgrade ports - upgrading sysutils/coreutils to 9.4 Result: - fails with configure: error: in '/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/sysutils/coreutils/work/coreutils-9.4': configure: error: could not enable timestamps after mid-January 2038. This package recommends support for these later timestamps. However, to proceed with signed 32-bit time_t even though it will fail then, configure with '--disable-year2038'. See 'config.log' for more details Fix: - use the following patch: diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile index a346bdc5e090..a5cc711f6911 100644 --- a/sysutils/coreutils/Makefile +++ b/sysutils/coreutils/Makefile @@ -23,6 +23,9 @@ GNU_CONFIGURE_MANPREFIX=${PREFIX}/share # bugs.freebsd.org/160060 CONFIGURE_ARGS= --program-prefix=g \ --program-transform-name=s/stat/nustat/ +.if ${ARCH} == i386 +CONFIGURE_ARGS+= --disable-year2038 +.endif CONFIGURE_ENV= FORCE_UNSAFE_CONFIGURE=1 CONFLICTS_INSTALL= gdu geneweb gexpr rubygem-god # bin/gdu bin/gexpr bin/god bin/gwc Note: Other architectures are probably also affected and should be include in the .if statement -- Martin -- You are receiving this mail because: You are the assignee for the bug.