Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847418 - sys-block/open-iscsi-2.1.6-r1 - ../.../iscsi_proto.h: error: expected =, ,, ;, asm or _attribute_ before itt_t
Summary: sys-block/open-iscsi-2.1.6-r1 - ../.../iscsi_proto.h: error: expected =, ,, ;...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-25 08:44 UTC by Toralf Förster
Modified: 2022-06-14 20:59 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.18 KB, text/plain)
2022-05-25 08:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.25 KB, text/plain)
2022-05-25 08:44 UTC, Toralf Förster
Details
environment (environment,115.55 KB, text/plain)
2022-05-25 08:44 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.04 KB, application/x-bzip)
2022-05-25 08:44 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.81 KB, application/x-bzip)
2022-05-25 08:44 UTC, Toralf Förster
Details
sys-block:open-iscsi-2.1.6-r1:20220525-011539.log (sys-block:open-iscsi-2.1.6-r1:20220525-011539.log,27.03 KB, text/plain)
2022-05-25 08:44 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,33.70 KB, application/x-bzip)
2022-05-25 08:44 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-05-25 08:44:39 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -fPIC -Wall -Wstrict-prototypes -Wno-format-truncation -I../../include -I../../usr -D_GNU_SOURCE -I../../libopeniscsiusr  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOUR
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -fPIC -Wall -Wstrict-prototypes -Wno-format-truncation -I../../include -I../../usr -D_GNU_SOURCE -I../../libopeniscsiusr  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOUR
In file included from ../../include/fw_context.h:27,
                 from fwparam_sysfs.c:35:
../../include/iscsi_proto.h:66:30: error: expected =’, ,’, ;’, asm’ or __attribute__’ before itt_t’
   66 | typedef uint32_t __bitwise__ itt_t;
      |                              ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20220524-060010

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.3
Python 3.9.13
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.61.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit d703ed9fca853edc5e1b7e0e36b07dbf795d81c9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed May 25 00:32:59 2022 +0000

    2022-05-25 00:32:58 UTC

emerge -qpvO sys-block/open-iscsi
[ebuild  N    ] sys-block/open-iscsi-2.1.6-r1  USE="systemd tcp -debug -infiniband -rdma"
Comment 1 Toralf Förster gentoo-dev 2022-05-25 08:44:41 UTC
Created attachment 780698 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-25 08:44:42 UTC
Created attachment 780701 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-05-25 08:44:43 UTC
Created attachment 780704 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-05-25 08:44:44 UTC
Created attachment 780707 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-05-25 08:44:46 UTC
Created attachment 780710 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-25 08:44:47 UTC
Created attachment 780713 [details]
sys-block:open-iscsi-2.1.6-r1:20220525-011539.log
Comment 7 Toralf Förster gentoo-dev 2022-05-25 08:44:48 UTC
Created attachment 780716 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 04:19:23 UTC
(FWIW, this needs a bump, but I got fed up of messing w/ build system for now. It shouldn't be too hard to do though. Not sure if it'll fix the issue or not.)
Comment 9 Matthias Maier gentoo-dev 2022-06-02 17:50:20 UTC
Reproduced with gcc:11 as well.
Comment 10 Larry the Git Cow gentoo-dev 2022-06-02 18:21:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5536cd18a01bb593e72daa0dfe54297022cb5e7a

commit 5536cd18a01bb593e72daa0dfe54297022cb5e7a
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2022-06-02 18:18:56 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2022-06-02 18:20:46 +0000

    sys-block/open-iscsi: version bump to 2.1.7, various fixes
    
     - drop (parts of the) old patches for 2.1.6 as they have been upstreamed
    
     - remove -Werror from compiler command line
    
     - remove hardcoded sed path
    
     - use __bitwise instead of __bitwise__ macro. The latter seems to be a
       typo
    
    Bug: https://bugs.gentoo.org/847418
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 sys-block/open-iscsi/Manifest                      |   1 +
 .../files/open-iscsi-2.1.7-fix_bitwise.patch       |  52 ++++++++
 .../files/open-iscsi-2.1.7-fix_sed.patch           |  67 +++++++++++
 .../files/open-iscsi-2.1.7-no_werror.patch         |  26 ++++
 sys-block/open-iscsi/open-iscsi-2.1.6-r1.ebuild    |   2 +-
 sys-block/open-iscsi/open-iscsi-2.1.7.ebuild       | 133 +++++++++++++++++++++
 6 files changed, 280 insertions(+), 1 deletion(-)
Comment 11 Jan Psota 2022-06-12 08:07:39 UTC
>     sys-block/open-iscsi: version bump to 2.1.7, various fixes
On all my systems:
 * ERROR: sys-block/open-iscsi-2.1.7::gentoo failed (install phase):
 *   gunzip failed

(tried with gcc and clang - as compiler differences lead to strange errors)
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-12 08:09:27 UTC
(In reply to Jan Psota from comment #11)
> >     sys-block/open-iscsi: version bump to 2.1.7, various fixes
> On all my systems:
>  * ERROR: sys-block/open-iscsi-2.1.7::gentoo failed (install phase):
>  *   gunzip failed
> 
> (tried with gcc and clang - as compiler differences lead to strange errors)

Please file a new bug, and within it, upload the full build.log, and include emerge --info.
Comment 13 Jan Psota 2022-06-14 20:48:48 UTC
(In reply to Sam James from comment #12)
> (In reply to Jan Psota from comment #11)
> >  * ERROR: sys-block/open-iscsi-2.1.7::gentoo failed (install phase):
> >  *   gunzip failed

> Please file a new bug, and within it, upload the full build.log, and include
> emerge --info.

No need. The problem is gunzip in lines 115 and 116:
        gunzip -r "${ED}"/usr/share/man/man3/ || die "gunzip failed"
        gunzip -r "${ED}"/usr/share/man/man8/ || die "gunzip failed"
...because no file in that directories is compressed.
I wonder how it could work on any system?
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-14 20:52:02 UTC
(In reply to Jan Psota from comment #13)
> (In reply to Sam James from comment #12)
> > (In reply to Jan Psota from comment #11)
> > >  * ERROR: sys-block/open-iscsi-2.1.7::gentoo failed (install phase):
> > >  *   gunzip failed
> 
> > Please file a new bug, and within it, upload the full build.log, and include
> > emerge --info.
> 
> No need. The problem is gunzip in lines 115 and 116:
>         gunzip -r "${ED}"/usr/share/man/man3/ || die "gunzip failed"
>         gunzip -r "${ED}"/usr/share/man/man8/ || die "gunzip failed"
> ...because no file in that directories is compressed.
> I wonder how it could work on any system?

It's not to do with this bug, so yes, it is needed.
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-14 20:59:01 UTC
(In reply to Sam James from comment #14)
> (In reply to Jan Psota from comment #13)
> > (In reply to Sam James from comment #12)
> > > (In reply to Jan Psota from comment #11)
> > > >  * ERROR: sys-block/open-iscsi-2.1.7::gentoo failed (install phase):
> > > >  *   gunzip failed
> > 
> > > Please file a new bug, and within it, upload the full build.log, and include
> > > emerge --info.
> > 
> > No need. The problem is gunzip in lines 115 and 116:
> >         gunzip -r "${ED}"/usr/share/man/man3/ || die "gunzip failed"
> >         gunzip -r "${ED}"/usr/share/man/man8/ || die "gunzip failed"
> > ...because no file in that directories is compressed.
> > I wonder how it could work on any system?
> 
> It's not to do with this bug, so yes, it is needed.

... and done as bug 851996. It's hard enough to keep track of bugs when they're open. I can't really do it with bugs that are closed.