Your message dated Sun, 08 Dec 2024 01:34:32 +0000
with message-id <[email protected]>
and subject line Bug#1089347: fixed in intel2gas 1.3.3-20
has caused the Debian Bug report #1089347,
regarding intel2gas: 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.)


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

Log Summary:
-------------------------------------------------------------------------------
[...]
      |                                         ^~~~~
intel2gas.cc:549:6: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  549 |     {"sp",0x400000},{"esp",0xc00000},{"rsp",0x1c00000},
      |      ^~~~
intel2gas.cc:549:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  549 |     {"sp",0x400000},{"esp",0xc00000},{"rsp",0x1c00000},
      |                      ^~~~~
intel2gas.cc:549:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  549 |     {"sp",0x400000},{"esp",0xc00000},{"rsp",0x1c00000},
      |                                       ^~~~~
intel2gas.cc:550:6: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  550 |     {"si",0x80000},{"esi",0x180000},{"rsi",0x380000},
      |      ^~~~
intel2gas.cc:550:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  550 |     {"si",0x80000},{"esi",0x180000},{"rsi",0x380000},
      |                     ^~~~~
intel2gas.cc:550:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  550 |     {"si",0x80000},{"esi",0x180000},{"rsi",0x380000},
      |                                      ^~~~~
intel2gas.cc:551:6: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  551 |     {"di",0x10000},{"edi",0x30000},{"rdi",0x70000},
      |      ^~~~
intel2gas.cc:551:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  551 |     {"di",0x10000},{"edi",0x30000},{"rdi",0x70000},
      |                     ^~~~~
intel2gas.cc:551:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  551 |     {"di",0x10000},{"edi",0x30000},{"rdi",0x70000},
      |                                     ^~~~~
intel2gas.cc:552:6: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 552 | {"dl",0x1000},{"dh",0x2000},{"dx",0x3000},{"edx",0x7000},{"rdx",0xf000},
      |      ^~~~
intel2gas.cc:552:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 552 | {"dl",0x1000},{"dh",0x2000},{"dx",0x3000},{"edx",0x7000},{"rdx",0xf000},
      |                    ^~~~
intel2gas.cc:552:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 552 | {"dl",0x1000},{"dh",0x2000},{"dx",0x3000},{"edx",0x7000},{"rdx",0xf000},
      |                                  ^~~~
intel2gas.cc:552:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 552 | {"dl",0x1000},{"dh",0x2000},{"dx",0x3000},{"edx",0x7000},{"rdx",0xf000},
      |                                                ^~~~~
intel2gas.cc:552:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 552 | {"dl",0x1000},{"dh",0x2000},{"dx",0x3000},{"edx",0x7000},{"rdx",0xf000},
      |                                                               ^~~~~
intel2gas.cc:553:6: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 553 | {"cl",0x0100},{"ch",0x0200},{"cx",0x0300},{"ecx",0x0700},{"rcx",0x0f00},
      |      ^~~~
intel2gas.cc:553:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 553 | {"cl",0x0100},{"ch",0x0200},{"cx",0x0300},{"ecx",0x0700},{"rcx",0x0f00},
      |                    ^~~~
intel2gas.cc:553:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 553 | {"cl",0x0100},{"ch",0x0200},{"cx",0x0300},{"ecx",0x0700},{"rcx",0x0f00},
      |                                  ^~~~
intel2gas.cc:553:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 553 | {"cl",0x0100},{"ch",0x0200},{"cx",0x0300},{"ecx",0x0700},{"rcx",0x0f00},
      |                                                ^~~~~
intel2gas.cc:553:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 553 | {"cl",0x0100},{"ch",0x0200},{"cx",0x0300},{"ecx",0x0700},{"rcx",0x0f00},
      |                                                               ^~~~~
intel2gas.cc:554:6: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 554 | {"bl",0x0010},{"bh",0x0020},{"bx",0x0030},{"ebx",0x0070},{"rbx",0x00f0},
      |      ^~~~
intel2gas.cc:554:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 554 | {"bl",0x0010},{"bh",0x0020},{"bx",0x0030},{"ebx",0x0070},{"rbx",0x00f0},
      |                    ^~~~
intel2gas.cc:554:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 554 | {"bl",0x0010},{"bh",0x0020},{"bx",0x0030},{"ebx",0x0070},{"rbx",0x00f0},
      |                                  ^~~~
intel2gas.cc:554:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 554 | {"bl",0x0010},{"bh",0x0020},{"bx",0x0030},{"ebx",0x0070},{"rbx",0x00f0},
      |                                                ^~~~~
intel2gas.cc:554:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 554 | {"bl",0x0010},{"bh",0x0020},{"bx",0x0030},{"ebx",0x0070},{"rbx",0x00f0},
      |                                                               ^~~~~
intel2gas.cc:555:6: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 555 | {"al",0x0001},{"ah",0x0002},{"ax",0x0003},{"eax",0x0007},{"rax",0x000f},
      |      ^~~~
intel2gas.cc:555:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 555 | {"al",0x0001},{"ah",0x0002},{"ax",0x0003},{"eax",0x0007},{"rax",0x000f},
      |                    ^~~~
intel2gas.cc:555:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 555 | {"al",0x0001},{"ah",0x0002},{"ax",0x0003},{"eax",0x0007},{"rax",0x000f},
      |                                  ^~~~
intel2gas.cc:555:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 555 | {"al",0x0001},{"ah",0x0002},{"ax",0x0003},{"eax",0x0007},{"rax",0x000f},
      |                                                ^~~~~
intel2gas.cc:555:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 555 | {"al",0x0001},{"ah",0x0002},{"ax",0x0003},{"eax",0x0007},{"rax",0x000f},
      |                                                               ^~~~~
