[Bug 280541] databases/mysql80-server: build of 8.0.39 fails with assertion failure
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Jul 2024 17:47:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280541 Bug ID: 280541 Summary: databases/mysql80-server: build of 8.0.39 fails with assertion failure Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: d8zNeCFG@aon.at Assignee: joneum@FreeBSD.org Flags: maintainer-feedback?(joneum@FreeBSD.org) Scenario: - FreeBSD 14 stable @ 4f5440f2abe9 with minor local patches - i386 - ports latest - using portmaster to upgrade ports - portmaster tries to upgrade mysql80-server to 8.0.39 Result: - The build fails in storage/innobase/include/detail/ut0new.h: In file included from /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut0new.h:37: /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:289:17: error: static assertion failed due to requirement 'allocator_metadata_size <= max_metadata_size': Aligned_alloc_impl provides a strong guarantee of only up to Aligned_alloc_impl::metadata_size bytes. 289 | static_assert(allocator_metadata_size <= max_metadata_size, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:451:17: note: in instantiation of template class 'ut::detail::Aligned_alloc_metadata<unsigned int, unsigned int>' requested here 451 | static inline allocator_metadata::meta_2_t datalen( | ^ /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:289:41: note: expression evaluates to '8 <= 4' 289 | static_assert(allocator_metadata_size <= max_metadata_size, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:425:27: error: no member named 'meta_1' in 'ut::detail::Aligned_alloc_metadata<unsigned int, unsigned int>' 425 | allocator_metadata::meta_1(ret.first, ret.second); | ~~~~~~~~~~~~~~~~~~~~^ --- storage/example/CMakeFiles/example.dir/all --- --- plugin_output_directory/ha_example.so --- --- storage/innobase/CMakeFiles/innodb_zipdecompress.dir/all --- /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:426:27: error: no member named 'meta_2' in 'ut::detail::Aligned_alloc_metadata<unsigned int, unsigned int>' 426 | allocator_metadata::meta_2(ret.first, size); | ~~~~~~~~~~~~~~~~~~~~^ --- storage/example/CMakeFiles/example.dir/all --- [ 26%] Linking CXX shared module ../../plugin_output_directory/ha_example.so cd /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/.build/storage/example && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/example.dir/link.txt --verbose=1 --- storage/innobase/CMakeFiles/innodb_zipdecompress.dir/all --- /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:455:32: error: no member named 'meta_2' in 'ut::detail::Aligned_alloc_metadata<unsigned int, unsigned int>' 455 | return allocator_metadata::meta_2(data); | ~~~~~~~~~~~~~~~~~~~~^ --- storage/example/CMakeFiles/example.dir/all --- /usr/bin/c++ -fPIC -std=c++17 -fno-omit-frame-pointer -ftls-model=initial-exec -O2 -pipe -fPIC -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++17 -Wall -Wextra -Wformat-security -Wvla -Wundef -Woverloaded-virtual -Wcast-qual -Wno-null-conversion -Wno-unused-private-field -Wconditional-uninitialized -Wdeprecated -Wextra-semi -Wheader-hygiene -Wnon-virtual-dtor -Wundefined-reinterpret-cast -Wrange-loop-analysis -Winconsistent-missing-destructor-override -Winconsistent-missing-override -Wshadow-field -ffunction-sections -fdata-sections -O2 -pipe -fPIC -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++17 -DNDEBUG -shared -o ../../plugin_output_directory/ha_example.so CMakeFiles/example.dir/ha_example.cc.o -lpthread ../../libservices/libmysqlservices.a ../../archive_output_directory/libzlib.a -lpthread --- storage/innobase/CMakeFiles/innodb_zipdecompress.dir/all --- /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:466:39: error: no member named 'meta_1' in 'ut::detail::Aligned_alloc_metadata<unsigned int, unsigned int>' 466 | auto offset = allocator_metadata::meta_1(data); | ~~~~~~~~~~~~~~~~~~~~^ /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:593:25: error: no member named 'meta_1' in 'ut::detail::Aligned_alloc_metadata<unsigned int, unsigned int>' 593 | allocator_metadata::meta_1(ret.first, ret.second); | ~~~~~~~~~~~~~~~~~~~~^ /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:594:25: error: no member named 'meta_2' in 'ut::detail::Aligned_alloc_metadata<unsigned int, unsigned int>' 594 | allocator_metadata::meta_2(ret.first, size); | ~~~~~~~~~~~~~~~~~~~~^ /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:655:32: error: no member named 'meta_2' in 'ut::detail::Aligned_alloc_metadata<unsigned int, unsigned int>' 655 | return allocator_metadata::meta_2(pfs_metadata::deduce_pfs_meta(data)); | ~~~~~~~~~~~~~~~~~~~~^ /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/databases/mysql80-server/work/mysql-8.0.39/storage/innobase/include/detail/ut/aligned_alloc.h:668:39: error: no member named 'meta_1' in 'ut::detail::Aligned_alloc_metadata<unsigned int, unsigned int>' 668 | auto offset = allocator_metadata::meta_1(pfs_meta); | ~~~~~~~~~~~~~~~~~~~~^ Expected result: - The build should succeed (as it does on amd64) Note: - Maybe this is related to bug 274918. -- Martin -- You are receiving this mail because: You are the assignee for the bug.