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

Bug 900607

Summary: sci-electronics/NanoVNA-QT-20200507 - firmwareupdater.H: error: uint8_t was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
sci-electronics:NanoVNA-QT-20200507:20230309-022747.log

Description Toralf Förster gentoo-dev 2023-03-09 18:46:12 UTC
too long lines were shrinked:

      |                               ~~~~~~~~~~~~~~~~^~~
x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -Wextra -std=c++11 -DEIGEN_DONT_VECTORIZE -DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CHARTS_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
In file included from firmwareupdater.C:1:
firmwareupdater.H:23:30: error: uint32_t has not been declared
   23 |     void beginUploadFirmware(uint32_t dstAddr,
      |                              ^~~~~~~~
firmwareupdater.H:24:49: error: uint8_t was not declared in this scope
   24 |                              const function<int(uint8_t* buf, int len)>& reader,
      |                                                 ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-j5-20230308-130240

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
php cli (if any):

  HEAD of ::gentoo
commit 9b2130b692c76663cac94b77eeb457aa14cd2214
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 9 01:32:01 2023 +0000

    2023-03-09 01:32:01 UTC

emerge -qpvO sci-electronics/NanoVNA-QT
[ebuild  N    ] sci-electronics/NanoVNA-QT-20200507
Comment 1 Toralf Förster gentoo-dev 2023-03-09 18:46:13 UTC
Created attachment 857013 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-09 18:46:14 UTC
Created attachment 857015 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-03-09 18:46:16 UTC
Created attachment 857017 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-03-09 18:46:16 UTC
Created attachment 857019 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-03-09 18:46:18 UTC
Created attachment 857021 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-09 18:46:19 UTC
Created attachment 857023 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-09 18:46:20 UTC
Created attachment 857025 [details]
sci-electronics:NanoVNA-QT-20200507:20230309-022747.log
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-18 00:27:43 UTC
ping, this should be a trivial missing include, and gcc 13 is about to be released
Comment 9 Larry the Git Cow gentoo-dev 2023-04-19 07:36:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6574eb8312ba566256c38c638308dbc6e31d7f67

commit 6574eb8312ba566256c38c638308dbc6e31d7f67
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-04-18 21:47:18 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-04-19 07:36:08 +0000

    sci-electronics/NanoVNA-QT: add more missing header includes
    
    Closes: https://bugs.gentoo.org/900607
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../files/NanoVNA-QT-20200507-missing_headers.patch  | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)