In file included from intel2gas.h:10,
                 from intel2gas.cc:18:
intel2gas.cc: In function ‘int load_syntax_files(char*)’:
i2gconf.h:2:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    2 | #define RESOURCE_PATH     "/usr/share/intel2gas/"
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
intel2gas.cc:729:21: note: in expansion of macro ‘RESOURCE_PATH’
  729 |     resource_path = RESOURCE_PATH;
      |                     ^~~~~~~~~~~~~
intel2gas.cc: In function ‘void retrieve_comment_styles()’:
intel2gas.cc:760:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  760 |   if (!str_parse(syntaxlist, "General settings:", tempstr))
      |                              ^~~~~~~~~~~~~~~~~~~
intel2gas.cc: In function ‘bool is_a_define_line(const char*)’:
intel2gas.cc:779:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  779 |     "if","define","else","endif",NULL,
      |     ^~~~
intel2gas.cc:779:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  779 |     "if","define","else","endif",NULL,
      |          ^~~~~~~~
intel2gas.cc:779:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  779 |     "if","define","else","endif",NULL,
      |                   ^~~~~~
intel2gas.cc:779:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  779 |     "if","define","else","endif",NULL,
      |                          ^~~~~~~
aarch64-linux-gnu-g++ -Wl,-z,relro strhandle.o loaddata.o intel2gas.o -o intel2gas
Then again... it might not.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build
if [ ! -f debian/rules ]; then echo "wrong dir!"; exit 1; fi
if [ $(id -u) != 0 ]; then echo "not root!"; exit 1; fi
not root!
make: *** [debian/rules:44: binary-indep] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T18:58:40Z

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


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/998296.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: intel2gas
Source-Version: 1.3.3-20
Done: Alexander Zangerl <[email protected]>

We believe that the bug you reported is fixed in the latest version of
intel2gas, 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.
Alexander Zangerl <[email protected]> (supplier of updated intel2gas 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: Sun, 08 Dec 2024 11:20:20 +1000
Source: intel2gas
Architecture: source
Version: 1.3.3-20
Distribution: unstable
Urgency: high
Maintainer: Alexander Zangerl <[email protected]>
Changed-By: Alexander Zangerl <[email protected]>
Closes: 1089347
Changes:
 intel2gas (1.3.3-20) unstable; urgency=high
 .
   * adjust control for dpkg rootless (closes: #1089347)
Checksums-Sha1:
 8fc8e376ed78b5d09d63a9b8383c029a9613406d 1584 intel2gas_1.3.3-20.dsc
 a7cdbcb94377efaa9869c6af91fac6a7eea81c5a 5571 intel2gas_1.3.3-20.diff.gz
 d7a07000131c5c4ee3dabd8175fc1b04b5449493 4817 
intel2gas_1.3.3-20_amd64.buildinfo
Checksums-Sha256:
 78dd7e53033797a22470c9a8cd4146989f009bd80fe56405f5b8f67893ef87d3 1584 
intel2gas_1.3.3-20.dsc
 77e5ea212f8607b9859ea066655494b3981358e8fc88acf4dc247c3c155516ab 5571 
intel2gas_1.3.3-20.diff.gz
 7165f0faa87d88c6f3780fa7d011649ed6dad307b1ff679850f86a3f902018d8 4817 
intel2gas_1.3.3-20_amd64.buildinfo
Files:
 19d7c93f4dad0a9e14354ed9328d087e 1584 devel optional intel2gas_1.3.3-20.dsc
 7bea5ea72ffc7f26a5055450f2575337 5571 devel optional intel2gas_1.3.3-20.diff.gz
 98c9272a9f4dcf44d11c366bb4283f0e 4817 devel optional 
intel2gas_1.3.3-20_amd64.buildinfo

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

iQIcBAEBCgAGBQJnVPSJAAoJED06g4g30PqNUUMP/35VhaOs6KZie4UYHUamPJwq
dw8OIf/g7iacIhYKKwAcIsJkATKCFlTjdhyK84Ftq49J28/F9kwLZHwCqAZciws5
soBQ7xGB8TfwBoNJ8y5eE+1smKtwjxD65X48sZFJwQ0oAyvJM/Kv9Eje1I9LG1yQ
+x4Ux8jLNDGwQaSvGHfRB67YcVucdHceMoEa/nkzwaOsEFq3lPlS6nX0vaAIUKx5
IKJMJlxftuj1mAZ9nlw04mNuw01imOvH5g5zxQQbNpUGyvEaU3c2VaFqqc5HfYqI
Xx5sBAHhK4Ruuby/5zl/zTHpV/a7AEtlY7Wv3bEIJO42S1C9q4CSaJzCkByr6JpB
SxdmoS7z/wF5FXpuzY7Zou9wcsHgyy4CAjMaH2rKItj1knBn/lif8HtcSitSDsbx
8HB/V6Xy/M3IAUNuVAaNGVqZHlMNwEITGiLF7Pam5lNHZ1iwF0NRsqChTPEJ2+vJ
0vhxbVDZQaXp1Ry9kEa3fh7deT2ZsVHfcgVhl+JfSxzxzB8dTPt1VbiJbbzcaUjA
uqsb/Iu2gi1CxFcKanK1atZri77JTwBFjToEJVXqK2tKFEVKd8SuJg71Zlw2+RU2
pceC+hmGr6TxZ1lnjcdvKRJdiBRGjHDRMYerUPXr9f4O4y0uVSNATGTqa3N8slOf
elv+caYrYXX0I3I7POL8
=vJnA
-----END PGP SIGNATURE-----

Attachment: pgpkKkCAHr8oT.pgp
Description: PGP signature


--- End Message ---

Reply via email to