Bug 1098749 - libiscsi fails to build with rdma-core v18.1
libiscsi fails to build with rdma-core v18.1
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Martin Pluskal
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-22 07:44 UTC by Max Lin
Modified: 2018-12-19 13:35 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Lin 2018-06-22 07:44:50 UTC
libiscsi[1] fails to build with rdma-core v18.1[2]

error message:
[   50s] iser.c: In function 'iscsi_iser_free_pdu':
[   50s] iser.c:303:13: warning: implicit declaration of function 'container_of' [-Wimplicit-function-declaration]
[   50s]   iser_pdu = container_of(pdu, struct iser_pdu, iscsi_pdu);
[   50s]              ^~~~~~~~~~~~
[   50s] iser.c:303:31: error: expected expression before 'struct'
[   50s]   iser_pdu = container_of(pdu, struct iser_pdu, iscsi_pdu);
[   50s]                                ^~~~~~
[   50s] iser.c: In function 'iscsi_iser_queue_pdu':
[   50s] iser.c:679:31: error: expected expression before 'struct'
[   50s]   iser_pdu = container_of(pdu, struct iser_pdu, iscsi_pdu);
[   50s]                                ^~~~~~
[   50s] iser.c: In function 'iser_rcv_completion':
[   50s] iser.c:1044:37: error: expected expression before 'struct'
[   50s]   iser_pdu = container_of(iscsi_pdu, struct iser_pdu, iscsi_pdu);
[   50s]                                      ^~~~~~
[   50s] make[2]: *** [Makefile:596: libiscsi_la-iser.lo] Error 1
[   50s] make[2]: *** Waiting for unfinished jobs....
[   50s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/libiscsi-1.18.0/lib'
[   50s] make[1]: *** [Makefile:493: all-recursive] Error 1
[   50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/libiscsi-1.18.0'
[   50s] make: *** [Makefile:381: all] Error 2
[   50s] error: Bad exit status from /var/tmp/rpm-tmp.8niY7V (%build)

[1] https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:A:DVD/libiscsi/standard/x86_64

[2] https://build.opensuse.org/request/show/616908
Comment 1 Max Lin 2018-06-22 07:47:06 UTC
Hi Martin, as you're libiscsi bugowner, I just assigned this to you, can you have a look?
Comment 2 Martin Pluskal 2018-06-22 07:54:24 UTC
(In reply to Max Lin from comment #1)
> Hi Martin, as you're libiscsi bugowner, I just assigned this to you, can you
> have a look?

Sure
Comment 3 Swamp Workflow Management 2018-06-22 08:40:06 UTC
This is an autogenerated message for OBS integration:
This bug (1098749) was mentioned in
https://build.opensuse.org/request/show/618440 Factory / libiscsi
Comment 4 Martin Pluskal 2018-06-25 09:04:45 UTC
I guess we can close this one.