[package - 140releng-armv7-quarterly][databases/pg_vector] Failed for postgresql15-pg_vector-v0.5.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 15 Mar 2024 12:41:12 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/ampere1/data/140releng-armv7-quarterly/c03c94943e1d/logs/postgresql15-pg_vector-v0.5.1.log
Build URL:      https://pkg-status.freebsd.org/ampere1/build.html?mastername=140releng-armv7-quarterly&build=c03c94943e1d
Log:

=>> Building databases/pg_vector
build started at Fri Mar 15 12:40:48 UTC 2024
port directory: /usr/ports/databases/pg_vector
package name: postgresql15-pg_vector-v0.5.1
building for: FreeBSD 140releng-armv7-quarterly-job-07 14.0-RELEASE-p5 FreeBSD 14.0-RELEASE-p5 1400097 arm
maintained by: tz@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 438 Jan 16 01:02 /usr/ports/databases/pg_vector/Makefile
Ports top last git commit: c03c94943
Ports top unclean checkout: no
Port dir last git commit: 72cbe1a32
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1400097
Job Id: 07

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p5 1400097
UNAME_r=14.0-RELEASE-p5
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.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/140releng-armv7-quarterly/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/140releng-armv7-quarterly/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140releng-armv7-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140releng-armv7-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
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  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="i
nstall  -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=14.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
####  ####
# 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)  524288
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.pkg
[140releng-armv7-quarterly-job-07] Installing pkg-1.20.9...
[140releng-armv7-quarterly-job-07] Extracting pkg-1.20.9: .......... 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_2.pkg
[140releng-armv7-quarterly-job-07] Installing gmake-4.3_2...
[140releng-armv7-quarterly-job-07] `-- Installing gettext-runtime-0.22.3...
[140releng-armv7-quarterly-job-07] |   `-- Installing indexinfo-0.3.1...
[140releng-armv7-quarterly-job-07] |   `-- Extracting indexinfo-0.3.1: .... done
[140releng-armv7-quarterly-job-07] `-- Extracting gettext-runtime-0.22.3: .......... done
[140releng-armv7-quarterly-job-07] Extracting gmake-4.3_2: .......... 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_2.pkg
[140releng-armv7-quarterly-job-07] Installing postgresql15-server-15.5_2...
[140releng-armv7-quarterly-job-07] `-- Installing icu-74.2,1...
[140releng-armv7-quarterly-job-07] `-- Extracting icu-74.2,1: .......... done
[140releng-armv7-quarterly-job-07] `-- Installing liblz4-1.9.4,1...
[140releng-armv7-quarterly-job-07] `-- Extracting liblz4-1.9.4,1: .......... done
[140releng-armv7-quarterly-job-07] `-- Installing llvm15-15.0.7_9...
[140releng-armv7-quarterly-job-07] |   `-- Installing libedit-3.1.20230828,1...
[140releng-armv7-quarterly-job-07] |   `-- Extracting libedit-3.1.20230828,1: .......... done
[140releng-armv7-quarterly-job-07] |   `-- Installing lua53-5.3.6...
[140releng-armv7-quarterly-job-07] |   `-- Extracting lua53-5.3.6: .......... done
[140releng-armv7-quarterly-job-07] |   `-- Installing perl5-5.36.3_1...
[140releng-armv7-quarterly-job-07] |   `-- Extracting perl5-5.36.3_1: .......... done
[140releng-armv7-quarterly-job-07] |   `-- Installing python39-3.9.18...
[140releng-armv7-quarterly-job-07] |   | `-- Installing libffi-3.4.4...
[140releng-armv7-quarterly-job-07] |   | `-- Extracting libffi-3.4.4: .......... done
[140releng-armv7-quarterly-job-07] |   | `-- Installing mpdecimal-2.5.1...
[140releng-armv7-quarterly-job-07] |   | `-- Extracting mpdecimal-2.5.1: .......... done
[140releng-armv7-quarterly-job-07] |   | `-- Installing readline-8.2.7...
[140releng-armv7-quarterly-job-07] |   | `-- Extracting readline-8.2.7: .......... done
[140releng-armv7-quarterly-job-07] |   `-- Extracting python39-3.9.18: .......... done
[140releng-armv7-quarterly-job-07] |   `-- Installing zstd-1.5.5...
[140releng-armv7-quarterly-job-07] |   `-- Extracting zstd-1.5.5: .......... done
[140releng-armv7-quarterly-job-07] `-- Extracting llvm15-15.0.7_9: .......... done
[140releng-armv7-quarterly-job-07] `-- Installing postgresql15-client-15.5...
[140releng-armv7-quarterly-job-07] `-- 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
  ===========================================
[140releng-armv7-quarterly-job-07] Extracting postgresql15-server-15.5_2: .......... done
=====
Message from python39-3.9.18:

--
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_2:

--
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.

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

To initialize the database, run

  /usr/local/etc/rc.d/postgresql initdb

You can then start PostgreSQL by running:

  /usr/local/etc/rc.d/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.

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

To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf
===>   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: error: unsupported argument 'native' to option '-march='
gmake[1]: *** [<builtin>: src/hnsw.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
cc: error: unsupported argument 'native' to option '-march='
gmake[1]: *** [<builtin>: src/hnswbuild.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