Hello Otto,
I wanted to update you on the current progress for the MariaDB port for
PARISC.

As we discussed earlier, I started by disabling all java related components
for the MariaDB server. This work was done on top of the latest
MariaDB-server repository from GitLab, rather than the version currently
available in the package manager.

*Summary: *At this stage the build completes successfully on PARISC, and
most tests pass. The remaining failures appear to be platform specific test
mismatches, primarily related to error code differences, assumptions around
SSL and huge pages.

*Summary of changes I made so far:*
diff --git a/debian/control b/debian/control
index 480921b86d2..6354450b7ad 100644
--- a/debian/control
+++ b/debian/control
@@ -11,10 +11,10 @@ Build-Depends:
  dpkg-dev (>= 1.22.5),
  bison,
  cmake,
- cracklib-runtime <!nocheck>,
- default-jdk,
+ cracklib-runtime [!hppa],
+ default-jdk [!hppa],
  gdb <!nocheck>,
- libaio-dev [linux-any],
+ libaio-dev [!hppa],
  libboost-dev,
  libbz2-dev,
  libcrack2-dev (>= 2.9.0),
@@ -22,23 +22,23 @@ Build-Depends:
  libcurl4-openssl-dev | libcurl4-dev,
  libedit-dev,
  libedit-dev:native,
- libfmt-dev (>= 10.1.1+ds1-4) | libfmt-dev (<< 10),
- libjemalloc-dev [linux-any],
- libjudy-dev,
+ libfmt-dev (>= 10.1.1+ds1-4) | libfmt-dev (<< 10) [!hppa],
+ libjemalloc-dev [!hppa],
+ libjudy-dev [!hppa],
  libkrb5-dev,
  liblz4-dev,
  liblzma-dev,
- liblzo2-dev,
+ liblzo2-dev [!hppa],
  libncurses-dev,
  libnet-ssleay-perl <!nocheck>,
  libnuma-dev [linux-any],
  libpam0g-dev,
  libpcre2-dev,
- libsnappy-dev,
+ libsnappy-dev [!hppa],
  libssl-dev,
  libssl-dev:native,
  libsystemd-dev [linux-any],
- liburing-dev [linux-any],
+ liburing-dev [!hppa],
  libxml2-dev,
  libzstd-dev (>= 1.3.3),
  lsb-release,
@@ -825,6 +825,7 @@ Description: Connect storage engine for MariaDB server

 Package: mariadb-plugin-connect-jdbc
 Architecture: all
+Build-Profiles: <!hppa>
 Depends:
  default-jre-headless,
  ${misc:Depends},
@@ -877,6 +878,7 @@ Description: RocksDB storage engine for MariaDB server

 Package: mariadb-plugin-oqgraph
 Architecture: any
+Build-Profiles: <!hppa>
 Depends:
  mariadb-server-core (= ${server:Version}),
  ${misc:Depends},
@@ -1041,6 +1043,7 @@ Description: LZMA compression support in the server
and storage engines

 Package: mariadb-plugin-provider-lzo
 Architecture: any
+Build-Profiles: <!hppa>
 Depends:
  mariadb-server-core (= ${server:Version}),
  ${misc:Depends},
@@ -1056,6 +1059,7 @@ Description: LZO compression support in the server
and storage engines

 Package: mariadb-plugin-provider-snappy
 Architecture: any
+Build-Profiles: <!hppa>
 Depends:
  mariadb-server-core (= ${server:Version}),
  ${misc:Depends},
diff --git a/debian/rules b/debian/rules
index 7744795630f..fdb9cee2f83 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,6 +55,21 @@ ifeq (32,$(DEB_HOST_ARCH_BITS))
     CMAKEFLAGS += -DPLUGIN_ROCKSDB=NO
 endif

+# Java is missing on hppa (so disabling all java dep)
+ifneq (,$(filter hppa,$(DEB_HOST_ARCH)))
+  CMAKEFLAGS += \
+ -DWITH_JAVA=OFF \
+ -DWITH_CONNECTOR_J=OFF \
+ -DCONNECT_WITH_JDBC=NO \
+ -DWITH_LIBAIO=OFF \
+ -DWITH_URING=OFF \
+ -DWITH_JEMALLOC=NO \
+ -DWITH_SYSTEMD=no \
+ -DWITH_SNAPPY=NO \
+ -DWITH_LZO=NO \
+ -DWITH_JUDY=NO \
+   -DHAVE_PCRE2_POSIX=0
+endif
+
 # Fix compilation errors like "relocation truncated to fit: GPREL16
