FTBFS 4.13-10ubuntu3 when building with GCC 11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Squid |
Fix Released
|
Medium
|
Unassigned | ||
squid (Debian) |
Fix Released
|
Unknown
|
|||
squid (Ubuntu) |
Fix Released
|
Undecided
|
Sergio Durigan Junior |
Bug Description
ConnMark.cc: In member function ‘nfmark_t Acl::ConnMark:
ConnMark.cc:43:23: error: ‘numeric_limits’ is not a member of ‘std’
43 | if (number > std::numeric_
| ^~~~~~~~~~~~~~
ConnMark.cc:43:46: error: expected primary-expression before ‘>’ token
43 | if (number > std::numeric_
| ^
ConnMark.cc:43:52: error: no matching function for call to ‘max()’
43 | if (number > std::numeric_
| ~~~~~^~
In file included from ../../compat/
../../compat/
142 | max(A const & lhs, A const & rhs)
| ^~~
../../compat/
ConnMark.cc:43:52: note: candidate expects 2 arguments, 0 provided
43 | if (number > std::numeric_
| ~~~~~^~
make[6]: *** [Makefile:1110: ConnMark.lo] Error 1
Related branches
- Christian Ehrhardt (community): Needs Fixing
- Canonical Server Reporter: Pending requested
-
Diff: 1142 lines (+976/-2)9 files modifieddebian/NEWS (+7/-0)
debian/changelog (+735/-0)
debian/control (+3/-2)
debian/patches/0009-Fix-Werror-alloc-size-larger-than-on-GCC-12.patch (+65/-0)
debian/patches/90-cf.data.ubuntu.patch (+22/-0)
debian/patches/99-ubuntu-ssl-cert-snakeoil.patch (+24/-0)
debian/patches/fix-max-pkt-sz-for-icmpEchoData-padding.patch (+89/-0)
debian/patches/series (+4/-0)
debian/usr.sbin.squid (+27/-0)
- Robie Basak: Needs Fixing
- Canonical Server: Pending requested
-
Diff: 1015 lines (+856/-2)9 files modifieddebian/NEWS (+7/-0)
debian/changelog (+647/-0)
debian/control (+3/-2)
debian/patches/90-cf.data.ubuntu.patch (+22/-0)
debian/patches/99-ubuntu-ssl-cert-snakeoil.patch (+22/-0)
debian/patches/fix-max-pkt-sz-for-icmpEchoData-padding.patch (+89/-0)
debian/patches/series (+4/-0)
debian/patches/workaround-gcc11-wstringop-overread-bug.patch (+35/-0)
debian/usr.sbin.squid (+27/-0)
- Robie Basak: Approve
- Canonical Server: Pending requested
-
Diff: 389 lines (+349/-0)6 files modifieddebian/changelog (+14/-0)
debian/patches/add-missing-limits-include-connmark.patch (+39/-0)
debian/patches/fix-max-pkt-sz-for-icmpEchoData-padding.patch (+89/-0)
debian/patches/replace-cbdata-offset-hack-with-offsetof.patch (+168/-0)
debian/patches/series (+4/-0)
debian/patches/workaround-gcc11-wstringop-overread-bug.patch (+35/-0)
tags: | added: ftbfs |
Changed in squid (Ubuntu): | |
status: | New → Triaged |
Changed in squid (Debian): | |
status: | Unknown → New |
Changed in squid (Ubuntu): | |
assignee: | nobody → Sergio Durigan Junior (sergiodj) |
status: | Triaged → In Progress |
summary: |
- FTBFS 4.13-10ubuntu3 error: ‘numeric_limits’ is not a member of ‘std’ + FTBFS 4.13-10ubuntu3 when building with GCC 11 |
Changed in squid (Debian): | |
status: | New → Fix Released |
Fix was released in Squid-4.15. Upstream URL for patch is http:// www.squid- cache.org/ Versions/ v4/changesets/ squid-4- cbeff29b6088830 f14afd587f0fae4 f9e0b28369. patch