+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gcc13-gnat-13.3.0nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gcc13-gnat-13.3.0nb3/work.log
=> Fetching in-place gmp
=> Checksum BLAKE2s OK for gmp-6.3.0.tar.bz2
=> Checksum SHA512 OK for gmp-6.3.0.tar.bz2
=> Fetching in-place mpcomplex
=> Checksum BLAKE2s OK for mpc-1.3.1.tar.gz
=> Checksum SHA512 OK for mpc-1.3.1.tar.gz
=> Fetching in-place mpfr
=> Checksum BLAKE2s OK for mpfr-4.2.1.tar.bz2
=> Checksum SHA512 OK for mpfr-4.2.1.tar.bz2
(cd ../../math/isl && /opt/pkg/bin/bmake WRKDIR=/home/pbulk/build/lang/gcc13-gnat/work/gcc-13.3.0/.devel.isl EXTRACT_DIR=/home/pbulk/build/lang/gcc13-gnat/work/gcc-13.3.0  WRKSRC='${EXTRACT_DIR}/${DISTNAME}' SKIP_DEPENDS=YES checksum)
=> Checksum BLAKE2s OK for isl-0.26.tar.xz
=> Checksum SHA512 OK for isl-0.26.tar.xz
=> Checksum BLAKE2s OK for gcc-13.3.0.tar.xz
=> Checksum SHA512 OK for gcc-13.3.0.tar.xz
===> Installing dependencies for gcc13-gnat-13.3.0nb3
==========================================================================
The supported build options for gcc13-gnat are:

	gcc-graphite gcc-inplace-math nls

