>>> Building on sparc64-0d under textproc/libical BDEPENDS = [textproc/icu4c;devel/ninja;lang/gcc/8;devel/gobject-introspection;devel/glib2;lang/python/3;textproc/libxml;databases/db/v4;lang/gcc/8,-c++;devel/cmake;lang/vala] DIST = [textproc/libical,-glib:libical-3.0.18.tar.gz] FULLPKGNAME = libical-3.0.18p0 RDEPENDS = [textproc/icu4c;databases/db/v4] Woken up devel/py-gobject3,python3 Woken up devel/py-gobject3,python3 Woken up devel/desktop-file-utils Woken up x11/hicolor-icon-theme Woken up x11/hicolor-icon-theme Woken up x11/hicolor-icon-theme Woken up graphics/ffmpeg Woken up security/pinentry Woken up security/pinentry Woken up security/pinentry (Junk lock failure for sparc64-0d at 1732316865.74597) Received IO (Junk lock obtained for sparc64-0d at 1732317135.73) Received IO Short-cut: depends already handled by devel/py-gobject3,python3 >>> Running show-prepare-results in textproc/libical at 1732317142.67 ===> textproc/libical ===> Building from scratch libical-3.0.18 ===> libical-3.0.18p0 depends on: gobject-introspection-* -> gobject-introspection-1.82.0p0 ===> libical-3.0.18p0 depends on: vala-* -> vala-0.56.17p0 ===> libical-3.0.18p0 depends on: libxml-* -> libxml-2.13.5 ===> libical-3.0.18p0 depends on: cmake-* -> cmake-3.30.5v1 ===> libical-3.0.18p0 depends on: ninja-* -> ninja-1.11.1p0v0 ===> libical-3.0.18p0 depends on: python->=3.11,<3.12 -> python-3.11.10p1 ===> libical-3.0.18p0 depends on: gcc->=8,<9 -> gcc-8.4.0p25 ===> libical-3.0.18p0 depends on: g++->=8,<9 -> g++-8.4.0p25 ===> libical-3.0.18p0 depends on: db->=4,<5|db->=4v0,<5v0 -> db-4.6.21p7v0 ===> libical-3.0.18p0 depends on: icu4c-* -> icu4c-76.1v0 ===> libical-3.0.18p0 depends on: glib2-*-!bootstrap -> glib2-2.82.2 ===> Verifying specs: icui18n icuuc estdc++>=19 estdc++>=17 pthread m lib/db4/db lib/db4/db_cxx icui18n icuuc estdc++>=19 c ical glib-2.0 gobject-2.0 intl pthread xml2 ===> found icui18n.22.4 icuuc.22.4 estdc++.19.0 pthread.27.1 m.10.1 lib/db4/db.5.0 lib/db4/db_cxx.6.0 c.100.3 ical.4.4 glib-2.0.4201.13 gobject-2.0.4200.20 intl.8.0 xml2.21.0 cmake-3.30.5v1 db-4.6.21p7v0 g++-8.4.0p25 gcc-8.4.0p25 glib2-2.82.2 gobject-introspection-1.82.0p0 icu4c-76.1v0 libxml-2.13.5 ninja-1.11.1p0v0 python-3.11.10p1 vala-0.56.17p0 (Junk lock released for sparc64-0d at 1732317157.44) Woken up graphics/scratch distfiles size=908948 >>> Running patch in textproc/libical at 1732317157.58 ===> textproc/libical ===> Checking files for libical-3.0.18 `/usr/ports/distfiles/libical-3.0.18.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for libical-3.0.18 ===> Patching for libical-3.0.18 ===> Applying OpenBSD patch patch-CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |base gcc does not understand -Wwrite-strings and errors out. | |Index: CMakeLists.txt |--- CMakeLists.txt.orig |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 516. Hunk #2 succeeded at 560. done ===> Applying OpenBSD patch patch-cmake_modules_FindBDB_cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: cmake/modules/FindBDB.cmake |--- cmake/modules/FindBDB.cmake.orig |+++ cmake/modules/FindBDB.cmake -------------------------- Patching file cmake/modules/FindBDB.cmake using Plan A... Hunk #1 succeeded at 19. done ===> Applying OpenBSD patch patch-src_libical_icaltz-util_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/libical/icaltz-util.c |--- src/libical/icaltz-util.c.orig |+++ src/libical/icaltz-util.c -------------------------- Patching file src/libical/icaltz-util.c using Plan A... Hunk #1 succeeded at 49. done ===> Applying OpenBSD patch patch-src_libicalss_icalbdbset_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |don't pick up /usr/include/db.h | |Index: src/libicalss/icalbdbset.h |--- src/libicalss/icalbdbset.h.orig |+++ src/libicalss/icalbdbset.h -------------------------- Patching file src/libicalss/icalbdbset.h using Plan A... Hunk #1 succeeded at 21. done ===> Applying OpenBSD patch patch-src_libicalss_icalbdbsetimpl_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |don't pick up /usr/include/db.h | |Index: src/libicalss/icalbdbsetimpl.h |--- src/libicalss/icalbdbsetimpl.h.orig |+++ src/libicalss/icalbdbsetimpl.h -------------------------- Patching file src/libicalss/icalbdbsetimpl.h using Plan A... Hunk #1 succeeded at 19. done ===> Applying OpenBSD patch patch-src_test_regression-storage_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |don't pick up /usr/include/db.h | |Index: src/test/regression-storage.c |--- src/test/regression-storage.c.orig |+++ src/test/regression-storage.c -------------------------- Patching file src/test/regression-storage.c using Plan A... Hunk #1 succeeded at 58. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/local/bin/eg++ ===> Compiler link: g++ -> /usr/local/bin/eg++ >>> Running configure in textproc/libical at 1732317161.34 ===> textproc/libical ===> Generating configure for libical-3.0.18 ===> Configuring for libical-3.0.18 /usr/bin/perl /usr/ports/infrastructure/bin/pkg_subst -DMODPY_PYCACHE=__pycache__/ -DMODPY_COMMENT= -DMODPY_ABI3SO=.abi3 -DMODPY_PYC_MAGIC_TAG=cpython-311. -DMODPY_BIN=/usr/local/bin/python3.11 -DMODPY_EGG_VERSION= -DMODPY_VERSION=3.11 -DMODPY_BIN_SUFFIX= -DMODPY_PY_PREFIX=py3- -DMODPY_PYOEXTENSION=opt-1.pyc -DMODCMAKE_BUILD_SUFFIX=-release.cmake -DLIBical_VERSION=4.4 -DLIBicalss_VERSION=4.0 -DLIBicalvcal_VERSION=3.0 -DLIBical_cxx_VERSION=1.1 -DLIBicalss_cxx_VERSION=1.0 -DLIBical-glib_VERSION=0.0 -DARCH=sparc64 -DBASE_PKGPATH=textproc/libical -DFLAVOR_EXT= -DFULLPKGNAME=libical-3.0.18 -DHOMEPAGE=https://libical.github.io/libical/ -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=sparc64 -DMAINTAINER=Antoine\ Jacoutot\ \ -DPREFIX=/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM= -i -B /usr/obj/ports/libical-3.0.18 /usr/obj/ports/libical-3.0.18/libical-3.0.18/cmake/modules/FindBDB.cmake -- The C compiler identification is GNU 8.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/obj/ports/libical-3.0.18/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- The CXX compiler identification is GNU 8.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/obj/ports/libical-3.0.18/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Perl: /usr/bin/perl (found version "5.38.2") -- Found the following ICU libraries: -- uc (required) -- i18n (required) -- Found ICU: /usr/local/include (found version "76.1") -- Found BerkeleyDB: /usr/include (found version "/* $OpenBSD: db.h,v 1.12 2015/10/17 21:48:42 guenther Exp $ */ /* $NetBSD: db.h,v 1.13 1994/10/26 00:55:48 cgd Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)db.h 8.7 (Berkeley) 6/16/94 */ #ifndef _DB_H_ #define _DB_H_ #include #include #define RET_ERROR -1 /* Return values. */ #define RET_SUCCESS 0 #define RET_SPECIAL 1 #define MAX_PAGE_NUMBER 0xffffffff /* >= # of pages in a file */ typedef u_int32_t pgno_t; #define MAX_PAGE_OFFSET 65535 /* >= # of bytes in a page */ typedef u_int16_t indx_t; #define MAX_REC_NUMBER 0xffffffff /* >= # of records in a tree */ typedef u_int32_t recno_t; /* Key/data structure -- a Data-Base Thang. */ typedef struct { void *data; /* data */ size_t size; /* data length */ } DBT; /* Routine flags. */ #define R_CURSOR 1 /* del, put, seq */ #define __R_UNUSED 2 /* UNUSED */ #define R_FIRST 3 /* seq */ #define R_IAFTER 4 /* put (RECNO) */ #define R_IBEFORE 5 /* put (RECNO) */ #define R_LAST 6 /* seq (BTREE, RECNO) */ #define R_NEXT 7 /* seq */ #define R_NOOVERWRITE 8 /* put */ #define R_PREV 9 /* seq (BTREE, RECNO) */ #define R_SETCURSOR 10 /* put (RECNO) */ #define R_RECNOSYNC 11 /* sync (RECNO) */ typedef enum { DB_BTREE, DB_HASH, DB_RECNO } DBTYPE; /* * !!! * The following flags are included in the dbopen(3) call as part of the * open(2) flags. In order to avoid conflicts with the open flags, start * at the top of the 16 or 32-bit number space and work our way down. If * the open flags were significantly expanded in the future, it could be * a problem. Wish I'd left another flags word in the dbopen call. * * !!! * None of this stuff is implemented yet. The only reason that it's here * is so that the access methods can skip copying the key/data pair when * the DB_LOCK flag isn't set. */ #if UINT_MAX > 65535 #define DB_LOCK 0x20000000 /* Do locking. */ #define DB_SHMEM 0x40000000 /* Use shared memory. */ #define DB_TXN 0x80000000 /* Do transactions. */ #else #define DB_LOCK 0x2000 /* Do locking. */ #define DB_SHMEM 0x4000 /* Use shared memory. */ #define DB_TXN 0x8000 /* Do transactions. */ #endif /* Access method description structure. */ typedef struct __db { DBTYPE type; /* Underlying db type. */ int (*close)(struct __db *); int (*del)(const struct __db *, const DBT *, unsigned int); int (*get)(const struct __db *, const DBT *, DBT *, unsigned int); int (*put)(const struct __db *, DBT *, const DBT *, unsigned int); int (*seq)(const struct __db *, DBT *, DBT *, unsigned int); int (*sync)(const struct __db *, unsigned int); void *internal; /* Access method private. */ int (*fd)(const struct __db *); } DB; #define BTREEMAGIC 0x053162 #define BTREEVERSION 3 /* Structure used to pass parameters to the btree routines. */ typedef struct { #define R_DUP 0x01 /* duplicate keys */ unsigned long flags; unsigned int cachesize; /* bytes to cache */ int maxkeypage; /* maximum keys per page */ int minkeypage; /* minimum keys per page */ unsigned int psize; /* page size */ int (*compare) /* comparison function */ (const DBT *, const DBT *); size_t (*prefix) /* prefix function */ (const DBT *, const DBT *); int lorder; /* byte order */ } BTREEINFO; #define HASHMAGIC 0x061561 #define HASHVERSION 2 /* Structure used to pass parameters to the hashing routines. */ typedef struct { unsigned int bsize; /* bucket size */ unsigned int ffactor; /* fill factor */ unsigned int nelem; /* number of elements */ unsigned int cachesize; /* bytes to cache */ u_int32_t /* hash function */ (*hash)(const void *, size_t); int lorder; /* byte order */ } HASHINFO; /* Structure used to pass parameters to the record routines. */ typedef struct { #define R_FIXEDLEN 0x01 /* fixed-length records */ #define R_NOKEY 0x02 /* key not required */ #define R_SNAPSHOT 0x04 /* snapshot the input */ unsigned long flags; unsigned int cachesize; /* bytes to cache */ unsigned int psize; /* page size */ int lorder; /* byte order */ size_t reclen; /* record length (fixed-length records) */ unsigned char bval; /* delimiting byte (variable-length records) */ char *bfname; /* btree file name */ } RECNOINFO; __BEGIN_DECLS DB *dbopen(const char *, int, int, DBTYPE, const void *); __END_DECLS #endif /* !_DB_H_ */ ./* $OpenBSD: db.h,v 1.12 2015/10/17 21:48:42 guenther Exp $ */ /* $NetBSD: db.h,v 1.13 1994/10/26 00:55:48 cgd Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)db.h 8.7 (Berkeley) 6/16/94 */ #ifndef _DB_H_ #define _DB_H_ #include #include #define RET_ERROR -1 /* Return values. */ #define RET_SUCCESS 0 #define RET_SPECIAL 1 #define MAX_PAGE_NUMBER 0xffffffff /* >= # of pages in a file */ typedef u_int32_t pgno_t; #define MAX_PAGE_OFFSET 65535 /* >= # of bytes in a page */ typedef u_int16_t indx_t; #define MAX_REC_NUMBER 0xffffffff /* >= # of records in a tree */ typedef u_int32_t recno_t; /* Key/data structure -- a Data-Base Thang. */ typedef struct { void *data; /* data */ size_t size; /* data length */ } DBT; /* Routine flags. */ #define R_CURSOR 1 /* del, put, seq */ #define __R_UNUSED 2 /* UNUSED */ #define R_FIRST 3 /* seq */ #define R_IAFTER 4 /* put (RECNO) */ #define R_IBEFORE 5 /* put (RECNO) */ #define R_LAST 6 /* seq (BTREE, RECNO) */ #define R_NEXT 7 /* seq */ #define R_NOOVERWRITE 8 /* put */ #define R_PREV 9 /* seq (BTREE, RECNO) */ #define R_SETCURSOR 10 /* put (RECNO) */ #define R_RECNOSYNC 11 /* sync (RECNO) */ typedef enum { DB_BTREE, DB_HASH, DB_RECNO } DBTYPE; /* * !!! * The following flags are included in the dbopen(3) call as part of the * open(2) flags. In order to avoid conflicts with the open flags, start * at the top of the 16 or 32-bit number space and work our way down. If * the open flags were significantly expanded in the future, it could be * a problem. Wish I'd left another flags word in the dbopen call. * * !!! * None of this stuff is implemented yet. The only reason that it's here * is so that the access methods can skip copying the key/data pair when * the DB_LOCK flag isn't set. */ #if UINT_MAX > 65535 #define DB_LOCK 0x20000000 /* Do locking. */ #define DB_SHMEM 0x40000000 /* Use shared memory. */ #define DB_TXN 0x80000000 /* Do transactions. */ #else #define DB_LOCK 0x2000 /* Do locking. */ #define DB_SHMEM 0x4000 /* Use shared memory. */ #define DB_TXN 0x8000 /* Do transactions. */ #endif /* Access method description structure. */ typedef struct __db { DBTYPE type; /* Underlying db type. */ int (*close)(struct __db *); int (*del)(const struct __db *, const DBT *, unsigned int); int (*get)(const struct __db *, const DBT *, DBT *, unsigned int); int (*put)(const struct __db *, DBT *, const DBT *, unsigned int); int (*seq)(const struct __db *, DBT *, DBT *, unsigned int); int (*sync)(const struct __db *, unsigned int); void *internal; /* Access method private. */ int (*fd)(const struct __db *); } DB; #define BTREEMAGIC 0x053162 #define BTREEVERSION 3 /* Structure used to pass parameters to the btree routines. */ typedef struct { #define R_DUP 0x01 /* duplicate keys */ unsigned long flags; unsigned int cachesize; /* bytes to cache */ int maxkeypage; /* maximum keys per page */ int minkeypage; /* minimum keys per page */ unsigned int psize; /* page size */ int (*compare) /* comparison function */ (const DBT *, const DBT *); size_t (*prefix) /* prefix function */ (const DBT *, const DBT *); int lorder; /* byte order */ } BTREEINFO; #define HASHMAGIC 0x061561 #define HASHVERSION 2 /* Structure used to pass parameters to the hashing routines. */ typedef struct { unsigned int bsize; /* bucket size */ unsigned int ffactor; /* fill factor */ unsigned int nelem; /* number of elements */ unsigned int cachesize; /* bytes to cache */ u_int32_t /* hash function */ (*hash)(const void *, size_t); int lorder; /* byte order */ } HASHINFO; /* Structure used to pass parameters to the record routines. */ typedef struct { #define R_FIXEDLEN 0x01 /* fixed-length records */ #define R_NOKEY 0x02 /* key not required */ #define R_SNAPSHOT 0x04 /* snapshot the input */ unsigned long flags; unsigned int cachesize; /* bytes to cache */ unsigned int psize; /* page size */ int lorder; /* byte order */ size_t reclen; /* record length (fixed-length records) */ unsigned char bval; /* delimiting byte (variable-length records) */ char *bfname; /* btree file name */ } RECNOINFO; __BEGIN_DECLS DB *dbopen(const char *, int, int, DBTYPE, const void *); __END_DECLS #endif /* !_DB_H_ */ ./* $OpenBSD: db.h,v 1.12 2015/10/17 21:48:42 guenther Exp $ */ /* $NetBSD: db.h,v 1.13 1994/10/26 00:55:48 cgd Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)db.h 8.7 (Berkeley) 6/16/94 */ #ifndef _DB_H_ #define _DB_H_ #include #include #define RET_ERROR -1 /* Return values. */ #define RET_SUCCESS 0 #define RET_SPECIAL 1 #define MAX_PAGE_NUMBER 0xffffffff /* >= # of pages in a file */ typedef u_int32_t pgno_t; #define MAX_PAGE_OFFSET 65535 /* >= # of bytes in a page */ typedef u_int16_t indx_t; #define MAX_REC_NUMBER 0xffffffff /* >= # of records in a tree */ typedef u_int32_t recno_t; /* Key/data structure -- a Data-Base Thang. */ typedef struct { void *data; /* data */ size_t size; /* data length */ } DBT; /* Routine flags. */ #define R_CURSOR 1 /* del, put, seq */ #define __R_UNUSED 2 /* UNUSED */ #define R_FIRST 3 /* seq */ #define R_IAFTER 4 /* put (RECNO) */ #define R_IBEFORE 5 /* put (RECNO) */ #define R_LAST 6 /* seq (BTREE, RECNO) */ #define R_NEXT 7 /* seq */ #define R_NOOVERWRITE 8 /* put */ #define R_PREV 9 /* seq (BTREE, RECNO) */ #define R_SETCURSOR 10 /* put (RECNO) */ #define R_RECNOSYNC 11 /* sync (RECNO) */ typedef enum { DB_BTREE, DB_HASH, DB_RECNO } DBTYPE; /* * !!! * The following flags are included in the dbopen(3) call as part of the * open(2) flags. In order to avoid conflicts with the open flags, start * at the top of the 16 or 32-bit number space and work our way down. If * the open flags were significantly expanded in the future, it could be * a problem. Wish I'd left another flags word in the dbopen call. * * !!! * None of this stuff is implemented yet. The only reason that it's here * is so that the access methods can skip copying the key/data pair when * the DB_LOCK flag isn't set. */ #if UINT_MAX > 65535 #define DB_LOCK 0x20000000 /* Do locking. */ #define DB_SHMEM 0x40000000 /* Use shared memory. */ #define DB_TXN 0x80000000 /* Do transactions. */ #else #define DB_LOCK 0x2000 /* Do locking. */ #define DB_SHMEM 0x4000 /* Use shared memory. */ #define DB_TXN 0x8000 /* Do transactions. */ #endif /* Access method description structure. */ typedef struct __db { DBTYPE type; /* Underlying db type. */ int (*close)(struct __db *); int (*del)(const struct __db *, const DBT *, unsigned int); int (*get)(const struct __db *, const DBT *, DBT *, unsigned int); int (*put)(const struct __db *, DBT *, const DBT *, unsigned int); int (*seq)(const struct __db *, DBT *, DBT *, unsigned int); int (*sync)(const struct __db *, unsigned int); void *internal; /* Access method private. */ int (*fd)(const struct __db *); } DB; #define BTREEMAGIC 0x053162 #define BTREEVERSION 3 /* Structure used to pass parameters to the btree routines. */ typedef struct { #define R_DUP 0x01 /* duplicate keys */ unsigned long flags; unsigned int cachesize; /* bytes to cache */ int maxkeypage; /* maximum keys per page */ int minkeypage; /* minimum keys per page */ unsigned int psize; /* page size */ int (*compare) /* comparison function */ (const DBT *, const DBT *); size_t (*prefix) /* prefix function */ (const DBT *, const DBT *); int lorder; /* byte order */ } BTREEINFO; #define HASHMAGIC 0x061561 #define HASHVERSION 2 /* Structure used to pass parameters to the hashing routines. */ typedef struct { unsigned int bsize; /* bucket size */ unsigned int ffactor; /* fill factor */ unsigned int nelem; /* number of elements */ unsigned int cachesize; /* bytes to cache */ u_int32_t /* hash function */ (*hash)(const void *, size_t); int lorder; /* byte order */ } HASHINFO; /* Structure used to pass parameters to the record routines. */ typedef struct { #define R_FIXEDLEN 0x01 /* fixed-length records */ #define R_NOKEY 0x02 /* key not required */ #define R_SNAPSHOT 0x04 /* snapshot the input */ unsigned long flags; unsigned int cachesize; /* bytes to cache */ unsigned int psize; /* page size */ int lorder; /* byte order */ size_t reclen; /* record length (fixed-length records) */ unsigned char bval; /* delimiting byte (variable-length records) */ char *bfname; /* btree file name */ } RECNOINFO; __BEGIN_DECLS DB *dbopen(const char *, int, int, DBTYPE, const void *); __END_DECLS #endif /* !_DB_H_ */ ") -- Found BerkeleyDB libraries: /usr/local/lib/libdb.so.5.0;/usr/local/lib/libdb_cxx.so.6.0 -- Looking for include file byteswap.h -- Looking for include file byteswap.h - not found -- Looking for include file dirent.h -- Looking for include file dirent.h - found -- Looking for include file endian.h -- Looking for include file endian.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for include file sys/endian.h -- Looking for include file sys/endian.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/utsname.h -- Looking for include file sys/utsname.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file wctype.h -- Looking for include file wctype.h - found -- Looking for include file stdbool.h -- Looking for include file stdbool.h - found -- Looking for access -- Looking for access - found -- Looking for fork -- Looking for fork - found -- Looking for getopt -- Looking for getopt - found -- Looking for getpid -- Looking for getpid - found -- Looking for getpwent -- Looking for getpwent - found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for mkdir -- Looking for mkdir - found -- Looking for open -- Looking for open - found -- Looking for nanosleep -- Looking for nanosleep - found -- Looking for signal -- Looking for signal - found -- Looking for stat -- Looking for stat - found -- Looking for strdup -- Looking for strdup - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for read -- Looking for read - found -- Looking for unlink -- Looking for unlink - found -- Looking for usleep -- Looking for usleep - found -- Looking for waitpid -- Looking for waitpid - found -- Looking for write -- Looking for write - found -- Looking for alarm -- Looking for alarm - found -- Looking for backtrace -- Looking for backtrace - not found -- Looking for iswspace -- Looking for iswspace - found -- Looking for setenv -- Looking for setenv - found -- Looking for unsetenv -- Looking for unsetenv - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of intptr_t -- Check size of intptr_t - done -- Check size of pid_t -- Check size of pid_t - done -- Check size of size_t -- Check size of size_t - done -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of time_t -- Check size of time_t - done -- Check size of wint_t -- Check size of wint_t - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for pthread_attr_get_np in pthread -- Looking for pthread_attr_get_np in pthread - not found -- Looking for pthread_getattr_np in pthread -- Looking for pthread_getattr_np in pthread - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for include files pthread.h, pthread_np.h -- Looking for include files pthread.h, pthread_np.h - found -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'gobject-introspection-1.0>=0.6.7' -- Found gobject-introspection-1.0, version 1.82.0 -- Checking for modules 'glib-2.0>=2.32;gobject-2.0>=2.32' -- Found glib-2.0, version 2.82.2 -- Found gobject-2.0, version 2.82.2 -- Checking for module 'libxml-2.0>=2.7.3' -- Found libxml-2.0, version 2.13.5 -- Performing Test HAVE_GCC_UNUSED_BUT_SET -- Performing Test HAVE_GCC_UNUSED_BUT_SET - Success -- Performing Test HAVE_GCC_LOGICAL_OP -- Performing Test HAVE_GCC_LOGICAL_OP - Success -- Performing Test HAVE_GCC_POINTER_MEMACCESS -- Performing Test HAVE_GCC_POINTER_MEMACCESS - Success -- Performing Test HAVE_GCC_FORMAT_SECURITY -- Performing Test HAVE_GCC_FORMAT_SECURITY - Success -- Performing Test HAVE_GCC_REDUNDANT_DECLS -- Performing Test HAVE_GCC_REDUNDANT_DECLS - Success -- Performing Test HAVE_GCC_UNREACHABLE_CODE -- Performing Test HAVE_GCC_UNREACHABLE_CODE - Success -- Performing Test HAVE_GCC_VARARGS -- Performing Test HAVE_GCC_VARARGS - Success -- Performing Test HAVE_GXX_UNUSED_BUT_SET -- Performing Test HAVE_GXX_UNUSED_BUT_SET - Success -- Performing Test HAVE_GXX_LOGICAL_OP -- Performing Test HAVE_GXX_LOGICAL_OP - Success -- Performing Test HAVE_GXX_POINTER_MEMACCESS CMake Error: Running '/usr/local/bin/ninja' '-C' '/usr/obj/ports/libical-3.0.18/build-sparc64/CMakeFiles/CMakeScratch/TryCompile-e4OgeK' '-t' 'recompact' failed with: terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Subprocess aborted CMake Error at /usr/local/share/cmake/Modules/Internal/CheckSourceCompiles.cmake:101 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): /usr/local/share/cmake/Modules/Internal/CheckCompilerFlag.cmake:18 (cmake_check_source_compiles) /usr/local/share/cmake/Modules/CheckCXXCompilerFlag.cmake:34 (cmake_check_compiler_flag) CMakeLists.txt:557 (check_cxx_compiler_flag) -- Configuring incomplete, errors occurred! *** Error 1 in textproc/libical (/usr/ports/infrastructure/mk/bsd.port.mk:3030 'do-configure': @cd /usr/obj/ports/libical-3.0.18/build-sparc...) *** Error 2 in textproc/libical (/usr/ports/infrastructure/mk/bsd.port.mk:3050 '/usr/obj/ports/libical-3.0.18/build-sparc64/.configure_done') *** Error 2 in textproc/libical (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'configure': @lock=libical-3.0.18; export _LOCKS_HELD=" libi...) ===> Exiting textproc/libical with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'configure': @: ${echo_msg:=echo}; : ${target:=configure}; for i in ; ...) >>> Ended at 1732317301.71 max_stuck=114.51/waiting-for-lock #143=276.91/show-prepare-results=14.87/patch=3.81/configure=140.44 Error: job failed with 512 on sparc64-0d at 1732317301