Your message dated Sun, 25 Dec 2022 21:50:12 +0000
with message-id <e1p9ysm-0028sd...@fasolo.debian.org>
and subject line Bug#1026339: fixed in go-gir-generator 2.2.0-1
has caused the Debian Bug report #1026339,
regarding go-gir-generator: FTBFS randomly because of Makefile bug
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.)


-- 
1026339: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026339
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:go-gir-generator
Version: 2.0.2-1
Severity: serious
Tags: bullseye ftbfs patch

Dear maintainer:

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

   dh_auto_build -a
        make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p out/src/pkg.deepin.io/gir/
cp -r  lib.in/gobject-2.0   out/src/pkg.deepin.io/gir/
cp: cannot create directory 'out/src/pkg.deepin.io/gir/': No such file or 
directory
make[1]: *** [Makefile:22: copyfile] Error 1
make[1]: *** Waiting for unfinished jobs....
cd src/gir-generator && go build  -o /<<PKGBUILDDIR>>/out/gir-generator
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned 
exit code 2
make: *** [debian/rules:8: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2

This happens because I was using parallel build and there is a bug
in the upstream Makefile:

build: glib-2.0 gobject-2.0 gio-2.0 gudev-1.0 copyfile

It may happen (and in fact it happened to me), that copyfile is tried
before the other dependencies of build, in which case not only
$(OUT_GIR_DIR) does not exist yet, but maybe also the things we want to
copy have not been created yet.

To reproduce the bug, try putting copyfile first, like this:

build: copyfile glib-2.0 gobject-2.0 gio-2.0 gudev-1.0

and try to build with a single CPU to force sequential order,
maybe this is enough:

export DEB_BUILD_OPTIONS=parallel=1; dpkg-buildpackage etc etc

The attached patch may help, but I've not tested it. You might want to
forward this upstream and apply the official patch, whatever it will be.

Thanks.
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,8 @@ export GOPATH = $(CURDIR):$(CURDIR)/out
 
 GENERATOR = out/gir-generator
 
-build: glib-2.0 gobject-2.0 gio-2.0 gudev-1.0 copyfile 
+build: glib-2.0 gobject-2.0 gio-2.0 gudev-1.0
+       $(MAKE) copyfile
 
 generator:
        mkdir -p $(OUT_GIR_DIR)

--- End Message ---
--- Begin Message ---
Source: go-gir-generator
Source-Version: 2.2.0-1
Done: Arun Kumar Pariyar <a...@debian.org>

We believe that the bug you reported is fixed in the latest version of
go-gir-generator, 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 1026...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Arun Kumar Pariyar <a...@debian.org> (supplier of updated go-gir-generator 
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, 26 Dec 2022 03:18:54 +0545
Source: go-gir-generator
Architecture: source
Version: 2.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Arun Kumar Pariyar <a...@debian.org>
Changed-By: Arun Kumar Pariyar <a...@debian.org>
Closes: 1026339
Changes:
 go-gir-generator (2.2.0-1) unstable; urgency=medium
 .
   * New upstream release.
   * debian/control: Bump Standards-Version to 4.6.2.
   * debian/copyright: Refresh copyright info.
   * Update path in install files.
   * Add vendor directory to debian/clean.
   * debian/patches: Refresh patches. (Closes: #1026339)
Checksums-Sha1:
 980c2c21d6fc30f621727adfef8bce82e383b408 2490 go-gir-generator_2.2.0-1.dsc
 519cdf1519fe45c21072d63674794195dfad1616 263451 
go-gir-generator_2.2.0.orig.tar.gz
 fdd096150200804b9ce2487de41ed4174af556bb 4836 
go-gir-generator_2.2.0-1.debian.tar.xz
 b53df3842083293e1a734261c1d3b1ff2a740c6e 16290 
go-gir-generator_2.2.0-1_amd64.buildinfo
Checksums-Sha256:
 d9b89027ad623ca46f7030c8c755f941bbeaca583942a8a2d35acc126f6ca41d 2490 
go-gir-generator_2.2.0-1.dsc
 c49bd39acf9eb9efc071c36ab5b0e9ed7211484ced4557b45b412a593a61979b 263451 
go-gir-generator_2.2.0.orig.tar.gz
 a975da1a855db3d39839c662184ba857baacadc1fe6a2002a3cbaba291914043 4836 
go-gir-generator_2.2.0-1.debian.tar.xz
 473ca352adce61c36114ba222893b384f92e9f9010fd2568254c493c84d437e8 16290 
go-gir-generator_2.2.0-1_amd64.buildinfo
Files:
 056c3a38be0e28b90ff1276d55c30309 2490 devel optional 
go-gir-generator_2.2.0-1.dsc
 a3680ab4d54e3eeefedc2364f607869e 263451 devel optional 
go-gir-generator_2.2.0.orig.tar.gz
 08c914405b8fb1cfb31bb2deabb8d803 4836 devel optional 
go-gir-generator_2.2.0-1.debian.tar.xz
 85a547d559e682c64fc67a7a0449f394 16290 devel optional 
go-gir-generator_2.2.0-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEE2lMFjb4VS9/L8WutS1Qq9wT3RRYFAmOowoQACgkQS1Qq9wT3
RRaCow//fdX4oh57P5trh2bCZNuDAMm0Cd4y+ek1IJlihdX7xxy9ldmit7kWOvxZ
aTaL7Mazxok30JSPF0TdisqJz0RE1gG0rfeWe1QogUhRLzYWO6O1/UmOjFeQrKsf
geAafosM+ZlB2q4MKw0HvZlLkL1RNiaWPWel+jYMqP2wVGkWpLijgkRENBVJtfpC
w+Wv9Lu0IoTnxq52xerrW0CxkRftmkPygJ3zlsOg9R3FoQTyjBsUD7gb+tIKFRPw
qDhj5mm4ZwQ8A4HcE70LJKqT+TzUGNQa41oFN1Hp5iQVCYuMnVMthrbE/C3IZGLD
gWhC5AbiIAIKkt+2OM1EUWLsdV+M5aoDG8Pjdne83JpJiYgqpIu+iOIqkuedsogS
cnLHAVBXnhE/4JNMAs0tGsSI0VBE3aa0KDG/PTAT7t5rqKCSbQ15iJHzepZHrKZr
85UMjDFzRsp/sezd0WkwBftRiRNtH51R+7eEJ/YIYgwVvHsVHi8EKbdKlBBeCFSs
Oom8vzpnfIJXSwUXLkZqw8TjRboboPAvZnWduoLHBXqORiVR5ZUUFsiD7gpr5Yw7
ksBFlcm5fKVP+mks/VUfzeJ1QMI81awAlchJHnU0f3XFus1x46mcXxp3RtL2xDth
TRQ047fsrSPSPZAjgvyzYCHF6u81LGzaNFlGgJfhMAmrL1HndjA=
=7aWA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to