Your message dated Mon, 23 Dec 2024 21:50:10 +0000
with message-id <e1tpqjw-003z9o...@fasolo.debian.org>
and subject line Bug#1086841: fixed in libjama 1.2.4-5
has caused the Debian Bug report #1086841,
regarding libjama: Please support "Rules-Requires-Root: no"
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.)


-- 
1086841: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086841
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libjama
Severity: normal
Tags: patch
X-Debbugs-Cc: ni...@thykier.net

Hi

The libjama package currently misbuilds when build without root/fakeroot. Concretely, all the paths in the deb will be owned by the (non-root) user performing the build.

There are multiple ways to fix this problem. I have attached a patch that makes libjama build without needing fakeroot (or root) at all.

Best regards,
Niels
diff -Nru libjama-1.2.4/debian/changelog libjama-1.2.4/debian/changelog
--- libjama-1.2.4/debian/changelog      2023-08-12 08:44:23.000000000 +0200
+++ libjama-1.2.4/debian/changelog      2024-11-06 15:15:44.000000000 +0100
@@ -1,3 +1,10 @@
+libjama (1.2.4-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Make package build without `fakeroot`. (Closes: #-1)
+
+ -- Niels Thykier <ni...@thykier.net>  Wed, 06 Nov 2024 14:15:44 +0000
+
 libjama (1.2.4-4) unstable; urgency=medium
 
   * New maintainer.
diff -Nru libjama-1.2.4/debian/control libjama-1.2.4/debian/control
--- libjama-1.2.4/debian/control        2023-08-12 08:39:39.000000000 +0200
+++ libjama-1.2.4/debian/control        2024-11-06 15:10:57.000000000 +0100
@@ -2,7 +2,8 @@
 Section: math
 Priority: optional
 Maintainer: Anibal Monsalve Salazar <ani...@debian.org>
-Build-Depends: 
+Build-Depends:
+Rules-Requires-Root: no
 Standards-Version: 4.6.2
 Homepage: http://math.nist.gov/tnt/
 
diff -Nru libjama-1.2.4/debian/rules libjama-1.2.4/debian/rules
--- libjama-1.2.4/debian/rules  2023-08-11 12:57:04.000000000 +0200
+++ libjama-1.2.4/debian/rules  2024-11-06 15:15:02.000000000 +0100
@@ -25,7 +25,7 @@
        chmod 644 debian/tmp/usr/share/doc/libjama-dev/html-jama.tar.gz
 
        dpkg-gencontrol
-       dpkg --build debian/tmp ..
+       dpkg-deb --root-owner-group --build debian/tmp ..
 
 build:
        $(checkdir)
@@ -40,10 +40,6 @@
        test -f debian/rules
 endef
 
-checkroot:
-       $(checkdir)
-       test root = "`whoami`"
-
 build-arch: build
 build-indep: build
 

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: libjama
Source-Version: 1.2.4-5
Done: Anibal Monsalve Salazar <ani...@debian.org>

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

Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <ani...@debian.org> (supplier of updated libjama 
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: Tue, 24 Dec 2024 08:30:32 +1100
Source: libjama
Architecture: source
Version: 1.2.4-5
Distribution: unstable
Urgency: medium
Maintainer: Anibal Monsalve Salazar <ani...@debian.org>
Changed-By: Anibal Monsalve Salazar <ani...@debian.org>
Closes: 1086841
Changes:
 libjama (1.2.4-5) unstable; urgency=medium
 .
   * Standards-Version: 4.7.0
 .
   [ Niels Thykier ]
   * Make package build without `fakeroot`. Closes: #1086841
   * Removed empty `Build-Depends` field.
Checksums-Sha1:
 3f6c2181af67633259726b849cfc4abec9b21c56 1675 libjama_1.2.4-5.dsc
 4672691248bc6eccee6419d290f35a98b416283e 9808 libjama_1.2.4-5.debian.tar.xz
 0c239347bcb8e45fe44d5a0c1c141003256667cd 4939 libjama_1.2.4-5_amd64.buildinfo
Checksums-Sha256:
 bf4f48bbaec3c49b96baf3d7a04562a4afe779247d715f12d6a1b55c7a116670 1675 
libjama_1.2.4-5.dsc
 22526f6a3edf077e5a929b3175565bcfa993e5640b38dad99ec175c3f08eb72b 9808 
libjama_1.2.4-5.debian.tar.xz
 b735a4210ab85b63fd51d8652b9694b6231ee954c53f08477dbbfba4279bf2cc 4939 
libjama_1.2.4-5_amd64.buildinfo
Files:
 0cd057b905c289b0a282beebfeeb62c5 1675 math optional libjama_1.2.4-5.dsc
 76c6419f44633aa05773275a40c3511d 9808 math optional 
libjama_1.2.4-5.debian.tar.xz
 dc4440795fb7521db2df2b56c9674f41 4939 math optional 
libjama_1.2.4-5_amd64.buildinfo

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

iQIzBAEBCgAdFiEExgRcgTiHt3wt/5elfFas/pR4l9gFAmdp1xYACgkQfFas/pR4
l9gSohAAoOKVlHfqd6PRHFpvNDb29YqORw/QG3Ip6MN4bMLQyCuFV1WvCSA1ys3A
84guDh91lPh2tXIswbLgogFQOlbGBOQUcitb5XDXKF4jrTwUcHNdOuy5OhAKgGTf
2SK+DqTZjtYnz4v5Cbf7hQ46aC+jzQwh1PopCSmQT1QI3MBKWDDzvssec+1nsymh
ZIePnCsJN6lS1GMunJnP//iOmWutgegFH/SChSkNRKXc+T7uU5TcHXN9BC5I94r/
1P0tmTqSgCaXRUqUCX64nbE6/581YWVTW+npLMmlNsRb1wuSX/khb3/OTqGAdu8K
GP8n+QCDTiYOnv/EYm1RiG/GydY6+D80vdvZfjJGZobnuhCRZc+o75OZdhA7rOIq
UJ9bA2+pu/rvrrsWEoHzp2YlF2D+P2kenO8hxuP1fvAj5CfS0sk1ydpTQSvSh2Su
Qh3Q7enA4vZ6n+HPJ20npZHB1vdaCKKKGJAqvVo/syRq3v6I7xJTirjkbkxHX6v1
VtTOZ18JA4kD0vz5cYy+5Ce6co1oRFGf1QuQ6qYQuhLG9QC5uJ+CCFmxkpaq4icJ
i+r3P8PCLpTOo1vqwoQBxd1+BiYdBxC6Hw2/5MagLMKtdl1yBT2umOxkLJA183wi
zeUxqlnE6N5ccF6PJiCXQ3hQbpPXc2ZTAAnq4+DJTBfD/41mB+g=
=Ro3F
-----END PGP SIGNATURE-----

Attachment: pgpsCcUmaOjRk.pgp
Description: PGP signature


--- End Message ---

Reply via email to