[Bug 283974] devel/doxygen: Port build fails after latest GIT commit

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Jan 2025 09:15:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283974

            Bug ID: 283974
           Summary: devel/doxygen: Port build fails after latest GIT
                    commit
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: fluffy@FreeBSD.org
          Reporter: sergey.koupreyenko@gmail.com
             Flags: maintainer-feedback?(fluffy@FreeBSD.org)
          Assignee: fluffy@FreeBSD.org

Can't build the port after latest commit
https://cgit.freebsd.org/ports/commit/devel/doxygen/files?id=4bd9003d8ca98b85964a07b23454f3c2607e191b

Removing the patch file files/patch-TinyDeflate_gunzip.hh solves the issue.

Poudriere log:

=>> Building devel/doxygen
build started at Fri Jan 10 02:24:12 MSK 2025
port directory: /usr/ports/devel/doxygen
package name: doxygen-1.9.6_1,2
building for: FreeBSD freebsd.fractel.priv 14.2-RELEASE FreeBSD 14.2-RELEASE
1402000 amd64
maintained by: fluffy@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1641 Jan  5 21:46
/usr/ports/devel/doxygen/Makefile
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1402000
Jail OSVERSION: 1402000
Job Id: 03

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1402000
UNAME_v=FreeBSD 14.2-RELEASE 1402000
UNAME_r=14.2-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/poudriere/data/.m/14_2-releng-amd64-2025Q1-amd64/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=tmux-256color
GID=0
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
UID=0
PWD=/poudriere/data/.m/14_2-releng-amd64-2025Q1-amd64/03/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=14_2-releng-amd64-2025Q1-amd64
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/poudriere/data/.m/14_2-releng-amd64-2025Q1-amd64/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for doxygen-1.9.6_1,2:
     DOCS=off: Build and/or install documentation
     GRAPHVIZ=on: Graphviz graph drawing support
     LATEX=off: LaTeX support
     QT5=off: Install Doxywizard GUI with Qt5
     SEARCH=off: Build external search tools (doxysearch and doxyindexer)
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
fluffy@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11"
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/doxygen/work 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/doxygen/work 
XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/doxygen/work/.cache 
HOME=/wrkdirs/usr/ports/devel/doxygen/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/devel/doxygen/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/doxygen/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/doxygen/work 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/doxygen/work 
XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/doxygen/work/.cache 
HOME=/wrkdirs/usr/ports/devel/doxygen/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/devel/doxygen/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/doxygen/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe 
-DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp"
CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector-strong " LIBS="" 
CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing  -DLIBICONV_PLUG " BSD_INSTALL_PROGRAM="install  -s -m
555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m
555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="@comment " CMAKE_BUILD_TYPE="release"
PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11 
PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.11/site-packages 
PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11 
PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=14.2 PREFIX=%D
LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib
DOCSDIR="share/doc/doxygen"  EXAMPLESDIR="share/examples/doxygen" 
DATADIR="share/doxygen"  WWWDIR="www/doxygen"  ETCDIR="etc/doxygen"
--End PLIST_SUB--

--SUB_LIST--
 PYTHON_INCLUDEDIR=/usr/local/include/python3.11 
PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd14 
PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311 
PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11
PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local 
DATADIR=/usr/local/share/doxygen DOCSDIR=/usr/local/share/doc/doxygen
EXAMPLESDIR=/usr/local/share/examples/doxygen  WWWDIR=/usr/local/www/doxygen
ETCDIR=/usr/local/etc/doxygen
--End SUB_LIST--

---Begin make.conf---
KERNCONF=               GENERIC

.if ${.CURDIR:M*/math/openblas}
TARGET_CPU_ARCH=        NEHALEM
.endif
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
DEFAULT_VERSIONS+=      llvm=18
####  ####
NO_PORTSUPDATE=         yes
NO_IGNORE=              yes

LICENSES_ACCEPTED=      GPLv2+ MSPAT

OPTIONS_UNSET+=         APIDOCS
OPTIONS_UNSET+=         DEBUG
OPTIONS_UNSET+=         DOCBOOK
OPTIONS_UNSET+=         DOCS
OPTIONS_UNSET+=         EXAMPLES
OPTIONS_UNSET+=         FONTCONFIG
OPTIONS_UNSET+=         GNUTLS
OPTIONS_UNSET+=         HELP
OPTIONS_UNSET+=         HTMLDOCS
OPTIONS_UNSET+=         INFO
OPTIONS_UNSET+=         MANPAGES
OPTIONS_UNSET+=         STATIC
OPTIONS_UNSET+=         TEST
OPTIONS_UNSET+=         TESTS

DEFAULT_VERSIONS+=      apache=2.4
DEFAULT_VERSIONS+=      java=21
DEFAULT_VERSIONS+=      linux=rl9
DEFAULT_VERSIONS+=      llvm=18
DEFAULT_VERSIONS+=      mysql=8.1
DEFAULT_VERSIONS+=      perl5=5.38
DEFAULT_VERSIONS+=      pgsql=16
DEFAULT_VERSIONS+=      php=8.3
DEFAULT_VERSIONS+=      python=3.11
DEFAULT_VERSIONS+=      python3=3.11
DEFAULT_VERSIONS+=      ruby=3.2
DEFAULT_VERSIONS+=      samba=4.19
DEFAULT_VERSIONS+=      ssl=base
####  ####
KERNCONF=               GENERIC

.if ${.CURDIR:M*/math/openblas}
TARGET_CPU_ARCH=        NEHALEM
.endif
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  12171
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   doxygen-1.9.6_1,2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[freebsd.fractel.priv] Installing pkg-1.21.3...
[freebsd.fractel.priv] Extracting pkg-1.21.3: .......... done
===>   doxygen-1.9.6_1,2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of doxygen-1.9.6_1,2
===========================================================================
=======================<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 GPLv2 accepted by the user
=> doxygen-1.9.6.src.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch
https://downloads.sourceforge.net/project/doxygen/rel-1.9.6/doxygen-1.9.6.src.tar.gz
doxygen-1.9.6.src.tar.gz                              5169 kB   15 MBps    01s
===> Fetching all distfiles required by doxygen-1.9.6_1,2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by doxygen-1.9.6_1,2 for building
=> SHA256 Checksum OK for doxygen-1.9.6.src.tar.gz.
===========================================================================
=======================<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 GPLv2 accepted by the user
===> Fetching all distfiles required by doxygen-1.9.6_1,2 for building
===>  Extracting for doxygen-1.9.6_1,2
=> SHA256 Checksum OK for doxygen-1.9.6.src.tar.gz.
===========================================================================
=======================<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 doxygen-1.9.6_1,2
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for doxygen-1.9.6_1,2 from
/usr/ports/devel/doxygen/files
No file to patch.  Skipping...
1 out of 1 hunks ignored--saving rejects to TinyDeflate/gunzip.hh.rej
Can't create TinyDeflate/gunzip.hh.rej, output is in /tmp/patchraUoKWyfnsd: No
such file or directory
===>  FAILED Applying FreeBSD patch-TinyDeflate_gunzip.hh
===> Cleanly applied FreeBSD patch(es)  patch-CMakeLists.txt
===> FAILED to apply cleanly FreeBSD patch(es)  patch-TinyDeflate_gunzip.hh
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/doxygen
=>> Cleaning up wrkdir
===>  Cleaning for doxygen-1.9.6_1,2
build of devel/doxygen | doxygen-1.9.6_1,2 ended at Fri Jan 10 02:24:19 MSK
2025
build time: 00:00:10
!!! build failure encountered !!!

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