Hi Chris!

I found the reason for your problem. It's a combination of BUILD_CONFIG=mysql_release and not having the pam-devel packages installed.

The following line:
/mariadb-10.4.13/cmake/build_configurations/mysql_release.cmake(127):  SET(PLUGIN_AUTH_PAM YES )

Overrides your settings. I don't think you can do anything about this without a patch to the sources. You can delete that line from the cmake file and it should work. Best to create an MDEV about this to get it covered for next release.

Vicențiu

On 07.07.2020 16:27, Chris Ross (cross2) wrote:

TMPDIR="/data/sources/tmp" \

        cmake -DBUILD_CONFIG=mysql_release -DAWS_SDK_EXTERNAL_PROJECT=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINSTALL_LAYOUT=RPM \

-DINSTALL_PLUGINDIR=lib64/plugin -DINSTALL_SYSCONFDIR="" -DINSTALL_MYSQLTESTDIR="" -DWITH_EMBEDDED_SERVER=NO -DWITH_JEMALLOC=OFF \

-DWITH_PCRE=auto -DWITH_SSL=system -DWITH_ZLIB=system -DWITH_WSREP=OFF -DPLUGIN_WSREP_INFO=NO -DPLUGIN_AUTH_TEST_PLUGIN=NO \

-DPLUGIN_TEST_SQL_DISCOVERY=NO -DPLUGIN_TEST_VERSIONING=NO -DPLUGIN_BLACKHOLE=NO -DPLUGIN_EXAMPLE=NO \

-DPLUGIN_EXAMPLE_KEY_MANAGEMENT=NO -DPLUGIN_FTEXAMPLE=NO -DPLUGIN_FEDERATED=NO -DPLUGIN_FEDERATEDX=NO \

-DPLUGIN_MROONGA=NO -DMRN_GROONGA_EMBED=OFF -DPLUGIN_SPIDER=NO -DPLUGIN_SPHINX=NO -DPLUGIN_TOKUDB=NO \

-DPLUGIN_ROCKSDB=NO -DSKIP_TESTS=ON -DWITH_UNIT_TESTS=NO -DPLUGIN_AUTH_PAM=NO -DPLUGIN_AUTH_PAM_V1=NO)

-- 
Vicențiu Ciorbaru
Software Developer, Team Lead, MariaDB Foundation