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

Bug 713490

Summary: sys-block/tgt-1.0.90 : ./tgtd.h: error: _WORDSIZE undeclared here (not in a function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: cluster, prometheanfire
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
sys-block:tgt-1.0.79:20200319-144523.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-19 16:02:46 UTC
In file included from iscsi/iscsid.h:30,
                 from iscsi/conn.c:28:
./tgtd.h:176:51: error: __WORDSIZE undeclared here (not in a function)
  176 |  unsigned long bs_supported_ops[NR_SCSI_OPCODES / __WORDSIZE];
      |                                                   ^~~~~~~~~~
make: *** [Makefile:94: iscsi/conn.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO sys-block/tgt
[ebuild  N    ] sys-block/tgt-1.0.79  USE="-fcoe -fcp -ibmvio -infiniband -rbd"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 16:02:48 UTC
Created attachment 622748 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 16:02:51 UTC
Created attachment 622750 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-19 16:02:54 UTC
Created attachment 622752 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-19 16:02:57 UTC
Created attachment 622754 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-19 16:02:59 UTC
Created attachment 622756 [details]
sys-block:tgt-1.0.79:20200319-144523.log
Comment 6 Toralf Förster gentoo-dev 2020-03-19 16:03:02 UTC
Created attachment 622758 [details]
temp.tbz2
Comment 7 Agostino Sarubbo gentoo-dev 2023-03-01 08:25:55 UTC
tinderbox_musl has reproduced this issue with version 1.0.86 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2024-02-13 08:19:57 UTC
tinderbox_musl has reproduced this issue with version 1.0.90 - Updating summary.