Bug 2045271
| Summary: | community-mysql: FTBFS in Fedora rawhide/f36 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
| Component: | community-mysql | Assignee: | Michal Schorm <mschorm> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | rawhide | CC: | hhorak, ljavorsk, mmuzila, mschorm | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2022-02-01 01:45:51 UTC | Type: | --- | ||||||||
| 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: | 1992484, 2041896 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fedora Release Engineering
2022-01-25 16:18:05 UTC
Created attachment 1853846 [details]
build.log
file build.log too big, will only attach last 32768 bytes
Created attachment 1853847 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 1853848 [details]
state.log
Currently I'm stuck with:
-------------------------
[ 79%] Building CXX object sql/CMakeFiles/sql_main.dir/auth/sql_security_ctx.cc.o
cd /builddir/build/BUILD/mysql-8.0.28/redhat-linux-build/sql && /usr/bin/g++ -DHAVE_CONFIG_H -DLZ4_DISABLE_DEPRECATE_WARNINGS -DMYSQL_SERVER -DRAPIDJSON_NO_SIZETYPEDEFINE -DRAPIDJSON_SCHEMA_USE_INTERNALREGEX=0 -DRAPIDJSON_SCHEMA_USE_STDREGEX=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_USE_MATH_DEFINES -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/mysql-8.0.28/redhat-linux-build -I/builddir/build/BUILD/mysql-8.0.28/redhat-linux-build/include -I/builddir/build/BUILD/mysql-8.0.28 -I/builddir/build/BUILD/mysql-8.0.28/include -isystem /builddir/build/BUILD/mysql-8.0.28/extra/rapidjson/include -isystem /usr/include/editline -isystem /builddir/build/BUILD/mysql-8.0.28/include/boost_1_73_0/patches -isystem /builddir/build/BUILD/mysql-8.0.28/boost/boost_1_73_0 -std=c++17 -fno-omit-frame-pointer -ftls-model=initial-exec -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wformat-security -Wvla -Wundef -Wmissing-format-attribute -Woverloaded-virtual -Wcast-qual -Wimplicit-fallthrough=5 -Wstringop-truncation -Wsuggest-override -Wmissing-include-dirs -Wextra-semi -Wlogical-op -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fPIC -Wshadow=local -MD -MT sql/CMakeFiles/sql_main.dir/auth/sql_security_ctx.cc.o -MF CMakeFiles/sql_main.dir/auth/sql_security_ctx.cc.o.d -o CMakeFiles/sql_main.dir/auth/sql_security_ctx.cc.o -c /builddir/build/BUILD/mysql-8.0.28/sql/auth/sql_security_ctx.cc
In file included from /usr/include/c++/12/unordered_map:47,
from /usr/include/c++/12/functional:61,
from /builddir/build/BUILD/mysql-8.0.28/boost/boost_1_73_0/boost/container_hash/hash.hpp:20,
from /builddir/build/BUILD/mysql-8.0.28/boost/boost_1_73_0/boost/functional/hash.hpp:6,
from /builddir/build/BUILD/mysql-8.0.28/boost/boost_1_73_0/boost/unordered/unordered_set.hpp:18,
from /builddir/build/BUILD/mysql-8.0.28/boost/boost_1_73_0/boost/unordered_set.hpp:17,
from /builddir/build/BUILD/mysql-8.0.28/boost/boost_1_73_0/boost/graph/adjacency_list.hpp:20:
/usr/include/c++/12/bits/unordered_map.h: In instantiation of 'class std::unordered_multimap<const Auth_id, const Auth_id, role_id_hash>':
/builddir/build/BUILD/mysql-8.0.28/sql/auth/sql_auth_cache.cc:2181:12: required from here
/usr/include/c++/12/bits/unordered_map.h:1256:49: error: no type named 'mapped_type' in 'class std::_Hashtable<const Auth_id, std::pair<const Auth_id, const Auth_id>, std::allocator<std::pair<const Auth_id, const Auth_id> >, std::__detail::_Select1st, std::equal_to<const Auth_id>, role_id_hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, false> >'
1256 | typedef typename _Hashtable::mapped_type mapped_type;
| ^~~~~~~~~~~
I've pushed my current work-in-progress to my fork: https://src.fedoraproject.org/fork/mschorm/rpms/community-mysql/commits/GCC-12 "fedpkg mockbuild" will bring you to the error in the previous comment. This is fixed now in the new GCC release (libgcc-12.0.1-0.3) When using your new branch with GCC-12 commits it's building. Scratch-build: https://koji.fedoraproject.org/koji/taskinfo?taskID=82058340 Rebase prepared in PR: https://src.fedoraproject.org/rpms/community-mysql/pull-request/7 Fixed. Successful build: https://koji.fedoraproject.org/koji/taskinfo?taskID=82204372 |