<div dir="ltr"><span style="font-family:monospace">Hi Andrius,<br><br>pkg-config references paths (/build/reproducible-path/…) that likely exist on the build system, but are not provided by the package:<br><br>```<br># pkg-config epics-base --cflags | sed -e 's/  */\n/g'<br>-I/build/reproducible-path/epics-base-7.0.8+dfsg1/include<br>-I/build/reproducible-path/epics-base-7.0.8+dfsg1/include/os/Linux<br>-I/build/reproducible-path/epics-base-7.0.8+dfsg1/include/compiler/gcc<br>-D_GNU_SOURCE<br>-D_DEFAULT_SOURCE<br>-D_X86_64_<br>-DUNIX<br>-Dlinux<br>-ffile-prefix-map=/build/reproducible-path/epics-base-7.0.8+dfsg1=.<br>-D_FORTIFY_SOURCE=2<br>-ffile-prefix-map=/build/reproducible-path/epics-base-7.0.8+dfsg1=.<br>-fstack-protector-strong<br>-fstack-clash-protection<br>-fcf-protection<br>-D_FORTIFY_SOURCE=2<br>-mtune=generic<br>-m64<br># dpkg -L epics-dev | grep /build; echo $?<br>1<br>```<br><br>Unrelated to this bug: my recommendation would be to keep the CPP flags (`-I`, `-D`) and remove the C flags (`-f`, `-m`).<br><br>> What compiler do you use?<br><br>We test our project with GCC and clang.<br><br>> Does this patch work for you?<br><br>Kind of. It fixes the compiler specific include described in the initial report, but fails to find an OS specific include:<br><br>```<br>In file included from /usr/include/epics/cadef.h:35,<br>                 from src/epics.c:26:<br>/usr/include/epics/epicsThread.h:468:10: fatal error: osdThread.h: No such file or directory<br>  468 | #include "osdThread.h"<br>      |          ^~~~~~~~~~~~~<br>```<br><br>> Can you as well try to add /usr/include/compiler/gcc to your compiler's include path?<br><br>That path alone is not enough, but this works:<br><br>```<br>make CPPFLAGS="-I/usr/include/epics -I/usr/include/epics/compiler/gcc -I/usr/include/epics/os/Linux"<br>```<br><br>Thanks for your time and effort maintaining this package, I appreciate it!<br>—octo<br></span></div>