Skip to contentSkip to conversation

package/perl-dbd-mysql: bump to version 4.050

PATCH New Christopher McCrory 2 participants 6 messages Jan 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/perl-dbd-mysql: bump to version 4.050

version 4.046_01 fixes compiling against mariadb and also introduces a patch that brakes with cross compiling, see patch 0001.
Also the buildroot host-perl ModuleManager gets somthing wrong looking for libraries. Instead of checking in the build sysroot, it looks in the host systems /lib, /usr/lib, etc. For a successful build, the host system will also need the matching mysql libraries installed. Running ldd on mysql.so should show libmysqlclient, and libmariadb for MariaDB. If the result spits out an error about missing libraries, this is the reason.
This is probably the only builtroot package where this is an issue.

---
 ...001-Allow-cross-compile-on-buildroot.patch | 46 +++++++++++++++++++
 package/perl-dbd-mysql/perl-dbd-mysql.hash    |  4 +-
 package/perl-dbd-mysql/perl-dbd-mysql.mk      | 14 +++++-
 3 files changed, 60 insertions(+), 4 deletions(-)
 create mode 100644 package/perl-dbd-mysql/0001-Allow-cross-compile-on-buildroot.patch
package/perl-dbd-mysql/0001-Allow-cross-compile-on-buildroot.patch new file +46 -0
new file mode 100644
index 0000000000..0431e0092a
@@ -0,0 +1,46 @@
+From e6689e55fb56a83f227e59d3fa258553d32524fa Mon Sep 17 00:00:00 2001
+From: Christopher McCrory <[email protected]>
+Date: Thu, 2 Jan 2020 07:53:20 +0000
+Subject: [PATCH 1/1] Allow cross compile on buildroot
+
+starting in 4.046_01 Devel::CheckLib is used to check if all needed libraries
+are available. It is not cross compile friendly.  Disable it and hope for the
+best.
+
+Signed-off-by: Christopher McCrory <[email protected]>
+---
+ Makefile.PL | 11 +++++++----
+ 1 file changed, 7 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 0bf733c..668d722 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -9,7 +9,8 @@ use Config;
+ use Getopt::Long;
+ use ExtUtils::MakeMaker;
+ use Data::Dumper;
+-use Devel::CheckLib;
++# broken on cross compile
++# use Devel::CheckLib;
+ use File::Path;
+ use File::Copy;
+ use File::Basename;
+@@ -207,9 +208,11 @@ MSG
+ 
+ print "Checking if libs are available for compiling...\n";
+ 
+-assert_lib(
+-  LIBS => ($opt->{'embedded'} ? $opt->{'embedded'} : $opt->{libs}),
+-);
++print "Skipping, broken on cross compile\n";
++
++#assert_lib(
++#  LIBS => ($opt->{'embedded'} ? $opt->{'embedded'} : $opt->{libs}),
++#);
+ 
+ print "Looks good.\n\n";
+ 
+-- 
+2.18.1
+
package/perl-dbd-mysql/perl-dbd-mysql.hash +2 -2
index 51de476095..a2048ce5ff 100644
@@ -1,6 +1,6 @@
 # retrieved by scancpan from http://cpan.metacpan.org/
-md5    bdf4f4d899b8af29ebd8ebfb7438d05f DBD-mysql-4.046.tar.gz
-sha256 6165652ec959d05b97f5413fa3dff014b78a44cf6de21ae87283b28378daf1f7 DBD-mysql-4.046.tar.gz
+md5    29b1f61321d0892885ccfd0e7bc07f7f DBD-mysql-4.050.tar.gz
+sha256 4f48541ff15a0a7405f76adc10f81627c33996fbf56c95c26c094444c0928d78 DBD-mysql-4.050.tar.gz
 
 # computed by scancpan
 sha256 7a9ba29702b957805cfa8aa63bca43175625824263232dbade0010d385ab888c LICENSE
package/perl-dbd-mysql/perl-dbd-mysql.mk +12 -2
index 98521a78cf..c17788598c 100644
@@ -4,9 +4,19 @@
 #
 ################################################################################
 
