Bug 251622 - databases/mariadb105-{server,client}: packages conflict with each other
Summary: databases/mariadb105-{server,client}: packages conflict with each other
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-05 21:36 UTC by Vincent Milum Jr
Modified: 2021-04-15 04:34 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Milum Jr 2020-12-05 21:36:45 UTC
pkg-static: mariadb105-server-10.5.8 conflicts with mariadb105-client-10.5.8 (installs files into the same place).  Problematic file: /usr/local/man/man1/aria_s3_copy.1.gz

This file was recently added to the -client package, however, it looks like it is already optionally included in the -server package.

Added to -client here:
https://github.com/freebsd/freebsd-ports/commit/25b50ef32f3d18ee40a87813041c2deacf56628e#diff-552ff0178be9b252e1704117944849ad1547b20f5936af1bb1a8eb83ff54f503R91

The file already existed in -server here:
https://github.com/freebsd/freebsd-ports/blob/master/databases/mariadb105-server/pkg-plist#L221

BUT, with the -server package, it was ONLY included if the S3 option was enabled in the package config (disabled by default), so this is probably why this was missed in testing. I don't think this file belongs in the -client package.

I'm actively working on testing the S3 storage engine, so needed to custom compile MariaDB to include it, and ran into this issue today.

Reference to the -client commit is also here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248677
Comment 1 Tommy P 2021-04-11 06:31:08 UTC
I'm also encountering the same issue building package from ports tree.  I think the file:

/usr/local/man/man1/aria_s3_copy.1.gz

should be excluded from the client since S3 isn't available for selection during 'make config'.

Thanks.
Comment 2 Vincent Milum Jr 2021-04-15 04:18:54 UTC
The fix for the S3 storage engine issue is a one-line change in the plist.

https://github.com/freebsd/freebsd-ports/pull/109
Comment 3 Li-Wen Hsu freebsd_committer 2021-04-15 04:34:21 UTC
Over to maintainer