Bug 254969

Summary: databases/mariadb105-server: fails to package with S3 engine on
Product: Ports & Packages Reporter: Tommy P <tommyhp2>
Component: Individual Port(s)Assignee: Bernard Spil <brnrd>
Status: New ---    
Severity: Affects Only Me CC: tommyhp2
Priority: --- Flags: bugzilla: maintainer-feedback? (brnrd)
Version: Latest   
Hardware: amd64   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251622

Description Tommy P 2021-04-10 23:49:10 UTC
make showconfig
===> The following configuration options are available for mariadb105-server-10.5.9:
     CONNECT_EXTRA=on: 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=on: Snappy compression library support
     ZSTD=on: Zstandard compression support (RocksDB only)
====> Optional MariaDB storage engines
     COLUMNSTORE=off: Columnar storage egine (BETA)
     INNOBASE=on: InnoDB default engine
     MROONGA=on: Mroonga Full Text Search engine
     OQGRAPH=on: Open Query Graph Computation engine
     ROCKSDB=on: RocksDB LSM engine
     S3=on: S3 storage engine (Alpha)
     SPHINX=on: SphinxSE engine
     SPIDER=on: Partitioning and XA-transactions engine
====> Optional Mroonga features
     ZMQ=on: ZeroMQ support
     MSGPACK=on: 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=on: GSSAPI support via security/krb5
     GSSAPI_NONE=off: Disable GSSAPI support
===> Use 'make config' to modify these settings

---------------------------------------------------------------------------

====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===>   Installing ldconfig configuration file
root@12_2-RELEASE-amd64-default-server:/usr/ports/databases/mariadb105-server # make package
===>  Building package for mariadb105-server-10.5.9
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/mariadb105-server/work/stage/usr/local/etc/mysql/conf.d/s3.cnf.sample:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mariadb105-server
Comment 1 Tommy P 2021-04-11 00:04:21 UTC
Is the file s3.cnf within the tarball

mariadb-10.5.9/storage/maria/s3.cnf

was supposed to be copied to 

/work/stage/usr/local/etc/mysql/conf.d/s3.cnf.sample

if S3 was on?
Comment 2 Tommy P 2021-04-11 06:22:07 UTC
Also, the following cnf files mentioned in Makefile are missing after install:

server.cnf.sample
user_map.conf.sample
wsrep.cnf.sample.
spider.cnf.sample