Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-25980

[RHEL10][CS10][FTBFS] squid fails to build on CS10 and RHEL10

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • CentOS Stream 10, rhel-10.0
    • squid
    • None
    • None
    • rhel-sst-cs-stacks
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      squid fails to build on CS 10 / RHEL 10

      https://kojihub.stream.centos.org/koji/taskinfo?taskID=3632844

      It fails with errors like this:

      Reply.cc: In static member function 'static void Helper::Reply::CheckReceivedKey(const SBuf&, const SBuf&)':
      Reply.cc:198:18: error: no matching function for call to 'find(std::vector<SBuf>::const_iterator, std::vector<SBuf>::const_iterator, const SBuf&)'
        198 |     if (std::find(recognized.begin(), recognized.end(), key) != recognized.end())
            |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/c++/14/bits/locale_facets.h:48,
                       from /usr/include/c++/14/bits/basic_ios.h:37,
                       from /usr/include/c++/14/ios:46,
                       from /usr/include/c++/14/ostream:40,
                       from /usr/include/c++/14/iostream:41,
                       from ../../src/base/RefCount.h:17,
                       from ../../src/acl/forward.h:12,
                       from ../../src/ConfigParser.h:12,
                       from Reply.cc:12:
       

      This looks like a GCC14/ModernC issue.

              luhliari@redhat.com Lubos Uhliarik
              tdawson@redhat.com Troy Dawson
              Lubos Uhliarik Lubos Uhliarik
              rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: