Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mariadb fails: cmake gssapi prob
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3456
Location: Gainesville, Florida

PostPosted: Mon Jul 01, 2024 7:20 pm    Post subject: mariadb fails: cmake gssapi prob Reply with quote

Seems related to bug https://bugs.gentoo.org/928986 Same prob. using opts=j2 instead of j8

Should I install this?
Code:
 emerge gssapi -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.20 s (backtrack: 0/20).

[ebuild  N     ] dev-python/decorator-5.1.1-r1::gentoo  PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11 -python3_13" 35 KiB
[ebuild  N     ] dev-libs/libev-4.33::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 557 KiB
[ebuild  N     ] dev-libs/libverto-0.3.2::gentoo  USE="libev threads -glib -libevent" ABI_X86="(64) -32 (-x32)" 375 KiB
[ebuild  N     ] app-crypt/mit-krb5-1.21.3::gentoo  USE="keyutils nls pkinit -doc -lmdb -openldap (-selinux) -test -xinetd" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes" 8,923 KiB
[ebuild  N     ] virtual/krb5-0-r1::gentoo  ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] dev-python/gssapi-1.8.3-r1::gentoo  USE="-debug -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13" 112 KiB

Total: 6 packages (6 new), Size of downloads: 9,998 KiB




Below are the relevant lines in the mariadb emerge output attempt that fails



Code:
CMake Warning at libmariadb/plugins/auth/CMakeLists.txt:99 (FIND_PACKAGE):
  By not providing "FindGSSAPI.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "GSSAPI", but
  CMake did not find one.

  Could not find a package configuration file provided by "GSSAPI" with any
  of the following names:

    GSSAPIConfig.cmake
    gssapi-config.cmake

  Add the installation prefix of "GSSAPI" to CMAKE_PREFIX_PATH or set
  "GSSAPI_DIR" to a directory containing one of the above files.  If "GSSAPI"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  libmariadb/plugins/CMakeLists.txt:7 (INCLUDE)
  libmariadb/CMakeLists.txt:430 (INCLUDE)



Code:

 The following OPTIONAL packages have not been found:

 * Git
 * GSSAPI

CMake Warning at CMakeLists.txt:592 (MESSAGE):
 

  You have linked MariaDB with GPLv3 libraries! You may not distribute the
  resulting binary.  If you do, you will put yourself into a legal problem
  with the Free Software Foundation.


Code:
 -Wnon-virtual-dtor -Wvla -Wwrite-strings -std=gnu++11   -DHAVE_OPENSSL -DOPENSSL_API_COMPAT=0x10100000L -MD -MT sql/CMakeFiles/sql.dir/log.cc.o -MF sql/CMakeFiles/sql.dir/log.cc.o.d -o sql/CMakeFiles/sql.dir/log.cc.o -c /var/tmp/portage/dev-db/mariadb-10.11.8/work/mysql/sql/log.cc
[811/1217] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DHAVE_EVENT_SCHEDULER -DHAVE_POOL_OF_THREADS -DMYSQL_SERVER -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/dev-db/mariadb-10.11.8/work/mysql_build/include -I/var/tmp/portage/dev-db/mariadb-10.11.8/work/mysql/include/providers -I/var/tmp/portage/dev-db/mariadb-10.11.8/work/mysql/include -I/var/tmp/portage/dev-db/mariadb-10.11.8/work/mysql/sql -I/var/tmp/portage/dev-db/mariadb-10.11.8/work/mysql_build/sql -I/var/tmp/portage/dev-db/mariadb-10.11.8/work/mysql/tpool  -march=native -O2 -pipe -fomit-frame-pointer -felide-constructors -fno-strict-aliasing -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DNDEBUG -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall -Wenum-compare -Wenum-conversion -Wextra -Wformat-security -Wmissing-braces -Wno-format-truncation -Wno-init-self -Wno-nonnull-compare -Wno-unused-parameter -Woverloaded-virtual -Wnon-virtual-dtor -Wvla -Wwrite-strings -std=gnu++11   -DHAVE_OPENSSL -DOPENSSL_API_COMPAT=0x10100000L -MD -MT sql/CMakeFiles/sql.dir/item_timefunc.cc.o -MF sql/CMakeFiles/sql.dir/item_timefunc.cc.o.d -o sql/CMakeFiles/sql.dir/item_timefunc.cc.o -c /var/tmp/portage/dev-db/mariadb-10.11.8/work/mysql/sql/item_timefunc.cc
ninja: build stopped: subcommand failed.
 * ERROR: dev-db/mariadb-10.11.8::gentoo failed (compile phase):
 *   ninja -v -j8 -l0 failed

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.11.3 USE=experimental python3_12.7-final-0


