Your message dated Wed, 08 Jan 2025 20:10:24 +0000
with message-id <[email protected]>
and subject line Bug#1089384: fixed in mailsync 5.2.7-3.3
has caused the Debian Bug report #1089384,
regarding mailsync: 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.)


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

Log Summary:
-------------------------------------------------------------------------------
[...]
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking for gawk... (cached) mawk
checking how to run the C preprocessor... gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for getpass... yes
checking for memset... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for crypt in -lcrypt... yes
checking for c-client.h... found in /usr/include/c-client
checking for c-client library... found /usr/lib/libc-client.so
checking if c-client works without -fno-operator-names in c++... no
checking if adding -fno-operator-names helps... yes
checking if c-client includes md5 support... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
touch configure-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make  all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
In file included from /usr/include/c-client/c-client.h:41,
                 from c-client-header.h:8,
                 from main.cc:23:
/usr/include/c-client/linkage.c: In function ‘int main(int, const char**)’:
/usr/include/c-client/mail.h:29:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   29 | #define CCLIENTVERSION "2007f"
      |                        ^~~~~~~
/usr/include/c-client/linkage.c:21:22: note: in expansion of macro ‘CCLIENTVERSION’
   21 |   mail_versioncheck (CCLIENTVERSION);
      |                      ^~~~~~~~~~~~~~
mv -f .deps/main.Tpo .deps/main.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT commandline.o -MD -MP -MF .deps/commandline.Tpo -c -o commandline.o commandline.cc
mv -f .deps/commandline.Tpo .deps/commandline.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT configuration.o -MD -MP -MF .deps/configuration.Tpo -c -o configuration.o configuration.cc
mv -f .deps/configuration.Tpo .deps/configuration.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT types.o -MD -MP -MF .deps/types.Tpo -c -o types.o types.cc
mv -f .deps/types.Tpo .deps/types.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT mail_handling.o -MD -MP -MF .deps/mail_handling.Tpo -c -o mail_handling.o mail_handling.cc
mv -f .deps/mail_handling.Tpo .deps/mail_handling.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT c-client_callbacks.o -MD -MP -MF .deps/c-client_callbacks.Tpo -c -o c-client_callbacks.o c-client_callbacks.cc
mv -f .deps/c-client_callbacks.Tpo .deps/c-client_callbacks.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.cc
mv -f .deps/utils.Tpo .deps/utils.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT store.o -MD -MP -MF .deps/store.Tpo -c -o store.o store.cc
In file included from /usr/include/c-client/c-client.h:41,
                 from c-client-header.h:8,
                 from store.h:7,
                 from store.cc:4:
store.cc: In member function ‘bool Store::flag_message_for_removal(long unsigned int, const MsgId&, const char*)’: store.cc:398:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 398 | if (! options.simulate ) mail_setflag( this->stream, seq, "\\Deleted" ); | ^~~~~~~~~~~ /usr/include/c-client/mail.h:1563:30: note: in definition of macro ‘mail_setflag’
 1563 |   mail_flag (stream,sequence,flag,ST_SET)
      |                              ^~~~
store.cc: In member function ‘char* Store::driver_name()’:
store.cc:432:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  432 |     drv = mail_valid( this->stream, "", NIL);
      |                                     ^~
mv -f .deps/store.Tpo .deps/store.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT channel.o -MD -MP -MF .deps/channel.Tpo -c -o channel.o channel.cc
In file included from /usr/include/c-client/c-client.h:41,
                 from c-client-header.h:8,
                 from types.h:7,
                 from channel.h:5,
                 from channel.cc:2:
channel.cc: In member function ‘bool Channel::write_seen_this_time(const MailboxMap&, MsgIdsPerMailbox&)’: channel.cc:428:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  428 |       mail_setflag(msinfo_stream, seq, "\\Deleted");
      |                                        ^~~~~~~~~~~
/usr/include/c-client/mail.h:1563:30: note: in definition of macro ‘mail_setflag’
 1563 |   mail_flag (stream,sequence,flag,ST_SET)
      |                              ^~~~
