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"
Created attachment 780698 [details] emerge-info.txt
Created attachment 780701 [details] emerge-history.txt
Created attachment 780704 [details] environment
Created attachment 780707 [details] etc.portage.tar.bz2
Created attachment 780710 [details] logs.tar.bz2
Created attachment 780713 [details] sys-block:open-iscsi-2.1.6-r1:20220525-011539.log
Created attachment 780716 [details] temp.tar.bz2
(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.)
Reproduced with gcc:11 as well.
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(-)
> 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)
(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.
(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?
(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.
(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.