Your message dated Fri, 03 Jan 2025 21:38:51 +0000
with message-id <[email protected]>
and subject line Bug#1089477: fixed in xiterm+thai 1.10-2.1
has caused the Debian Bug report #1089477,
regarding xiterm+thai: 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.)


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

Log Summary:
-------------------------------------------------------------------------------
[...]
checking for fcntl.h... yes
checking for termios.h... yes
checking for sys/ioctl.h... yes
checking for sys/select.h... yes
checking for sys/time.h... (cached) yes
checking for sys/sockio.h... no
checking for sys/byteorder.h... no
checking for utmpx.h... yes
checking for unistd.h... (cached) yes
checking for mode_t... yes
checking for pid_t... yes
checking for uid_t... yes
checking for gid_t... yes
checking return type of signal handlers... void
checking for atexit... yes
checking for unsetenv... yes
checking for setutent... yes
checking for seteuid... yes
configure: creating ./config.status
config.status: creating Make.common
config.status: WARNING: 'Make.common.in' seems to ignore the --datarootdir setting
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating doc/LSM
config.status: creating doc/xiterm+thai.1
config.status: creating config.h

Configuration:

  Source code location:       .
  Compiler:                   gcc
Compiler flags: -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard
  Install path:               /usr/bin

dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
echo "#define VERSION \""1.10"\"" > VERSION.h;
gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard command.c
command.c: In function ‘privileges’:
command.c:439:7: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  439 |       seteuid (getuid ());
      |       ^~~~~~~~~~~~~~~~~~~
command.c:440:7: warning: ignoring return value of ‘setegid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  440 |       setegid (getgid ());
      |       ^~~~~~~~~~~~~~~~~~~
command.c:449:7: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  449 |       seteuid (euid);
      |       ^~~~~~~~~~~~~~
command.c:450:7: warning: ignoring return value of ‘setegid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  450 |       setegid (egid);
      |       ^~~~~~~~~~~~~~
gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard debug.c gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard graphics.c gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard grkelot.c gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard main.c
main.c: In function ‘scale_pixmap’:
main.c:293:24: warning: ‘%d’ directive writing between 1 and 6 bytes into a region of size between 5 and 15 [-Wformat-overflow=]
  293 |                "[%dx%d+%d+%d]",
      |                        ^~
main.c:293:16: note: directive argument in the range [-32768, 32767]
  293 |                "[%dx%d+%d+%d]",
      |                ^~~~~~~~~~~~~~~
main.c:293:16: note: directive argument in the range [-32768, 32767]
In file included from /usr/include/stdio.h:970,
                 from main.h:32,
                 from main.c:24:
In function ‘sprintf’,
    inlined from ‘scale_pixmap’ at main.c:292:7:
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 10 and 30 bytes into a destination of size 20
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard misc.c gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard netdisp.c gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard screen.c gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard scrollbar.c gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard utmp.c gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard xdefaults.c gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard thai.c gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -I./.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard thaikb.c gcc -Wl,-z,relro -Wl,-z,now -o xiterm+thai command.o debug.o graphics.o grkelot.o main.o misc.o netdisp.o screen.o scrollbar.o utmp.o xdefaults.o thai.o thaikb.o -lXpm -lX11 make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Entering directory '/<<PKGBUILDDIR>>/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/data'
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 7 in use)
# Add here commands to install the package into debian/xiterm+thai.
/usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/xiterm+thai
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
/usr/bin/install -c -D -m 755 xiterm+thai /<<PKGBUILDDIR>>/debian/xiterm+thai/usr/bin/xiterm+thai
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Entering directory '/<<PKGBUILDDIR>>/data'
/usr/bin/install -c -D -m 644 xiterm+thai.png /<<PKGBUILDDIR>>/debian/xiterm+thai/usr/share/pixmaps/xiterm+thai.png
make[2]: Leaving directory '/<<PKGBUILDDIR>>/data'
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
/usr/bin/install -c -D -m 644 xiterm+thai.1 \
  /<<PKGBUILDDIR>>/debian/xiterm+thai/usr/share/man/man1/xiterm+thai.1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
install -D -m 0755 -o root -g root debian/txiterm debian/xiterm+thai/usr/bin/txiterm install: cannot change ownership of 'debian/xiterm+thai/usr/bin/txiterm': Operation not permitted
make: *** [debian/rules:66: install] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T21:06:55Z

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


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/1052112.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: xiterm+thai
Source-Version: 1.10-2.1
Done: Niels Thykier <[email protected]>

We believe that the bug you reported is fixed in the latest version of
xiterm+thai, 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 xiterm+thai 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 10:23:41 +0000
Source: xiterm+thai
Architecture: source
Version: 1.10-2.1
Distribution: unstable
Urgency: medium
Maintainer: Neutron Soutmun <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 1089477
Changes:
 xiterm+thai (1.10-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Make requirement for root when building the package explicit.
     (Closes: #1089477)
Checksums-Sha1:
 5d9ceccc0012afb09bc6446ae8eefd560204c99d 1655 xiterm+thai_1.10-2.1.dsc
 6ce1a6c9befb7c8d994df24e8b036a5886038c3b 9180 
xiterm+thai_1.10-2.1.debian.tar.xz
 d058be1e3844f9cdabf9ac77fa45e1b565bd5ec4 5737 
xiterm+thai_1.10-2.1_source.buildinfo
Checksums-Sha256:
 5a9bdba3d6afb81d324e6cbc42a6e39532098959b1a74820c5f789e0de9e5bfc 1655 
xiterm+thai_1.10-2.1.dsc
 d4f83f3355dc1e0d331e5882b9e07614d068b80d83f501ed64d72b8388786ab7 9180 
xiterm+thai_1.10-2.1.debian.tar.xz
 baeeeff5bca2914ff782eaabfd946b95c6e824f4be510f77a4e56394f7e505e3 5737 
xiterm+thai_1.10-2.1_source.buildinfo
Files:
 f0e5df4ad76b6bf7eeea671c6a5ae888 1655 x11 optional xiterm+thai_1.10-2.1.dsc
 6fd823a5e74635c056c586aac0b1eb1f 9180 x11 optional 
xiterm+thai_1.10-2.1.debian.tar.xz
 dba4761955bc8f1d0dfd2aa97e906af4 5737 x11 optional 
xiterm+thai_1.10-2.1_source.buildinfo

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

iQFGBAEBCgAwFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmd4TyYSHG5pZWxzQHRo
eWtpZXIubmV0AAoJEHQNaIiDZdKJ2JcH/3dgMyTn6PT3r6gjnfjD29nhX+5z9ZhL
Hc9nsgpr8AoPE/3C7/n2jNqiA6TNbDHaY5gvdC3Sy+QH+knxvRyJed6Uv63FSo4S
4SWJ1FyA4n+xFl9BjCjQPCnIl/fV+8CRu1xON9K01UkK3ApdFHNpMSjybaKV2tlA
1xdEGbU7Iua+0DhARrtakvleD/Kx2+ZVPIdEUzGt4H5F+c49sYzhg3nz/8O3XtN8
/MhTkWzzziahUzXTK2vqMoCmxZ4PZq8I98v1Eh27yLUkrddfHW/B308+O7JX6qiS
ehw9gpdhQedLF+T7e0LEkjNPs47h+dpmyAfORKQIRkn5X2CbTTOIv/g=
=8rpe
-----END PGP SIGNATURE-----

Attachment: pgp_xdWUYEM0x.pgp
Description: PGP signature


--- End Message ---

Reply via email to