Created attachment 688149 [details] build log I have cmake-3.20.0_rc1 installed and I get a CMAKE error : CMake Error at libmariadb/cmake/ConnectorName.cmake:30 (ENDMACRO): Flow control statements are not properly nested. Call Stack (most recent call first): libmariadb/CMakeLists.txt:423 (INCLUDE) A similar problem exists with sci-libs/opencascade-7.4.0-r4
Created attachment 688152 [details] emerge --info output
Easy fix in the reported file: > IF(IS64) > SET(MACHINE_NAME "x64") > ELSE() > SET(MACHINE_NAME "32") > END() > ^^ Should be ENDIF() of course.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51d932c944b611d29df40ceb7c934444cc44d067 commit 51d932c944b611d29df40ceb7c934444cc44d067 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-03-02 17:00:34 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-03-02 17:15:45 +0000 dev-db/mariadb: fix flow control statement Closes: https://bugs.gentoo.org/772254 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-db/mariadb/Manifest | 8 ++++---- dev-db/mariadb/mariadb-10.2.37.ebuild | 2 +- dev-db/mariadb/mariadb-10.3.28.ebuild | 2 +- dev-db/mariadb/mariadb-10.4.18.ebuild | 2 +- dev-db/mariadb/mariadb-10.5.9.ebuild | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-)
how do i edit the connectorNamr.cmake file inorder to correct the flow statement? I'm not quite sure on how to proceed with the above given information
It is fixed in Gentoo. If you maintain your own fork, you need to write a patch like https://github.com/Whissi/gentoo-mariadb/commit/abbfaef5b6f4274fa236b9aa1193ffdb8b3ceab5.patch and put it into /etc/portage/patches/dev-db/mariadb. But note that this is also fixed upstream in latest versions.