View Issue Details

IDProjectCategoryView StatusLast Update
0011609libextractorbuild systempublic2026-07-06 11:31
ReporterSMillerDev Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformanyOSmacOSOS Versionany
Summary0011609: libextractor 1.17 uses secure_getenv, which is not a POSIX standard function
DescriptionWhen 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
```
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-07-06 11:31 SMillerDev New Issue