Summary: | dev-db/mariadb-10.4.6 fails to build: fatal error: mysql/service_sha2.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Carlos Konstanski <ckonstanski> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info Fix "mysql/service_sha2.h: No such file or directory" |
Description
Carlos Konstanski
2019-06-22 17:22:14 UTC
Created attachment 580450 [details]
build.log
Created attachment 580452 [details]
emerge --info
My USE flags: [ebuild U ~] dev-db/mariadb-10.4.6:0/18::gentoo [10.3.15:0/18::gentoo] USE="backup kerberos odbc pam perl xml -bindist (-client-libs) -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -latin1 -libressl -mroonga -numa -oqgraph -profiling -rocksdb (-selinux) -server -sphinx -sst-mariabackup -sst-rsync -static -systemd -systemtap -tcmalloc -test -tokudb -yassl" (In reply to Carlos Konstanski from comment #3) > My USE flags: > > [ebuild U ~] dev-db/mariadb-10.4.6:0/18::gentoo [10.3.15:0/18::gentoo] > USE="backup kerberos odbc pam perl xml -bindist (-client-libs) -cracklib > -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc > -jemalloc -latin1 -libressl -mroonga -numa -oqgraph -profiling -rocksdb > (-selinux) -server -sphinx -sst-mariabackup -sst-rsync -static -systemd > -systemtap -tcmalloc -test -tokudb -yassl" I have the same issue. As for me - this issue depends on "-server" use flag. Created attachment 582490 [details, diff]
Fix "mysql/service_sha2.h: No such file or directory"
I attach a simple fix that adds ${CMAKE_CURRENT_SOURCE_DIR}/include in addition to ${CMAKE_CURRENT_BINARY_DIR}/include to INCLUDE_DIRECTORIES in CMakeLists.txt.
This makes the build find mysql/service_sha2.h also with -server.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c1b434333e109b516b56e76ecec1a58f8990385 commit 6c1b434333e109b516b56e76ecec1a58f8990385 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2019-08-01 00:28:45 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2019-08-01 00:28:45 +0000 dev-db/mariadb: Version bump: 10.4.7 10.3.17 10.2.26 10.1.41 and 5.5.65 Closes: https://bugs.gentoo.org/688482 Closes: https://bugs.gentoo.org/689412 Closes: https://bugs.gentoo.org/691090 Signed-off-by: Brian Evans <grknight@gentoo.org> dev-db/mariadb/Manifest | 6 + dev-db/mariadb/mariadb-10.1.41.ebuild | 889 ++++++++++++++++++++++++++++++ dev-db/mariadb/mariadb-10.2.26.ebuild | 974 +++++++++++++++++++++++++++++++++ dev-db/mariadb/mariadb-10.3.17.ebuild | 975 +++++++++++++++++++++++++++++++++ dev-db/mariadb/mariadb-10.4.7.ebuild | 992 ++++++++++++++++++++++++++++++++++ dev-db/mariadb/mariadb-5.5.65.ebuild | 831 ++++++++++++++++++++++++++++ 6 files changed, 4667 insertions(+) |