Bug 260080 - databases/mysql80-client: Fails to package with FIDO=OFF: authentication_oci_client.so:No such file or directory
Summary: databases/mysql80-client: Fails to package with FIDO=OFF: authentication_oci_...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jochen Neumeister
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2021-11-27 18:08 UTC by FiLiS
Modified: 2021-12-19 17:24 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (joneum)
koobs: merge-quarterly?


Attachments
Proposed patch (490 bytes, patch)
2021-12-01 14:25 UTC, SimpleRezo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description FiLiS 2021-11-27 18:08:37 UTC
if building without FIDO, the package list seems to still look for a missing module:

pkg-static: Unable to access file /wrkdirs/usr/ports/databases/mysql80-client/work/stage/usr/local/lib/mysql/plugin/authentication_oci_client.so:No such file or directory

When enabling FIDO, the port builds fine. My guess is that the line should maybe be conditional based on the choice of options.
Comment 1 Denis Shaposhnikov 2021-11-28 11:32:42 UTC
I've got the same trying to upgrade today. In poudriere's log I see

-- Skipping the LDAP client authentication plugin
-- Skipping FIDO client authentication plugin.
-- Skipping the KERBEROS client authentication plugin.
-- Skipping the OCI authentication client plugin.
Comment 2 FiLiS 2021-11-29 09:22:46 UTC
It does seem to build with the default options

OPTIONS_FILE_SET+=SASLCLIENT
OPTIONS_FILE_UNSET+=FIDO

but does not build with both options turned off.
Comment 3 SimpleRezo 2021-12-01 14:25:49 UTC
Created attachment 229828 [details]
Proposed patch
Comment 4 Christos Chatzaras 2021-12-19 15:29:00 UTC
Any news about this bug ?
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-12-19 17:24:08 UTC
A commit in branch main references this bug:

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

commit b566b31910d9015d46c878523ccf876768f0ef16
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2021-12-19 17:20:33 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2021-12-19 17:23:01 +0000

    databases/mysql80-client: Fix a Problem with FIDO Option

    there was an error, are both options turned off

    PR:     260080
    Sponsored by:   Netzkommune GmbH

 databases/mysql80-client/pkg-plist | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)