Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694406 - games-strategy/colobot-0.1.11 : /.../model_output.cpp:331:16: error: char* strncpy(char*, const char*, size_t) specified bound 20 equals destination size [-Werror=stringop-truncation]
Summary: games-strategy/colobot-0.1.11 : /.../model_output.cpp:331:16: error: char* st...
Status: RESOLVED DUPLICATE of bug 686490
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-14 23:59 UTC by Toralf Förster
Modified: 2019-09-23 17:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.74 KB, text/plain)
2019-09-14 23:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,51.14 KB, text/plain)
2019-09-14 23:59 UTC, Toralf Förster
Details
environment (environment,109.88 KB, text/plain)
2019-09-14 23:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.42 KB, application/x-bzip)
2019-09-14 23:59 UTC, Toralf Förster
Details
games-strategy:colobot-0.1.11:20190914-232114.log (games-strategy:colobot-0.1.11:20190914-232114.log,100.79 KB, text/plain)
2019-09-14 23:59 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.31 KB, application/x-bzip)
2019-09-14 23:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.63 KB, application/x-bzip)
2019-09-15 00:00 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 2019-09-14 23:59:42 UTC
/var/tmp/portage/games-strategy/colobot-0.1.11/work/colobot-colobot-gold-0.1.11-alpha/src/graphics/model/model_output.cpp: In function ‘void Gfx::ModelOutput::WriteOldModel(const Gfx::CModel&, std::ostream&)’:
/var/tmp/portage/games-strategy/colobot-0.1.11/work/colobot-colobot-gold-0.1.11-alpha/src/graphics/model/model_output.cpp:331:16: error: ‘char* strncpy(char*, const char*, size_t)’ specified bound 20 equals destination size [-Werror=stringop-truncation]
  331 |         strncpy(t.texName, triangle.tex1Name.c_str(), 20);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-libressl-20190913-195003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository timestamp:

==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 14 Sep 2019 22:06:02 +0000

emerge -qpvO games-strategy/colobot
[ebuild  N    ] games-strategy/colobot-0.1.11  USE="openal -devbuild -doc -test -tools"
Comment 1 Toralf Förster gentoo-dev 2019-09-14 23:59:45 UTC
Created attachment 589858 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-09-14 23:59:48 UTC
Created attachment 589860 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-09-14 23:59:50 UTC
Created attachment 589862 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-09-14 23:59:53 UTC
Created attachment 589864 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-09-14 23:59:56 UTC
Created attachment 589866 [details]
games-strategy:colobot-0.1.11:20190914-232114.log
Comment 6 Toralf Förster gentoo-dev 2019-09-14 23:59:59 UTC
Created attachment 589868 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-09-15 00:00:01 UTC
Created attachment 589870 [details]
temp.tbz2
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-09-23 17:48:00 UTC

*** This bug has been marked as a duplicate of bug 686490 ***