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

Bug 714080

Summary: x11-libs/motif-2.3.8-r1 : /.../Mrmhier.c: error: format not a string literal and no format arguments [-Werror=format-security]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Ulrich Müller <ulm>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713576    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
x11-libs:motif-2.3.8-r1:20200323-104106.log

Description Toralf Förster gentoo-dev 2020-03-23 14:41:22 UTC
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/lib/Mrm -I../../include -I../../lib/Xm -I/var/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/lib/Mrm/.. -I.. -I../Xm     -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment   -c -o Mrmhier.lo /var/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/lib/Mrm/Mrmhier.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/lib/Mrm -I../../include -I../../lib/Xm -I/var/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/lib/Mrm/.. -I.. -I../Xm -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -c /var/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/lib/Mrm/Mrmhier.c  -fPIC -DPIC -o .libs/Mrmhier.o
/var/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/lib/Mrm/Mrmhier.c: In function Urm__OpenHierarchy:
/var/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/lib/Mrm/Mrmhier.c:262:8: 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_desktop_gnome-20200322-135559

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
/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)

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 23 Mar 2020 09:48:18 AM UTC

emerge -qpvO x11-libs/motif
[ebuild  N    ] x11-libs/motif-2.3.8-r1  USE="jpeg motif22-compatibility png unicode -examples -static-libs -xft" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2020-03-23 14:41:25 UTC
Created attachment 624710 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-23 14:41:28 UTC
Created attachment 624712 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-23 14:41:31 UTC
Created attachment 624714 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-23 14:41:34 UTC
Created attachment 624716 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-23 14:41:37 UTC
Created attachment 624718 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-23 14:41:39 UTC
Created attachment 624720 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-23 14:41:43 UTC
Created attachment 624722 [details]
x11-libs:motif-2.3.8-r1:20200323-104106.log
Comment 8 Ulrich Müller gentoo-dev 2020-03-23 15:59:06 UTC
Duplicate, and also it is a false positive.
See bug 521024 comment #3 for an explanation.

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