builds with sys-devel/gcc-4.9.3:4.9,
but fails with sys-devel/gcc-5.2.0.
Created attachment 413146 [details]
Created attachment 413148 [details]
emerge --info '=net-libs/libiscsi-1.9.0-r1::gentoo'
emerge -pqv '=net-libs/libiscsi-1.9.0-r1::gentoo'
[ebuild R ] net-libs/libiscsi-1.9.0-r1
Created attachment 414340 [details]
another emerge --info
I'm hitting this one as well. Not attaching my build.log since it fails in the exact same way.
Created attachment 414342 [details]
libiscsi 1.15.0 from upstream compiles correctly, provided one disables the building of tests which suffer from an -I include path problem (most likely unrelated to GCC5).
Created attachment 414344 [details, diff]
disabling the tests/examples should be done, but doesn't fix the problem.
the source misuses the "inline" keyword which leads to a broken library.
(In reply to Manfred Knick from comment #0)
> but fails with sys-devel/gcc-5.2.0.
Just for confirmation:
Still fails with
. . . sys-devel/gcc-5.3.0:5
as expected - see Vapier's comment directly above.
net-libs/libiscsi-9999:0/0 : Further problems in "tests" :
make: Entering directory
.../tests/prog_noop_reply.c:36:19: fatal error:
.../tests/prog_reconnect_timeout.c:34:19: fatal error:
.../tests/prog_reconnect.c:34:19: fatal error:
.../tests/prog_timeout.c:37:19: fatal error:
All fail with
"iscsi.h: No such file or directory"
libiscsi-9999 # find . -name iscsi.h
Author: Andreas Sturmlechner <email@example.com>
Date: Mon Dec 5 23:21:47 2016 +0100
net-libs/libiscsi: 1.18.0 version bump
Builds fine with GCC-5.4.0.