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

Bug 761826

Summary: 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.tbz2
logs.tbz2
net-libs:libiscsi-1.18.0:20201223-122745.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-12-26 22:41:12 UTC
  302 |  iser_pdu = container_of(pdu, struct iser_pdu, iscsi_pdu);
      |             ^~~~~~~~~~~~
iser.c:302:31: error: expected expression before ‘struct’
  302 |  iser_pdu = container_of(pdu, struct iser_pdu, iscsi_pdu);
      |                               ^~~~~~
iser.c: In function ‘iscsi_iser_queue_pdu’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20201220-103336

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Dec 23 12:05:17 PM UTC 2020

emerge -qpvO net-libs/libiscsi
[ebuild  N    ] net-libs/libiscsi-1.18.0  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-12-26 22:41:13 UTC
Created attachment 679704 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-12-26 22:41:15 UTC
Created attachment 679707 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-12-26 22:41:16 UTC
Created attachment 679710 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-12-26 22:41:17 UTC
Created attachment 679713 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-12-26 22:41:18 UTC
Created attachment 679716 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-12-26 22:41:19 UTC
Created attachment 679719 [details]
net-libs:libiscsi-1.18.0:20201223-122745.log
Comment 7 Toralf Förster gentoo-dev 2020-12-26 22:41:21 UTC
Created attachment 679722 [details]
temp.tbz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-29 07:39:31 UTC
Hopefully fixed in libiscsi-1.19.0 (works for me).
Comment 9 Toralf Förster gentoo-dev 2022-01-25 13:19:02 UTC
*** Bug 815322 has been marked as a duplicate of this bug. ***