Your message dated Wed, 08 Jan 2025 21:39:29 +0000
with message-id <[email protected]>
and subject line Bug#1089381: fixed in mactelnet 0.6.1-1.1
has caused the Debian Bug report #1089381,
regarding mactelnet: 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.)


-- 
1089381: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089381
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mactelnet
Version: 0.6.1-1
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`,
mactelnet failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -Wdate-time -D_FORTIFY_SOURCE=2 -DFROM_MACTELNETD -DUSERSFILE='"/etc/mactelnetd.users"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o mactelnetd-users.o `test -f 'users.c' || echo './'`users.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -Wdate-time -D_FORTIFY_SOURCE=2 -DFROM_MACTELNETD -DUSERSFILE='"/etc/mactelnetd.users"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o mactelnetd-mtwei.o `test -f 'mtwei.c' || echo './'`mtwei.c
mactelnetd.c: In function ‘main’:
mactelnetd.c:1371:17: warning: ignoring return value of ‘daemon’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1371 |                 daemon(0, 0);
      |                 ^~~~~~~~~~~~
mactelnetd.c: In function ‘main_add_user’:
mactelnetd.c:1082:23: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1082 |                 (void)scanf("%31s", user);
      |                       ^~~~~~~~~~~~~~~~~~~
mactelnetd.c: In function ‘user_login’:
mactelnetd.c:546:17: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  546 |                 chown(slavename, user->pw_uid, user->pw_gid);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mactelnetd.c:587:25: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  587 |                         dup(curconn->slavefd);
      |                         ^~~~~~~~~~~~~~~~~~~~~
mactelnetd.c:589:25: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  589 |                         dup(curconn->slavefd);
      |                         ^~~~~~~~~~~~~~~~~~~~~
mactelnetd.c:591:25: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  591 |                         dup(curconn->slavefd);
      |                         ^~~~~~~~~~~~~~~~~~~~~
mactelnetd.c:621:25: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  621 |                         chdir(user->pw_dir);
      |                         ^~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro -Wl,-z,now -o macping macping.o interfaces.o protocol.o -lbsd -lcrypto -lrt gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro -Wl,-z,now -o mndp mndp.o protocol.o -lbsd -lcrypto -lrt gcc -DFROM_MACTELNET -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro -Wl,-z,now -o mactelnet mactelnet-mactelnet.o mactelnet-protocol.o mactelnet-console.o mactelnet-interfaces.o mactelnet-mndp.o mactelnet-autologin.o mactelnet-mtwei.o -lbsd -lcrypto -lrt gcc -DFROM_MACTELNETD -DUSERSFILE='"/etc/mactelnetd.users"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro -Wl,-z,now -o mactelnetd mactelnetd-mactelnetd.o mactelnetd-protocol.o mactelnetd-interfaces.o mactelnetd-console.o mactelnetd-users.o mactelnetd-mtwei.o -lbsd -lcrypto -lrt make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making all in doc
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
Making all in config
make[2]: Entering directory '/<<PKGBUILDDIR>>/config'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/config'
Making all in po
make[2]: Entering directory '/<<PKGBUILDDIR>>/po'
test ! -f ./mactelnet.pot || \
  test -z "nb.gmo bg.gmo" || make nb.gmo bg.gmo
make[3]: Entering directory '/<<PKGBUILDDIR>>/po'
make[3]: 'nb.gmo' is up to date.
make[3]: 'bg.gmo' is up to date.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/po'
touch stamp-po
make[2]: Leaving directory '/<<PKGBUILDDIR>>/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
        make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making check in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making check in doc
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
Making check in config
make[2]: Entering directory '/<<PKGBUILDDIR>>/config'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/config'
Making check in po
make[2]: Entering directory '/<<PKGBUILDDIR>>/po'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_auto_install
        make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp 
AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making install in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/sbin'
/usr/bin/install -c mactelnet macping mndp '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
  /usr/bin/install -c mactelnetd '/<<PKGBUILDDIR>>/debian/tmp/usr/sbin'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making install in doc
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1'
/usr/bin/install -c -m 644 mactelnet.1 mndp.1 macping.1 mactelnetd.1 '/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
Making install in config
make[2]: Entering directory '/<<PKGBUILDDIR>>/config'
make[3]: Entering directory '/<<PKGBUILDDIR>>/config'
make[3]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/etc'
/usr/bin/install -c -m 644 mactelnetd.users '/<<PKGBUILDDIR>>/debian/tmp/etc'
make  install-exec-hook
make[4]: Entering directory '/<<PKGBUILDDIR>>/config'
chmod 600 /<<PKGBUILDDIR>>/debian/tmp/etc/mactelnetd.users
chown root /<<PKGBUILDDIR>>/debian/tmp/etc/mactelnetd.users
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/tmp/etc/mactelnetd.users': Operation not permitted
make[4]: *** [Makefile:495: install-exec-hook] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/config'
make[3]: *** [Makefile:437: install-exec-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/config'
make[2]: *** [Makefile:384: install-am] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/config'
make[1]: *** [Makefile:373: install-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T10:52:39Z

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


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/1021658.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: mactelnet
Source-Version: 0.6.1-1.1
Done: Niels Thykier <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mactelnet, 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.
Niels Thykier <[email protected]> (supplier of updated mactelnet 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: SHA512

Format: 1.8
Date: Wed, 01 Jan 2025 18:26:36 +0000
Source: mactelnet
Architecture: source
Version: 0.6.1-1.1
Distribution: unstable
Urgency: medium
Maintainer: Håkon Nessjøen <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 1089381
Changes:
 mactelnet (0.6.1-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Make requirement for root when building the package explicit.
     (Closes: #1089381)
Checksums-Sha1:
 293ece5dbf436c85b42b48abd04da7101d6bed5e 2114 mactelnet_0.6.1-1.1.dsc
 d98b0833455456aaa3b22883653b2b3274c308cb 6856 mactelnet_0.6.1-1.1.debian.tar.xz
 7074a6598cc13a71d8e13f71539e8110a8d356f3 5365 
mactelnet_0.6.1-1.1_source.buildinfo
Checksums-Sha256:
 d952359cabe80a1b57721bb25608bc8bab4f3e48fdd16b21f7bf90711c57ccf2 2114 
mactelnet_0.6.1-1.1.dsc
 a06c651b4f0a3ff24daef3c35de2d36dfa08db6346ad85c89e56c3e8751ab283 6856 
mactelnet_0.6.1-1.1.debian.tar.xz
 be5a97280ed579eb6b1ae8b3acb481b353ddda6f44b1bc21b3a623e19ea742a0 5365 
mactelnet_0.6.1-1.1_source.buildinfo
Files:
 39cb767eb061116eeaf95f981a85bcfe 2114 net optional mactelnet_0.6.1-1.1.dsc
 fbd4a16c1a78d382fb2939d79baaa06f 6856 net optional 
mactelnet_0.6.1-1.1.debian.tar.xz
 31a62567825338b25154d967d74b3685 5365 net optional 
mactelnet_0.6.1-1.1_source.buildinfo

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

iQFGBAEBCgAwFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmd4QJ4SHG5pZWxzQHRo
eWtpZXIubmV0AAoJEHQNaIiDZdKJBUwIAJULNTGWflgb3Gc6x/ktK4FJ72PyIv7b
qmkn2ILrMSIFQRrme5IOnuyotlbhBGhTqX+b35v+CC8Q85oVrk/zwepFJ9SYzMpY
BfSnsydryDCOeIN7hVQANYaPaqEeqvhIPaXr4Hhl1HKHJ+vNHsZ7W2u8LzSn41BY
C4if+poGgTB2hsUMwO2nbMdWbya+svw3BP869BAt05LXrQHI6OcZbUi2+U/xvthQ
qeIPn8kQZFbMz8a13HjBIAW/7ih7JqRt5y3EAxndF1XZ3PD34nYvORHe5kKT9+5s
AwkLQJnOJULW9rec6FQgfsZ2WOEvjQEvaQUtsTJ1LkyNEDtmMVsWO7Y=
=gFGK
-----END PGP SIGNATURE-----

Attachment: pgp12Ucf4Lgay.pgp
Description: PGP signature


--- End Message ---

Reply via email to