Summary: | net-libs/libiscsi: fails with gcc-5: lib/.libs/libiscsi.so: undefined reference to 'scsi_set_uint16' (and more) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Manfred Knick <Manfred.Knick> |
Component: | Current packages | Assignee: | Richard Yao (RETIRED) <ryao> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug, guillaume |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://github.com/gentoo/gentoo/pull/3026 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 536984 | ||
Attachments: |
/var/tmp/portage/net-libs/libiscsi-1.9.0-r1/temp/build.log
emerge --info '=net-libs/libiscsi-1.9.0-r1::gentoo' another emerge --info libiscsi-1.15.0.ebuild files/libiscsi-1.15.0-0001-disable-build-of-tests-and-examples.patch |
Description
Manfred Knick
2015-09-28 11:01:54 UTC
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 |