-PERL_DBD_MYSQL_VERSION = 4.046
+# version 4.046_01 fixes compiling against mariadb and also introduces a patch
+# that brakes with cross compiling, see patch 0001.
+# Also the buildroot host-perl ModuleManager gets somthing wrong looking for
+# libraries. Instead of checking in the build sysroot, it looks in the host
+# systems /lib, /usr/lib, etc.  For a successful build, the host system will
+# also need the matching mysql libraries installed.  Running ldd on mysql.so
+# should show libmysqlclient, and libmariadb for MariaDB. If the result spits
+# out an error about missing libraries, this is the reason.
+# This is probably the only builtroot package where this is an issue.
+
+PERL_DBD_MYSQL_VERSION = 4.050
 PERL_DBD_MYSQL_SOURCE = DBD-mysql-$(PERL_DBD_MYSQL_VERSION).tar.gz
-PERL_DBD_MYSQL_SITE = $(BR2_CPAN_MIRROR)/authors/id/C/CA/CAPTTOFU
+PERL_DBD_MYSQL_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DV/DVEEDEN
 PERL_DBD_MYSQL_DEPENDENCIES = \
 	host-perl-dbi \
 	mysql
Signature · 1 line
2.18.1
#1 lore raw

PATCH 1/2 package/perl-dbd-mysql: bump to version 4.050

Quoted 11 lines · Christopher McCrory

version 4.046_01 fixes compiling against mariadb and also introduces a patch
that brakes with cross compiling, see patch 0001.
Also the buildroot host-perl ModuleManager gets somthing wrong looking for libraries. Instead of checking in the build sysroot, it looks in the host systems /lib, /usr/lib, etc. For a successful build, the host system will also need the matching mysql libraries installed. Running ldd on mysql.so should show libmysqlclient, and libmariadb for MariaDB. If the result spits out an error about missing libraries, this is the reason.
This is probably the only builtroot package where this is an issue.

Quoted 5 lines

-

I am successfully using this on a raspberrypi 3 using MariaDB. php-mysql works there also.

For MariaDB I also needed::

chrismcc at centos8-lxc git]$ cat external/packages/fixup-mariadb/ fixup-mariadb.mk
################################################################################
#

# fixup-mariadb
#
################################################################################

ifeq ($(BR2_PACKAGE_FIXUP_MARIADB),y)

define MARIADB_POST_INSTALL_STAGING_MORE

        $(RM) -v $(STAGING_DIR)/usr/bin/mariadb_config

endef

MARIADB_POST_INSTALL_STAGING_HOOKS += MARIADB_POST_INSTALL_STAGING_MORE

define MARIADB_POST_INSTALL_MORE
$(RM) -r $(TARGET_DIR)/usr/data
endef

MARIADB_POST_INSTALL_TARGET_HOOKS += MARIADB_POST_INSTALL_MORE

endif

$(eval $(generic-package))

Signature · 7 lines
Christopher McCrory
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200102/2b063690/attachment.html>
#2 lore raw

PATCH 1/2 package/perl-dbd-mysql: bump to version 4.050

Quoted 10 lines · On Thu, 2 Jan 2020 03:55:43 -0800 Christopher McCrory <[email protected]>…

For MariaDB I also needed::

chrismcc at centos8-lxc git]$ cat external/packages/fixup-mariadb/ fixup-mariadb.mk
################################################################################
#

# fixup-mariadb
#
################################################################################
Quoted 7 lines

ifeq ($(BR2_PACKAGE_FIXUP_MARIADB),y)

define MARIADB_POST_INSTALL_STAGING_MORE

        $(RM) -v $(STAGING_DIR)/usr/bin/mariadb_config

endef

MARIADB_POST_INSTALL_STAGING_HOOKS += MARIADB_POST_INSTALL_STAGING_MORE

Why is it necessary to remove this file from staging? This doesn't seem right.

Quoted 3 lines

define MARIADB_POST_INSTALL_MORE
$(RM) -r $(TARGET_DIR)/usr/data
endef

What is this removing? Why is it important? Do we want to have this removal in mariadb.mk in upstream Buildroot?

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 1/2 package/perl-dbd-mysql: bump to version 4.050

