Skip to content

Commit a3e3225

Browse files
ottokgrooverdan
authored andcommitted
MCOL-4535: Clean up libreadline as ColumnStore no longer needs it
1 parent f82e697 commit a3e3225

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

debian/autobake-deb.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ then
2424
echo >> debian/control
2525
cat storage/columnstore/columnstore/debian/control >> debian/control
2626

27-
# From Debian Bullseye/Ubuntu Hirsute onwards libreadline is gone, so build with it
28-
# only on older releases where it is still available. This can be removed once
29-
# MCOL-4535 lands in MariaDB.
30-
if apt-cache madison libreadline-gplv2-dev | grep 'libreadline-gplv2-dev' >/dev/null 2>&1
31-
then
32-
sed 's/libpcre2-dev,/libpcre2-dev, libreadline-gplv2-dev [amd64],/' -i debian/control
33-
fi
34-
3527
# ColumnStore is explcitly disabled in the native build, so allow it now
3628
# when build it when triggered by autobake-deb.sh
3729
sed '/-DPLUGIN_COLUMNSTORE=NO/d' -i debian/rules

debian/salsa-ci.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ build:
3737
- apt-get update && eatmydata apt-get install --yes --no-install-recommends aptitude devscripts ccache equivs
3838
- cd ${WORKING_DIR}/${SOURCE_DIR}
3939
- eatmydata install-build-deps.sh .
40-
- |
41-
# From Debian Bullseye/Ubuntu Hirsute onwards libreadline is gone, so build with it
42-
# only on older releases where it is still available. This can be removed once
43-
# MCOL-4535 lands in MariaDB.
44-
if apt-cache madison libreadline-gplv2-dev | grep 'libreadline-gplv2-dev' >/dev/null 2>&1
45-
then
46-
apt-get install --yes libreadline-gplv2-dev
47-
fi
4840
- update-ccache-symlinks; ccache -z # Zero out ccache counters
4941
- while true; do sleep 600; echo "10 minutes passed" >&2; done & # Progress keeper since build is long and silent
5042
- debian/autobake-deb.sh |& tail -n 10000 # Keep Gitlab-CI output under 4 MB
@@ -142,12 +134,6 @@ blhc:
142134
# Prime the apt cache so later apt commands can run
143135
apt-get update
144136

145-
# Readline was removed from Debian Sid (and Bullseye) in Feb 2021. To be able to install older
146-
# versions of MariaDB that depend on it, fetch and install it from Buster.
147-
.test-install-readline-in-sid-for-backwards-compat: &test-install-readline-in-sid-for-backwards-compat |
148-
curl -O http://ftp.de.debian.org/debian/pool/main/r/readline5/libreadline5_5.2+dfsg-3+b13_amd64.deb
149-
apt install -y ./libreadline5_5.2+dfsg-3+b13_amd64.deb
150-
151137
.test-verify-initial: &test-verify-initial |
152138
dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed
153139
service mysql status || service mariadb status # Early MariaDB 10.5 only had 'mariadb'
@@ -602,7 +588,6 @@ mariadb.org-10.5 to mariadb-10.6 upgrade:
602588
- curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
603589
- echo 'deb http://mirror.one.com/mariadb/repo/10.5/debian sid main' > /etc/apt/sources.list.d/mariadb.list
604590
- apt-get update
605-
- *test-install-readline-in-sid-for-backwards-compat
606591
# The 10.5.9 relase is missing mariadb-plugin-columnstore, define all other packages but it to avoid hitting the error:
607592
# The following packages have unmet dependencies:
608593
# mariadb-plugin-columnstore : Depends: mariadb-server-10.5 (= 1:10.5.8+maria~sid) but 1:10.5.9+maria~sid is to be installed
@@ -642,7 +627,6 @@ mariadb.org-10.4 to mariadb-10.6 upgrade:
642627
- curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
643628
- echo 'deb http://mirror.one.com/mariadb/repo/10.4/debian sid main' > /etc/apt/sources.list.d/mariadb.list
644629
- apt-get update
645-
- *test-install-readline-in-sid-for-backwards-compat
646630
- apt-get install -y mariadb-server-10.4
647631
# MariaDB.org version of 10.4 and early 10.5 do not install an init file, so
648632
# it must be installed here manually
@@ -676,7 +660,6 @@ mariadb.org-10.3 to mariadb-10.6 upgrade:
676660
- curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
677661
- echo 'deb http://mirror.one.com/mariadb/repo/10.3/debian sid main' > /etc/apt/sources.list.d/mariadb.list
678662
- apt-get update
679-
- *test-install-readline-in-sid-for-backwards-compat
680663
- apt-get install -y mariadb-server-10.3
681664
# Verify initial state before upgrade
682665
- dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed
@@ -713,7 +696,6 @@ mariadb.org-10.2 to mariadb-10.6 upgrade:
713696
- curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
714697
- echo 'deb http://mirror.one.com/mariadb/repo/10.2/debian sid main' > /etc/apt/sources.list.d/mariadb.list
715698
- apt-get update
716-
- *test-install-readline-in-sid-for-backwards-compat
717699
- apt-get install -y mariadb-server-10.2
718700
# Verify initial state before upgrade
719701
- dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed

0 commit comments

Comments
 (0)