Your message dated Mon, 17 Apr 2023 13:05:11 +0200
with message-id <[email protected]>
and subject line mysql-5.5 has been superseded by mariadb (and mysql-8.0)
has caused the Debian Bug report #857059,
regarding FTBFS: parallel build -j
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.)
--
857059: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857059
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mysql-5.5
Version: 5.5.54-0+deb8u1
Severity: normal
Tags: patch
Building mysql-5.5 with -j4 failed to build as there are 2 errors in the
debian/rules file. Patches attached.
-- System Information:
Debian Release: 8.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (90, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
>From 11f261ecf1258aa7c755e6bf27cd49571ac1179a Mon Sep 17 00:00:00 2001
Message-Id: <11f261ecf1258aa7c755e6bf27cd49571ac1179a.1488896981.git.h...@univention.de>
In-Reply-To: <cf7e5ca200c884bf017a215026a1276d8bdb10cc.1488896981.git.h...@univention.de>
References: <cf7e5ca200c884bf017a215026a1276d8bdb10cc.1488896981.git.h...@univention.de>
From: Philipp Hahn <[email protected]>
Date: Tue, 7 Mar 2017 15:21:31 +0100
Subject: [PATCH 2/3] d/rules: Fix parallel build 2
Organization: Univention GmbH, Bremen, Germany
debian/rules contains the following Make rules:
> binary: binary-indep binary-arch
When dpkg-buildpackage runs, the following processes will run in
parallel:
> # make -f debian/rules -n binary
> dh binary-indep --parallel
> dh binary-arch --parallel
> dh binary --parallel
The all will then run the following targets in parallel:
> override_dh_auto_install: auto_install-stamp
> override_dh_install:
> dh_movefiles
which fails as they each move file already used by other targets.
Just remove the legacy "binary" rule as "dh" will do the right thing for
"binary", "binary-arch" and "binary-indep" internally.
---
debian/rules | 2 --
1 file changed, 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 3c47f89..3f7a23a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -247,8 +247,6 @@ override_dh_makeshlibs-arch:
override_dh_builddeb:
dh_builddeb -- -Zxz
-binary: binary-indep binary-arch
-
get-orig-source:
uscan --force-download --verbose --download-current-version
--
2.1.4
>From cf7e5ca200c884bf017a215026a1276d8bdb10cc Mon Sep 17 00:00:00 2001
Message-Id: <cf7e5ca200c884bf017a215026a1276d8bdb10cc.1488892085.git.h...@univention.de>
From: Philipp Hahn <[email protected]>
Date: Tue, 7 Mar 2017 14:01:02 +0100
Subject: [PATCH] d/rules: Fix parallel build
Organization: Univention GmbH, Bremen, Germany
debian/rules contains the following Make rules:
> override_dh_auto_build: build-stamp build-pic-stamp
> build-stamp:
> @echo "RULES.$@"
> [ -f $(EXPORTED_SOURCE_TARBALL) ] || tar -zcf $(EXPORTED_SOURCE_TARBALL) \
> --exclude=debian . \
> --transform="s,^\./,mysql-5.5/,"
> cd $(builddir) && $(MAKE)
>
> build-pic-stamp:
> @echo "RULES.$@"
> cd $(builddir) && $(MAKE) -C scripts
> cd $(builddir) && $(MAKE) -C libmysqld
> touch $@
The rule "override_dh_auto_build" will build "build-stamp" and
"build-pic-stamp", but the "tar" process from "build-stamp" will fail to
create an atomic TAR file as the "build-pic-stamp" already modifies the
sub-directories in parallel.
Both jobs must only start the parallel build after the TAR has been
created.
---
debian/rules | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index f696bc1..3c47f89 100755
--- a/debian/rules
+++ b/debian/rules
@@ -138,15 +138,17 @@ configure-stamp configure-pic-stamp:
override_dh_auto_build: build-stamp build-pic-stamp
-build-stamp:
- @echo "RULES.$@"
+build-tar $(EXPORTED_SOURCE_TARBALL):
[ -f $(EXPORTED_SOURCE_TARBALL) ] || tar -zcf $(EXPORTED_SOURCE_TARBALL) \
--exclude=debian . \
--transform="s,^\./,mysql-5.5/,"
+
+build-stamp: $(EXPORTED_SOURCE_TARBALL)
+ @echo "RULES.$@"
cd $(builddir) && $(MAKE)
touch $@
-build-pic-stamp:
+build-pic-stamp: $(EXPORTED_SOURCE_TARBALL)
@echo "RULES.$@"
cd $(builddir) && $(MAKE) -C scripts
cd $(builddir) && $(MAKE) -C libmysqld
--
2.1.4
--- End Message ---
--- Begin Message ---
Version: 5.5.46-0+deb8u1+rm
mysql-5.5 was last released with Debian 8 (jessie) in April 2015
and was removed from the Debian archive afterwards.
It has been superseded by mariadb (and mysql-8.0, but that does not get
into a stable release).
See https://bugs.debian.org/811158 for details on the removal.
I'm closing the remaining bug reports now.
Andreas
--- End Message ---