Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578554 - sys-apps/roccat-tools-3.9.0: fails to build with -Werror=format-security
Summary: sys-apps/roccat-tools-3.9.0: fails to build with -Werror=format-security
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: fortify-source
  Show dependency tree
 
Reported: 2016-03-29 21:40 UTC by Sam Jorna (wraeth)
Modified: 2019-07-16 14:52 UTC (History)
0 users

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


Attachments
build.log (build.log,48.77 KB, text/plain)
2016-03-29 21:40 UTC, Sam Jorna (wraeth)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Jorna (wraeth) gentoo-dev 2016-03-29 21:40:46 UTC
Created attachment 429266 [details]
build.log

roccat-tools-3.9.0 fails to build when built with CFLAGS="-Werror=format-security"

> cd /var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0_build/libroccat && /usr/bin/x86_64-pc-linux-gnu-gcc  -Dlibroccat_EXPORTS -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/include -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/libroccat -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/libroccathelper -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/libroccatwidget -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0_build/include -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0_build/libroccathelper -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gudev-1.0 -I/usr/include/gaminggear-0 -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/arvo/libroccatarvo -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/isku/libroccatisku -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/iskufx/libroccatiskufx -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/kiro/libroccatkiro -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/kone/libroccatkone -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/koneplus/libroccatkoneplus -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/konepure/libroccatkonepure -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/konepuremilitary/libroccatkonepuremilitary -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/konepureoptical/libroccatkonepureoptical -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/konextd/libroccatkonextd -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/konextdoptical/libroccatkonextdoptical -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/kova2016/libroccatkova2016 -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/kovaplus/libroccatkovaplus -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/lua/libroccatlua -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/nyth/libroccatnyth -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/pyra/libroccatpyra -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/ryosmk/libroccatryosmk -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/ryostkl/libroccatryostkl -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/savu/libroccatsavu -I/var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/tyon/libroccattyon   -DNDEBUG -march=native -O2 -pipe -fomit-frame-pointer -Wformat -Werror=format-security  -fmessage-length=0 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-type-limits -D_GNU_SOURCE -fPIC   -DG_LOG_DOMAIN=\"Roccat\" -o CMake Files/libroccat.dir/roccat_firmware.c.o -c /var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/libroccat/roccat_firmware.c
> /var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/libroccat/roccat_firmware.c: In function ‘roccat_firmware_update_console’:
> /var/tmp/portage/sys-apps/roccat-tools-3.9.0/work/roccat-tools-3.9.0/libroccat/roccat_firmware.c:324:2: error: format not a string literal and no format arguments [-Werror=format-security]
>   g_print(roccat_string_firmware_liability());
>   ^
> cc1: some warnings being treated as errors
> libroccat/CMakeFiles/libroccat.dir/build.make:230: recipe for target 'libroccat/CMakeFiles/libroccat.dir/roccat_firmware.c.o' failed