Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 815322

Summary: [stable] net-libs/libiscsi-1.18.0 - iser.c: error: expected expression before struct
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-libs:libiscsi-1.18.0:20210929-064359.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-09-29 07:22:04 UTC
  302 |         iser_pdu = container_of(pdu, struct iser_pdu, iscsi_pdu);
      |                    ^~~~~~~~~~~~
iser.c:302:38: error: expected expression before ‘struct’
  302 |         iser_pdu = container_of(pdu, struct iser_pdu, iscsi_pdu);
      |                                      ^~~~~~
iser.c: In function ‘iscsi_iser_queue_pdu’:
iser.c:678:38: error: expected expression before ‘struct’

  -------------------------------------------------------------------

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4_stable-20210927-230102

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

php cli:
  [1]   php7.3
  [2]   php7.4 *

  HEAD of ::gentoo
commit 10659c1b5fa247377333146470555e72183a4e03
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 29 01:06:33 2021 +0000

    2021-09-29 01:06:32 UTC

emerge -qpvO net-libs/libiscsi
[ebuild  N    ] net-libs/libiscsi-1.18.0
Comment 1 Toralf Förster gentoo-dev 2021-09-29 07:22:05 UTC
Created attachment 741912 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-29 07:22:06 UTC
Created attachment 741915 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-09-29 07:22:08 UTC
Created attachment 741918 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-09-29 07:22:09 UTC
Created attachment 741921 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-09-29 07:22:10 UTC
Created attachment 741924 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-09-29 07:22:11 UTC
Created attachment 741927 [details]
net-libs:libiscsi-1.18.0:20210929-064359.log
Comment 7 Toralf Förster gentoo-dev 2021-09-29 07:22:12 UTC
Created attachment 741930 [details]
temp.tar.bz2
Comment 8 Aurelien Minet 2022-01-25 11:59:31 UTC
It's a duplicate of https://bugs.gentoo.org/761826
net-libs/libiscsi-1.19.0 hasn't the problem for me
Comment 9 Toralf Förster gentoo-dev 2022-01-25 13:19:02 UTC

*** This bug has been marked as a duplicate of bug 761826 ***
Comment 10 Larry the Git Cow gentoo-dev 2023-05-10 11:44:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51cf016382a9b77926ee2a8038b1ecb8dc168d59

commit 51cf016382a9b77926ee2a8038b1ecb8dc168d59
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-10 11:43:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-10 11:44:14 +0000

    net-libs/libiscsi: add 1.19.0_p20230208 (w/ fixed tests!)
    
    Fixes tests and compile failures. Fedora is shipping a snapshot too.
    
    Bug: https://bugs.gentoo.org/786987
    Closes: https://bugs.gentoo.org/785433
    Closes: https://bugs.gentoo.org/815322
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libiscsi/Manifest                         |  1 +
 ...iscsi-1.19.0_p20230208-fix-rdma-automagic.patch | 24 ++++++++
 net-libs/libiscsi/libiscsi-1.19.0_p20230208.ebuild | 66 ++++++++++++++++++++++
 net-libs/libiscsi/libiscsi-9999.ebuild             | 18 +++++-
 4 files changed, 106 insertions(+), 3 deletions(-)