Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932735 - dev-db/mariadb-10.11.7 - [gcc-15] /.../IDBPolicy.cpp: fatal error: .../convenience.hpp: No such file or directory
Summary: dev-db/mariadb-10.11.7 - [gcc-15] /.../IDBPolicy.cpp: fatal error: .../conven...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.85
  Show dependency tree
 
Reported: 2024-05-25 15:34 UTC by Toralf Förster
Modified: 2025-02-15 21:36 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.82 KB, text/plain)
2024-05-25 15:34 UTC, Toralf Förster
Details
dev-db:mariadb-10.11.7:20240525-135724.log.xz (dev-db:mariadb-10.11.7:20240525-135724.log.xz,24.68 KB, application/x-xz)
2024-05-25 15:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,204.06 KB, text/plain)
2024-05-25 15:34 UTC, Toralf Förster
Details
environment (environment,203.28 KB, text/plain)
2024-05-25 15:34 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1020 bytes, application/x-xz)
2024-05-25 15:34 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.13 KB, application/x-xz)
2024-05-25 15:34 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.23 KB, application/x-xz)
2024-05-25 15:34 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,54.73 KB, application/x-xz)
2024-05-25 15:34 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,43.63 KB, application/x-xz)
2024-05-25 15:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-05-25 15:34:21 UTC
too long lines were shrinked:

[506/2386] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_NO_CXX11_SCOPED_ENUMS -DHAVE_CONFIG_H -DHAVE_PSI_INTERFACE="" -D_FILE_OFFSET_BITS=64 -Didbdatafile_EXPORTS -I/var/tmp/portage/dev-db/mariadb-10.11.7/work/mysql/wsrep-lib/include -I/var/tmp/portage/dev-db/mariadb-10.
[507/2386] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_NO_CXX11_SCOPED_ENUMS -DHAVE_CONFIG_H -DHAVE_PSI_INTERFACE="" -D_FILE_OFFSET_BITS=64 -Didbdatafile_EXPORTS -I/var/tmp/portage/dev-db/mariadb-10.11.7/work/mysql/wsrep-lib/include -I/var/tmp/portage/dev-db/mariadb-10.
[508/2386] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_NO_CXX11_SCOPED_ENUMS -DHAVE_CONFIG_H -DHAVE_PSI_INTERFACE="" -D_FILE_OFFSET_BITS=64 -Didbdatafile_EXPORTS -I/var/tmp/portage/dev-db/mariadb-10.11.7/work/mysql/wsrep-lib/include -I/var/tmp/portage/dev-db/mariadb-10.
[509/2386] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_NO_CXX11_SCOPED_ENUMS -DHAVE_CONFIG_H -DHAVE_PSI_INTERFACE="" -D_FILE_OFFSET_BITS=64 -Didbdatafile_EXPORTS -I/var/tmp/portage/dev-db/mariadb-10.11.7/work/mysql/wsrep-lib/include -I/var/tmp/portage/dev-db/mariadb-10.
FAILED: storage/columnstore/columnstore/utils/idbdatafile/CMakeFiles/idbdatafile.dir/IDBPolicy.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_NO_CXX11_SCOPED_ENUMS -DHAVE_CONFIG_H -DHAVE_PSI_INTERFACE="" -D_FILE_OFFSET_BITS=64 -Didbdatafile_EXPORTS -I/var/tmp/portage/dev-db/mariadb-10.11.7/work/mysql/wsrep-lib/include -I/var/tmp/portage/dev-db/mariadb-10.11.7/work/m
/var/tmp/portage/dev-db/mariadb-10.11.7/work/mysql/storage/columnstore/columnstore/utils/idbdatafile/IDBPolicy.cpp:22:10: fatal error: boost/filesystem/convenience.hpp: No such file or directory
   22 | #include <boost/filesystem/convenience.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib-20240521-204002

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
GENTOO_VM=openjdk-bin-8  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.412_p08"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 025d9bda61a5e226dfc07bd955e967fda2c66743
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat May 25 13:33:43 2024 +0000

    2024-05-25 13:33:42 UTC

