On Tue, Feb 14, 2023 at 12:09:09PM +0100, Antoine Jacoutot wrote:
>
> On Wed, Feb 08, 2023 at 06:02:06AM -0700, Patrick Wildt wrote:
> > CVSROOT: /cvs
> > Module name: ports
> > Changes by: [email protected] 2023/02/08 06:02:06
> >
> > Modified files:
> > devel/riscv-elf/binutils: Makefile distinfo
> > devel/riscv-elf/binutils/patches: patch-gprof_Makefile_in
> > patch-ld_Makefile_in
> >
> > patch-ld_emulparams_elf32lriscv-defs_sh
> > patch-libiberty_Makefile_in
> > devel/riscv-elf/binutils/pkg: PLIST
> > Added files:
> > devel/riscv-elf/binutils/patches: patch-bfd_Makefile_in
> > patch-binutils_Makefile_in
> > patch-gas_Makefile_in
> > sysutils/u-boot/patches: patch-arch_riscv_Makefile
> > Removed files:
> > devel/riscv-elf/binutils/patches: patch-bfd_doc_Makefile_in
> > patch-binutils_doc_Makefile_in
> > patch-gas_doc_Makefile_in
> >
> > Log message:
> > Update riscv-elf-binutils to 2.40
> >
> > Since some defaults in binutils changed, U-Boot needs a diff to continue
> > to build which has been pulled from U-Boot upstream.
> >
> > ok kevlo@
>
> Failed to build in my last bulk.
I cannot reproduce the issue on amd64 or arm64. Both of them are fresh install
of snapshots. According to your build log, it seems that you have
archivers/zstd installed, is this patch helpful? Thanks.
Index: devel/riscv-elf/binutils/Makefile
===================================================================
RCS file: /cvs/ports/devel/riscv-elf/binutils/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- devel/riscv-elf/binutils/Makefile 8 Feb 2023 13:02:06 -0000 1.4
+++ devel/riscv-elf/binutils/Makefile 15 Feb 2023 08:04:09 -0000
@@ -1,6 +1,7 @@
COMMENT= binutils for riscv-elf cross-development
V= 2.40
+REVISION= 0
DISTNAME= binutils-${V}
HOMEPAGE= https://www.gnu.org/software/binutils/
@@ -15,7 +16,8 @@ USE_LIBTOOL= No
CONFIGURE_ARGS+=--enable-commonbfdlib=no \
--enable-interwork \
- --enable-multilib
+ --enable-multilib \
+ --without-zstd
SUBST_VARS += CONFIG