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

Bug 795051

Summary: sys-apps/fwts-20.11.00 - ../.../fwts_framework.h: error: enumerator value for FWTS_ASSERT_str_too_small_in_line_99 is not an integ
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: CONFIRMED ---    
Severity: normal CC: zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://launchpad.net/bugs/2047906
https://github.com/fwts/fwts/issues/13
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-apps:fwts-20.11.00:20210608-195400.log

Description Toralf Förster gentoo-dev 2021-06-09 07:14:37 UTC
                 from fwts_firmware.c:24:
fwts_firmware.c: In function ‘fwts_firmware_feature_string’:
../../../src/lib/include/fwts_framework.h:274:27: error: enumerator value for ‘FWTS_ASSERT_str_too_small_in_line_99’ is not an integer constant
  274 | enum { FWTS_CONCAT_EXPAND(FWTS_ASSERT_ ## m ## _in_line_, __LINE__) = 1 / !!(e) }
      |                           ^~~~~~~~~~~~
../../../src/lib/include/fwts_framework.h:271:27: note: in definition of macro ‘FWTS_CONCAT’
  271 | #define FWTS_CONCAT(a, b) a ## b

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j3-20210606-185202

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 81856b99d0f60658300e99daa8375248f53ff99c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 8 18:50:14 2021 +0000

    2021-06-08 18:50:13 UTC

emerge -qpvO sys-apps/fwts
[ebuild  N    ] sys-apps/fwts-20.11.00
Comment 1 Toralf Förster gentoo-dev 2021-06-09 07:14:38 UTC
Created attachment 714873 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-09 07:14:39 UTC
Created attachment 714876 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-09 07:14:41 UTC
Created attachment 714879 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-09 07:14:42 UTC
Created attachment 714882 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-09 07:14:44 UTC
Created attachment 714885 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-09 07:14:46 UTC
Created attachment 714888 [details]
sys-apps:fwts-20.11.00:20210608-195400.log
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-30 09:38:41 UTC
This seems to be the same issue z_c reported upstream b/c unkw'd 23.11.00 wouldn't build.

commit ce0d6536cc59402682b39018e70014612c729148
Author: Rick Farina <zerochaos@gentoo.org>
Date:   Fri Dec 29 20:50:04 2023 -0500

    sys-apps/fwts: add 23.11.00

    Reported build issues upstream, committing ebuild without keywords since
    it doesn't build but it's better than the version in the tree.
    Removed upstreamed patch
    https://patchwork.ozlabs.org/project/fwts/patch/20220531074030.8151-1-ivan.hu@canonical.com/
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>

So it's not actually specific to that version, I guess.
Comment 8 Larry the Git Cow gentoo-dev 2024-01-30 09:39:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c9e0b908b1314a2f77c6458fd27a5576305cd4

commit 53c9e0b908b1314a2f77c6458fd27a5576305cd4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-30 09:39:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-30 09:39:24 +0000

    sys-apps/fwts: update bug references again
    
    Looks like it's not a new issue in the end.
    
    Bug: https://bugs.gentoo.org/795051
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/fwts/fwts-23.11.00.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)