Bug 264537 - databases/soci: packaging fails if no ODBC
Summary: databases/soci: packaging fails if no ODBC
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Neel Chauhan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-08 09:55 UTC by Stéphane D'Alu
Modified: 2022-06-08 17:47 UTC (History)
0 users

See Also:
nc: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)