Under genkernel-3.4.10.908 /etc/genkernel.conf, does not reflect latest version of working open-iscsi. While building, returns the following error: /var/tmp/genkernel/6480.26436.24287.27453/open-iscsi-2.0.871.3/usr/iscsi_sysfs.c:879: undefined reference to `S_ISDIR' iscsi_sysfs.o: In function `iscsi_sysfs_get_sid_from_path': /var/tmp/genkernel/6480.26436.24287.27453/open-iscsi-2.0.871/usr/iscsi_sysfs.c:618: undefined reference to `S_ISDIR' /var/tmp/genkernel/6480.26436.24287.27453/open-iscsi-2.0.871/usr/iscsi_sysfs.c:618: undefined reference to `S_ISLNK' collect2: ld returned 1 exit status make[1]: *** [iscsid] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/genkernel/6480.26436.24287.27453/open-iscsi-2.0.871.3/usr' make: *** [user] Error 2 To fix would require a version bump on /etc/genkernel.conf for open-iscsi-2.0.871.3 and attached patch per LP:600935 (https://code.launchpad.net/bugs/600953) Also, attached updated ebuild for versioning goodness.
Created attachment 258222 [details] open-iscsi-2.0.871.3-r1.ebuild
Created attachment 258224 [details, diff] files/open-iscsi-2.0.871.3-r1-iscsi_sysfs.patch
Created attachment 258225 [details] updated with bug number documentation Sorry for the spam :L
PS: Adding keyword "Inclusion" and "[patch] " prefix to better show this bug's nature in searches...
The problem is that the open-iscsi version is old. Can you try the newer verison from #314575?
FYI an easy way to get iscsi 2.0-872 is emerging genkernel-3.4.12.6-r1 that I just added. Please report back, if that fixes your problem.
872 doesn't compile either. A simple genkernel --iscsi all would have spotted that before committing ;-). Will post the build output in a few hours.
(In reply to comment #7) > 872 doesn't compile either. A simple genkernel --iscsi all would have spotted > that before committing ;-). Will post the build output in a few hours. On my computer 872 compiles (using genkernel-3.4.14).
Error is the same listed here: http://bugs.gentoo.org/show_bug.cgi?id=340425#c6
(In reply to comment #8) > On my computer 872 compiles (using genkernel-3.4.14). Maybe because you don't have openslp installed?
Yeah, adding -lslp to compiler flags fixes it. Also, openslp is an automagic dep and should be handled via a USE flag in open-iscsi ebuild.
http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=ad2842f6701c0eea0666a4b2e510f1cd078de6fe