Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714682 - media-libs/hamlib-3.3 : rotctl_parse.c: error: format not a string literal and no format arguments [-Werror=format-security]
Summary: media-libs/hamlib-3.3 : rotctl_parse.c: error: format not a string literal an...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: format-security
  Show dependency tree
 
Reported: 2020-03-25 08:17 UTC by Toralf Förster
Modified: 2020-03-25 14:15 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.44 KB, text/plain)
2020-03-25 08:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,120.16 KB, text/plain)
2020-03-25 08:17 UTC, Toralf Förster
Details
environment (environment,94.28 KB, text/plain)
2020-03-25 08:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.24 KB, application/x-bzip)
2020-03-25 08:17 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,15.42 KB, application/x-bzip)
2020-03-25 08:17 UTC, Toralf Förster
Details
media-libs:hamlib-3.3:20200325-075507.log (media-libs:hamlib-3.3:20200325-075507.log,242.00 KB, text/plain)
2020-03-25 08:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,36.53 KB, application/x-bzip)
2020-03-25 08:17 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 2020-03-25 08:17:32 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -DIN_HAMLIB -I../include -I../src -I../lib  -Wall -O2 -pipe -march=native  -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c -o rotctl.o rotctl.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -DIN_HAMLIB -I../include -I../src -I../lib  -Wall -O2 -pipe -march=native  -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c -o rotctl_parse.o rotctl_parse.c
rotctl_parse.c: In function rotctl_parse:
rotctl_parse.c:1012:13: error: format not a string literal and no format arguments [-Werror=format-security]

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

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

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
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) *
The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 25 Mar 2020 06:38:38 AM UTC
/var/db/repos/libressl	Thu 19 Mar 2020 04:37:24 PM UTC

emerge -qpvO media-libs/hamlib
[ebuild  N    ] media-libs/hamlib-3.3  USE="-doc -perl -python -tcl" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2020-03-25 08:17:35 UTC
Created attachment 625710 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-25 08:17:37 UTC
Created attachment 625712 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-25 08:17:40 UTC
Created attachment 625714 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-25 08:17:43 UTC
Created attachment 625716 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-25 08:17:47 UTC
Created attachment 625718 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-25 08:17:49 UTC
Created attachment 625720 [details]
media-libs:hamlib-3.3:20200325-075507.log
Comment 7 Toralf Förster gentoo-dev 2020-03-25 08:17:52 UTC
Created attachment 625722 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-03-25 14:15:22 UTC
The bug has been closed via the following commit(s):

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

commit c206ece2b4cc4b081a32850bb50af6c5ec3d73bd
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2020-03-25 14:14:44 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2020-03-25 14:15:10 +0000

    media-libs/hamlib: Fix build error with -Werror=format-security
    
    Closes: https://bugs.gentoo.org/714682
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 media-libs/hamlib/files/hamlib-3.3-format-security.patch | 14 ++++++++++++++
 media-libs/hamlib/hamlib-3.3.ebuild                      |  4 ++++
 2 files changed, 18 insertions(+)