Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages /
mysql-workbench
Commits:
00077b82 by Christian Hesse at 2024-05-14T16:50:13+02:00
build workbench without LTO
Well, 8.0.36-3 was fine, 8.0.36-4 crashed on queries. Turned out this
was caused by building with LTO and latest toolchain.
Tell me if you have any clue with exactly caused this...
Let's disable LTO, but for workbench itself only.
- - - - -
8cf3a050 by Christian Hesse at 2024-05-14T16:54:13+02:00
update bundled gdal
- - - - -
ba0dcbba by Christian Hesse at 2024-05-14T17:05:12+02:00
upgpkg: 8.0.36-5: rebuild with recent changes
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = mysql-workbench
pkgdesc = A cross-platform, visual database design tool developed by
MySQL
pkgver = 8.0.36
- pkgrel = 4
+ pkgrel = 5
url = https://www.mysql.com/products/workbench/
arch = x86_64
license = GPL2
@@ -40,7 +40,7 @@ pkgbase = mysql-workbench
source =
https://cdn.mysql.com/Downloads/MySQL-8.4/mysql-8.4.0.tar.gz.asc
source =
https://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-8.4.0-src.tar.gz
source =
https://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-8.4.0-src.tar.gz.asc
- source = https://download.osgeo.org/gdal/3.8.5/gdal-3.8.5.tar.xz
+ source = https://download.osgeo.org/gdal/3.9.0/gdal-3.9.0.tar.xz
source =
https://downloads.sourceforge.net/project/boost/boost/1.77.0/boost_1_77_0.tar.bz2
source = 0001-mysql-workbench-no-check-for-updates.patch
source = 0002-disable-unsupported-operating-system-warning.patch
@@ -56,7 +56,7 @@ pkgbase = mysql-workbench
sha256sums = SKIP
sha256sums =
540b3d3b4d20ecf9f900bf55bba870718e50672f54fa2cdb124adf385796ce8b
sha256sums = SKIP
- sha256sums =
e8b4df2a8a7d25272f867455c0c230459545972f81f0eff2ddbf6a6f60dcb1e4
+ sha256sums =
577f80e9d14ff7c90b6bfbc34201652b4546700c01543efb4f4c3050e0b3fda2
sha256sums =
fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854
sha256sums =
cdf687f23bc6e8d52dbee9fa02b23d755e80f88476f0fc2e7c4c71cdfed3792f
sha256sums =
2d0f6dcf38f22e49ef7ab9de0230484f1ffac41b7ac40feaf5ef4538ae2f7a18
=====================================
PKGBUILD
=====================================
@@ -6,10 +6,10 @@
pkgname=mysql-workbench
pkgver=8.0.36
-pkgrel=4
+pkgrel=5
_mysql_version=8.4.0
_connector_version=8.4.0
-_gdal_version=3.8.5
+_gdal_version=3.9.0
_boost_version=1.77.0
# bump the antlr4 version as required, this is to match the jar file name
_antlr4_version=4.13.1
@@ -42,7 +42,7 @@
sha256sums=('634d8a66b6c2777491058a60aba8187e947e4c49a0e7ae83df312fa70714637c'
'SKIP'
'540b3d3b4d20ecf9f900bf55bba870718e50672f54fa2cdb124adf385796ce8b'
'SKIP'
- 'e8b4df2a8a7d25272f867455c0c230459545972f81f0eff2ddbf6a6f60dcb1e4'
+ '577f80e9d14ff7c90b6bfbc34201652b4546700c01543efb4f4c3050e0b3fda2'
'fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854'
'cdf687f23bc6e8d52dbee9fa02b23d755e80f88476f0fc2e7c4c71cdfed3792f'
'2d0f6dcf38f22e49ef7ab9de0230484f1ffac41b7ac40feaf5ef4538ae2f7a18'
@@ -137,6 +137,12 @@ build() {
make LD_LIBRARY_PATH="${srcdir}/install-bundle/usr/lib/"
DESTDIR="${srcdir}/install-bundle/" -C build-gdal install
ln -s '.' "${srcdir}/install-bundle/usr/include/gdal"
+ # work around crashes on query:
+ # disable LTO (link time optimization), but for last step (workbench
itself) only...
+ # TODO: drop when fixed!
+ export CFLAGS="${CFLAGS/-flto=auto/}"
+ export CXXFLAGS="${CXXFLAGS/-flto=auto}"
+
# Build MySQL Workbench itself with bundled libs
# include cstdint to fix building with gcc 13
# TODO: remove when fixed upstream
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/mysql-workbench/-/compare/31877bf1afdf6ac4aca2f709b3dc76ebc9b38e7b...ba0dcbba0a7695fff8c98aa81ad4bd94b716e722
--
This project does not include diff previews in email notifications.
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/mysql-workbench/-/compare/31877bf1afdf6ac4aca2f709b3dc76ebc9b38e7b...ba0dcbba0a7695fff8c98aa81ad4bd94b716e722
You're receiving this email because of your account on gitlab.archlinux.org.