Last edited by wrc1944 on Mon Jul 01, 2024 7:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31272
Location: here

PostPosted: Mon Jul 01, 2024 7:53 pm    Post subject: Reply with quote

Can you post full build.log?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3456
Location: Gainesville, Florida

PostPosted: Mon Jul 01, 2024 8:07 pm    Post subject: Reply with quote

Here it is.



https://dpaste.com/2LU4FQDYM
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.11.3 USE=experimental python3_12.7-final-0
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31272
Location: here

PostPosted: Mon Jul 01, 2024 8:44 pm    Post subject: Reply with quote

Code:
/usr/include/fmt/base.h:1392:29: error: passing ‘const fmt::v10::formatter<String>’ as ‘this’ argument discards qualifiers [-fpermissive]
 1392 |     ctx.advance_to(cf.format(*static_cast<qualified_type*>(arg), ctx));
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bug #935299 and upstream bug.
Did you install the >=dev-libs/libfmt-10 package? This version is masked by profile.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3456
Location: Gainesville, Florida

PostPosted: Mon Jul 01, 2024 9:16 pm    Post subject: Reply with quote

I have dev-libs/libfmt-11.0.0:0/11.0.0
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.11.3 USE=experimental python3_12.7-final-0
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3456
Location: Gainesville, Florida

PostPosted: Mon Jul 01, 2024 9:53 pm    Post subject: Reply with quote

Just synced, and got this:

[code] ebuild UD ] dev-libs/libfmt-9.1.0-r2:0/9.1.0::gentoo [11.0.0:0/11.0.0::gentoo] USE="-test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild U ] media-libs/phonon-4.12.0-r3::gentoo [4.12.0-r2::gentoo] USE="pulseaudio qt5 qt6 -debug -designer -minimal% (-vlc%*)" 0 KiB [/]

Emerged these. Maybe mariadb will emerge OK now.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.11.3 USE=experimental python3_12.7-final-0
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3456
Location: Gainesville, Florida

PostPosted: Tue Jul 02, 2024 3:09 pm    Post subject: Reply with quote

Mariadb merged normally, so that's all fine. Many thanks for the help and cluing me in on what to do!


However, some messages at the end appeared relating to something I've never dealt with or changed any config settings in 20 years of running Gentoo.


Can I just ignore these messages, or is it now critical I address them? I assumed since I never changed anything in all these years portage automatically took care of it.

Here they are:

Code:
>>> Installing (1 of 1) dev-db/mariadb-10.11.8::gentoo
 *
 * This install includes the PAM authentication plugin.
 * To activate and configure the PAM plugin, please read:
 * https://mariadb.com/kb/en/mariadb/pam-authentication-plugin/
 *
 *
 * If you are upgrading major versions, you should run the
 * mysql_upgrade tool.
 *
 *
 * This version of mariadb reorganizes the configuration from a single my.cnf
 * to several files in /etc/mysql/mariadb.d.
 * Please backup any changes you made to /etc/mysql/my.cnf
 * and add them as a new file under /etc/mysql/mariadb.d with a .cnf extension.
 * You may have as many files as needed and they are read alphabetically.
 * Be sure the options have the appropriate section headers, i.e. [mysqld].
 *

>>> Completed (1 of 1) dev-db/mariadb-10.11.8::gentoo

 * Messages for package dev-db/mariadb-10.11.8:

 * MySQL MY_DATADIR is /var/lib/mysql
 * This install includes the PAM authentication plugin.
 * To activate and configure the PAM plugin, please read:
 * https://mariadb.com/kb/en/mariadb/pam-authentication-plugin/
 * If you are upgrading major versions, you should run the
 * mysql_upgrade tool.
 * This version of mariadb reorganizes the configuration from a single my.cnf
 * to several files in /etc/mysql/mariadb.d.
 * Please backup any changes you made to /etc/mysql/my.cnf
 * and add them as a new file under /etc/mysql/mariadb.d with a .cnf extension.
 * You may have as many files as needed and they are read alphabetically.
 * Be sure the options have the appropriate section headers, i.e. [mysqld].

 * GNU info directory index is up-to-date.

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.11.3 USE=experimental python3_12.7-final-0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum