Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2263

Detect XSI or GNU strerror_r() implementation during build process

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.16.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      As reported in mongodb/mongo-php-driver#1445), the driver fails to build with PHP 8.2+ on Alpine Linux due to an unconditional definition of _GNU_SOURCE introduced in php/php-src@2c16664.

      CDRIVER-4679 briefly introduced a BSON_HAVE_XSI_STRERROR_R constant, which lead to the creation of this ticket (to track necessary changes to PHPC's autoconf build config); however, libmongoc ultimately reverted that change. This issue is ultimately addressed by PHPC-2270 and PHPC-2271.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: