View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011609 | libextractor | build system | public | 2026-07-06 11:31 | 2026-07-06 11:31 |
| Reporter | SMillerDev | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Platform | any | OS | macOS | OS Version | any |
| 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 |