Source: cubemap Version: 1.5.2-1 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: ni...@thykier.net User: ni...@thykier.net 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`, cubemap failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...]inlined from ‘static _Tp* std::allocator_traits<std::allocator<_CharT> >::allocate(allocator_type&, size_type) [with _Tp = Client*]’ at /usr/include/c++/14/bits/alloc_traits.h:509:28, inlined from ‘std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = Client*; _Alloc = std::allocator<Client*>]’ at /usr/include/c++/14/bits/stl_vector.h:380:33, inlined from ‘void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator<Client**, std::vector<Client*> >; _Tp = Client*; _Alloc = std::allocator<Client*>]’ at /usr/include/c++/14/bits/vector.tcc:1013:40, inlined from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<Client**, std::vector<Client*> >; <template-parameter-2-2> = void; _Tp = Client*; _Alloc = std::allocator<Client*>]’ at /usr/include/c++/14/bits/stl_vector.h:1488:19,
inlined from ‘void Stream::process_queued_data()’ at stream.cpp:432:20:/usr/include/c++/14/bits/new_allocator.h:151:55: note: at offset [-9223372036854775808, -1] into destination object of size [8, 9223372036854775800] allocated by ‘operator new’ 151 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
| ^g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o config.o -c config.cpp g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o acceptor.o -c acceptor.cpp g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o stats.o -c stats.cpp g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o accesslog.o -c accesslog.cpp g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o thread.o -c thread.cpp g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o util.o -c util.cpp g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o log.o -c log.cpp g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o metacube2.o -c metacube2.cpp g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o sa_compare.o -c sa_compare.cpp g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o timespec.o -c timespec.cpp g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Itlse -DWITH_KTLS -DNO_TLS_LEGACY_SUPPORT -DNO_SSL_COMPATIBLE_INTERFACE -DLTM_DESC -DTLS_REEXPORTABLE -DNO_TLS_WITH_CHACHA20_POLY1305 -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++11 -pthread -o state.pb.o -c state.pb.cc g++ -o cubemap main.o client.o server.o stream.o udpstream.o serverpool.o input.o input_stats.o httpinput.o udpinput.o parse.o config.o acceptor.o stats.o accesslog.o thread.o util.o log.o metacube2.o sa_compare.o timespec.o state.pb.o tlse/tlse.o -lprotobuf -lsystemd -ltomcrypt -Wl,-z,relro -pthread
rm state.pb.h make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_testdh_auto_test: warning: Use of debian/compat is deprecated and will be removed in debhelper (>= 14~).
rm -fr -- /tmp/dh-xdg-rundir-zMzjKPr8 create-stamp debian/debhelper-build-stamp dh_prep rm -f -- debian/cubemap.substvars rm -fr -- debian/.debhelper/generated/cubemap/ debian/cubemap/ debian/tmp/ dh_installdirsdh_installdirs: warning: Use of debian/compat is deprecated and will be removed in debhelper (>= 14~). install -m0755 -d debian/cubemap/var/log/cubemap debian/cubemap/var/lib/cubemap debian/cubemap/usr/lib/aarch64-linux-gnu
dh_auto_install --destdir=debian/cubemap/dh_auto_install: warning: Use of debian/compat is deprecated and will be removed in debhelper (>= 14~).
install -m0755 -d /<<PKGBUILDDIR>>/debian/cubemapmake -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/cubemap AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>' install -m 755 -o root -g root -d \ /<<PKGBUILDDIR>>/debian/cubemap/usr/bin \ /<<PKGBUILDDIR>>/debian/cubemap/usr/share/man/man1 \ /<<PKGBUILDDIR>>/debian/cubemap/etc \ /<<PKGBUILDDIR>>/debian/cubemap/var/lib/cubemap \ /<<PKGBUILDDIR>>/debian/cubemap/var/log/cubemap \ /<<PKGBUILDDIR>>/debian/cubemap/usr/share/munin/plugins \ /<<PKGBUILDDIR>>/debian/cubemap/usr/lib/systemd/systeminstall: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/debian/cubemap/usr/bin’: Operation not permitted install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/debian/cubemap/usr/share/man/man1’: Operation not permitted install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/debian/cubemap/etc’: Operation not permitted install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/debian/cubemap/var/lib/cubemap’: Operation not permitted install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/debian/cubemap/var/log/cubemap’: Operation not permitted install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/debian/cubemap/usr/share/munin/plugins’: Operation not permitted install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/debian/cubemap/usr/lib/systemd/system’: Operation not permitted
make[1]: *** [Makefile:46: install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>'dh_auto_install: error: make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/cubemap AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [debian/rules:9: binary] Error 255dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------------------------------------------------------------------------- Build finished at 2024-11-15T23:39:07Z ------------------------------------------------------------------------------- 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/979384.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