Bug 264537

Summary: databases/soci: packaging fails if no ODBC
Product: Ports & Packages Reporter: Stéphane D'Alu <sdalu>
Component: Individual Port(s)Assignee: Neel Chauhan <nc>
Status: Closed FIXED    
Severity: Affects Only Me Flags: nc: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Stéphane D'Alu 2022-06-08 09:55:43 UTC
===> The following configuration options are available for soci-4.0.3_1:
     BOOST=on: Enable support for additional types using Boost
     FIREBIRD=off: Firebird (Interbase) database support
     MYSQL=on: MySQL database support
     ODBC=off: ODBC database backend
     PGSQL=on: PostgreSQL database support
     SQLITE=on: SQLite database support


===>  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/odbc/soci-odbc.h:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_odbc.a:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_odbc.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/soci/work/stage/usr/local/lib/libsoci_odbc.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_odbc.so.4.0.3:No such file or directory
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2022-06-08 17:31:39 UTC
Thanks for reporting this. I will bring out a patch shortly.
Comment 2 Neel Chauhan freebsd_committer freebsd_triage 2022-06-08 17:46:51 UTC
Committed! Try fetching an updated ports tree.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-06-08 17:47:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32932bd8815a130693a2d2e0a7bfcd11eca711a7

commit 32932bd8815a130693a2d2e0a7bfcd11eca711a7
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-06-08 17:46:07 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-06-08 17:46:07 +0000

    databases/soci: Fix packaging errors on no ODBC

    PR:             264537
    Reported by:    Stéphane D'Alu <sdalu@sdalu.com>

 databases/soci/pkg-plist | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)