Check attached build log.
Created attachment 184129 [details]
Created attachment 184755 [details, diff]
fix for O_CREAT bug in src/exec/libdx/plock.c
With the above patch applied:
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -O2 -pipe -fno-strength-reduce -D_GNU_SOURCE -MT fileio.lo -MD -MP -MF .deps/fileio.Tpo -c fileio.c -o fileio.o
In function 'open',
inlined from '_dxffile_open' at fileio.c:266:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make: *** [fileio.lo] Error 1
Created attachment 188407 [details, diff]
upstream patch for both problems
This is the patch I found in the upstream bug database fixing both
issues. The patch originated from redhat.
The part for the Plock problem is quite different.
Forgot, here is the link to the upstream bug:
I just posted a opendx-4.4.4-r1 ebuild in the science overlay with
a patch to solve this bug included. There is a number of other patches
included or revised.
I also switched to EAPI2 to get rid of "built-with-use"
You are welcome to test and report problems.
fix now in main tree. thanks.