emerge -qpvO dev-db/mariadb
[ebuild  N    ] dev-db/mariadb-10.11.7  USE="backup columnstore extraengine galera innodb-lz4 innodb-lzo jdbc numa pam perl rocksdb server sphinx systemtap yassl -bindist -cracklib -debug -innodb-snappy -jemalloc -kerberos -latin1 -mroonga -odbc -oqgraph -profiling -s3 (-selinux) -sst-mariabackup -sst-rsync -static -systemd -tcmalloc -test -xml"
Comment 1 Toralf Förster gentoo-dev 2024-05-25 15:34:21 UTC
Created attachment 894359 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-25 15:34:23 UTC
Created attachment 894360 [details]
dev-db:mariadb-10.11.7:20240525-135724.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-05-25 15:34:24 UTC
Created attachment 894361 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-05-25 15:34:25 UTC
Created attachment 894362 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-25 15:34:26 UTC
Created attachment 894363 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-25 15:34:27 UTC
Created attachment 894364 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-25 15:34:28 UTC
Created attachment 894365 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-25 15:34:29 UTC
Created attachment 894366 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-05-25 15:34:30 UTC
Created attachment 894367 [details]
temp.tar.xz
Comment 10 Bearcat M. Şándor 2024-07-05 22:24:52 UTC
So, it looks as though convenience.hpp is part of a group of headers that was removed in Boost-1.85.

So all we can do is wait for mariadb to catch up?
Comment 11 Nate Edel 2024-08-20 23:01:15 UTC
I've hit this a few times, and _if_ you don't need ColumnStore as a storage type, then USE="-columnstore" will fix the issue.
Comment 12 François Bissey 2024-12-19 00:02:21 UTC
Now, that there is no boost-1.84 or lower in the tree, "columnstore" should really be disabled in mariadb. I spend some time this morning trying to fix things by using standard c++17's filesystem functionality only for it to fail because c++11 is enforced.
Upstream seems to be in no hurry to fix things. Between this and https://bugs.gentoo.org/861770 columnstore is really looking bad.
Comment 13 Larry the Git Cow gentoo-dev 2025-02-15 21:30:42 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=506b9c0380f5a89acd33d68aa388c5e4f6c16638

commit 506b9c0380f5a89acd33d68aa388c5e4f6c16638
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2025-02-14 17:15:42 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2025-02-15 21:27:27 +0000

    dev-db/mariadb: fix USE=columnstore with >=dev-libs/boost-1.85
    
    Boost 1.85 dropped some deprecated code from filesystem module, which is
    still used in MariaDB columnstore. However, older Boost versions are no
    longer available in ::gentoo, which effectively makes the MariaDB
    unbuildable if USE=columnstore is set.
    
    This fix applies a patch with port to Boost 1.85 to all available
    mariadb-10* ebuilds. The patch was submitted to upstream [1]. It was
    also necessary to apply C++17 fix, which was backported from commit [2].
    
    MariaDB currently installs bundled libthrift.so with USE=columnstore,
    which collides with dev-libs/thrift. This problem is solved with a
    conditional weak blocker for now.
    
    [1] https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/3407
    [2] https://github.com/mariadb-corporation/mariadb-columnstore-engine/commit/1973168e03d90d8c6da590df2f31982dd400ea0b
    
    Bug: https://bugs.gentoo.org/861770
    Bug: https://bugs.gentoo.org/932735
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 dev-db/mariadb/Manifest                | 1 +
 dev-db/mariadb/mariadb-10.11.10.ebuild | 7 ++++++-
 dev-db/mariadb/mariadb-10.11.11.ebuild | 7 ++++++-
 dev-db/mariadb/mariadb-10.6.15.ebuild  | 9 +++++++--
 dev-db/mariadb/mariadb-10.6.17.ebuild  | 9 +++++++--
 dev-db/mariadb/mariadb-10.6.20.ebuild  | 7 ++++++-
 dev-db/mariadb/mariadb-10.6.21.ebuild  | 7 ++++++-
 7 files changed, 39 insertions(+), 8 deletions(-)
Comment 14 Petr Vaněk gentoo-dev 2025-02-15 21:36:45 UTC
@sam, nice bait with the cc.