Richard Vinke wrote:
I solved this by:* remove the rpmbuild directory. * Start the rpmbuild and press <ctrl>+s. The process stops for now * Edit the file =BUILD/simscan-1.3.1/simscanmk.c=, line 133 en 379: add the 0x0644 as in: =open(CdbTmpFile?, O_CREAT | O_TRUNC | O_WRONLY, 0x0644)= * Continue the rpmbuild with <ctrl>+q
Or he could download the version that works with his distro that adjusts the compilation flags to not be as strict.