Your message dated Mon, 02 Jun 2025 18:34:04 +0000
with message-id <e1um9z2-009v82...@fasolo.debian.org>
and subject line Bug#1106399: fixed in libmawk 1.0.4-4
has caused the Debian Bug report #1106399,
regarding libmawk: FTBFS when built in parallel
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 ow...@bugs.debian.org
immediately.)


-- 
1106399: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106399
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:libmawk
Version: 1.0.4-3
Severity: serious
Tags: ftbfs trixie sid patch

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

cd zfifo && make
make[5]: Entering directory '/<<PKGBUILDDIR>>/src/libmawk/regression/zfifo'
cp ../../zfifo.c .
cp ../../zfifo.c .
cp ../../zfifo.h .
cp ../../zfifo.h .
cp: cannot create regular file './zfifo.h': File exists
make[5]: *** [Makefile:11: zfifo.c] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/libmawk/regression/zfifo'
make[4]: *** [Makefile:55: zfifo/zfifo_test] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/libmawk/regression'
make[3]: *** [Makefile:118: test] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/libmawk'
make[2]: *** [Makefile:7: test] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:22: test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1 
returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Looks like a race condition where one make thread tries to create zfifo.c and 
another
make thread tries to create zfifo.h at the same time.

I'm not sure about the "file exists" error. Maybe it happens because the file 
zfifo.h is still
open by the first thread when the other tries to copy the same file.

I agree this is odd, because the package has not changed in a long time,
but I'm currently doing archive rebuilds with Intel machines (a little bit 
faster)
and I was able to reproduce this several times in a row (I can offer a VM to 
test
if you need it).

To fix this, I propose just splitting the target in two, one for zfifo.c and 
one for zfifo.h,
as in the attached patch.

Thanks.
--- a/src/libmawk/regression/zfifo/Makefile
+++ b/src/libmawk/regression/zfifo/Makefile
@@ -7,8 +7,10 @@ all: zfifo_test
 zfifo_test: $(OBJS)
        $(CC) $(OBJS) -o $@
 
-zfifo.c zfifo.h: ../../zfifo.c ../../zfifo.h
+zfifo.c: ../../zfifo.c
        cp ../../zfifo.c .
+
+zfifo.h: ../../zfifo.h
        cp ../../zfifo.h .
 
 zfifo.o: zfifo.c zfifo.h

--- End Message ---
--- Begin Message ---
Source: libmawk
Source-Version: 1.0.4-4
Done: Bdale Garbee <bd...@gag.com>

We believe that the bug you reported is fixed in the latest version of
libmawk, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1106...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bdale Garbee <bd...@gag.com> (supplier of updated libmawk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 02 Jun 2025 12:10:13 -0600
Source: libmawk
Architecture: source
Version: 1.0.4-4
Distribution: unstable
Urgency: high
Maintainer: Debian Electronics Team 
<pkg-electronics-de...@lists.alioth.debian.org>
Changed-By: Bdale Garbee <bd...@gag.com>
Closes: 1106399
Changes:
 libmawk (1.0.4-4) unstable; urgency=high
 .
   * fix parallel build race condition, closes: #1106399
Checksums-Sha1:
 ed67687be3a65a4e85c75aa79dcebecdcc638f0d 1993 libmawk_1.0.4-4.dsc
 038a86f65bbbf283c44ae3d0fc4e4285f952a8b5 3488 libmawk_1.0.4-4.debian.tar.xz
 953e4f47eea9cbbfeca26e43b64d07c66af41cfb 6316 libmawk_1.0.4-4_amd64.buildinfo
Checksums-Sha256:
 e5ff967597727fd588cd15d2060daf4ddf5fa210be536be366e1782ddb9ee867 1993 
libmawk_1.0.4-4.dsc
 7a4f78f0d690c9bb99b57c7cd3df737d430df5c53707b599088f1ad0ef193257 3488 
libmawk_1.0.4-4.debian.tar.xz
 269170d4472c2e6f3bb3a036b0f2b9a8b33fd648d4331074f2b2e0e4dc7ae3e1 6316 
libmawk_1.0.4-4_amd64.buildinfo
Files:
 84fdb0934c6306910b84cec4bf2c4fa9 1993 libs optional libmawk_1.0.4-4.dsc
 44cd2557b8e793aad6ced08f5d7eaeb2 3488 libs optional 
libmawk_1.0.4-4.debian.tar.xz
 7c37eee2247647c838ed6a93aa656c81 6316 libs optional 
libmawk_1.0.4-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEHguq2FwiMqGzzpLrtwRxBYMLn6EFAmg96jIACgkQtwRxBYML
n6HQBA//Vqhke2WTxYCuJRqRrac/xpGDl636JALQrxck3SklSWKUC2Rh8xfnx4vj
GQPAnt58xXdKy44m8YdspQE4aDxlxjIPf8+oYBZXo2ltLezrfoQItbST7gPm1jNH
QCdMeJmKqYzXcOa1Q+LDISwfMj60y1Bg5Qzca2BUmot5dEDKrcGJUTtzteWknSSJ
Rsrl7yq77krFcFnwpo+l6ZYG4zU4hydQt7FXteopPxik9omXIocX0GtYcCuiBNDv
t9E8uyMBaW40m6u08fq5TMX/LLJ3k7fE8bITqTUrDDXyemCbo3Bw/cjjX1IVQNYB
IeRuoleDglqnfjXq06r+Zv3Bi+DuRpmfA+7OSXl2ty+m8h5IUou3z4CB20115vho
KEmsT/3T5fyap00EPdTEY8J9RMLxD0PERsZEz9e1aienvY9jBgFD0CuBn5KtoFQc
s7dczJ8fp0DuqGzA/S16YKUO04r89NwRY+lP3DnkAbGB3zqkaGxq26eSPFXJCiU/
kiDEOleqR4jDbYrwIBYFnRade28XeJTGBYW4Y25zDx6oKg2nPj3iI01HSEn+Z0jl
KdsibL/VrH7tPJMbDZ96dBSZn7DAdrcGdz+0OEhtbLket4W5lnpcslmjV2PKryl/
pcl6pgn1sJT+rMSHHcAiCQqmhqf1zWssQuflTJsAe28A4S4LKFE=
=soaS
-----END PGP SIGNATURE-----

Attachment: pgp7jQxL5Hrdx.pgp
Description: PGP signature


--- End Message ---

Reply via email to