[package - main-powerpc-default][databases/pg_vector] Failed for postgresql15-pg_vector-v0.5.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 10:02:08 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     tz@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul1/data/main-powerpc-default/p3f853a69d83c_s70f5c6e34f/logs/postgresql15-pg_vector-v0.5.1.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=main-powerpc-default&build=p3f853a69d83c_s70f5c6e34f
Log:

=>> Building databases/pg_vector
build started at Wed Mar  6 10:01:21 UTC 2024
port directory: /usr/ports/databases/pg_vector
package name: postgresql15-pg_vector-v0.5.1
building for: FreeBSD main-powerpc-default-job-05 15.0-CURRENT FreeBSD 15.0-CURRENT 1500012 powerpc
maintained by: tz@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 438 Nov 16 01:02 /usr/ports/databases/pg_vector/Makefile
Ports top last git commit: 3f853a69d8
Ports top unclean checkout: no
Port dir last git commit: b1ec64dbea
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500003
Jail OSVERSION: 1500012
Job Id: 05




!!! Jail is newer than host. (Jail: 1500012, Host: 1500003) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500012
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=powerpc
UNAME_p=powerpc
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500012
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1
MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-powerpc-default/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-powerpc-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1
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--
tz@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/databases/pg_vector/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/pg_vector/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/pg_vector/work/.cache  HOME=/wrkdirs/usr/ports/databases/pg_vector/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/pg_vector/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/pg_vector/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--
USE_PGXS=1 XDG_DATA_HOME=/wrkdirs/usr/ports/databases/pg_vector/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/pg_vector/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/pg_vector/work/.cache  HOME=/wrkdirs/usr/ports/databases/pg_vector/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/pg_vector/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/pg_vector/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  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -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--
OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pg_vector"  EXAMPLESDIR="share/examples/pg_vector"  DATADIR="share/pg_vector"  WWWDIR="www/pg_vector"  ETCDIR="etc/pg_vector"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=powerpc
MACHINE_ARCH=powerpc
ARCH=${MACHINE_ARCH}
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### 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)  1048576
stack size              (kbytes, -s)  65536
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 BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   postgresql15-pg_vector-v0.5.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[main-powerpc-default-job-05] Installing pkg-1.20.9_1...
[main-powerpc-default-job-05] Extracting pkg-1.20.9_1: .......... done
===>   postgresql15-pg_vector-v0.5.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of postgresql15-pg_vector-v0.5.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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by postgresql15-pg_vector-v0.5.1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by postgresql15-pg_vector-v0.5.1 for building
=> SHA256 Checksum OK for pgvector-pgvector-v0.5.1_GH0.tar.gz.
===========================================================================
=======================<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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by postgresql15-pg_vector-v0.5.1 for building
===>  Extracting for postgresql15-pg_vector-v0.5.1
=> SHA256 Checksum OK for pgvector-pgvector-v0.5.1_GH0.tar.gz.
===========================================================================
=======================<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 postgresql15-pg_vector-v0.5.1
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   postgresql15-pg_vector-v0.5.1 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_3.pkg
[main-powerpc-default-job-05] Installing gmake-4.3_3...
[main-powerpc-default-job-05] `-- Installing gettext-runtime-0.22.3_1...
[main-powerpc-default-job-05] |   `-- Installing indexinfo-0.3.1...
[main-powerpc-default-job-05] |   `-- Extracting indexinfo-0.3.1: .... done
[main-powerpc-default-job-05] `-- Extracting gettext-runtime-0.22.3_1: .......... done
[main-powerpc-default-job-05] Extracting gmake-4.3_3: .......... done
===>   postgresql15-pg_vector-v0.5.1 depends on package: gmake>=4.3 - found
===>   Returning to build of postgresql15-pg_vector-v0.5.1
===>   postgresql15-pg_vector-v0.5.1 depends on executable: postgres - not found
===>   Installing existing package /packages/All/postgresql15-server-15.5_4.pkg
[main-powerpc-default-job-05] Installing postgresql15-server-15.5_4...
[main-powerpc-default-job-05] `-- Installing icu-74.2,1...
[main-powerpc-default-job-05] `-- Extracting icu-74.2,1: .......... done
[main-powerpc-default-job-05] `-- Installing liblz4-1.9.4_1,1...
[main-powerpc-default-job-05] `-- Extracting liblz4-1.9.4_1,1: .......... done
[main-powerpc-default-job-05] `-- Installing llvm15-15.0.7_10...
[main-powerpc-default-job-05] |   `-- Installing libedit-3.1.20230828_1,1...
[main-powerpc-default-job-05] |   `-- Extracting libedit-3.1.20230828_1,1: .......... done
[main-powerpc-default-job-05] |   `-- Installing lua53-5.3.6_1...
[main-powerpc-default-job-05] |   `-- Extracting lua53-5.3.6_1: .......... done
[main-powerpc-default-job-05] |   `-- Installing perl5-5.36.3_1...
[main-powerpc-default-job-05] |   `-- Extracting perl5-5.36.3_1: .......... done
[main-powerpc-default-job-05] |   `-- Installing python39-3.9.18_1...
[main-powerpc-default-job-05] |   | `-- Installing libffi-3.4.4_1...
[main-powerpc-default-job-05] |   | `-- Extracting libffi-3.4.4_1: .......... done
[main-powerpc-default-job-05] |   | `-- Installing mpdecimal-2.5.1...
[main-powerpc-default-job-05] |   | `-- Extracting mpdecimal-2.5.1: .......... done
[main-powerpc-default-job-05] |   | `-- Installing readline-8.2.7_1...
[main-powerpc-default-job-05] |   | `-- Extracting readline-8.2.7_1: .......... done
[main-powerpc-default-job-05] |   `-- Extracting python39-3.9.18_1: .......... done
[main-powerpc-default-job-05] |   `-- Installing zstd-1.5.5_1...
[main-powerpc-default-job-05] |   `-- Extracting zstd-1.5.5_1: .......... done
[main-powerpc-default-job-05] `-- Extracting llvm15-15.0.7_10: .......... done
[main-powerpc-default-job-05] `-- Installing postgresql15-client-15.5...
[main-powerpc-default-job-05] `-- Extracting postgresql15-client-15.5: .......... done
===> Creating groups.
Creating group 'postgres' with gid '770'.
===> Creating users
Creating user 'postgres' with uid '770'.
===> Creating homedir(s)

  =========== BACKUP YOUR DATA! =============
  As always, backup your data before
  upgrading. If the upgrade leads to a higher
  major revision (e.g. 9.6 -> 10), a dump
  and restore of all databases is
  required. This is *NOT* done by the port!
  See https://www.postgresql.org/docs/current/upgrading.html
  ===========================================
