View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011609 | libextractor | build system | public | 2026-07-06 11:31 | 2026-07-28 23:22 |
| Reporter | SMillerDev | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | any | OS | macOS | OS Version | any |
| Product Version | Git master | ||||
| Target Version | 1.18 | Fixed in Version | 1.18 | ||
| Summary | 0011609: libextractor 1.17 uses secure_getenv, which is not a POSIX standard function | ||||
| Description | When trying to build libextractor 1.17 in Homebrew we found it failing on macOS: https://github.com/Homebrew/homebrew-core/pull/291509 It seems to be using https://www.gnu.org/software/gnulib/manual/html_node/secure_005fgetenv.html which is not usable on systems without glibc. | ||||
| Additional Information | ``` extractor_plugpath.c:482:22: error: call to undeclared function 'secure_getenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 482 | (NULL != (p = GETENV ("LIBEXTRACTOR_PREFIX"))) ) | ^ extractor_plugpath.c:474:18: note: expanded from macro 'GETENV' 474 | #define GETENV secure_getenv | ^ extractor_plugpath.c:482:20: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] 482 | (NULL != (p = GETENV ("LIBEXTRACTOR_PREFIX"))) ) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[3]: *** [libextractor_la-extractor_plugpath.lo] Error 1 ``` | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-07-06 11:31 | SMillerDev | New Issue | |
| 2026-07-28 20:38 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2026-07-28 20:38 | Christian Grothoff | Status | new => assigned |
| 2026-07-28 23:22 | Christian Grothoff | Status | assigned => resolved |
| 2026-07-28 23:22 | Christian Grothoff | Resolution | open => fixed |
| 2026-07-28 23:22 | Christian Grothoff | Fixed in Version | => 1.18 |
| 2026-07-28 23:22 | Christian Grothoff | Product Version | => Git master |
| 2026-07-28 23:22 | Christian Grothoff | Target Version | => 1.18 |
| 2026-07-28 23:22 | Christian Grothoff | Status | resolved => closed |