Bug#1089287: auto-07p: Supporting rootless builds by default

Niels Thykier niels at thykier.net
Tue Dec 31 11:18:08 GMT 2024


Control: tags -1 patch

On Sat, 7 Dec 2024 19:45:06 +0100 Niels Thykier <niels at thykier.net> wrote:
> Source: auto-07p
> Version: 0.9.2+dfsg-3
> Severity: important
> Tags: ftbfs
> Justification: FTBFS
> X-Debbugs-Cc: niels at thykier.net
> User: niels at thykier.net
> Usertags: rrr-no-as-default-issue
> 
> Dear maintainer,
> 
> During a test rebuild for building packages with
> `Rules-Requires-Root: no` as the default in `dpkg`,
> auto-07p failed to rebuild.
> 
> Log Summary:
> -------------------------------------------------------------------------------
> [...]>

Hi


Please see attached as a patch.

I intend to NMU to make progress on the MBF if I do not hear from you on 
this. It would help me if you either uploaded this soon or approved the 
NMU (enabling me to skip the delay). Thanks in advance.

Best regards,
Niels

-------------- next part --------------
diff -Nru auto-07p-0.9.2+dfsg/debian/changelog auto-07p-0.9.2+dfsg/debian/changelog
--- auto-07p-0.9.2+dfsg/debian/changelog	2020-04-28 10:47:53.000000000 +0200
+++ auto-07p-0.9.2+dfsg/debian/changelog	2024-12-31 12:15:16.000000000 +0100
@@ -1,3 +1,11 @@
+auto-07p (0.9.2+dfsg-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove need for root when building the package.
+    (Closes: #1089287)
+
+ -- Niels Thykier <niels at thykier.net>  Tue, 31 Dec 2024 11:15:16 +0000
+
 auto-07p (0.9.2+dfsg-3) unstable; urgency=medium
 
   * Bump up Standards-Version (to 4.5.0)
diff -Nru auto-07p-0.9.2+dfsg/debian/control auto-07p-0.9.2+dfsg/debian/control
--- auto-07p-0.9.2+dfsg/debian/control	2020-04-28 10:47:53.000000000 +0200
+++ auto-07p-0.9.2+dfsg/debian/control	2024-12-31 12:14:39.000000000 +0100
@@ -4,6 +4,7 @@
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Sergey B Kirpichev <skirpichev at gmail.com>
 Build-Depends: debhelper (>= 9), gfortran, dh-python, python3-all-dev
+Rules-Requires-Root: no
 Standards-Version: 4.5.0
 Homepage: https://github.com/auto-07p/auto-07p
 Vcs-Browser: https://salsa.debian.org/science-team/auto-07p
diff -Nru auto-07p-0.9.2+dfsg/debian/rules auto-07p-0.9.2+dfsg/debian/rules
--- auto-07p-0.9.2+dfsg/debian/rules	2020-04-28 10:47:53.000000000 +0200
+++ auto-07p-0.9.2+dfsg/debian/rules	2024-12-31 12:15:01.000000000 +0100
@@ -14,17 +14,17 @@
 	dh_auto_configure -- --with-optimization-flags="$(FFLAGS)"
 
 override_dh_auto_install:
-	install -m 644 -o root -g root 07p/bin/auto \
+	install -m 644 07p/bin/auto \
 			debian/auto-07p/usr/bin/auto-07p
-	install -m 644 -o root -g root 07p/bin/autox \
+	install -m 644 07p/bin/autox \
             debian/auto-07p/usr/bin/autox
-	install -m 644 -o root -g root 07p/python/auto/*.py \
+	install -m 644 07p/python/auto/*.py \
 		debian/auto-07p/usr/lib/auto-07p/python/auto/
-	install -m 644 -o root -g root 07p/python/auto/graphics/*.py \
+	install -m 644 07p/python/auto/graphics/*.py \
 		debian/auto-07p/usr/lib/auto-07p/python/auto/graphics/
-	install -m 644 -o root -g root 07p/include/auto*.h \
+	install -m 644 07p/include/auto*.h \
 		debian/auto-07p/usr/include
-	install -m 644 -o root -g root 07p/include/config.h \
+	install -m 644 07p/include/config.h \
 		debian/auto-07p/usr/include/auto-07p_config.h
 	sed -i 's/"config\.h"/<auto-07p_config.h>/' \
 		debian/auto-07p/usr/include/auto_f2c.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20241231/f2774ae3/attachment-0001.sig>


More information about the debian-science-maintainers mailing list