Open Obarun opened 7 years ago
No, it should really be libiscsi.h
. It is provided by iscsi-initiator-utils-devel
package in Fedora. I don't know if this is packaged in ArchLinux.
in this case it's not possible to build it correctly on Archlinux. Archlinux provide the package libiscsi coming from this upstream : https://github.com/sahlberg/libiscsi. According to this upstream source, the h source is called iscsi.h ( https://github.com/sahlberg/libiscsi/tree/master/include ) if i do not make a mistake. May be your upstream source for libiscsi is not the same? In this case, can you give me your uptsream source about libiscsi?
Yes, this is actually a different "libiscsi". I wasn't able to find a better "upstream" source for "our" libiscsi than this --https://src.fedoraproject.org/rpms/iscsi-initiator-utils/blob/master/f/0009-libiscsi.patch -- patch for iscsi-initiator-utils package.
I don't know why udisks uses this libsicsi and not the one you found.
ok, got the trouble, udisks use open-iscsi https://github.com/open-iscsi/open-iscsi instead of libiscsi https://github.com/sahlberg/libiscsi, changing my packages dependencies should solve the trouble. i will test it. Thanks for your help and time
So, unfortunately for the moment the package open-iscsi on Arch do not provide the libiscsi.so0 and the libiscsi.h helper file....
So i fact, upstream source of open-iscsi do not provide libiscsi.h helper file. Fedora create this file by patching the source. That's mean that you provide a modules which it only works on Fedora system.
Yes, this is not ideal situation. I'm not author of the plugin and I don't know why they decided to use this library and not something that is upstreamed. But there is actually some good news -- the library should be soon part of openiscsi upstream -- some parts are already merged (https://github.com/open-iscsi/open-iscsi/pull/71). For now you can just compile udisks without the iscsi plugin.
(I'm sorry it took me so long to answer. I completely forgot about this issue.)
no problem :), this is happen sometime
Is there any news here? Can the fedora patch dependency be dropped in favor of a dependency on open-iscsi for the --enable-iscsi
build option?
No actual work has been done on this. The upstream libopeniscsiusr
library needs to be enhanced with missing operations and the UDisks plugin needs to be rewritten. It is on my TODO list though.
Hi! :wave:
I package udisks2 for Arch Linux and would be happy to see this being done, so that we may also eventually ship the iSCSI plugin.
I'll subscribe this ticket for further news on the topic :sweat_smile:
Thanks for your interest. The status is still "No actual work has been done on this."
hi, trying to build the last version build with --enable-iscsi modules option.
it look after libiscsi.h, i think this is should be iscsi.h, not?