mv -f .deps/channel.Tpo .deps/channel.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT msgid.o -MD -MP -MF .deps/msgid.Tpo -c -o msgid.o msgid.cc
mv -f .deps/msgid.Tpo .deps/msgid.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -g -O2 -MT msgstring.o -MD -MP -MF .deps/msgstring.Tpo -c -o msgstring.o msgstring.c
mv -f .deps/msgstring.Tpo .deps/msgstring.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/c-client -fno-operator-names -g -O2 -MT password.o -MD -MP -MF .deps/password.Tpo -c -o password.o password.cc
mv -f .deps/password.Tpo .deps/password.Po
g++ -fno-operator-names -g -O2 -o mailsync main.o commandline.o configuration.o types.o mail_handling.o c-client_callbacks.o utils.o store.o channel.o msgid.o msgstring.o password.o /usr/lib/libc-client.so -lcrypt make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_clean: warning: Compatibility levels before 10 are deprecated (level 7 in use)
dh_clean: warning: dh_clean -k is deprecated; use dh_prep instead
dh_clean: warning: This feature will be removed in compat 12.
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 7 in use)
install -o root -g root -m 0755 \
        src/mailsync /<<PKGBUILDDIR>>/debian/mailsync/usr/bin
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/mailsync/usr/bin/mailsync': Operation not permitted
make: *** [debian/rules:59: install] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T11:02:03Z

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


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/1021759.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: mailsync
Source-Version: 5.2.7-3.3
Done: Niels Thykier <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mailsync, 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 mailsync 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:34:42 +0000
Source: mailsync
Architecture: source
Version: 5.2.7-3.3
Distribution: unstable
Urgency: medium
Maintainer: Tomas Pospisek <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 1089384
Changes:
 mailsync (5.2.7-3.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Remove need for root when building the package.
     (Closes: #1089384)
   * Replace `dh_clean -k` with `dh_prep`.
Checksums-Sha1:
 45eea85fd84d88933d359d79c7758e7578be11aa 1489 mailsync_5.2.7-3.3.dsc
 dfdc3aeb070decfe44ac4ae1491b193180d271bf 7056 mailsync_5.2.7-3.3.debian.tar.xz
 73c02e943710fa20a651abdc68a583fd17d8160e 5865 
mailsync_5.2.7-3.3_source.buildinfo
Checksums-Sha256:
 a2c979b5c7f17bef1f659e441000f82390573ec4734eb6ae072c4f2c980ead07 1489 
mailsync_5.2.7-3.3.dsc
 3e1ba607d60ace4782bd50edbc53bbcde54a4f9ffcdf855a00bca5dd36b3081f 7056 
mailsync_5.2.7-3.3.debian.tar.xz
 89cc0d98692c7ce3b059fdfd778c5a7d7bd638bb4a4f54dd310a81f8f0ed3079 5865 
mailsync_5.2.7-3.3_source.buildinfo
Files:
 bc3f09233b01d45a942f59aa588e9e02 1489 mail optional mailsync_5.2.7-3.3.dsc
 8cdf9dec9f25f287826d5e28ed6eaae3 7056 mail optional 
mailsync_5.2.7-3.3.debian.tar.xz
 ca85ea827a6694b03c1fb10d28de6ba7 5865 mail optional 
mailsync_5.2.7-3.3_source.buildinfo

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

iQFGBAEBCgAwFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmd1izwSHG5pZWxzQHRo
eWtpZXIubmV0AAoJEHQNaIiDZdKJUmwH/R9sO1yBB0YbSNhNrqOkq00nSWX5glyI
S5QhI+0++j1GC5aYJ9WxVBc7st7gK5xJ2sayyQNI30dLaEJc3gK1mfJ5i2RVK9b1
Ob/j849hQHSNu61axMhe3NLa52GT4OWMUAqqYkxQUYrAVvpsKr+jVFJ4NOQjeoRd
maOptCyoB9nXDEU6SbqSrMIlL1wgGcLlMyrKDZMgrLSOH9b1wwaQVbpmKZe/oONN
jOy+cd/n3TYgpNqbMCfJtsZqW9jeWOUD79g1k3t9KmnHjzsz5tXeTI4uUspr5DTj
HkHU5PV4cTjyErLJGlzWwIJP3CMxhRt+kWV9wg5/N7LVkkKvQGK759E=
=mQQE
-----END PGP SIGNATURE-----

Attachment: pgpZG1kLSMum_.pgp
Description: PGP signature


--- End Message ---

Reply via email to