net-libs/libiscsi-1.9.0-r1 builds with sys-devel/gcc-4.9.3:4.9, but fails with sys-devel/gcc-5.2.0. Reproducible: Always
Created attachment 413146 [details] /var/tmp/portage/net-libs/libiscsi-1.9.0-r1/temp/build.log
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.ebuild 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] files/libiscsi-1.15.0-0001-disable-build-of-tests-and-examples.patch
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[2]: Entering directory '/var/tmp/portage/net-libs/libiscsi-9999/work/libiscsi-9999_build/tests' .../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" although libiscsi-9999 # find . -name iscsi.h ./include/iscsi.h
commit b9df0a2e012d1b9529c1229fd520fd459103cd7f Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.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. Gentoo-bug: 561722