Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774477 - sys-apps/ethq-0.6.1 - /.../string_fortified.h: error: char* _builtin_strncpy(char*, const char*, long unsigned int) specified boun
Summary: sys-apps/ethq-0.6.1 - /.../string_fortified.h: error: char* _builtin_strncpy(...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vladimir Pavljuchenkov (SpiderX)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-06 15:54 UTC by Toralf Förster
Modified: 2021-08-08 04:13 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.18 KB, text/plain)
2021-03-06 15:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,121.36 KB, text/plain)
2021-03-06 15:54 UTC, Toralf Förster
Details
environment (environment,52.99 KB, text/plain)
2021-03-06 15:54 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.65 KB, application/x-bzip)
2021-03-06 15:54 UTC, Toralf Förster
Details
sys-apps:ethq-0.6.1:20210306-153606.log (sys-apps:ethq-0.6.1:20210306-153606.log,2.51 KB, text/plain)
2021-03-06 15:54 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,14.09 KB, application/x-bzip)
2021-03-06 15:54 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 2021-03-06 15:54:01 UTC
In function ‘char* stpncpy(char*, const char*, size_t)’,
    inlined from ‘Ethtool::Ethtool(const string&)’ at ethtool++.cc:129:9:
/usr/include/bits/string_fortified.h:103:34: error: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  103 |   return __builtin___stpncpy_chk (__dest, __src, __n,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
  104 |       __glibc_objsize (__dest));

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210303-131616

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar  6 15:22:12 UTC 2021

emerge -qpvO sys-apps/ethq
[ebuild  N    ] sys-apps/ethq-0.6.1  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2021-03-06 15:54:02 UTC
Created attachment 689667 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-06 15:54:04 UTC
Created attachment 689670 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-06 15:54:05 UTC
Created attachment 689673 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-06 15:54:06 UTC
Created attachment 689676 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-06 15:54:07 UTC
Created attachment 689679 [details]
sys-apps:ethq-0.6.1:20210306-153606.log
Comment 6 Toralf Förster gentoo-dev 2021-03-06 15:54:09 UTC
Created attachment 689682 [details]
temp.tar.bz2