The currently selected options are:

	gcc-graphite gcc-inplace-math

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.gcc13-gnat (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
gcc13-gnat-13.3.0nb3.  Their current value is shown below:

        * GCC_TARGET_MACHINE = x86_64-sun-solaris2.11

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency binutils>=2.38nb1: found binutils-2.41
=> Full dependency zstd>=1.3.6: found zstd-1.5.7
===> Overriding tools for gcc13-gnat-13.3.0nb3
===> Extracting for gcc13-gnat-13.3.0nb3
=> Extracting in-place gmp
===> Overriding tools for gmp-6.3.0
===> Extracting for gmp-6.3.0
===> Patching for gmp-6.3.0
=> Applying pkgsrc patches for gmp-6.3.0
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gmp/patches/patch-acinclude.m4
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gmp/patches/patch-acinclude.m4
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-acinclude.m4,v 1.2 2020/01/20 21:25:24 adam Exp $
|
|Fixed detection of __attribute__((__mode__(XX))) for sunpro.
|
|--- acinclude.m4.orig	2016-12-17 00:45:27.000000000 +0900
|+++ acinclude.m4	2017-06-14 13:05:04.000000000 +0900
--------------------------
Patching file acinclude.m4 using Plan A...
Hunk #1 succeeded at 3191 (offset -37 lines).
done
=> Extracting in-place mpcomplex
===> Overriding tools for mpcomplex-1.3.1
===> Extracting for mpcomplex-1.3.1
===> Patching for mpcomplex-1.3.1
=> Applying pkgsrc patches for mpcomplex-1.3.1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/mpcomplex/patches/patch-src_get__x.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/mpcomplex/patches/patch-src_get__x.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_get__x.c,v 1.1 2023/10/29 18:06:32 wiz Exp $
|
|Work around bug in SunOS complex.h to make this build with Sun's gcc
|
|--- src/get_x.c.orig	2011-11-04 18:20:19.000000000 +0000
|+++ src/get_x.c
--------------------------
Patching file src/get_x.c using Plan A...
Hunk #1 succeeded at 32 (offset -3 lines).
done
=> Extracting in-place mpfr
===> Overriding tools for mpfr-4.2.1
===> Extracting for mpfr-4.2.1
===> Patching for mpfr-4.2.1
(cd ../../math/isl && /opt/pkg/bin/bmake WRKDIR=/home/pbulk/build/lang/gcc13-gnat/work/gcc-13.3.0/.devel.isl EXTRACT_DIR=/home/pbulk/build/lang/gcc13-gnat/work/gcc-13.3.0  WRKSRC='${EXTRACT_DIR}/${DISTNAME}' SKIP_DEPENDS=YES patch)
===> Overriding tools for isl-0.26
===> Extracting for isl-0.26
===> Patching for isl-0.26
=> Applying pkgsrc patches for isl-0.26
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/isl/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/isl/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.4 2021/04/22 12:03:39 adam Exp $
|
|'$$libisl' differs between systems, so use 'libisl' instead.
|
|--- Makefile.in.orig	2020-11-01 13:53:55.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 3147 (offset 258 lines).
done
/usr/bin/mv /home/pbulk/build/lang/gcc13-gnat/work/gcc-13.3.0/isl-* /home/pbulk/build/lang/gcc13-gnat/work/gcc-13.3.0/isl
===> Patching for gcc13-gnat-13.3.0nb3
=> Applying pkgsrc patches for gcc13-gnat-13.3.0nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-fixincludes_inclhack.def
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-fixincludes_inclhack.def
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-fixincludes_inclhack.def,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|A workaround for Catalina SDK bug from
|https://github.com/Homebrew/homebrew-core/pull/44762
|
|--- fixincludes/inclhack.def.orig	2024-05-21 10:47:37.000000000 +0300
|+++ fixincludes/inclhack.def
--------------------------
Patching file fixincludes/inclhack.def using Plan A...
Hunk #1 succeeded at 1351.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_Makefile.in,v 1.2 2025/01/07 19:55:52 riastradh Exp $
|
|Ensure libgcc from this GCC is found before others.  Note that there must
|not be a whitespace between $(LINKER_RPATH_FLAG) and the path.  Otherwise
|the flag may be misinterpreted by the linker (e.g. Apple ld).
|
|--- gcc/Makefile.in.orig	2017-04-18 18:10:27.000000000 +0000
|+++ gcc/Makefile.in
--------------------------
Patching file gcc/Makefile.in using Plan A...
Hunk #1 succeeded at 2326 (offset 214 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_Makefile.rtl
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_Makefile.rtl
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_Makefile.rtl,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Add NetBSD as a target and generate the required files correctly.
|
|--- gcc/ada/Makefile.rtl.orig	2023-07-27 11:13:03.000000000 +0300
|+++ gcc/ada/Makefile.rtl
--------------------------
Patching file gcc/ada/Makefile.rtl using Plan A...
Hunk #1 succeeded at 1767.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_adaint.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_adaint.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_adaint.c,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|NetBSD does not use symbol versioning, which requires some functions
|to be preprocessed in C. This patch adds those functions definitions,
|not only for NetBSD, but for any other system too.
|
|--- gcc/ada/adaint.c.orig	2024-05-21 10:47:37.000000000 +0300
|+++ gcc/ada/adaint.c
--------------------------
Patching file gcc/ada/adaint.c using Plan A...
Hunk #1 succeeded at 831.
Hunk #2 succeeded at 3680.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_adaint.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_adaint.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_adaint.h,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Due to the lack of symbol versioning in NetBSD, some functions need
|to be exported from C to be used correctly. This patch addresses
|that issue and makes sure that other systems also work correclty.
|
|--- gcc/ada/adaint.h.orig	2024-05-21 10:47:37.000000000 +0300
|+++ gcc/ada/adaint.h
--------------------------
Patching file gcc/ada/adaint.h using Plan A...
Hunk #1 succeeded at 348.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_cstreams.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_cstreams.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_cstreams.c,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Add missing defines
|
|--- gcc/ada/cstreams.c.orig	2024-05-21 10:47:37.000000000 +0300
|+++ gcc/ada/cstreams.c
--------------------------
Patching file gcc/ada/cstreams.c using Plan A...
Hunk #1 succeeded at 186.
Hunk #2 succeeded at 256.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-osinte____netbsd.adb
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-osinte____netbsd.adb
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_libgnarl_s-osinte____netbsd.adb,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Add NetBSD interface.
|
|--- gcc/ada/libgnarl/s-osinte__netbsd.adb.orig	2021-10-08 11:29:30.470090202 +0200
|+++ gcc/ada/libgnarl/s-osinte__netbsd.adb
--------------------------
(Creating file gcc/ada/libgnarl/s-osinte__netbsd.adb...)
Patching file gcc/ada/libgnarl/s-osinte__netbsd.adb using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-osinte____netbsd.ads
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-osinte____netbsd.ads
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_libgnarl_s-osinte____netbsd.ads,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Add NetBSD interface.
|
|--- gcc/ada/libgnarl/s-osinte__netbsd.ads.orig	2021-10-08 11:29:30.503927461 +0200
|+++ gcc/ada/libgnarl/s-osinte__netbsd.ads
--------------------------
(Creating file gcc/ada/libgnarl/s-osinte__netbsd.ads...)
Patching file gcc/ada/libgnarl/s-osinte__netbsd.ads using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-taprop____posix.adb
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-taprop____posix.adb
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_libgnarl_s-taprop____posix.adb,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|When using SCHED_OTHER, the minimum and maximum in NetBSD is -1.
|In most other OSs it is 0. Change the behaviour to try to set the
|params using the default priority, if that fails, use 0, otherwise
|use -1. If none are valid, the tasking system will fail if assertions
|are on.
|
|--- gcc/ada/libgnarl/s-taprop__posix.adb.orig	2024-05-21 10:47:37.000000000 +0300
|+++ gcc/ada/libgnarl/s-taprop__posix.adb
--------------------------
Patching file gcc/ada/libgnarl/s-taprop__posix.adb using Plan A...
Hunk #1 succeeded at 635.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnat_g-socthi.ads
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnat_g-socthi.ads
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_libgnat_g-socthi.ads,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Fix symbol to make it use the C processed one.
|
|--- gcc/ada/libgnat/g-socthi.ads.orig	2021-10-09 18:09:40.607907149 +0200
|+++ gcc/ada/libgnat/g-socthi.ads
--------------------------
Patching file gcc/ada/libgnat/g-socthi.ads using Plan A...
Hunk #1 succeeded at 53.
Hunk #2 succeeded at 254.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnat_g-socthi____bsd.adb
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnat_g-socthi____bsd.adb
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_libgnat_g-socthi____bsd.adb,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Create a g-socthi package that is common to all *BSD systems.
|
|--- /dev/null	2023-12-10 09:29:26.388655944 +0200
|+++ gcc/ada/libgnat/g-socthi__bsd.adb
--------------------------
(Creating file gcc/ada/libgnat/g-socthi__bsd.adb...)
Patching file gcc/ada/libgnat/g-socthi__bsd.adb using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnat_s-osprim____posix.adb
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_libgnat_s-osprim____posix.adb
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_libgnat_s-osprim____posix.adb,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Use C preprocessed symbols.
|
|--- gcc/ada/libgnat/s-osprim__posix.adb.orig	2024-05-21 10:47:38.000000000 +0300
|+++ gcc/ada/libgnat/s-osprim__posix.adb
--------------------------
Patching file gcc/ada/libgnat/s-osprim__posix.adb using Plan A...
Hunk #1 succeeded at 49.
Hunk #2 succeeded at 79.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_s-oscons-tmplt.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_s-oscons-tmplt.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_s-oscons-tmplt.c,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Add NetBSD to some defined parts and bump the version of
|_XOPEN_SOURCE and add _NETBSD_SOURCE.
|
|--- gcc/ada/s-oscons-tmplt.c.orig	2023-07-27 11:13:04.000000000 +0300
|+++ gcc/ada/s-oscons-tmplt.c
--------------------------
Patching file gcc/ada/s-oscons-tmplt.c using Plan A...
Hunk #1 succeeded at 86.
Hunk #2 succeeded at 173.
Hunk #3 succeeded at 419.
Hunk #4 succeeded at 1071.
Hunk #5 succeeded at 1988.
Hunk #6 succeeded at 2011.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_sysdep.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_ada_sysdep.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_ada_sysdep.c,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Add NetBSD to some defined sections.
|
|--- gcc/ada/sysdep.c.orig	2023-07-27 11:13:04.000000000 +0300
|+++ gcc/ada/sysdep.c
--------------------------
Patching file gcc/ada/sysdep.c using Plan A...
Hunk #1 succeeded at 321.
Hunk #2 succeeded at 370.
Hunk #3 succeeded at 391.
Hunk #4 succeeded at 830.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config.host
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config.host
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config.host,v 1.1 2024/03/08 12:02:33 wiz Exp $
|
|Add aarch64*-*-netbsd*.
|
|--- gcc/config.host.orig	2022-05-06 07:30:56.000000000 +0000
|+++ gcc/config.host
--------------------------
Patching file gcc/config.host using Plan A...
Hunk #1 succeeded at 99.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_aarch64_aarch64-netbsd.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_aarch64_aarch64-netbsd.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config_aarch64_aarch64-netbsd.h,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Match what is in NetBSD src.  Fixes at least aarch64eb, and
|probably several others.
|
|--- gcc/config/aarch64/aarch64-netbsd.h.orig	2021-04-08 04:56:28.033740243 -0700
|+++ gcc/config/aarch64/aarch64-netbsd.h
--------------------------
Patching file gcc/config/aarch64/aarch64-netbsd.h using Plan A...
Hunk #1 succeeded at 20.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_arm_arm.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_arm_arm.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config_arm_arm.h,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|--- gcc/config/arm/arm.h.orig	2024-05-21 10:47:38.000000000 +0300
|+++ gcc/config/arm/arm.h
--------------------------
Patching file gcc/config/arm/arm.h using Plan A...
Hunk #1 succeeded at 951.
Hunk #2 succeeded at 967.
Hunk #3 succeeded at 2475.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_arm_bpabi.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_arm_bpabi.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config_arm_bpabi.h,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|--- gcc/config/arm/bpabi.h.orig	2021-04-08 04:56:28.061740583 -0700
|+++ gcc/config/arm/bpabi.h
--------------------------
Patching file gcc/config/arm/bpabi.h using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 108.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_arm_elf.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_arm_elf.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config_arm_elf.h,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|--- gcc/config/arm/elf.h.orig	2021-04-08 04:56:28.065740630 -0700
|+++ gcc/config/arm/elf.h
--------------------------
Patching file gcc/config/arm/elf.h using Plan A...
Hunk #1 succeeded at 147.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_arm_netbsd-eabi.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_arm_netbsd-eabi.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config_arm_netbsd-eabi.h,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|--- gcc/config/arm/netbsd-eabi.h.orig	2021-04-08 04:56:28.065740630 -0700
|+++ gcc/config/arm/netbsd-eabi.h
--------------------------
Patching file gcc/config/arm/netbsd-eabi.h using Plan A...
Hunk #1 succeeded at 49.
Hunk #2 succeeded at 59.
Hunk #3 succeeded at 81.
Hunk #4 succeeded at 110.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_arm_netbsd-elf.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_arm_netbsd-elf.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config_arm_netbsd-elf.h,v 1.1 2024/03/08 12:02:34 wiz Exp $
|
|--- gcc/config/arm/netbsd-elf.h.orig	2023-04-26 07:09:39.000000000 +0000
|+++ gcc/config/arm/netbsd-elf.h
--------------------------
Patching file gcc/config/arm/netbsd-elf.h using Plan A...
Hunk #1 succeeded at 27.
Hunk #2 succeeded at 67.
Hunk #3 succeeded at 99.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_nvptx_gen-opt.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_config_nvptx_gen-opt.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config_nvptx_gen-opt.sh,v 1.1 2024/03/08 12:02:34 wiz Exp $
|
|Portability fix.
|
|--- gcc/config/nvptx/gen-opt.sh.orig	2022-06-15 15:52:17.000000000 +0000
|+++ gcc/config/nvptx/gen-opt.sh
--------------------------
Patching file gcc/config/nvptx/gen-opt.sh using Plan A...
Hunk #1 succeeded at 56.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_configure,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Portability fix.
|
|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90143
|
|--- gcc/configure.orig	2024-05-21 10:49:00.000000000 +0300
|+++ gcc/configure
--------------------------
Patching file gcc/configure using Plan A...
Hunk #1 succeeded at 6433.
Hunk #2 succeeded at 31556.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_tree.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gcc_tree.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_tree.h,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|LTO compilation error
|
|--- gcc/tree.h.orig	2023-07-27 11:13:07.000000000 +0300
|+++ gcc/tree.h
--------------------------
Patching file gcc/tree.h using Plan A...
Hunk #1 succeeded at 1299.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gnattools_configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-gnattools_configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gnattools_configure,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Include NetBSD in the gnat tools configure.
|
|--- gnattools/configure.orig	2023-07-27 11:13:07.000000000 +0300
|+++ gnattools/configure
--------------------------
Patching file gnattools/configure using Plan A...
Hunk #1 succeeded at 2069.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libffi_configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libffi_configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libffi_configure,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90146
|https://github.com/libffi/libffi/issues/485
|
|--- libffi/configure.orig	2024-05-21 10:49:00.000000000 +0300
|+++ libffi/configure
--------------------------
Patching file libffi/configure using Plan A...
Hunk #1 succeeded at 16199.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libffi_testsuite_libffi.call_float2.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libffi_testsuite_libffi.call_float2.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libffi_testsuite_libffi.call_float2.c,v 1.1 2024/03/08 12:02:34 wiz Exp $
|
|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90146
|
|--- libffi/testsuite/libffi.call/float2.c.orig	2022-05-06 07:30:59.000000000 +0000
|+++ libffi/testsuite/libffi.call/float2.c
--------------------------
Patching file libffi/testsuite/libffi.call/float2.c using Plan A...
Hunk #1 succeeded at 47.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_config.host
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_config.host
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgcc_config.host,v 1.3 2025/04/25 12:33:45 dkazankov Exp $
|
|Part 1: drop legacy library build for macOS >= 14 [PR116809].
|
|This is a mixture of two upstream patches.  See
|
|     https://github.com/gcc-mirror/gcc/blob/master/libgcc/config.host
|
|libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809].
|
|We have been building a legacy libgcc_s.1 DSO to support code that
|was built with older compilers.
|
|From macOS 15,  the unwinder no longer exports some of the symbols used
|in that library which (a) cuases bootstrap fail and (b) means that the
|legacy library is no longer useful.
|
|No open branch of GCC emits references to this library - and any already
|-built code that depends on the symbols would need rework anyway.
|
|	PR target/116809
|
|libgcc, Darwin: Don't build legacy libgcc_s.1 on macOS 14 [PR116809]
|
|d9cafa0 stopped building libgcc_s.1 on macOS >= 15, in part because
|that is required to bootstrap the compiler using the macOS 15 SDK. The
|macOS 15 SDK ships in Xcode 16, which also runs on macOS 14. libgcc_s.1
|can no longer be built on macOS 14 using Xcode 16 by the same logic that
|the previous change disabled it for macOS 15.
|
|	PR target/116809
|
|Parts 2-3: This is needed for arm64 to get Out-of-line LSE atomics linked into libgcc.
|libsupc++ fails to link without this, and for arm to build.
|
|--- libgcc/config.host.orig	2024-05-21 07:47:41.000000000 +0000
|+++ libgcc/config.host
--------------------------
Patching file libgcc/config.host using Plan A...
Hunk #1 succeeded at 235.
Hunk #2 succeeded at 412.
Hunk #3 succeeded at 504.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_config_i386_t-darwin
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_config_i386_t-darwin
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgcc_config_i386_t-darwin,v 1.1 2025/04/25 12:48:44 dkazankov Exp $
|
|libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809].
|
|We have been building a legacy libgcc_s.1 DSO to support code that
|was built with older compilers.
|
|From macOS 15,  the unwinder no longer exports some of the symbols used
|in that library which (a) cuases bootstrap fail and (b) means that the
|legacy library is no longer useful.
|
|No open branch of GCC emits references to this library - and any already
|-built code that depends on the symbols would need rework anyway.
|
|	PR target/116809
|
|See https://github.com/gcc-mirror/gcc/blob/master/libgcc/config/i386/t-darwin.
|
|--- libgcc/config/i386/t-darwin.orig	2024-05-21 07:47:41.000000000 +0000
|+++ libgcc/config/i386/t-darwin
--------------------------
Patching file libgcc/config/i386/t-darwin using Plan A...
Hunk #1 succeeded at 4.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_config_rs6000_t-darwin
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_config_rs6000_t-darwin
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgcc_config_rs6000_t-darwin,v 1.1 2025/04/25 12:48:44 dkazankov Exp $
|
|libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809].
|
|We have been building a legacy libgcc_s.1 DSO to support code that
|was built with older compilers.
|
|From macOS 15,  the unwinder no longer exports some of the symbols used
|in that library which (a) cuases bootstrap fail and (b) means that the
|legacy library is no longer useful.
|
|No open branch of GCC emits references to this library - and any already
|-built code that depends on the symbols would need rework anyway.
|
|	PR target/116809
|
|See https://github.com/gcc-mirror/gcc/blob/master/libgcc/config/rs6000/t-darwin.
|
|--- libgcc/config/rs6000/t-darwin.orig	2024-05-21 07:47:41.000000000 +0000
|+++ libgcc/config/rs6000/t-darwin
--------------------------
Patching file libgcc/config/rs6000/t-darwin using Plan A...
Hunk #1 succeeded at 56.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_config_t-darwin-libgccs1
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_config_t-darwin-libgccs1
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgcc_config_t-darwin-libgccs1,v 1.1 2025/04/25 12:48:44 dkazankov Exp $
|
|libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809].
|
|We have been building a legacy libgcc_s.1 DSO to support code that
|was built with older compilers.
|
|From macOS 15,  the unwinder no longer exports some of the symbols used
|in that library which (a) cuases bootstrap fail and (b) means that the
|legacy library is no longer useful.
|
|No open branch of GCC emits references to this library - and any already
|-built code that depends on the symbols would need rework anyway.
|
|	PR target/116809
|
|See https://github.com/gcc-mirror/gcc/blob/master/libgcc/config/t-darwin-libgccs1.
|
|--- libgcc/config/t-darwin-libgccs1.orig	2024-12-09 03:35:09.522148209 +0000
|+++ libgcc/config/t-darwin-libgccs1
--------------------------
(Creating file libgcc/config/t-darwin-libgccs1...)
Patching file libgcc/config/t-darwin-libgccs1 using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_config_t-darwin-min-11
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_config_t-darwin-min-11
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgcc_config_t-darwin-min-11,v 1.1 2025/04/25 12:48:44 dkazankov Exp $
|
|libgcc, Darwin: From macOS 11, make that the earliest supported.
|
|For libgcc, we have (so far) supported building a DSO that supports
|earlier versions of the OS than the target.  From macOS 11, there are
|APIs that do not exist on earlier OS versions, so limit the libgcc
|range to macOS11..current.
|
|See https://github.com/gcc-mirror/gcc/blob/master/libgcc/config/t-darwin-min-11.
|
|--- libgcc/config/t-darwin-min-11.orig	2024-12-10 16:14:54.471536671 +0000
|+++ libgcc/config/t-darwin-min-11
--------------------------
(Creating file libgcc/config/t-darwin-min-11...)
Patching file libgcc/config/t-darwin-min-11 using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_crtstuff.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgcc_crtstuff.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgcc_crtstuff.c,v 1.1 2024/03/08 12:02:34 wiz Exp $
|
|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90147
|
|--- libgcc/crtstuff.c.orig	2017-01-01 12:07:43.000000000 +0000
|+++ libgcc/crtstuff.c
--------------------------
Patching file libgcc/crtstuff.c using Plan A...
Hunk #1 succeeded at 81.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgfortran_io_io.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libgfortran_io_io.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgfortran_io_io.h,v 1.2 2025/02/08 14:05:03 wiz Exp $
|
|Don't declare old_locale* an internal_proto to avoid linking problems
|
|--- libgfortran/io/io.h.orig	2024-05-21 10:47:41.000000000 +0300
|+++ libgfortran/io/io.h
--------------------------
Patching file libgfortran/io/io.h using Plan A...
Hunk #1 succeeded at 62.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libquadmath_printf_quadmath-printf.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libquadmath_printf_quadmath-printf.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libquadmath_printf_quadmath-printf.c,v 1.1 2024/03/08 12:02:34 wiz Exp $
|
|Fix -Werror=char-subscripts.
|
|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95178
|
|--- libquadmath/printf/quadmath-printf.c.orig	2020-05-07 10:50:02.000000000 +0000
|+++ libquadmath/printf/quadmath-printf.c
--------------------------
Patching file libquadmath/printf/quadmath-printf.c using Plan A...
Hunk #1 succeeded at 189.
Hunk #2 succeeded at 206.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libquadmath_strtod_strtod__l.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libquadmath_strtod_strtod__l.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libquadmath_strtod_strtod__l.c,v 1.1 2024/03/08 12:02:34 wiz Exp $
|
|Fix -Werror=char-subscripts.
|
|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95178
|
|--- libquadmath/strtod/strtod_l.c.orig	2020-05-07 10:50:02.000000000 +0000
|+++ libquadmath/strtod/strtod_l.c
--------------------------
Patching file libquadmath/strtod/strtod_l.c using Plan A...
Hunk #1 succeeded at 57.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libstdc++-v3_libsupc++_new__opa.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat/patches/patch-libstdc++-v3_libsupc++_new__opa.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libstdc++-v3_libsupc++_new__opa.cc,v 1.3 2025/02/08 14:05:03 wiz Exp $
|
|Ensure we can find SunOS std::aligned_alloc if using it.
|
|--- libstdc++-v3/libsupc++/new_opa.cc.orig	2024-05-21 10:47:42.000000000 +0300
|+++ libstdc++-v3/libsupc++/new_opa.cc
--------------------------
Patching file libstdc++-v3/libsupc++/new_opa.cc using Plan A...
Hunk #1 succeeded at 62.
done
===> Creating toolchain wrappers for gcc13-gnat-13.3.0nb3
===> Configuring for gcc13-gnat-13.3.0nb3
=> Substituting "ccs" in contrib/make_sunver.pl
=> Substituting "fixinc" in gcc/Makefile.in
=> Setting target machine name path in gcc/Makefile.in
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... x86_64-sun-solaris2.11
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... /usr/bin/nawk
checking for libatomic support... yes
checking for libitm support... yes
checking for libvtv support... yes
checking for libphobos support... yes
checking for x86_64-sun-solaris2.11-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for x86_64-sun-solaris2.11-gnatbind... no
checking for gnatbind... no
checking for x86_64-sun-solaris2.11-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada and is recent enough... no
checking for x86_64-sun-solaris2.11-gdc... no
checking for gdc... no
checking whether the D compiler works... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
configure: WARNING: using in-tree isl, disabling version check
configure: error: GNAT is required to build ada
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gcc13-gnat