against symbol `wsrep_debug'"
 ifeq ($(DEB_HOST_ARCH),alpha)
     export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-relax
@@ -107,15 +122,20 @@ endif
     -DCOMPILATION_COMMENT="-- Please help get to 10k stars at
https://github.com/MariaDB/Server"; \
     -DMYSQL_SERVER_SUFFIX="-$(DEB_VERSION_REVISION) from $(DEB_VENDOR)" \
     -DSYSTEM_TYPE="debian-$(DEB_HOST_GNU_SYSTEM)" \
+    -DWITH_SSL=system \
+    -DOPENSSL_ROOT_DIR=/usr \
     -DBUILD_CONFIG=mysql_release \
     -DCONC_DEFAULT_CHARSET=utf8mb4 \
     -DPLUGIN_AWS_KEY_MANAGEMENT=NO \
     -DPLUGIN_COLUMNSTORE=NO \
     -DWITH_NUMA=AUTO \
     -DIGNORE_AIO_CHECK=ON \
-    -DWITH_URING=ON \
-    -DWITH_LIBAIO=ON \
-    -DWITH_INNODB_SNAPPY=ON \
+    $(if $(filter hppa,$(DEB_HOST_ARCH)), \
+     -DWITH_URING=OFF -DWITH_LIBAIO=OFF, \
+     -DWITH_URING=ON  -DWITH_LIBAIO=ON) \
+    $(if $(filter hppa,$(DEB_HOST_ARCH)), \
+     -DWITH_INNODB_SNAPPY=OFF,\
+ -DWITH_INNODB_SNAPPY=ON) \
     -DHAVE_SYSTEM_LIBFMT_EXITCODE=0 \
     -DWITH_SBOM=NO \
     -DDEB=$(DEB_VENDOR)



*With this I am getting the output of:*





















































*main.ctype_utf8mb4_uca_allkeys400        w5 [ pass ]
 128256main.ddl_i18n_koi8r                      w23 [ pass ]
 84340main.gis-rtree                           w19 [ pass ]
3259main.gis-precise                         w7 [ pass ]
 641437main.upgrade_MDEV-23102-1                w29 [ pass ]
 114369main.upgrade_MDEV-23102-2                w25 [ pass ]
 108717main.ctype_utf8mb4_uca_allkeys520        w21 [ pass ]
 181903main.ssl_connect                         w12 [ pass ]
 296756worker[11] Test still running:
main.ctype_gbk_export_importmain.mysqldump                           w32 [
retry-fail ]        Test ended at 2026-01-28 12:28:07CURRENT_TEST:
main.mysqldump---
/home/soumyajyotii/build/mariadb-server/mysql-test/main/mysqldump.result
 2026-01-07 20:04:52.137901241 +0000+++
/home/soumyajyotii/build/mariadb-server/mysql-test/main/mysqldump.reject
 2026-01-28 12:28:04.292643535 +0000@@ -5753,7 +5753,7 @@ proc one DROP
DATABASE bug25717383;-mariadb-dump: Got error: 2005: "Unknown server host
'unknownhost'" when trying to connect+mariadb-dump: Got error: 2002: "Can't
connect to server on 'unknownhost'" when trying to connect Usage:
mariadb-dump [OPTIONS] database [tables] OR     mariadb-dump [OPTIONS]
--databases DB1 [DB2 DB3...] OR     mariadb-dump [OPTIONS]
--all-databasesResult length mismatch - skipping
'/home/soumyajyotii/build/mariadb-server/builddir/mysql-test/var/32/log/main.mysqldump/'Test
main.mysqldump has failed 2 times, no more
retries!main.ctype_gbk_export_import             w11 [ pass ]  1417042Only
 1360  of 1357
completed.--------------------------------------------------------------------------The
servers were restarted 275 timesSpent 25492.846 of 2328 seconds executing
testcasesCompleted: Failed 6/1155 tests, 99.48% were successful.Failing
test(s): main.large_pages main.ssl_autoverify main.mysqldumpThe log files
in var/log may give you some hint of what went wrong.If you want to report
this error, MariaDB's bug tracker is found athttps://jira.mariadb.org
<https://jira.mariadb.org>Errors/warnings were found in logfiles during
server shutdown after running thefollowing sequence(s) of tests:
main.ssl_autoverify190 tests were skipped, 80 by the test
itself.mysql-test-run: *** ERROR: there were failing test casesmake[1]: ***
[debian/rules:167: override_dh_auto_test] Error 1make[1]: Leaving directory
'/home/soumyajyotii/build/mariadb-server'make: *** [debian/rules:258:
binary] Error 2dpkg-buildpackage: error: debian/rules binary subprocess
failed with exit status 2*


I will move forward with addressing the remaining test case issues and then
prepare a commit for submission to MariaDB Server on GitLab.

Please let me know your opinion on this approach, if you would like me to
proceed differently or focus on any specific area.
Thank you,
Soumyajyotii Ssarkar

Reply via email to