Your message dated Mon, 10 May 2021 21:39:40 -0700
with message-id 
<CAOU6tADCqRtED8Em4yovgF9M+HGgjNVYG_FgD0x=ox7NdCMG=q...@mail.gmail.com>
and subject line Re: [debian-mysql] Bug#981347: Bug#981347: Bug#981347: 
mariadb-10.5 FTBFS on kfreebsd
has caused the Debian Bug report #981347,
regarding mariadb-10.5 FTBFS on kfreebsd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
981347: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981347
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mariadb-10.5
Version: 1:10.5.8-3
Severity: important
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hello,

ATM, mariadb-10.5 FTBFS on kfreebsd with the following error:

cd /<<PKGBUILDDIR>>/builddir/sql && /usr/bin/c++ -DDBUG_TRACE -DHAVE_CONFIG_H 
-DHAVE_EVENT_SCHEDULER -DHAVE_OPENSSL -DHAVE_POOL_OF_THREADS -DMYSQL_SERVER 
-I/<<PKGBUILDDIR>>/wsrep-lib/include -I/<<PKGBUILDDIR>>/wsrep-lib/wsrep-API/v26 
-I/<<PKGBUILDDIR>>/builddir/include -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/sql -I/<<PKGBUILDDIR>>/builddir/sql -I/<<PKGBUILDDIR>>/tpool 
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time 
-D_FORTIFY_SOURCE=2 -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -O2 
-g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing 
-Wno-uninitialized -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall 
-Wextra -Wformat-security -Wno-format-truncation -Wno-init-self 
-Wno-nonnull-compare -Wno-unused-parameter -Woverloaded-virtual 
-Wnon-virtual-dtor -Wvla -Wwrite-strings   -Wdate-time -D_FORTIFY_SOURCE=2 
-std=gnu++11 -o CMakeFiles/sql.dir/rpl_tblmap.cc.o -c 
/<<PKGBUILDDIR>>/sql/rpl_tblmap.cc
/<<PKGBUILDDIR>>/storage/maria/libmarias3/src/marias3.c: In function 
‘curl_needs_openssl_locking’:
/<<PKGBUILDDIR>>/storage/maria/libmarias3/src/marias3.c:71:37: error: 
‘RTLD_DEFAULT’ undeclared (first use in this function)
   71 |     openssl_set_id_callback = dlsym(RTLD_DEFAULT, 
"CRYPTO_set_id_callback");
      |                                     ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/maria/libmarias3/src/marias3.c:71:37: note: each 
undeclared identifier is reported only once for each function it appears in

This is happening because #define _GNU_SOURCE is not defined for that
platforme (see dlopen() manpage)

the CMake scripts are only defining it in case of Linux or GNU.

Could you please try to define this in the kfreebsd (glibc)?

Kind regards,
Laurent Bigonville


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

--- End Message ---
--- Begin Message ---
Ok, thanks for the follow-up, I'll close this bug then.

Please file new bugs if you have new insight into how to improve the
kFreeBSD builds.

On Mon, May 10, 2021 at 11:22 AM <[email protected]> wrote:
>
> On Mon, May 10, 2021 at 08:00:00AM -0700, Otto Kekäläinen wrote:
> > Hello!
> >
> > If you want to help improve MariaDB in Debian in the open source way,
> > you could for example:
> >
> > - submit your suggestion for a fix as a Merge Request at
> > https://salsa.debian.org/mariadb-team/mariadb-10.5
> > - help with documentation/testing to improve our understanding on what
> > exactly the bug is about
>
> I diagnosed and submitted a patch, which was merged a couple months ago.
> https://salsa.debian.org/mariadb-team/mariadb-10.5/-/merge_requests/3

--- End Message ---

Reply via email to