Is https://github.com/MariaDB/server/pull/2010 a fix for this perhaps?
Do we have any takers for making 10.6 build with OpenSSL 3.0? On Thu, Feb 17, 2022 at 2:27 PM Sebastian Andrzej Siewior <[email protected]> wrote: > > Source: mariadb-10.6 > Version: 1:10.6.5-2 > Severity: important > Tags: bookworm sid > User: [email protected] > Usertags: ftbfs-3.0 > > Your package is failing to build using OpenSSL 3.0 with the > following error: > > | Installing system database... > | mysql-test-run: *** ERROR: Error executing mariadbd --bootstrap > | Could not install system database from > /<<PKGBUILDDIR>>/builddir/mysql-test/var/log/bootstrap.sql > | The /<<PKGBUILDDIR>>/builddir/mysql-test/var/log/bootstrap.log file > contains: > | /<<PKGBUILDDIR>>/builddir/sql/mariadbd --no-defaults > --disable-getopt-prefix-matching --bootstrap --basedir=/<<PKGBUILDDIR>> > --datadir=/<<PKGBUILDDIR>>/builddir/mysql-test/var/install.db > --plugin-dir=/<<PKGBUILDDIR>>/builddir/mysql-test/var/plugins > --default-storage-engine=myisam --loose-skip-plugin-feedback > --loose-skip-plugin-innodb --loose-skip-plugin-innodb-buffer-page-lru > --loose-skip-plugin-innodb-buffer-pool-stats --loose-skip-plugin-innodb-cmp > --loose-skip-plugin-innodb-cmp-per-index > --loose-skip-plugin-innodb-cmp-per-index-reset > --loose-skip-plugin-innodb-cmp-reset --loose-skip-plugin-innodb-cmpmem > --loose-skip-plugin-innodb-cmpmem-reset > --loose-skip-plugin-innodb-ft-being-deleted > --loose-skip-plugin-innodb-ft-config > --loose-skip-plugin-innodb-ft-default-stopword > --loose-skip-plugin-innodb-ft-deleted > --loose-skip-plugin-innodb-ft-index-cache > --loose-skip-plugin-innodb-ft-index-table > --loose-skip-plugin-innodb-sys-columns --loose-skip-plugin-innodb-sys-fields > --loose-skip-plugin-innodb-sys-foreign > --loose-skip-plugin-innodb-sys-foreign-cols > --loose-skip-plugin-innodb-sys-indexes --loose-skip-plugin-innodb-sys-tables > --loose-skip-plugin-innodb-sys-tablespaces > --loose-skip-plugin-innodb-sys-tablestats > --loose-skip-plugin-innodb-sys-virtual > --loose-skip-plugin-innodb-tablespaces-encryption > --loose-skip-plugin-partition --loose-skip-plugin-sequence > --loose-skip-plugin-thread-pool-groups --loose-skip-plugin-thread-pool-queues > --loose-skip-plugin-thread-pool-stats --loose-skip-plugin-thread-pool-waits > --loose-skip-plugin-unix-socket --loose-skip-plugin-user-variables > --loose-innodb --loose-innodb-log-file-size=10M --disable-sync-frm > --tmpdir=/<<PKGBUILDDIR>>/builddir/mysql-test/var/tmp/ --core-file --console > --character-set-server=latin1 > --lc-messages-dir=/<<PKGBUILDDIR>>/builddir/sql/share/ > --character-sets-dir=/<<PKGBUILDDIR>>/sql/share/charsets > | 2022-02-15 3:32:55 0 [Note] /<<PKGBUILDDIR>>/builddir/sql/mariadbd (server > 10.6.5-MariaDB-2) starting as process 2499235 ... > | 2022-02-15 3:32:55 0 [Warning] Could not increase number of max_open_files > to more than 1024 (request: 32326) > | 2022-02-15 3:32:55 0 [Warning] Changed limits: max_open_files: 1024 > max_connections: 151 (was 151) table_cache: 421 (was 2000) > | 2022-02-15 3:32:55 0 [Note] Plugin 'partition' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'SEQUENCE' is disabled. > | 2022-02-15 3:32:55 0 [Note] InnoDB: The first data file './ibdata1' did > not exist. A new tablespace will be created! > | 2022-02-15 3:32:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 > | 2022-02-15 3:32:55 0 [Note] InnoDB: Using transactional memory > | 2022-02-15 3:32:55 0 [Note] InnoDB: Number of pools: 1 > | 2022-02-15 3:32:55 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions > | 2022-02-15 3:32:55 0 [Note] InnoDB: Using liburing > | 2022-02-15 3:32:55 0 [Note] InnoDB: Initializing buffer pool, total size = > 134217728, chunk size = 134217728 > | 2022-02-15 3:32:55 0 [Note] InnoDB: Completed initialization of buffer pool > | 2022-02-15 3:32:55 0 [Note] InnoDB: Setting file './ibdata1' size to 12 > MB. Physically writing the file full; Please wait ... > | 2022-02-15 3:32:55 0 [Note] InnoDB: File './ibdata1' size is now 12 MB. > | 2022-02-15 3:32:55 0 [Note] InnoDB: Setting log file ./ib_logfile101 size > to 10485760 bytes > | 2022-02-15 3:32:55 0 [Note] InnoDB: Renaming log file ./ib_logfile101 to > ./ib_logfile0 > | 2022-02-15 3:32:55 0 [Note] InnoDB: New log file created, LSN=10317 > | 2022-02-15 3:32:55 0 [Note] InnoDB: Doublewrite buffer not found: creating > new > | 2022-02-15 3:32:55 0 [Note] InnoDB: Doublewrite buffer created > | 2022-02-15 3:32:55 0 [Note] InnoDB: 128 rollback segments are active. > | 2022-02-15 3:32:55 0 [Note] InnoDB: Creating shared tablespace for > temporary tables > | 2022-02-15 3:32:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. > Physically writing the file full; Please wait ... > | 2022-02-15 3:32:55 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. > | 2022-02-15 3:32:55 0 [Note] InnoDB: 10.6.5 started; log sequence number 0; > transaction id 3 > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_CMP_PER_INDEX' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_CMP' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'THREAD_POOL_WAITS' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'THREAD_POOL_QUEUES' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_BUFFER_PAGE_LRU' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'FEEDBACK' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_CMPMEM' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'THREAD_POOL_GROUPS' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is > disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_SYS_FOREIGN_COLS' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_BUFFER_POOL_STATS' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_SYS_FOREIGN' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is > disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_SYS_TABLES' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_SYS_VIRTUAL' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'user_variables' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is > disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'THREAD_POOL_STATS' is disabled. > | 2022-02-15 3:32:55 0 [Note] Plugin 'unix_socket' is disabled. > | *** stack smashing detected ***: terminated > | 220215 3:32:55 [ERROR] mysqld got signal 6 ; > | This could be because you hit a bug. It is also possible that this binary > | or one of the libraries it was linked against is corrupt, improperly built, > | or misconfigured. This error can also be caused by malfunctioning hardware. > | > | To report this bug, see https://mariadb.com/kb/en/reporting-bugs > | > | We will try our best to scrape up some info that will hopefully help > | diagnose the problem, but since we have already crashed, > | something is definitely wrong and this may fail. > | > | Server version: 10.6.5-MariaDB-2 > | key_buffer_size=134217728 > | read_buffer_size=131072 > | max_used_connections=0 > | max_threads=153 > | thread_count=1 > | It is possible that mysqld could use up to > | key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = > 467957 K bytes of memory > | Hope that's ok; if not, decrease some variables in the equation. > | > | Thread pointer: 0x55ef5812f328 > | Attempting backtrace. You can use the following information to find out > | where mysqld died. If you see no messages after this, something went > | terribly wrong... > | stack_bottom = 0x7fff807a16e8 thread_stack 0x49000 > | mysys/stacktrace.c:213(my_print_stacktrace)[0x55ef54cdd88e] > | sql/signal_handler.cc:226(handle_fatal_signal)[0x55ef54825ab8] > | ??:0(__restore_rt)[0x7fdd557ef200] > | ??:0(gsignal)[0x7fdd552fb891] > | ??:0(abort)[0x7fdd552e5536] > | ??:0(__fsetlocking)[0x7fdd5533cea8] > | ??:0(__fortify_fail)[0x7fdd553cb0a2] > | ??:0(__fortify_fail)[0x7fdd553cb080] > | mysys_ssl/my_md5.cc:92(my_md5)[0x55ef54a2d195] > | > /<<PKGBUILDDIR>>/builddir/sql/mariadbd(_ZN10TABLE_LIST8calc_md5EPc+0x33)[0x55ef546e77e3] > | > /<<PKGBUILDDIR>>/builddir/sql/mariadbd(_Z17mysql_create_viewP3THDP10TABLE_LIST21enum_view_create_mode+0x9e1)[0x55ef546d86f1] > | sql/table.cc:5653(TABLE_LIST::calc_md5(char*))[0x55ef546141b3] > | sql/sql_class.h:1220(Query_arena::memdup(void const*, unsigned > long))[0x55ef54617018] > | > /<<PKGBUILDDIR>>/builddir/sql/mariadbd(_Z9bootstrapP13st_mysql_file+0x23e)[0x55ef546173ee] > | > /<<PKGBUILDDIR>>/builddir/sql/mariadbd(_Z11mysqld_mainiPPc+0x12b6)[0x55ef545543f6] > | ??:0(__libc_start_main)[0x7fdd552e67ed] > | ??:0(_start)[0x55ef54548afa] > > Full build log > > https://people.debian.org/~bigeasy/openssl-rebuild-3/attempted/mariadb-10.6_10.6.5-2_amd64-2022-02-15T01:57:19Z > > For more information see: > https://www.openssl.org/docs/man3.0/man7/migration_guide.html > > Sebastian > > _______________________________________________ > pkg-mysql-maint mailing list > [email protected] > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-mysql-maint

