--- 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.
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---