Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

MariaDB 12.0.2-r2 fails to build with Boost 1.90.0 but succe

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
Nreal
Guru
Guru
Posts: 319
Joined: Tue Jan 06, 2009 6:40 am
Contact:
Contact Nreal
Website

MariaDB 12.0.2-r2 fails to build with Boost 1.90.0 but succe

  • Quote

Post by Nreal » Mon Mar 09, 2026 7:53 am

Hello,

I encountered a build failure when compiling dev-db/mariadb-12.0.2-r2 on Gentoo when dev-libs/boost-1.90.0 is installed. The build succeeds if Boost is downgraded to 1.88.0.

Environment
Gentoo Linux (amd64)

MariaDB:

Code: Select all

dev-db/mariadb-12.0.2-r2
Boost versions tested:

1.90.0 → build fails

1.88.0 → build succeeds

Problem

During the MariaDB build process, the CMake build system attempts to download Boost 1.88.0 from:

https://archives.boost.io/release/1.88. ... 8_0.tar.gz

The relevant error in the build log is:

Code: Select all

CMake Error at external_boost-stamp/download-external_boost.cmake:163 (message):
  Each download failed!

error: downloading 'https://archives.boost.io/release/1.88.0/source/boost_1_88_0.tar.gz' failed
status_code: 6
status_string: "Could not resolve hostname"
However, the real issue appears to be that the build system insists on Boost 1.88.0, even though Boost 1.90.0 is already installed on the system.

Observations

With Boost 1.90.0 installed, the MariaDB build attempts to fetch Boost 1.88.0 using CMake’s ExternalProject.

With Boost 1.88.0 installed, the build proceeds normally and completes successfully.

The system already had Boost 1.90.0 installed from a world update.

Portage also reports preserved Boost 1.88.0 libraries used by existing binaries.

Example preserved libraries message:

existing preserved libs:

Code: Select all

>>> package: dev-libs/boost-1.90.0
  - /usr/lib64/libboost_*.so.1.88.0
Workaround

Downgrading Boost resolves the issue:

Code: Select all

emerge -1 =dev-libs/boost-1.88*
emerge -1 dev-db/mariadb
After that:

Code: Select all

emerge @preserved-rebuild
[Administrator edit: added [code] tags to preserve output layout. -[profile=161739]Hu[/profile]]
Top
grknight
Retired Dev
Retired Dev
Posts: 2564
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Mon Mar 09, 2026 12:26 pm

You should file this as a bug
Top
Post Reply

2 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic