[Bug 271060] databases/mariadb106-server does not build with ROCKSDB=on

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Apr 2023 06:56:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271060

            Bug ID: 271060
           Summary: databases/mariadb106-server does not build with
                    ROCKSDB=on
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd@freebsd.org
          Reporter: 000.fbsd@quip.cz
             Flags: maintainer-feedback?(brnrd@freebsd.org)
          Assignee: brnrd@freebsd.org

We are building all our packages in Poudriere for a years. Today I was trying
to rebuild all packages with new FreeBSD version 13.2 and quarterly branch
2023Q2 where MariaDB failed with the following error:

/wrkdirs/usr/ports/databases/mariadb106-server/work/mariadb-10.6.12/storage/rocksdb/./ut0counter.h:64:10:
error: incompatible pointer to integer conversion assigning to 'size_t' (aka
'unsigned long') from 'pthread_t' (aka 'pthread *')
                        cpu = get_curr_thread_id();
                              ^~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/mariadb106-server/work/mariadb-10.6.12/storage/rocksdb/./ut0counter.h:34:30:
note: expanded from macro 'get_curr_thread_id'
#define get_curr_thread_id() pthread_self()
                             ^~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Building of 10.6.12 on 12.x and previous quarterly 2023Q1 was OK so this is
some regression on 13.2 or 2023Q2

We have non-default options:

---Begin OPTIONS List---
===> The following configuration options are available for
mariadb106-server-10.6.12:
     CONNECT_EXTRA=off: Enable ODBC and XML in CONNECT engine
     DOCS=off: Build and/or install documentation
     WSREP=on: Build wsrep clustering
====> Optional page compression
     LZ4=on: LZ4 compression support
     LZO=on: LZO compression support
     SNAPPY=off: Snappy compression library support
====> Optional MariaDB storage engines
     COLUMNSTORE=off: Columnar storage egine (BETA)
     INNOBASE=on: InnoDB default engine
     MROONGA=off: Mroonga Full Text Search engine
     OQGRAPH=off: Open Query Graph Computation engine
     ROCKSDB=on: RocksDB LSM engine
     S3=off: S3 storage engine (Alpha)
     SPHINX=on: SphinxSE engine
     SPIDER=on: Partitioning and XA-transactions engine
====> Optional Mroonga features
     ZMQ=off: ZeroMQ support
     MSGPACK=off: MsgPack support
====> GSSAPI Security API support: you have to select exactly one of them
     GSSAPI_BASE=off: GSSAPI support via base system (needs Kerberos)
     GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal
     GSSAPI_MIT=off: GSSAPI support via security/krb5
     GSSAPI_NONE=on: Disable GSSAPI support
===> Use 'make config' to modify these settings
---End OPTIONS List---

-- 
You are receiving this mail because:
You are the assignee for the bug.