CMake Error at cmake/systemd.cmake:77 (MESSAGE): Invalid value for WITH_SYSTEMD. Must be 'yes', 'no', or 'auto'. Call Stack (most recent call first): CMakeLists.txt:333 (CHECK_SYSTEMD) It appears this option was always (recently) case-sensitive in mariadb it just had poor checking and this was "fixed" by commit 1093c0f2dd9bf44a6e89c3406c6ae4aa3f4e8fbf. It appears based on tags that 10.1.26 may also be affected but I have not checked. Reproducible: Always
For reference the ebuild currently generates -DWITH_SYSTEMD=NO or -DWITH_SYSTEMD=YES by way of usex defaults.
If you change "-DWITH_SYSTEMD = NO" to "-DWITH_SYSTEMD = no", the 24 line in mariadb-10.2.8.ebuild was compiled, but the process crashes during the installation phase. I could not decide, but maybe this information will help me find a solution(In reply to Daniel M. Weeks from comment #1) > For reference the ebuild currently generates -DWITH_SYSTEMD=NO or > -DWITH_SYSTEMD=YES by way of usex defaults. If you change "-DWITH_SYSTEMD = NO" to "-DWITH_SYSTEMD = no", the 465 line in mariadb-10.2.8.ebuild, was compiled, but the process falls during the installation phase. I did not find a solution, but this information will help to find a solution --------- * Header files have changed between ABIs. * --- /var/tmp/portage/dev-db/mariadb-10.2.8/temp/.multilib_header_cksum 2017-08-21 08:12:17.305475949 +0300 * +++ /var/tmp/portage/dev-db/mariadb-10.2.8/temp/.multilib_header_cksum.new 2017-08-21 08:12:19.172442297 +0300 * @@ -1,175 +1,275 @@ ---------- * ERROR: dev-db/mariadb-10.2.8::gentoo failed (install phase): * Header checksum mismatch, aborting.
The same issue here.
The usex defaults are lowercase. The problem is line 485 which hardcodes -DWITH_SYSTEMD=NO on non-native multilib ABIs. The header checksum mismatch issue is unrelated and apparently caused by the server build installing a bunch of extra headers.
Same problem here.
Created attachment 489896 [details] fixed ebuild Fixed ebuild attached. Basically it looks like this package was version bumped but not tested in a multilib environment, so several things were broken in that scenario.
commit 1740d628f659f14df060c62f8b06af57d70ce67a Author: Brian Evans <grknight@gentoo.org> Date: Mon Aug 21 13:06:22 2017 -0400 dev-db/mariadb: Fix bugs relating to multilib, systemd and numa Bug 628484 - Add USE flag numa to pull in sys-process/numactl for build/runtime Bug 628458 - Fix systemd case sensitivity in configure merged from 10.1 branch Bug 628458 - Fix multilib header file changes that lead to build failure Package-Manager: Portage-2.3.8, Repoman-2.3.3