Quoted 17 lines · Thomas Petazzoni
Quoted 5 lines · On Thu, 2 Jan 2020 03:55:43 -0800 Christopher McCrory <[email protected]>…

For MariaDB I also needed::

chrismcc at centos8-lxc git]$ cat external/packages/fixup-mariadb/ fixup-mariadb.mk

################################################################################

Quoted 4 lines

#

# fixup-mariadb
#

################################################################################

Quoted 3 lines

ifeq ($(BR2_PACKAGE_FIXUP_MARIADB),y)

Quoted 10 lines
Quoted 5 lines

define MARIADB_POST_INSTALL_STAGING_MORE

        $(RM) -v $(STAGING_DIR)/usr/bin/mariadb_config

endef

MARIADB_POST_INSTALL_STAGING_HOOKS += MARIADB_POST_INSTALL_STAGING_MORE

Why is it necessary to remove this file from staging? This doesn't seem right.

When selecting mariadb to provide mysql instead of oracle-mysql, every package in buildroot that wants to link against libmysqlclient will fail.

mysql (from both providers) creates mysql_config, a fancy shell script to output the same as pkgconf would. -I/foo/bar, -L/baz, etc. MariaDB also creates mariadb_config which does the same thing, but instead of a shell script, is written in C. mariadb's mysql_config looks for mariadb_config and if it exists, uses it. When cross compiling for a different architecture, this will fail and most output is blank. If it does not exist, the rest of the shell script is used and outputs the correct bits -

chrismcc at centos8-lxc bin]$ ./mariadb_config
-bash: ./mariadb_config: cannot execute binary file: Exec format error [chrismcc at centos8-lxc bin]$ file ./mariadb_config ./mariadb_config: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 4.19.0, stripped

[chrismcc at centos8-lxc rpi3]$ ./staging/usr/bin/mysql_config
Usage: ./staging/usr/bin/mysql_config [OPTIONS] Options:
--cflags
[-I/home/chrismcc/git/rpi3/staging/usr/include/mysql -I/home/chrismcc/git/rpi3/staging/usr/include/mysql/.. ]
--include
[-I/home/chrismcc/git/rpi3/staging/usr/include/mysql
-I/home/chrismcc/git/rpi3/staging/usr/include/mysql/..]
--libs [-L/home/chrismcc/git/rpi3/staging/usr/lib/mysql
-lmariadb -lpthread -lz -ldl -lm -lssl -lcrypto]
--libs_r [-L/home/chrismcc/git/rpi3/staging/usr/lib/mysql
-lmariadb -lpthread -lz -ldl -lm -lssl -lcrypto]
etc.

[chrismcc at centos8-lxc rpi3]$ cp target/usr/bin/mariadb_config staging/usr/bin/ -vb
'target/usr/bin/mariadb_config' -> 'staging/usr/bin/mariadb_config'

[chrismcc at centos8-lxc rpi3]$ ./staging/usr/bin/mysql_config ./staging/usr/bin/mysql_config: line 100:
/home/chrismcc/git/rpi3/staging/usr/bin/mariadb_config: cannot execute binary file: Exec format error ./staging/usr/bin/mysql_config: line 101:
/home/chrismcc/git/rpi3/staging/usr/bin/mariadb_config: cannot execute binary file: Exec format error ./staging/usr/bin/mysql_config: line 102:
/home/chrismcc/git/rpi3/staging/usr/bin/mariadb_config: cannot execute binary file: Exec format error ./staging/usr/bin/mysql_config: line 103:
/home/chrismcc/git/rpi3/staging/usr/bin/mariadb_config: cannot execute binary file: Exec format error ./staging/usr/bin/mysql_config: line 104:
/home/chrismcc/git/rpi3/staging/usr/bin/mariadb_config: cannot execute binary file: Exec format error ./staging/usr/bin/mysql_config: line 105:
/home/chrismcc/git/rpi3/staging/usr/bin/mariadb_config: cannot execute binary file: Exec format error ./staging/usr/bin/mysql_config: line 106:
/home/chrismcc/git/rpi3/staging/usr/bin/mariadb_config: cannot execute binary file: Exec format error
Usage: ./staging/usr/bin/mysql_config [OPTIONS]
Options:

        --cflags         []
        --include        []
        --libs           []
        --libs_r         []
        --plugindir      []
        --socket         []
        --port           []
        --version        []

