Your message dated Wed, 01 Jan 2025 09:20:50 +0000
with message-id <e1tsuui-00aqzv...@fasolo.debian.org>
and subject line Bug#1017796: fixed in magit-forge-el 0.4.5-1
has caused the Debian Bug report #1017796,
regarding magit-forge-el: FTBFS if apt does not have deb-src lines configured
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.)


-- 
1017796: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017796
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: magit-forge-el
Version: 0.3.1-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu kinetic ubuntu-patch

Hi Matteo,

The magit-forge-el package was failing to build in Ubuntu, because
debian/rules relies on apt-cache showsrc to figure out the paths for magit
and closql on the installed system, but the Ubuntu build environment doesn't
have deb-src entries configured (nor should it need to).

This approach is also buggy, because it looks for the most recent version of
the source package in the cache, when what you ACTUALLY want to know is the
version of the binary package that has been installed as a build-dependency.

The attached patch uses dpkg -l instead of apt-cache to query the installed
system.  I have uploaded this change to Ubuntu, where it has built
successfully.

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru magit-forge-el-0.3.1/debian/rules magit-forge-el-0.3.1/debian/rules
--- magit-forge-el-0.3.1/debian/rules   2022-02-25 15:00:33.000000000 -0800
+++ magit-forge-el-0.3.1/debian/rules   2022-08-20 09:51:08.000000000 -0700
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
-CLOSQL_VER = $(shell apt-cache showsrc closql-el | grep "Version:" | sort -r | 
head -n1 | cut -f2 -d ' ' | cut -f1 -d '-')
-MAGIT_VER = $(shell apt-cache showsrc magit | grep "Version:" | sort -r | head 
-n1 | cut -f2 -d ' ' | cut -f1 -d '-')
+CLOSQL_VER = $(shell dpkg -l elpa-closql | awk '/^ii/ { print $$3 }' | cut -f1 
-d '-')
+MAGIT_VER = $(shell dpkg -l elpa-magit | awk '/^ii/ { print $$3 }' | cut -f1 
-d '-')
 
 LPATH =  -L /usr/share/emacs/site-lisp/elpa-src/closql-$(CLOSQL_VER)
 LPATH += -L /usr/share/emacs/site-lisp/elpa-src/magit-$(MAGIT_VER)

--- End Message ---
--- Begin Message ---
Source: magit-forge-el
Source-Version: 0.4.5-1
Done: Matteo F. Vescovi <m...@debian.org>

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

Debian distribution maintenance software
pp.
Matteo F. Vescovi <m...@debian.org> (supplier of updated magit-forge-el 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: Sun, 29 Dec 2024 14:42:36 +0100
Source: magit-forge-el
Architecture: source
Version: 0.4.5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Emacsen team <debian-emacsen@lists.debian.org>
Changed-By: Matteo F. Vescovi <m...@debian.org>
Closes: 1017796 1068042
Changes:
 magit-forge-el (0.4.5-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1017796, #1068042)
   * debian/magit-forge-pkg.el: bump min versions for deps
Checksums-Sha1:
 6c8533233a1bfa73e6dde28b9e35d7b2632f40b7 2187 magit-forge-el_0.4.5-1.dsc
 cdf154a1e8ddbecb682d9fe6ecb12af5f61f7d57 93840 magit-forge-el_0.4.5.orig.tar.xz
 6dc506d68442152cbf0be0513e73db60c235d2ab 3216 
magit-forge-el_0.4.5-1.debian.tar.xz
 d95d3492dd33db2bed45f6044168aa5be834e64c 12877 
magit-forge-el_0.4.5-1_source.buildinfo
Checksums-Sha256:
 b2e748f69cee16af9a57355d6cad975308c1920521451754f82e1d7375926f9d 2187 
magit-forge-el_0.4.5-1.dsc
 b87d0b55845c28bb78e7263adb7d5e8292fd09f38171db9c73a0d51604e9033b 93840 
magit-forge-el_0.4.5.orig.tar.xz
 4406b5cd5fa8e5f1f26f76c75aead7966846586ccde905b1c7bb6560d6e5ea98 3216 
magit-forge-el_0.4.5-1.debian.tar.xz
 258356157e332ab6b3cec2546cec191c75fd6c3955ea7e3963ee9d4f15fb7724 12877 
magit-forge-el_0.4.5-1_source.buildinfo
Files:
 56d88a996da464a0b7c82ad44bc7e9f0 2187 lisp optional magit-forge-el_0.4.5-1.dsc
 233f20d97a0ab5a453b50f4b441475c1 93840 lisp optional 
magit-forge-el_0.4.5.orig.tar.xz
 650bd8b8dd03acbf260932b793519476 3216 lisp optional 
magit-forge-el_0.4.5-1.debian.tar.xz
 473e57bde33dc9d9a51098ef188e9800 12877 lisp optional 
magit-forge-el_0.4.5-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----
Comment: Debian powered!

iQKTBAEBCgB9FiEE890J+NqH0d9QRsmbBhL0lE7NzVoFAmd1BNJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYz
REQwOUY4REE4N0QxREY1MDQ2Qzk5QjA2MTJGNDk0NEVDRENENUEACgkQBhL0lE7N
zVrkcQ/9HzjyASiIQXYcocdqTtpM0zrd7lMidYFPRpInxTLiRRi8BOvcqtP1MWiJ
QGDz3JZsuPOJsK/3vi+KkbRiG/6E3K8lqtjuvYbqT2Ak3ri78XaTIVEPespXJANG
/bpTEfQHt6XT7V2E1DnKRSRExkIgKJcVnPzDqjhnmkppLV4n39DwJDBCXJoCepCN
L0/nZhsGf59lWnGN7BceU/gsRMZK0KIxVjzC5v0jUGi7+wbbfA5LHo1mp89boiAv
Q86NEO9XS0IdupiMha+s+alknDYw1npNOBeneWb9M+AeAXasNqaxqNJBgxJ3ZqM9
b84vBTwpcfHejJQexqFlW1vy/DL6G3EZW1Qqpg8YPU66VSJgcT6MH+Gmj6UjpCFu
rr+laUHaIIaK5Nq9qqbImIiVLLEO5qy8dy9nugQEOMsVYGqcs8d8rNXFQqeX6hN0
LEsQagU1IXB/hfjnm7WpFNViBJX+HiEcGmYsDRjHAxEJG2BZM3RJjV92C8IP0L2H
2xw1qM9oBsxzIftc0WcAegdY+so4RaJIYOhxIpr4nQ1GkKuarS+wdcKOf0ga7I1B
KEE9JtVD9oSXSU5FwR+o4FHuKB/038FpeXG5zDKBj2Cmoyp64Fmg/yqXHJz3+LUK
zeXPG8jBEQ0GRRYzPWnEnMJIJ7Qjdeqfs3EC9dc0/L1NgBw6ctk=
=LCuD
-----END PGP SIGNATURE-----

Attachment: pgpdC7p0QHyTx.pgp
Description: PGP signature


--- End Message ---

Reply via email to