[main-powerpc-default-job-05] Extracting postgresql15-server-15.5_4: .......... done
=====
Message from python39-3.9.18_1:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
=====
Message from postgresql15-client-15.5:

--
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-psycopg2
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
=====
Message from postgresql15-server-15.5_4:

--
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.

If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.

The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, /usr/local/etc/periodic/daily/502.pgsql, that
you may find useful. You can use it to backup and perform vacuum on all
databases nightly. Per default, it performs `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~postgres/data/postgresql.conf.

If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script /usr/local/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.

Please note that if you use the rc script,
/usr/local/etc/rc.d/postgresql, to initialize the database, unicode
(UTF-8) will be used to store character data by default.  Set
postgresql_initdb_flags or use login.conf settings described below to
alter this behaviour. See the start rc script for more info.

To set limits, environment stuff like locale and collation and other
things, you can set up a class in /etc/login.conf before initializing
the database. Add something similar to this to /etc/login.conf:
---
postgres:\
	:lang=en_US.UTF-8:\
	:setenv=LC_COLLATE=C:\
	:tc=default:
---
and run `cap_mkdb /etc/login.conf'.
Then add 'postgresql_login_class="postgres"' to /etc/rc.conf, or
set it as the postgres user's login class in /etc/passwd.

======================================================================

To use PostgreSQL, enable it in rc.conf using

  sysrc postgresql_enable=yes

To initialize the database, run

  service postgresql initdb

You can then start PostgreSQL by running:

  service postgresql start

For postmaster settings, see ~postgres/data/postgresql.conf

NB. FreeBSD's PostgreSQL port logs to syslog by default
    See ~postgres/data/postgresql.conf for more info

NB. If you're not using a checksumming filesystem like ZFS, you might
    wish to enable data checksumming. It can be enabled during
    the initdb phase, by adding the "--data-checksums" flag to
    the postgresql_initdb_flags rcvar. Otherwise you can enable it later by
    pg_checksums.  Check the initdb(1) manpage for more info
    and make sure you understand the performance implications.

======================================================================
===>   postgresql15-pg_vector-v0.5.1 depends on executable: postgres - found
===>   Returning to build of postgresql15-pg_vector-v0.5.1
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for postgresql15-pg_vector-v0.5.1
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for postgresql15-pg_vector-v0.5.1
gmake[1]: Entering directory '/wrkdirs/usr/ports/databases/pg_vector/work/pgvector-0.5.1'
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -march=native -ftree-vectorize -fassociative-math -fno-signed-zeros -fno-trapping-math -fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o src/hnsw.o src/hnsw.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -march=native -ftree-vectorize -fassociative-math -fno-signed-zeros -fno-trapping-math -fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o src/hnswbuild.o src/hnswbuild.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -march=native -ftree-vectorize -fassociative-math -fno-signed-zeros -fno-trapping-math -fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o src/hnswinsert.o src/hnswinsert.c
cc: error: unsupported option '-march=' for target 'powerpc-unknown-freebsd15.0'
gmake[1]: *** [<builtin>: src/hnsw.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
cc: error: unsupported option '-march=' for target 'powerpc-unknown-freebsd15.0'
gmake[1]: *** [<builtin>: src/hnswbuild.o] Error 1
cc: error: unsupported option '-march=' for target 'powerpc-unknown-freebsd15.0'
gmake[1]: *** [<builtin>: src/hnswinsert.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/pg_vector/work/pgvector-0.5.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/pg_vector