--libmysqld-libs [-L/home/chrismcc/git/rpi3/staging/usr/lib/mysql
-lmysqld]
--variable=VAR VAR is one of:
pkgincludedir
[/home/chrismcc/git/rpi3/staging/usr/include/mysql]
pkglibdir
[/home/chrismcc/git/rpi3/staging/usr/lib/mysql]

                plugindir     []

make rsyslog
...
aking all in plugins/ommysql
CC ommysql_la-ommysql.lo
ommysql.c:37:10: fatal error: mysql.h: No such file or directory

 #include <mysql.h>
          ^~~~~~~~~

compilation terminated.
make[4]: *** [Makefile:553: ommysql_la-ommysql.lo] Error 1 make[3]: *** [Makefile:918: all-recursive] Error 1 make[2]: *** [Makefile:745: all] Error 2
make[1]: *** [package/pkg-generic.mk:260:
/home/chrismcc/git/rpi3/build/rsyslog-8.1911.0/.stamp_built] Error 2
make: *** [Makefile:23: _all] Error 2

grep -r mysql_config buildroot/package/should show a few others. Other packages would have it in the source code.

So, When selecting mariadb to provide mysql instead of oracle-mysql, every package in buildroot that wants to link against libmysqlclient via mysql_config will fail.
$(RM) -v $(STAGING_DIR)/usr/bin/mariadb_config
fixes that.

I suspect the autobuilders never select the alternate for a virtual package. mysql, libssl, etc. Otherwise this should have shown up earlier.

Quoted 8 lines
Quoted 3 lines

define MARIADB_POST_INSTALL_MORE
$(RM) -r $(TARGET_DIR)/usr/data
endef

What is this removing? Why is it important? Do we want to have this removal in mariadb.mk in upstream Buildroot?

Its extra from all the tests that make install spews out. Yes it could be in the mariasd.mk file.

Quoted 8 lines

Best regards,

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Signature · 7 lines
Christopher McCrory
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200102/da27a95d/attachment.html>
#4 lore raw

PATCH 2/2 package/bash: bump to version 5.0.11

In reply to Christopher McCrory

bump tarball to 5.0 and download patches to get to 5.0.11 add hook to apply patches

---
 package/bash/0001-bash44-019.patch |  54 ---------
 package/bash/0002-bash44-020.patch | 181 -----------------------------
 package/bash/0003-bash44-021.patch |  61 ----------
 package/bash/0004-bash44-022.patch |  65 -----------
 package/bash/0005-bash44-023.patch |  56 ---------
 package/bash/bash.hash             |  16 ++-
 package/bash/bash.mk               |  25 +++-
 7 files changed, 38 insertions(+), 420 deletions(-)
 delete mode 100644 package/bash/0001-bash44-019.patch
 delete mode 100644 package/bash/0002-bash44-020.patch
 delete mode 100644 package/bash/0003-bash44-021.patch
 delete mode 100644 package/bash/0004-bash44-022.patch
 delete mode 100644 package/bash/0005-bash44-023.patch
