[Bug 296110] lang/gcc15-devel fails to build using poudriere on amd64 freebsd stable 15.1 with ISO_Fortran_binding.h: No such file or directory error

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 Jun 2026 13:02:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296110

            Bug ID: 296110
           Summary: lang/gcc15-devel fails to build using poudriere on
                    amd64 freebsd stable 15.1 with ISO_Fortran_binding.h:
                    No such file or directory error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: salvadore@freebsd.org
          Reporter: transitive@gmail.com
          Assignee: salvadore@freebsd.org
             Flags: maintainer-feedback?(salvadore@freebsd.org)

The port fails to build for me using poudriere on my FreeBSD stable 15.1
system. The port fails to find the the file ISO_Fortran_binding.h. 

Below is an excerpt of where it fails for me using poudriere build log:

gmake[2]: Leaving directory
'/wrkdirs/usr/ports/lang/gcc15-devel/work/.build/x86_64-portbld-freebsd15.1/libatomic'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/gcc15-devel/work/.build'
/bin/rm -f
/wrkdirs/usr/ports/lang/gcc15-devel/work/stage/usr/local/share/man/man7/*
/bin/rm -f -r
/wrkdirs/usr/ports/lang/gcc15-devel/work/stage/usr/local/lib/gcc15/gcc/*/15.2.1/include-fixed/
/bin/mkdir -p
/wrkdirs/usr/ports/lang/gcc15-devel/work/stage/usr/local/include/gcc15
install  -m 0644
/wrkdirs/usr/ports/lang/gcc15-devel/work/stage/usr/local/lib/gcc15/gcc/x86_64-portbld-freebsd15.1/15.2.1/include/ISO_Fortran_binding.h
 /wrkdirs/usr/ports/lang/gcc15-devel/work/stage/usr/local/include/gcc15
install:
/wrkdirs/usr/ports/lang/gcc15-devel/work/stage/usr/local/lib/gcc15/gcc/x86_64-portbld-freebsd15.1/15.2.1/include/ISO_Fortran_binding.h:
No such file or directory
*** Error code 71

Stop.
make: stopped making "stage" in /usr/ports/lang/gcc15-devel
=>> Cleaning up wrkdir
===>  Cleaning for gcc15-devel-15.2.1.s20260612
build of lang/gcc15-devel | gcc15-devel-15.2.1.s20260612 ended at
2026-06-17T08:54:29-04:00
build time: 00:32:41
times end [shell] (user/sys/real): 0m0.000s 0m0.026s 32m41.000s
times end [child] (user/sys/real): 418m11.614s 11m46.955s 32m41.000s
!!! build failure encountered !!!

-- 
You are receiving this mail because:
You are the assignee for the bug.