← Back to team overview

enterprise-support team mailing list archive

[Bug 1939352] [NEW] FTBFS 4.13-10ubuntu3 error: ‘numeric_limits’ is not a member of ‘std’

 

Public bug reported:

https://people.canonical.com/~doko/ftbfs-report/test-
rebuild-20210805-impish-impish.html#ubuntu-server

https://launchpadlibrarian.net/552666498/buildlog_ubuntu-impish-
amd64.squid_4.13-10ubuntu3_BUILDING.txt.gz


ConnMark.cc: In member function ‘nfmark_t Acl::ConnMark::getNumber(Parser::Tokenizer&, const SBuf&) const’:
ConnMark.cc:43:23: error: ‘numeric_limits’ is not a member of ‘std’
   43 |     if (number > std::numeric_limits<nfmark_t>::max()) {
      |                       ^~~~~~~~~~~~~~

ConnMark.cc:43:46: error: expected primary-expression before ‘>’ token
   43 |     if (number > std::numeric_limits<nfmark_t>::max()) {
      |                                              ^
ConnMark.cc:43:52: error: no matching function for call to ‘max()’
   43 |     if (number > std::numeric_limits<nfmark_t>::max()) {
      |                                               ~~~~~^~
In file included from ../../compat/compat.h:87,
                 from ../../include/squid.h:43,
                 from ConnMark.cc:11:
../../compat/compat_shared.h:142:1: note: candidate: ‘template<class A> const A& max(const A&, const A&)’
  142 | max(A const & lhs, A const & rhs)
      | ^~~
../../compat/compat_shared.h:142:1: note:   template argument deduction/substitution failed:
ConnMark.cc:43:52: note:   candidate expects 2 arguments, 0 provided
   43 |     if (number > std::numeric_limits<nfmark_t>::max()) {
      |                                               ~~~~~^~
make[6]: *** [Makefile:1110: ConnMark.lo] Error 1

** Affects: squid
     Importance: Unknown
         Status: Unknown

** Affects: squid (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: squid (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: update-excuse

** Bug watch added: Debian Bug tracker #984351
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984351

** Also affects: squid (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984351
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to squid in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1939352

Title:
  FTBFS 4.13-10ubuntu3 error: ‘numeric_limits’ is not a member of ‘std’

To manage notifications about this bug go to:
https://bugs.launchpad.net/squid/+bug/1939352/+subscriptions



Follow ups