Date: Wed, 31 Jul 2024 17:47:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280541] databases/mysql80-server: build of 8.0.39 fails with assertion failure Message-ID: <bug-280541-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280541 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 = <=3D 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 <=3D 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 <=3D 4' 289 | static_assert(allocator_metadata_size <=3D 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<unsi= gned 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<unsi= gned 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=3D1 --- 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<unsi= gned int, unsigned int>' 455 | return allocator_metadata::meta_2(data); | ~~~~~~~~~~~~~~~~~~~~^ --- storage/example/CMakeFiles/example.dir/all --- /usr/bin/c++ -fPIC -std=3Dc++17 -fno-omit-frame-pointer -ftls-model=3Diniti= al-exec -O2 -pipe -fPIC -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=3Dc++17 -Wall -Wextra -Wformat-security -Wvla -Wund= ef -Woverloaded-virtual -Wcast-qual -Wno-null-conversion -Wno-unused-private-f= ield -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=3Dc++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<unsi= gned int, unsigned int>' 466 | auto offset =3D 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<unsi= gned 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<unsi= gned 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<unsi= gned 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<unsi= gned int, unsigned int>' 668 | auto offset =3D 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280541-7788>