https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281749

--- Comment #10 from [email protected] ---
There was EBADF issue https://github.com/freebsd/pkg/issues/2279 and fix
https://github.com/freebsd/pkg/commit/38ed98b83daaad4def1a61377e84f38410bb2305

between these versions, but these fixes related to proper cleanup after error,
but we not see any such error in poudriere logs.

and, I have reproduction on pkg-2.7.5

# less
/usr/local/poudriere/data/logs/bulk/14amd64-myports/2026-05-27_01h01m51s/logs/texinfo-7.3,1.log
=>> Building print/texinfo
build started at Wed May 27 01:07:49 CEST 2026
port directory: /usr/ports/print/texinfo
package name: texinfo-7.3,1
building for: FreeBSD 14amd64-myports-job-03 14.4-RELEASE-p5 FreeBSD
14.4-RELEASE-p5 amd64
maintained by: [email protected]
Makefile datestamp: -rw-r--r--  1 502 502 2128 May 26 22:53
/usr/ports/print/texinfo/Makefile
Poudriere version: poudriere-git-3.4.8
Host OSVERSION: 1500068
Jail OSVERSION: 1404000
Job Id: 03

---Begin Environment---
...
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   texinfo-7.3,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.7.5.pkg
[14amd64-myports-job-03] Installing pkg-2.7.5...
[14amd64-myports-job-03] Extracting pkg-2.7.5: .......... done
===>   texinfo-7.3,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of texinfo-7.3,1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
=> texinfo-7.3.tar.xz doesn't seem to exist in /portdistfiles/texinfo.
=> Attempting to fetch https://ftpmirror.gnu.org/texinfo/texinfo-7.3.tar.xz
fetch: https://ftpmirror.gnu.org/texinfo/texinfo-7.3.tar.xz: Bad Gateway
=> Attempting to fetch
https://mirrors.kernel.org/gnu/texinfo/texinfo-7.3.tar.xz
texinfo-7.3.tar.xz                                    6777 kB 2089 kBps    03s
=> texi2dvi-20260302 doesn't seem to exist in /portdistfiles/texinfo.
=> Attempting to fetch
http://distcache.FreeBSD.org/local-distfiles/sunpoet/texinfo/texi2dvi-20260302
texi2dvi-20260302                                       51 kB  444 MBps    00s
=> texi2pdf-20260302 doesn't seem to exist in /portdistfiles/texinfo.
=> Attempting to fetch
http://distcache.FreeBSD.org/local-distfiles/sunpoet/texinfo/texi2pdf-20260302
texi2pdf-20260302                                      956  B   18 MBps    00s
===> Fetching all distfiles required by texinfo-7.3,1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by texinfo-7.3,1 for building
=> SHA256 Checksum OK for texinfo/texinfo-7.3.tar.xz.
=> SHA256 Checksum OK for texinfo/htmlxref.cnf-20250626.
=> SHA256 Checksum OK for texinfo/texi2dvi-20260302.
=> SHA256 Checksum OK for texinfo/texi2pdf-20260302.
=> SHA256 Checksum OK for texinfo/texinfo.tex-20260110.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by texinfo-7.3,1 for building
===>  Extracting for texinfo-7.3,1
=> SHA256 Checksum OK for texinfo/texinfo-7.3.tar.xz.
=> SHA256 Checksum OK for texinfo/htmlxref.cnf-20250626.
=> SHA256 Checksum OK for texinfo/texi2dvi-20260302.
=> SHA256 Checksum OK for texinfo/texi2pdf-20260302.
=> SHA256 Checksum OK for texinfo/texinfo.tex-20260110.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  Patching for texinfo-7.3,1
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   texinfo-7.3,1 depends on executable: help2man - not found
===>   Installing existing package /packages/All/help2man-1.49.3_1.pkg
[14amd64-myports-job-03] Installing help2man-1.49.3_1...
[14amd64-myports-job-03] `-- Installing gettext-runtime-1.0_1...
[14amd64-myports-job-03] |   `-- Installing indexinfo-0.3.1_1...
[14amd64-myports-job-03] |   `-- Extracting indexinfo-0.3.1_1: .... done
[14amd64-myports-job-03] `-- Extracting gettext-runtime-1.0_1: .......... done
[14amd64-myports-job-03] `-- Installing p5-Locale-gettext-1.07...
[14amd64-myports-job-03] |   `-- Installing perl5-5.42.2...
[14amd64-myports-job-03] |   `-- Extracting perl5-5.42.2: .......... done
[14amd64-myports-job-03] `-- Extracting p5-Locale-gettext-1.07: ........ done
[14amd64-myports-job-03] Extracting help2man-1.49.3_1: .......... done
===>   texinfo-7.3,1 depends on executable: help2man - found
===>   Returning to build of texinfo-7.3,1
===>   texinfo-7.3,1 depends on package: p5-Locale-libintl>=0 - not found
===>   Installing existing package /packages/All/p5-Locale-libintl-1.37.pkg
[14amd64-myports-job-03] Installing p5-Locale-libintl-1.37...
[14amd64-myports-job-03] `-- Installing libiconv-1.18_1...
[14amd64-myports-job-03] `-- Extracting libiconv-1.18_1: .......... done
[14amd64-myports-job-03] Extracting p5-Locale-libintl-1.37: .......... done
===>   texinfo-7.3,1 depends on package: p5-Locale-libintl>=0 - found
===>   Returning to build of texinfo-7.3,1
===>   texinfo-7.3,1 depends on package: p5-Text-Unidecode>=0 - not found
===>   Installing existing package /packages/All/p5-Text-Unidecode-1.30.pkg
[14amd64-myports-job-03] Installing p5-Text-Unidecode-1.30...
[14amd64-myports-job-03] Extracting p5-Text-Unidecode-1.30: .......... done
===>   texinfo-7.3,1 depends on package: p5-Text-Unidecode>=0 - found
===>   Returning to build of texinfo-7.3,1
===>   texinfo-7.3,1 depends on package: p5-Unicode-EastAsianWidth>=0 - not
found
===>   Installing existing package
/packages/All/p5-Unicode-EastAsianWidth-12.0.pkg
[14amd64-myports-job-03] Installing p5-Unicode-EastAsianWidth-12.0...
[14amd64-myports-job-03] Extracting p5-Unicode-EastAsianWidth-12.0: ...... done
===>   texinfo-7.3,1 depends on package: p5-Unicode-EastAsianWidth>=0 - found
===>   Returning to build of texinfo-7.3,1
===>   texinfo-7.3,1 depends on package: perl5>=5.42.r<5.43 - found
===>   texinfo-7.3,1 depends on executable: indexinfo - found
===>   texinfo-7.3,1 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[14amd64-myports-job-03] Installing gmake-4.4.1...
[14amd64-myports-job-03] Extracting gmake-4.4.1: .......... done
===>   texinfo-7.3,1 depends on package: gmake>=4.4.1 - found
===>   Returning to build of texinfo-7.3,1
===>   texinfo-7.3,1 depends on package: gettext-runtime>=0.26 - found
===>   texinfo-7.3,1 depends on package: gettext-tools>=0.26 - not found
===>   Installing existing package /packages/All/gettext-tools-1.0.pkg
[14amd64-myports-job-03] Installing gettext-tools-1.0...
[14amd64-myports-job-03] `-- Installing libtextstyle-1.0...
[14amd64-myports-job-03] `-- Extracting libtextstyle-1.0: .......... done
[14amd64-myports-job-03] `-- Installing libunistring-1.4.2...
[14amd64-myports-job-03] `-- Extracting libunistring-1.4.2: .......... done
[14amd64-myports-job-03] `-- Installing libxml2-2.15.3...
[14amd64-myports-job-03] |   `-- Installing readline-8.3.3...
[14amd64-myports-job-03] |   `-- Extracting readline-8.3.3: .......... done
[14amd64-myports-job-03] `-- Extracting libxml2-2.15.3: .......... done
[14amd64-myports-job-03] `-- Installing python311-3.11.15_2...
[14amd64-myports-job-03] |   `-- Installing libffi-3.5.1...
[14amd64-myports-job-03] |   `-- Extracting libffi-3.5.1: .......... done
[14amd64-myports-job-03] |   `-- Installing mpdecimal-4.0.1...
[14amd64-myports-job-03] |   `-- Extracting mpdecimal-4.0.1: .......... done
[14amd64-myports-job-03] `-- Extracting python311-3.11.15_2:
pkg-static: Failed to chmod /sliceobject.h:Bad file descriptor
[14amd64-myports-job-03] `-- Extracting python311-3.11.15_2... done

Failed to install the following 1 package(s):
/packages/All/gettext-tools-1.0.pkg
*** Error code 1

Stop.
make: stopped making "build-depends" in /usr/ports/print/texinfo
=>> Cleaning up wrkdir
===>  Cleaning for texinfo-7.3,1
build of print/texinfo | texinfo-7.3,1 ended at Wed May 27 01:09:01 CEST 2026
build time: 00:01:13
!!! build failure encountered !!!

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

Reply via email to