Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1448819 - FTBFS: Mrmlread.c:701:7: error: format not a string literal and no format arguments
Summary: FTBFS: Mrmlread.c:701:7: error: format not a string literal and no format arg...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: motif
Version: 26
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Petr Šabata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-08 09:43 UTC by Karsten Hopp
Modified: 2017-06-13 13:35 UTC (History)
3 users (show)

Fixed In Version: motif-2.3.4-13.fc27 motif-2.3.4-13.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-13 13:35:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2017-05-08 09:43:13 UTC
Description of problem:
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../lib/Xm -I./.. -I.. -I../Xm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -I/usr/include/libpng16 -MT Mrmerror.lo -MD -MP -MF .deps/Mrmerror.Tpo -c Mrmerror.c -o Mrmerror.o >/dev/null 2>&1
Mrmlread.c: In function 'MrmFetchColorLiteral':
Mrmlread.c:701:7: error: format not a string literal and no format arguments [-Werror=format-security]
       sprintf(err_msg, _MrmMMsg_0040);
       ^~~~~~~
Mrmwcrw.c: In function 'Urm__CW_CreateArglist':
Mrmwcrw.c:1393:9: error: format not a string literal and no format arguments [-Werror=format-security]
         sprintf (err_msg, _MrmMMsg_0040);
         ^~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../lib/Xm -I./.. -I.. -I../Xm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -I/usr/include/libpng16 -MT Mrmos.lo -MD -MP -MF .deps/Mrmos.Tpo -c Mrmos.c -o Mrmos.o >/dev/null 2>&1
Mrmicon.c: In function 'Urm__RealizeColorTable':
MrmIrid.c: In function 'Idb__RID_ReturnItem':
Mrmicon.c:1179:3: error: format not a string literal and no format arguments [-Werror=format-security]
   sprintf(err_msg, _MrmMMsg_0040);
   ^~~~~~~
MrmIrid.c:266:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   if ((recptr->pointers[resndx].internal_id.rec_no == 0) &&
      ^
Mrmicon.c:1255:8: error: format not a string literal and no format arguments [-Werror=format-security]
        sprintf (err_msg, _MrmMMsg_0040);
        ^~~~~~~

Version-Release number of selected component (if applicable):
motif-2.3.4-12.fc26

How reproducible:
always

Steps to Reproduce:
1. koji build --scratch f26 motif-2.3.4-12.fc26.src.rpm
2.
3.

Actual results:


Expected results:


Additional info:
This is blocking us in the Modularity team as we need to be able to rebuild
 motif

Comment 1 Petr Šabata 2017-06-08 10:15:23 UTC
I'll fix this.

Comment 2 Fedora Update System 2017-06-08 10:50:24 UTC
motif-2.3.4-13.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8de9a60073

Comment 3 Fedora Update System 2017-06-10 01:09:16 UTC
motif-2.3.4-13.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8de9a60073

Comment 4 Fedora Update System 2017-06-13 13:35:48 UTC
motif-2.3.4-13.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.