Detect XSI or GNU strerror_r() implementation during build process

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.16.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: