Summary: | `sys/times.h` issue while cross-compiling on openSUSE | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Werner Lemberg <wl> |
Component: | Build Process | Assignee: | Chris Liddell (chrisl) <chris.liddell> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | chris.liddell |
Priority: | P2 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
Werner Lemberg
2025-01-23 20:56:24 UTC
More analysis showed that some GNU/Linux distributions like Fedora or openSUSE have `/usr/include/sys/times.h`, while others like Ubuntu or Debian have `/usr/include/x86_64-linux-gnu/sys/times.h`. The problem is that `unix-aux.mak` looks hard-coded into `/usr/include` to produce `gconfig_.h`. That's wrong - not only for cross-compiling, but also for native compilation. It only becomes a problem with cross-compilation, though. |