Your message dated Sun, 08 Dec 2024 00:20:15 +0000
with message-id <[email protected]>
and subject line Bug#1089469: fixed in wp2x 2.5-mhi-15
has caused the Debian Bug report #1089469,
regarding wp2x: Supporting rootless builds by default
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 [email protected]
immediately.)


-- 
1089469: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089469
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: wp2x
Version: 2.5-mhi-14
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: [email protected]
User: [email protected]
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`,
wp2x failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
      |                       ~~~~~~~~~~~~~~~~^~~
tokens.c:31:50: warning: unused parameter ‘data’ [-Wunused-parameter]
   31 | softPage (state * st, struct WPToken *wpt, void *data)
      |                                            ~~~~~~^~~~
tokens.c: In function ‘ignoreByte’:
tokens.c:45:21: warning: unused parameter ‘st’ [-Wunused-parameter]
   45 | ignoreByte (state * st, struct WPToken *wpt, void *data)
      |             ~~~~~~~~^~
tokens.c:45:52: warning: unused parameter ‘data’ [-Wunused-parameter]
   45 | ignoreByte (state * st, struct WPToken *wpt, void *data)
      |                                              ~~~~~~^~~~
tokens.c: In function ‘ignoreFixed’:
tokens.c:55:22: warning: unused parameter ‘st’ [-Wunused-parameter]
   55 | ignoreFixed (state * st, struct WPToken *wpt, void *data)
      |              ~~~~~~~~^~
tokens.c:55:53: warning: unused parameter ‘data’ [-Wunused-parameter]
   55 | ignoreFixed (state * st, struct WPToken *wpt, void *data)
      |                                               ~~~~~~^~~~
tokens.c: In function ‘ignoreVar’:
tokens.c:65:20: warning: unused parameter ‘st’ [-Wunused-parameter]
   65 | ignoreVar (state * st, struct WPToken *wpt, void *data)
      |            ~~~~~~~~^~
tokens.c:65:40: warning: unused parameter ‘wpt’ [-Wunused-parameter]
   65 | ignoreVar (state * st, struct WPToken *wpt, void *data)
      |                        ~~~~~~~~~~~~~~~~^~~
tokens.c: In function ‘hardPage’:
tokens.c:77:39: warning: unused parameter ‘wpt’ [-Wunused-parameter]
   77 | hardPage (state * st, struct WPToken *wpt, void *data)
      |                       ~~~~~~~~~~~~~~~~^~~
tokens.c:77:50: warning: unused parameter ‘data’ [-Wunused-parameter]
   77 | hardPage (state * st, struct WPToken *wpt, void *data)
      |                                            ~~~~~~^~~~
tokens.c: In function ‘softReturn’:
tokens.c:84:41: warning: unused parameter ‘wpt’ [-Wunused-parameter]
   84 | softReturn (state * st, struct WPToken *wpt, void *data)
      |                         ~~~~~~~~~~~~~~~~^~~
tokens.c:84:52: warning: unused parameter ‘data’ [-Wunused-parameter]
   84 | softReturn (state * st, struct WPToken *wpt, void *data)
      |                                              ~~~~~~^~~~
tokens.c: In function ‘outputToken’:
tokens.c:91:53: warning: unused parameter ‘data’ [-Wunused-parameter]
   91 | outputToken (state * st, struct WPToken *wpt, void *data)
      |                                               ~~~~~~^~~~
tokens.c: In function ‘extendedChar’:
tokens.c:98:43: warning: unused parameter ‘wpt’ [-Wunused-parameter]
   98 | extendedChar (state * st, struct WPToken *wpt, void *data)
      |                           ~~~~~~~~~~~~~~~~^~~
tokens.c: In function ‘attributeOn’:
tokens.c:113:42: warning: unused parameter ‘wpt’ [-Wunused-parameter]
  113 | attributeOn (state * st, struct WPToken *wpt, void *data)
      |                          ~~~~~~~~~~~~~~~~^~~
tokens.c: In function ‘attributeOff’:
tokens.c:174:43: warning: unused parameter ‘wpt’ [-Wunused-parameter]
  174 | attributeOff (state * st, struct WPToken *wpt, void *data)
      |                           ~~~~~~~~~~~~~~~~^~~
tokens.c: In function ‘endIndent’:
tokens.c:235:20: warning: unused parameter ‘st’ [-Wunused-parameter]
  235 | endIndent (state * st, struct WPToken *wpt, void *data)
      |            ~~~~~~~~^~
tokens.c:235:40: warning: unused parameter ‘wpt’ [-Wunused-parameter]
  235 | endIndent (state * st, struct WPToken *wpt, void *data)
      |                        ~~~~~~~~~~~~~~~~^~~
tokens.c:235:51: warning: unused parameter ‘data’ [-Wunused-parameter]
  235 | endIndent (state * st, struct WPToken *wpt, void *data)
      |                                             ~~~~~~^~~~
tokens.c: In function ‘startIndent’:
tokens.c:242:42: warning: unused parameter ‘wpt’ [-Wunused-parameter]
  242 | startIndent (state * st, struct WPToken *wpt, void *data)
      |                          ~~~~~~~~~~~~~~~~^~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wdate-time -D_FORTIFY_SOURCE=2 -g -O -ansi -funsigned-char -W -Wall -DUNIX -DWP2X_DIR=\"/usr/share/wp2x\" -DVERSION=\"2.5\" -c -o charsets.o charsets.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wdate-time -D_FORTIFY_SOURCE=2 -g -O -ansi -funsigned-char -W -Wall -DUNIX -DWP2X_DIR=\"/usr/share/wp2x\" -DVERSION=\"2.5\" -c -o getopt.o getopt.c gcc -o wp2x -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wdate-time -D_FORTIFY_SOURCE=2 -g -O -ansi -funsigned-char -W -Wall -DUNIX -DWP2X_DIR=\"/usr/share/wp2x\" -DVERSION=\"2.5\" -Wl,-z,relro -Wl,-z,now -Wl,--as-needed wp2x.o dopen.o tokens.o charsets.o getopt.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
        make -j8 test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd src && make wp2x WP2X_DIR=/usr/share/wp2x VERSION=2.5
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[2]: 'wp2x' is up to date.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
cd test && make test
make[2]: Entering directory '/<<PKGBUILDDIR>>/test'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
Starting regression tests.
INPUTS='simple-iso.wp wp.wp' CFGFILES='accent.cfg ascii.cfg gml.cfg html.cfg latex.cfg sample.cfg script.cfg tex.cfg troff.cfg' WP2X=../src/wp2x sh do-regress
Testing input: simple-iso.wp with cfg: accent.cfg  -> passed
Testing input: simple-iso.wp with cfg: ascii.cfg  -> passed
Testing input: simple-iso.wp with cfg: gml.cfg  -> passed
Testing input: simple-iso.wp with cfg: html.cfg  -> passed
Testing input: simple-iso.wp with cfg: latex.cfg  -> passed
Testing input: simple-iso.wp with cfg: sample.cfg  -> passed
Testing input: simple-iso.wp with cfg: script.cfg  -> passed
Testing input: simple-iso.wp with cfg: tex.cfg  -> passed
Testing input: simple-iso.wp with cfg: troff.cfg  -> passed
Testing input: wp.wp with cfg: accent.cfg  -> passed
Testing input: wp.wp with cfg: ascii.cfg  -> passed
Testing input: wp.wp with cfg: gml.cfg  -> passed
Testing input: wp.wp with cfg: html.cfg  -> passed
Testing input: wp.wp with cfg: latex.cfg  -> passed
Testing input: wp.wp with cfg: sample.cfg  -> passed
Testing input: wp.wp with cfg: script.cfg  -> passed
Testing input: wp.wp with cfg: tex.cfg  -> passed
Testing input: wp.wp with cfg: troff.cfg  -> passed
make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_installdirs
   dh_auto_install --destdir=debian/wp2x/
make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/wp2x AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p /<<PKGBUILDDIR>>/debian/wp2x/usr/bin
mkdir -p /<<PKGBUILDDIR>>/debian/wp2x/usr/share/man/man1
mkdir -p /<<PKGBUILDDIR>>/debian/wp2x/usr/share/wp2x
make -C src install BINDIR=/<<PKGBUILDDIR>>/debian/wp2x/usr/bin \
        WP2X_DIR=/<<PKGBUILDDIR>>/debian/wp2x/usr/share/wp2x
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
install -c -o root -g root -m 755 wp2x /<<PKGBUILDDIR>>/debian/wp2x/usr/bin
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/wp2x/usr/bin/wp2x': Operation not permitted
make[2]: *** [Makefile:13: install] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:21: install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/wp2x AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T20:31:19Z

-------------------------------------------------------------------------------


The above is just how the build ends and not necessarily the most
relevant part. If required, the full build log is available here:

https://people.debian.org/~nthykier/rrr-no-as-default/logs/1051208.gz

You can find common solutions at
https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/static-ownership.list,
then please just set `Rules-Requires-Root: binary-targets` to the source
stanza of `debian/control` as a fix to this bug.

If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe-misbuilds.list,
then the package was deemed at risk for misbuilding (having wrong
ownership) but had a FTBFS problem we tested it. Please test whether the
package works with `Rules-Requires-Root: no` validating that the
resulting deb has the correct ownership for all paths in the deb.

The goal is to have the default changed in `dpkg` either in `Trixie` or
`Forky`, depending on progress and feasibility with the release schedule
for Trixie.

For more information on this bug filing, please see:
https://lists.debian.org/debian-dpkg/2024/11/msg00016.html

Thanks,


PS: The builds were performed in mid-November. If you fixed the problem
between between then and this bug being filed, then please just close
the bug with the version it was fixed in.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: wp2x
Source-Version: 2.5-mhi-15
Done: Petter Reinholdtsen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
wp2x, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <[email protected]> (supplier of updated wp2x 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 07 Dec 2024 23:30:54 +0100
Source: wp2x
Architecture: source
Version: 2.5-mhi-15
Distribution: unstable
Urgency: medium
Maintainer: Petter Reinholdtsen <[email protected]>
Changed-By: Petter Reinholdtsen <[email protected]>
Closes: 1089469
Changes:
 wp2x (2.5-mhi-15) unstable; urgency=medium
 .
   * QA upload.
 .
   * Removed the need for root access during package build (Closes: #1089469).
   * Trim trailing whitespace.
   * Remove unnecessary XS-Testsuite field in debian/control.
   * Avoid explicitly specifying -Wl,--as-needed linker flag.
   * Updated Standards-Version from 4.6.2 to 4.7.0.
Checksums-Sha1:
 1670687946fa1636a9eae7975461badaffd79887 1825 wp2x_2.5-mhi-15.dsc
 7b6d0baa2cffa0e864ee83938c1287179b43d210 8480 wp2x_2.5-mhi-15.debian.tar.xz
 4148784e5881d2317a2cd1c33212a4176ecfd580 6371 wp2x_2.5-mhi-15_source.buildinfo
Checksums-Sha256:
 4df4ea1f06b64b81cbaa93d14342d7c396220c90ddb0f4cc5dcbcb7b8577d6b2 1825 
wp2x_2.5-mhi-15.dsc
 24698dc0fb64ab38da79fa83e491e8de7384fbda98bbb179b2457863ca183295 8480 
wp2x_2.5-mhi-15.debian.tar.xz
 a806a503b7a24abf9575fbb126f23bad4d3ebbce5ba8b1925b81abd34a4f1077 6371 
wp2x_2.5-mhi-15_source.buildinfo
Files:
 22d1ca5257e7e7fd458d5aeb42921a0e 1825 text optional wp2x_2.5-mhi-15.dsc
 d7dfbcebb1bc54a15cd1aa728896516c 8480 text optional 
wp2x_2.5-mhi-15.debian.tar.xz
 ba6873f79e9beb3f223b52e03e4c8de8 6371 text optional 
wp2x_2.5-mhi-15_source.buildinfo

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

iQIzBAEBCAAdFiEERqLf4owIeylOb9kkgSgKoIe6+w4FAmdU4cUACgkQgSgKoIe6
+w6Jng//T38X4UdoBKSw/DoMoV6OwUg6JKmPPG/Y/PEH8v2tqD3bZfJ6ILU+YoWR
iy4+AYFvLDq+b9j3NiNOjgjt+Ll1AhKWZUPF2n/3m75P1tNeAHE3Dzbookbd2kle
m5H9Kz8P4QuUXWntZOsDOxPPazvrUiBFUfQonWFDORPHa0l4UhGXphxdnmeB/XEn
Pnc92EzQXRCbFN6rCpKNB9LjdJ/kPXDqhSUgfIImPFvFQDyHl8BTkvXgXy38zPGV
A0Ib8J2BSZCtiPX5xxn9jaXQwDIuFwNfGzIVQFOR2pJlfSIBtW3QwLNVU/yEo7uN
Uzw4i3lOQTUsIooAznKhIEI+UIglbhgIZAe5YFHvQxGp08NSQ6aXzARDzsw5sgW7
txO8CDwFHnYdo2jZRwQGMKKQPW1qsrxB4/XdwzDDpldCTDxh5newjqp28OYAXLdE
qWH6x/DYFZtFcs6N5yQKiMyVVZT+VoXgf4djbfwXk96rx1TSNmrlMiXNILIBRywi
nE9eQjP0SleXRos6OfqVczSoECnS4SwH4YUQMYjjpR3rATpn2v4xi61PFXIuTh+n
hPAEqzK73rKamU0C/GkAkGibTOxrwOuxZYLqEwyYCidep074KkAGHal17Koidxq/
Ym9WVRqhwJg1Qd9yR1XOkZ9I/j9HkuXFT3RoEc9j0Ql4XbMo1gg=
=K4hk
-----END PGP SIGNATURE-----

Attachment: pgpkQ3ext1Wxy.pgp
Description: PGP signature


--- End Message ---

Reply via email to