[Bug 281317] databases/sfcgal fails to build from source due to "phase: patch"

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Sep 2024 21:39:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281317

            Bug ID: 281317
           Summary: databases/sfcgal fails to build from source due to
                    "phase: patch"
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: lbartoletti@FreeBSD.org
          Reporter: dclarke@blastwave.org
             Flags: maintainer-feedback?(lbartoletti@FreeBSD.org)
          Assignee: lbartoletti@FreeBSD.org

Seen over the past week with poudriere and the 2024Q3 ports tree.



triton# cat  ./logs/sfcgal-1.5.1_1.log
=>> Building databases/sfcgal
build started at Fri Sep  6 21:26:27 UTC 2024
port directory: /usr/ports/databases/sfcgal
package name: sfcgal-1.5.1_1
building for: FreeBSD 141amd64-2024Q3-job-01 14.1-RELEASE-p3 FreeBSD
14.1-RELEASE-p3 1401000 amd64
maintained by: lbartoletti@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 753 Jul 10 06:31
/usr/ports/databases/sfcgal/Makefile
Ports top last git commit: 3f44e8bb4bf3
Ports top unclean checkout: no
Port dir last git commit: b733ae96495f
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 01

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p3 1401000
UNAME_r=14.1-RELEASE-p3
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/141amd64-2024Q3/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=xterm
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/poudriere/data/.m/141amd64-2024Q3/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141amd64-2024Q3
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/poudriere/data/.m/141amd64-2024Q3/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---
---End OPTIONS List---

--MAINTAINER--
lbartoletti@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/sfcgal/work 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/sfcgal/work 
XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/sfcgal/work/.cache 
HOME=/wrkdirs/usr/ports/databases/sfcgal/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/databases/sfcgal/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/sfcgal/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--
NINJA_STATUS="[%p %s/%t] "
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/sfcgal/work 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/sfcgal/work 
XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/sfcgal/work/.cache 
HOME=/wrkdirs/usr/ports/databases/sfcgal/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/databases/sfcgal/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/sfcgal/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
DESTDIR=/wrkdirs/usr/ports/databases/sfcgal/work/stage PREFIX=/usr/local 
LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="
-fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing  " 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--
SHL3=1.5.1 SHL1=1 DEBUG_SUFFIX= CMAKE_BUILD_TYPE="release" OSREL=14.1 PREFIX=%D
LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib
DOCSDIR="share/doc/sfcgal"  EXAMPLESDIR="share/examples/sfcgal" 
DATADIR="share/sfcgal"  WWWDIR="www/sfcgal"  ETCDIR="etc/sfcgal"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/sfcgal
DOCSDIR=/usr/local/share/doc/sfcgal
EXAMPLESDIR=/usr/local/share/examples/sfcgal  WWWDIR=/usr/local/www/sfcgal
ETCDIR=/usr/local/etc/sfcgal
--End SUB_LIST--

---Begin make.conf---
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
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---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)  89999
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
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   sfcgal-1.5.1_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141amd64-2024Q3-job-01] Installing pkg-1.21.3...
[141amd64-2024Q3-job-01] Extracting pkg-1.21.3: .......... done
===>   sfcgal-1.5.1_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of sfcgal-1.5.1_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 GPLv2 accepted by the user
===> Fetching all distfiles required by sfcgal-1.5.1_1 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 sfcgal-1.5.1_1 for building
=> SHA256 Checksum OK for CGAL-5.6.tar.xz.
=> SHA256 Checksum OK for SFCGAL-v1.5.1.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by sfcgal-1.5.1_1 for building
===>  Extracting for sfcgal-1.5.1_1
=> SHA256 Checksum OK for CGAL-5.6.tar.xz.
=> SHA256 Checksum OK for SFCGAL-v1.5.1.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for sfcgal-1.5.1_1
===>  Applying FreeBSD patches for sfcgal-1.5.1_1 from
/usr/ports/databases/sfcgal/files
No file to patch.  Skipping...
3 out of 3 hunks ignored--saving rejects to
../CGAL-5.6.1/include/CGAL/boost/graph/iterator.h.rej
Can't create ../CGAL-5.6.1/include/CGAL/boost/graph/iterator.h.rej, output is
in /tmp/patchrHZv1fNxva6: No such file or directory
===>  FAILED Applying FreeBSD patch-include_CGAL_boost_graph_iterator.h
===> FAILED to apply cleanly FreeBSD patch(es) 
patch-include_CGAL_boost_graph_iterator.h
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/sfcgal
=>> Cleaning up wrkdir
===>  Cleaning for sfcgal-1.5.1_1
build of databases/sfcgal | sfcgal-1.5.1_1 ended at Fri Sep  6 21:26:30 UTC
2024
build time: 00:00:04
!!! build failure encountered !!!
triton#

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