Bug 1731289

Summary: FTBFS: -D_GLIBCXX_ASSERTIONS
Product: Red Hat Enterprise Linux 8 Reporter: Michal Schorm <mschorm>
Component: galeraAssignee: Michal Schorm <mschorm>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Zachar <lzachar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: databases-maint
Target Milestone: rcKeywords: ZStream
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1899009 1899010 1899011 1899012 (view as bug list) Environment:
Last Closed: 2021-01-15 15:32:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1856812, 1899009, 1899010, 1899011, 1899012    

Description Michal Schorm 2019-07-18 23:16:31 UTC
This package is currently compiled without the GLIBCXX_ASSERTIONS flag:

| %build
| CPPFLAGS="%{optflags}"
| CPPFLAGS=`echo $CPPFLAGS| sed -e "s|-Wp,-D_GLIBCXX_ASSERTIONS||g" `
| export CPPFLAGS

When compiled with it, the build fails in a testing phase.

--------

There is a tracking issue on MariaDB upstream:
https://jira.mariadb.org/browse/MDEV-15389

In it, there is a suggested patch, but it doesn't work for Fedora, neither RHEL8:
https://jira.mariadb.org/browse/MDEV-15389?focusedCommentId=126364&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-126364

Comment 1 Michal Schorm 2020-07-16 00:32:28 UTC
Fixed by Galera upstream in 25.3.29 version.