Snippets for apt 3.3.2 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/apt/3.3.2/1.fc45/data/logs/i686/build.log.
-
/usr/include/c++/16/bits/stl_function.h:599:18: warning: noexcept-expression evaluates to ‘false’ because of a call to ‘bool SrvRec::operator<(const SrvRec&) const’ [-Wnoexcept] 599 | noexcept(noexcept(std::forward<_Tp>(__t) < std::forward<_Up>(__u))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-pkg/indexcopy.cc:709:21: warning: variable ‘Hits’ set but not used [-Wunused-but-set-variable=] 709 | unsigned long Hits = 0; | ^~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-private/private-download.cc:154:20: warning: comparison of integer expressions of different signedness: ‘__fsword_t’ {aka ‘int’} and ‘const uint32_t’ {aka ‘const unsigned int’} [-Wsign-compare] 154 | if (Stat.f_type == RAMFS_MAGIC) | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-private/private-json-hooks.cc:429:17: warning: variable ‘Count’ set but not used [-Wunused-but-set-variable=] 429 | unsigned int Count = 1; | ^~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-private/private-history.cc:406:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 406 | return _error->Error(_("Transaction ID '%ld' out of bounds."), id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-pkg/cdrom.cc:487:8: warning: variable ‘CurLine’ set but not used [-Wunused-but-set-variable=] 487 | int CurLine = 0; | ^~~~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-pkg/contrib/fileutl.cc:1872:37: warning: narrowing conversion of ‘((ZstdFileFdPrivate*)this)->ZstdFileFdPrivate::zstd_buffer.simple_buffer::size()’ from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} [-Wnarrowing] 1872 | .size = zstd_buffer.size(), | ~~~~~~~~~~~~~~~~^~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-pkg/contrib/fileutl.cc:1877:21: warning: narrowing conversion of ‘(long long unsigned int)Size’ from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} [-Wnarrowing] 1877 | .size = Size, | ^~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-pkg/contrib/fileutl.cc:1915:18: warning: narrowing conversion of ‘(long long unsigned int)Size’ from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} [-Wnarrowing] 1915 | .size = Size, | ^~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-private/private-output.cc:961:34: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 961 | ioprintf(out, outVer < 30 ? _("%lu to remove and %lu not upgraded.\n") : _("Removing: %lu, Not Upgrading: %lu\n"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-private/private-output.cc:961:79: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 961 | ioprintf(out, outVer < 30 ? _("%lu to remove and %lu not upgraded.\n") : _("Removing: %lu, Not Upgrading: %lu\n"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/test/interactive-helper/createdeb-cve-2020-27350.cc:285:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 285 | snprintf(h.Size, sizeof(h.Size), "%ld", (size_t)512 + 512); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/test/interactive-helper/createdeb-cve-2020-27350.cc:293:46: warning: format ‘%lo’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 293 | snprintf(tar->Size, sizeof(tar->Size), "%lo", strlen(control)); | ~~^ ~~~~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %o -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-pkg/deb/dpkgpm.cc:424:17: warning: variable ‘Count’ set but not used [-Wunused-but-set-variable=] 424 | unsigned int Count = 1; | ^~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-pkg/deb/dpkgpm.cc:1692:81: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘std::vector<pkgDPkgPM::DpkgState>::size_type’ {aka ‘unsigned int’} [-Wformat=] 1692 | _error->Warning("Unexpected amount of planned ops for package %s: %lu", C.first->Pkg.FullName().c_str(), RemOp.size()); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int std::vector<pkgDPkgPM::DpkgState>::size_type {aka unsigned int} | %u -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-pkg/deb/dpkgpm.cc:1869:75: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare] 1869 | if (dpkg_recursive_install == true && dpkg_recursive_install_min < installsToDo) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-pkg/depcache.cc:1882:16: warning: variable ‘Ors’ set but not used [-Wunused-but-set-variable=] 1882 | unsigned Ors = 0; | ^~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/methods/connect.cc:593:71: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘unsigned int’} [-Wformat=] 593 | _error->Error("Can't use user&pass auth as they are too long (%lu and %lu) for the SOCKS5!", Proxy.User.length(), Proxy.Password.length()); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int std::__cxx11::basic_string<char>::size_type {aka unsigned int} | %u -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/methods/connect.cc:593:79: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘unsigned int’} [-Wformat=] 593 | _error->Error("Can't use user&pass auth as they are too long (%lu and %lu) for the SOCKS5!", Proxy.User.length(), Proxy.Password.length()); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int std::__cxx11::basic_string<char>::size_type {aka unsigned int} | %u -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/methods/connect.cc:1043:35: warning: ‘int SSL_set1_host(SSL*, const char*)’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations] 1043 | if (auto res = SSL_set1_host(tlsFd->ssl, OwnerConf->ConfigFindB("Verify-Host", true) ? tlsFd->hostname.c_str() : nullptr); res != 1) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/methods/rred.cc:466:91: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 466 | return _error->Error("Parsing patchfile %s failed: Effected lines end %lu is before start %lu", f.Name().c_str(), e, s); | ~~^ ~ | | | | long unsigned int size_t {aka unsigned int} | %u -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/methods/rred.cc:466:111: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 466 | return _error->Error("Parsing patchfile %s failed: Effected lines end %lu is before start %lu", f.Name().c_str(), e, s); | ~~^ ~ | | | | long unsigned int size_t {aka unsigned int} | %u -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/test/libapt/../../apt-private/private-json-hooks.cc:429:17: warning: variable ‘Count’ set but not used [-Wunused-but-set-variable=] 429 | unsigned int Count = 1; | ^~~~~ -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/apt-pkg/acquire-item.cc:2713:36: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector<DiffInfo>::size_type’ {aka ‘unsigned int’} [-Wformat=] 2713 | strprintf(ErrorText, "Need %lu diffs, but limit is %lu", available_patches.size(), fileLimit); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int std::vector<DiffInfo>::size_type {aka unsigned int} | %u -
/builddir/build/BUILD/apt-3.3.2-build/apt-3.3.2/test/interactive-helper/aptwebserver.cc:681:43: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 681 | strprintf(logfilepath, "%s.client-%lu.log", logfilepath.c_str(), id); | ~~^ ~~ | | | | long unsigned int unsigned int | %u