package/bash/0001-bash44-019.patch deleted +0 -54
deleted file mode 100644
index b3d2f331b6..0000000000
@@ -1,54 +0,0 @@
-From https://ftp.gnu.org/gnu/bash/bash-4.4-patches/bash44-019
-
-Signed-off-by: Peter Korsgaard <[email protected]>
-
-			     BASH PATCH REPORT
-			     =================
-
-Bash-Release:	4.4
-Patch-ID:	bash44-019
-
-Bug-Reported-by:	Kieran Grant <[email protected]>
-Bug-Reference-ID:	<[email protected]>
-Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2018-02/msg00002.html
-
-Bug-Description:
-
-With certain values for PS1, especially those that wrap onto three or more
-lines, readline will miscalculate the number of invisible characters,
-leading to crashes and core dumps.
-
-Patch (apply with `patch -p0'):
-
-*** bash-4.4.18/lib/readline/display.c	2016-07-28 14:49:33.000000000 -0400
---- b/lib/readline/display.c	2018-02-03 19:19:35.000000000 -0500
-***************
-*** 772,776 ****
-        wadjust = (newlines == 0)
-  		  ? prompt_invis_chars_first_line
-! 		  : ((newlines == prompt_lines_estimate) ? wrap_offset : prompt_invis_chars_first_line);
-  
-        /* fix from Darin Johnson <[email protected]> for prompt string with
---- b/788,794 ----
-        wadjust = (newlines == 0)
-  		  ? prompt_invis_chars_first_line
-! 		  : ((newlines == prompt_lines_estimate)
-! 		  	? (wrap_offset - prompt_invis_chars_first_line)
-! 		  	: 0);
-  
-        /* fix from Darin Johnson <[email protected]> for prompt string with
-*** bash-4.4/patchlevel.h	2016-06-22 14:51:03.000000000 -0400
---- b/patchlevel.h	2016-10-01 11:01:28.000000000 -0400
-***************
-*** 26,30 ****
-     looks for to find the patch level (for the sccs version string). */
-  
-! #define PATCHLEVEL 18
-  
-  #endif /* _PATCHLEVEL_H_ */
---- b/26,30 ----
-     looks for to find the patch level (for the sccs version string). */
-  
-! #define PATCHLEVEL 19
-  
-  #endif /* _PATCHLEVEL_H_ */
package/bash/0002-bash44-020.patch deleted +0 -181

181 lines not on this page · raw message

package/bash/0003-bash44-021.patch deleted +0 -61

61 lines not on this page · raw message

package/bash/0004-bash44-022.patch deleted +0 -65

65 lines not on this page · raw message

package/bash/0005-bash44-023.patch deleted +0 -56

56 lines not on this page · raw message

package/bash/bash.hash +14 -2
index 951bcf5850..76b12803f9 100644
@@ -1,4 +1,16 @@
 # Locally calculated after checking pgp signature from
-# http://ftp.gnu.org/gnu/bash/bash-4.4.18.tar.gz.sig
-sha256 604d9eec5e4ed5fd2180ee44dd756ddca92e0b6aa4217bbab2b6227380317f23	bash-4.4.18.tar.gz
+# http://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz.sig
+# Primary key fingerprint: 7C01 35FB 088A AF6C 66C6  50B9 BB58 69F0 64EA 74AB
+sha256 b4a80f2ac66170b2913efbfb9f2594f1f76c7b1afd11f799e22035d63077fb4d bash-5.0.tar.gz
+sha256 f2fe9e1f0faddf14ab9bfa88d450a75e5d028fedafad23b88716bd657c737289 bash50-001
+sha256 87e87d3542e598799adb3e7e01c8165bc743e136a400ed0de015845f7ff68707 bash50-002
+sha256 4eebcdc37b13793a232c5f2f498a5fcbf7da0ecb3da2059391c096db620ec85b bash50-003
+sha256 14447ad832add8ecfafdce5384badd933697b559c4688d6b9e3d36ff36c62f08 bash50-004
+sha256 5bf54dd9bd2c211d2bfb34a49e2c741f2ed5e338767e9ce9f4d41254bf9f8276 bash50-005
+sha256 d68529a6ff201b6ff5915318ab12fc16b8a0ebb77fda3308303fcc1e13398420 bash50-006
+sha256 17b41e7ee3673d8887dd25992417a398677533ab8827938aa41fad70df19af9b bash50-007
+sha256 eec64588622a82a5029b2776e218a75a3640bef4953f09d6ee1f4199670ad7e3 bash50-008
+sha256 ed3ca21767303fc3de93934aa524c2e920787c506b601cc40a4897d4b094d903 bash50-009
+sha256 d6fbc325f0b5dc54ddbe8ee43020bced8bd589ddffea59d128db14b2e52a8a11 bash50-010
+sha256 2c4de332b91eaf797abbbd6c79709690b5cbd48b12e8dfe748096dbd7bf474ea bash50-011
 sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903	COPYING
package/bash/bash.mk +24 -1
index 7fb7192e2c..b9a7840c19 100644
@@ -4,12 +4,35 @@
 #
 ################################################################################
 
-BASH_VERSION = 4.4.18
+BASH_VERSION = 5.0
 BASH_SITE = $(BR2_GNU_MIRROR)/bash
 BASH_DEPENDENCIES = ncurses readline host-bison
 BASH_CONF_OPTS = --with-installed-readline --without-bash-malloc
 BASH_LICENSE = GPL-3.0+
 BASH_LICENSE_FILES = COPYING
+BASH_PATCH = \
+	bash-5.0-patches/bash50-001 \
+	bash-5.0-patches/bash50-002 \
+	bash-5.0-patches/bash50-003 \
+	bash-5.0-patches/bash50-004 \
+	bash-5.0-patches/bash50-005 \
+	bash-5.0-patches/bash50-006 \
+	bash-5.0-patches/bash50-007 \
+	bash-5.0-patches/bash50-008 \
+	bash-5.0-patches/bash50-009 \
+	bash-5.0-patches/bash50-010 \
+	bash-5.0-patches/bash50-011
+
+# The patches do not have an extension that support/scripts/apply-patches.sh
+# recognizes, so do manually.
+define BASH_PATCH_MANUALLY
+	for patch in $(BASH_PATCH) ; do \
+	 patch -p0 -d $(@D) -i $(BASH_DL_DIR)/$${patch/bash-5.0-patches/}; \
+	 echo "$${patch}" >> $(@D)/.applied_patches_list; \
+	done
+endef
+
+BASH_PRE_PATCH_HOOKS += BASH_PATCH_MANUALLY
 
 BASH_CONF_ENV += \
 	ac_cv_rl_prefix="$(STAGING_DIR)" \
Signature · 1 line
2.18.1
#5 lore raw

PATCH 1/2 package/perl-dbd-mysql: bump to version 4.050

In reply to Christopher McCrory

Hello,

+Fran?ois Perrad in Cc.

Quoted 6 lines · On Thu, 2 Jan 2020 11:43:46 +0000 Christopher McCrory <[email protected]>…
package/perl-dbd-mysql/0001-Allow-cross-compile-on-buildroot.patch new file +0 -0
new file mode 100644
index 0000000000..0431e0092a

package/perl-dbd-mysql/0001-Allow-cross-compile-on-buildroot.patch line 10

Quoted 10 lines
package/perl-dbd-mysql/0001-Allow-cross-compile-on-buildroot.patch new file +10 -0
@@ -0,0 +1,46 @@
+From e6689e55fb56a83f227e59d3fa258553d32524fa Mon Sep 17 00:00:00 2001
+From: Christopher McCrory <[email protected]>
+Date: Thu, 2 Jan 2020 07:53:20 +0000
+Subject: [PATCH 1/1] Allow cross compile on buildroot
+
+starting in 4.046_01 Devel::CheckLib is used to check if all needed libraries
+are available. It is not cross compile friendly.  Disable it and hope for the
+best.
+
+Signed-off-by: Christopher McCrory <[email protected]>

Has this issue been reported upstream? Can we make the Makefile.PL smarter and avoid this check when cross-compiling ?

package/perl-dbd-mysql/perl-dbd-mysql.mk line 8

Quoted 11 lines
package/perl-dbd-mysql/perl-dbd-mysql.mk +2 -1
index 98521a78cf..c17788598c 100644
@@ -4,9 +4,19 @@
 #
 ################################################################################
 
-PERL_DBD_MYSQL_VERSION = 4.046
+# version 4.046_01 fixes compiling against mariadb and also introduces a patch
+# that brakes with cross compiling, see patch 0001.

This comment is not relevant in the .mk file.

package/perl-dbd-mysql/perl-dbd-mysql.mk

Quoted 4 lines
package/perl-dbd-mysql/perl-dbd-mysql.mk +4 -0
+# Also the buildroot host-perl ModuleManager gets somthing wrong looking for
+# libraries. Instead of checking in the build sysroot, it looks in the host
+# systems /lib, /usr/lib, etc.  For a successful build, the host system will
+# also need the matching mysql libraries installed.

This is not acceptable for Buildroot, and needs to be fixed before we can apply this version bump.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com