Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 626252 Details for
Bug 714904
sys-power/nvclock-0.8_p20110102-r2 : banner.c: error: format not a string literal and no format arguments [-Werror=format-security
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-power:nvclock-0.8_p20110102-r2:20200326-174127.log
sys-power:nvclock-0.8_p20110102-r2:20200326-174127.log (text/plain), 18.03 KB, created by
Toralf Förster
on 2020-03-26 18:13:47 UTC
(
hide
)
Description:
sys-power:nvclock-0.8_p20110102-r2:20200326-174127.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-26 18:13:47 UTC
Size:
18.03 KB
patch
obsolete
> * Package: sys-power/nvclock-0.8_p20110102-r2 > * Repository: gentoo > * Maintainer: bircoph@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc gtk kernel_linux split-usr userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>>> Unpacking source... >>>> Unpacking nvclock-0.8_p20110102.tar.bz2 to /var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work >>>> Source unpacked in /var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work >>>> Preparing source in /var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102 ... > * Applying nvclock-0.8_p20110102-r1-make.patch ... > [ ok ] > * Applying nvclock-0.8_p20110102-usleep.patch ... > [ ok ] > * Applying nvclock-0.8_p20110102-desktop.patch ... > [ ok ] > * Applying nvclock-0.8_p20110102-buffers.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102' ... > * Running aclocal ... > [ ok ] > * This package has a configure.in file which has long been deprecated. Please > * update it to use configure.ac instead as newer versions of autotools will die > * when it finds this file. See https://bugs.gentoo.org/426262 for details. > * Running autoconf --force ... > [ ok ] > * Running autoheader ... > [ ok ] > * Running elibtoolize in: nvclock-0.8_p20110102/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102 ... >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --docdir=/usr/share/doc/nvclock-0.8_p20110102-r2 --disable-qt --enable-gtk --disable-nvcontrol >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c >checking whether make sets $(MAKE)... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking for library containing getopt_long... none required >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking getopt.h usability... yes >checking getopt.h presence... yes >checking for getopt.h... yes >checking for pkg-config... /usr/bin/pkg-config >checking for gtk+-2.0 >= 2.4.0... yes >checking GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 >checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype >configure: creating ./config.status >config.status: creating src/Makefile >config.status: creating src/backend/Makefile >config.status: creating src/nvcontrol/Makefile >config.status: creating src/qt/Makefile >config.status: creating src/gtk/Makefile >config.status: creating Makefile >config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting >config.status: creating config.h >config.status: executing default-1 commands > >NVClock build summary: >---------------------- >- Commandline version enabled >- NV-CONTROL support disabled >- GTK2 GUI enabled >- QT GUI disabled > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102 ... >make -j1 -C src/ nvclock smartdimmer >make: Entering directory '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src' >make -C backend >make[1]: Entering directory '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src/backend' >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o backend.o backend.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o bios.o bios.c >bios.c: In function âread_biosâ: >bios.c:95:37: warning: â__builtin___sprintf_chkâ writing a terminating nul past the end of the destination [-Wformat-overflow=] > 95 | sprintf(res, "%02x.%02x.%02x.%02x%c", (version>>24) & 0xff, (version>>16) & 0xff, (version>>8) & 0xff, version&0xff, '\0'); > | ^ >In file included from /usr/include/stdio.h:867, > from xfree.h:10, > from xf86i2c.h:9, > from i2c.h:25, > from backend.h:23, > from bios.c:31: >/usr/include/bits/stdio2.h:36:10: note: â__builtin___sprintf_chkâ output 13 bytes into a destination of size 12 > 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 37 | __bos (__s), __fmt, __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o config.o config.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o error.o error.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o nv30.o nv30.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o nv40.o nv40.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o nv50.o nv50.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o info.o info.c >info.c: In function âget_agp_supported_ratesâ: >info.c:785:19: warning: â%dâ directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] > 785 | sprintf(temp, "%dX ", i); > | ^~ >info.c:785:18: note: directive argument in the range [1, 2147483646] > 785 | sprintf(temp, "%dX ", i); > | ^~~~~~ >In file included from /usr/include/stdio.h:867, > from info.c:22: >/usr/include/bits/stdio2.h:36:10: note: â__builtin___sprintf_chkâ output between 4 and 13 bytes into a destination of size 4 > 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 37 | __bos (__s), __fmt, __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o overclock.o overclock.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o utils.o utils.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o i2c.o i2c.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o xf86i2c.o xf86i2c.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o adt7473.o adt7473.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o f75375.o f75375.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o lm99.o lm99.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o w83781d.o w83781d.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o w83l785r.o w83l785r.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o libc_wrapper.o libc_wrapper.c >In file included from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from libc_wrapper.c:29: >/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > | ^~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -I../.. -I../nvcontrol -c -o back_linux.o back_linux.c >back_linux.c: In function âpciReadLongâ: >back_linux.c:221:3: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 221 | fread(&buffer, sizeof(int32_t), 1, device); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >back_linux.c: In function âinit_nvclockâ: >back_linux.c:171:52: warning: â%dâ directive writing between 1 and 6 bytes into a region of size 2 [-Wformat-overflow=] > 171 | sprintf(nvclock.card[i].dev_name, "/dev/nvidia%d", nvclock.card[i].number); > | ^~ >back_linux.c:171:40: note: directive argument in the range [-32768, 32767] > 171 | sprintf(nvclock.card[i].dev_name, "/dev/nvidia%d", nvclock.card[i].number); > | ^~~~~~~~~~~~~~~ >In file included from /usr/include/stdio.h:867, > from back_linux.c:28: >/usr/include/bits/stdio2.h:36:10: note: â__builtin___sprintf_chkâ output between 13 and 18 bytes into a destination of size 13 > 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 37 | __bos (__s), __fmt, __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >back_linux.c:176:52: warning: â%dâ directive writing between 1 and 6 bytes into a region of size 2 [-Wformat-overflow=] > 176 | sprintf(nvclock.card[i].dev_name, "/dev/nvidia%d", nvclock.card[i].number); > | ^~ >back_linux.c:176:40: note: directive argument in the range [-32768, 32767] > 176 | sprintf(nvclock.card[i].dev_name, "/dev/nvidia%d", nvclock.card[i].number); > | ^~~~~~~~~~~~~~~ >In file included from /usr/include/stdio.h:867, > from back_linux.c:28: >/usr/include/bits/stdio2.h:36:10: note: â__builtin___sprintf_chkâ output between 13 and 18 bytes into a destination of size 13 > 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 37 | __bos (__s), __fmt, __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-ar cru libbackend.a backend.o bios.o config.o error.o nv30.o nv40.o nv50.o info.o overclock.o utils.o i2c.o xf86i2c.o adt7473.o f75375.o lm99.o w83781d.o w83l785r.o libc_wrapper.o back_linux.o >ranlib libbackend.a >make[1]: Leaving directory '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src/backend' >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o nvclock nvclock.c -I./backend -I./nvcontrol -I.. -L./backend -lbackend >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -o smartdimmer smartdimmer.c -I./backend -I./nvcontrol -I.. -L./backend -lbackend >make: Leaving directory '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src' >make -j1 -C src/gtk/ >make: Entering directory '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src/gtk' >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I../backend -I../nvcontrol -I../.. -c -o banner.o banner.c >In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, > from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, > from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, > from /usr/include/gtk-2.0/gtk/gtkbin.h:35, > from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, > from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, > from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, > from /usr/include/gtk-2.0/gtk/gtk.h:33, > from banner.c:24: >/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: âGTypeDebugFlagsâ is deprecated [-Wdeprecated-declarations] > 236 | void gtk_type_init (GTypeDebugFlags debug_flags); > | ^~~~ >In file included from /usr/include/glib-2.0/gobject/gobject.h:24, > from /usr/include/glib-2.0/gobject/gbinding.h:29, > from /usr/include/glib-2.0/glib-object.h:22, > from /usr/include/glib-2.0/gio/gioenums.h:28, > from /usr/include/glib-2.0/gio/giotypes.h:28, > from /usr/include/glib-2.0/gio/gio.h:26, > from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, > from /usr/include/gtk-2.0/gdk/gdk.h:32, > from /usr/include/gtk-2.0/gtk/gtk.h:32, > from banner.c:24: >/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here > 679 | { > | ^ >In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, > from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, > from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, > from /usr/include/gtk-2.0/gtk/gtk.h:126, > from banner.c:24: >/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: âGTimeValâ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] > 73 | GTimeVal last_popdown; > | ^~~~~~~~ >In file included from /usr/include/glib-2.0/glib/galloca.h:32, > from /usr/include/glib-2.0/glib.h:30, > from /usr/include/glib-2.0/gobject/gbinding.h:28, > from /usr/include/glib-2.0/glib-object.h:22, > from /usr/include/glib-2.0/gio/gioenums.h:28, > from /usr/include/glib-2.0/gio/giotypes.h:28, > from /usr/include/glib-2.0/gio/gio.h:26, > from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, > from /usr/include/gtk-2.0/gdk/gdk.h:32, > from /usr/include/gtk-2.0/gtk/gtk.h:32, > from banner.c:24: >/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here > 547 | struct _GTimeVal > | ^~~~~~~~~ >banner.c: In function âbanner_set_textâ: >banner.c:115:2: error: format not a string literal and no format arguments [-Werror=format-security] > 115 | banner->text = g_strdup_printf(text); > | ^~~~~~ >cc1: some warnings being treated as errors >make: *** [<builtin>: banner.o] Error 1 >make: Leaving directory '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src/gtk' > * ERROR: sys-power/nvclock-0.8_p20110102-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-power/nvclock-0.8_p20110102-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-power/nvclock-0.8_p20110102-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-power:nvclock-0.8_p20110102-r2:20200326-174127.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/temp/environment'. > * Working directory: '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102' > * S: '/var/tmp/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 714904
:
626242
|
626244
|
626246
|
626248
|
626250
| 626252 |
626254