=======================<phase: package >============================ ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2022-06-16T18:31:29+0000' 'PKG_NOTE_ports_top_git_hash=a2b4a671a2' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=32932bd881' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.3.99.20211130' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building package for soci-4.0.3_1 pkg-static: Unable to access file /wrkdirs/usr/ports/databases/soci/work/stage/usr/local/include/soci/mysql/soci-mysql.h:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_mysql.a:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_mysql.so:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_mysql.so.4.0:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_mysql.so.4.0.3:No such file or directory *** Error code 1 Stop. make: stopped in /usr/ports/databases/soci =>> Cleaning up wrkdir ===> Cleaning for soci-4.0.3_1 build of databases/soci | soci-4.0.3_1 ended at Thu Jun 16 20:44:21 CEST 2022 build time: 00:12:51 !!! build failure encountered !!!
Created attachment 234734 [details] poudriere build log file (shortened)
You build with MYSQL option off. I build with: OPTIONS_FILE_UNSET+=BOOST OPTIONS_FILE_UNSET+=FIREBIRD OPTIONS_FILE_UNSET+=MYSQL OPTIONS_FILE_UNSET+=ODBC OPTIONS_FILE_UNSET+=PGSQL OPTIONS_FILE_UNSET+=SQLITE Got errors: pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/include/soci/mysql/soci-mysql.h:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/include/soci/postgresql/soci-postgresql.h:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/include/soci/sqlite3/soci-sqlite3.h:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_mysql.a:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_mysql.so:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_mysql.so.4.0:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_mysql.so.4.0.3:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_postgresql.a:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_postgresql.so:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_postgresql.so.4.0:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_postgresql.so.4.0.3:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_sqlite3.a:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_sqlite3.so:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_sqlite3.so.4.0:No such file or directory pkg-static: Unable to access file /tmp/work/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_sqlite3.so.4.0.3:No such file or directory pkg-plist need options MYSQL, PGSQL and SQLITE. I can create patch tomorrow - it's very obvious patch.
Created attachment 234746 [details] Fixed pkg-plist Can build with all combinations of options now. Test please.
Thanks @vvd I confirm that the patch works.
Patch LGTM. Will commit shortly.
Committed! Thanks for the report/patch!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=52a1e2148c90e509f3910145c64097f10eccae6a commit 52a1e2148c90e509f3910145c64097f10eccae6a Author: VVD <vvd@unislabs.com> AuthorDate: 2022-06-17 14:39:31 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2022-06-17 14:39:31 +0000 databases/soci: Fix pkg-plist errors PR: 264720 Reported by: p5B2EA84B3@t-online.de Approved by: nc@ (maintainer) databases/soci/pkg-plist | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-)