D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/nvclock-0.8-0.b4.16.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.lkxJaI + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf nvclock0.8b4 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/nvclock0.8b4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nvclock0.8b4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/nvclock0.8b4-makefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/nvclock0.8b4-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.kvJ1FK + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd nvclock0.8b4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader: autoconf input should be named 'configure.ac', not 'configure.in' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-gtk --disable-qt --enable-nvcontrol configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-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 the compiler supports GNU C... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking for x86_64-mageia-linux-gnu-g++... x86_64-mageia-linux-gnu-g++ checking whether the compiler supports GNU C++... yes checking whether x86_64-mageia-linux-gnu-g++ accepts -g... yes checking for x86_64-mageia-linux-gnu-g++ option to enable C++11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for library containing getopt_long... none required 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... -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread 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 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype checking for x11... yes checking X11_CFLAGS... checking X11_LIBS... -lX11 checking for xext... yes checking XEXT_CFLAGS... checking XEXT_LIBS... -lXext 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: creating config.h config.status: executing default-1 commands configure: WARNING: unrecognized options: --disable-dependency-tracking NVClock build summary: ---------------------- - Commandline version enabled - NV-CONTROL support enabled - GTK2 GUI enabled - QT GUI disabled + /usr/bin/make -O -j8 V=1 VERBOSE=1 -j1 /usr/bin/make -C src all make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/backend' x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o backend.o backend.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o bios.o bios.c bios.c: In function 'dump_bios': bios.c:909:6: warning: implicit declaration of function 'load_bios_pramin' [-Wimplicit-function-declaration] 909 | if(!load_bios_pramin(rom)) | ^~~~~~~~~~~~~~~~ bios.c:911:7: warning: implicit declaration of function 'load_bios_prom' [-Wimplicit-function-declaration] 911 | if(!load_bios_prom(rom)) | ^~~~~~~~~~~~~~ x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o config.o config.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o error.o error.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o nv30.o nv30.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o nv40.o nv40.c nv40.c: In function 'nv43_get_gpu_temp': nv40.c:393:3: warning: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 393 | usleep(500); | ^~~~~~ x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o nv50.o nv50.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o info.o info.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o overclock.o overclock.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o utils.o utils.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o i2c.o i2c.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o xf86i2c.o xf86i2c.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o adt7473.o adt7473.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o f75375.o f75375.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o lm99.o lm99.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o w83781d.o w83781d.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o w83l785r.o w83l785r.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o libc_wrapper.o libc_wrapper.c libc_wrapper.c: In function 'xf86usleep': libc_wrapper.c:53:2: warning: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 53 | usleep(usec); | ^~~~~~ x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o back_linux.o back_linux.c x86_64-mageia-linux-gnu-gcc -O0 -I../.. -I../nvcontrol -c -o nvcontrol.o nvcontrol.c 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 nvcontrol.o ranlib libbackend.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/backend' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/nvcontrol' x86_64-mageia-linux-gnu-gcc -I../backend -c -o libnvcontrol.o libnvcontrol.c x86_64-mageia-linux-gnu-gcc -I../backend -c -o nvcontrol.o nvcontrol.c ar cru libnvcontrol.a libnvcontrol.o nvcontrol.o ranlib libnvcontrol.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/nvcontrol' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/gtk' x86_64-mageia-linux-gnu-gcc -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 | ^~~~~~~~~ x86_64-mageia-linux-gnu-gcc -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../backend -I../nvcontrol -I../.. -c -o gl.o gl.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 gl.c:29: /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 gl.c:29: /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 gl.c:29: /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 gl.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ x86_64-mageia-linux-gnu-gcc -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../backend -I../nvcontrol -I../.. -c -o hw.o hw.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 hw.c:36: /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 hw.c:36: /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 hw.c:36: /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 hw.c:36: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ x86_64-mageia-linux-gnu-gcc -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../backend -I../nvcontrol -I../.. -c -o main.o main.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 main.c:27: /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 main.c:27: /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 main.c:27: /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 main.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ main.c: In function 'gui_init': main.c:235:23: warning: implicit declaration of function 'XOpenDisplay' [-Wimplicit-function-declaration] 235 | nvclock.dpy = (void*)XOpenDisplay(""); | ^~~~~~~~~~~~ main.c:235:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 235 | nvclock.dpy = (void*)XOpenDisplay(""); | ^ x86_64-mageia-linux-gnu-gcc -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../backend -I../nvcontrol -I../.. -c -o settings.o settings.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 settings.c:33: /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 settings.c:33: /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 settings.c:33: /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 settings.c:33: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ x86_64-mageia-linux-gnu-gcc -o nvclock_gtk banner.o gl.o hw.o main.o settings.o ../backend/libbackend.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -L../backend -lbackend -L../nvcontrol -lnvcontrol /usr/bin/ld: hw.o:(.bss+0x0): multiple definition of `option_list'; gl.o:(.bss+0x0): first defined here /usr/bin/ld: settings.o:(.bss+0x0): multiple definition of `option_list'; gl.o:(.bss+0x0): first defined here /usr/bin/ld: ../backend/libbackend.a(backend.o):(.bss+0x0): multiple definition of `option_list'; gl.o:(.bss+0x0): first defined here /usr/bin/ld: ../nvcontrol/libnvcontrol.a(libnvcontrol.o):(.bss+0x0): multiple definition of `option_list'; gl.o:(.bss+0x0): first defined here /usr/bin/ld: ../nvcontrol/libnvcontrol.a(nvcontrol.o):(.data+0x0): multiple definition of `option_list'; gl.o:(.bss+0x0): first defined here /usr/bin/ld: gl.o: undefined reference to symbol 'XPending' /usr/bin/ld: /usr/lib64/libX11.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [Makefile:37: nvclock_gtk] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/gtk' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/qt' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/qt' x86_64-mageia-linux-gnu-gcc -o nvclock nvclock.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I./backend -I./nvcontrol -I.. -lX11 -lXext -L./backend -lbackend -L./nvcontrol -lnvcontrol nvclock.c: In function 'mask_to_device': nvclock.c:144:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 2 [-Wformat-overflow=] 144 | sprintf(res, "dfp-%d", i-16); | ^~ nvclock.c:144:16: note: directive argument in the range [-16, 2147483631] 144 | sprintf(res, "dfp-%d", i-16); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from nvclock.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 15 bytes into a destination of size 6 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvclock.c:136:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 2 [-Wformat-overflow=] 136 | sprintf(res, "tv-%d", i-8); | ^~ nvclock.c:136:16: note: directive argument in the range [-8, 2147483639] 136 | sprintf(res, "tv-%d", i-8); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from nvclock.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 5 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvclock.c:128:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 2 [-Wformat-overflow=] 128 | sprintf(res, "crt-%d", i); | ^~ nvclock.c:128:16: note: directive argument in the range [0, 2147483647] 128 | sprintf(res, "crt-%d", i); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from nvclock.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 15 bytes into a destination of size 6 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: ./backend/libbackend.a(backend.o):(.bss+0x0): multiple definition of `option_list'; /tmp/cchtJOoF.o:/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/./nvcontrol/nvcontrol.h:45: first defined here /usr/bin/ld: ./nvcontrol/libnvcontrol.a(libnvcontrol.o):(.bss+0x0): multiple definition of `option_list'; /tmp/cchtJOoF.o:/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/./nvcontrol/nvcontrol.h:45: first defined here /usr/bin/ld: ./nvcontrol/libnvcontrol.a(nvcontrol.o):(.data+0x0): multiple definition of `option_list'; /tmp/cchtJOoF.o:/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src/./nvcontrol/nvcontrol.h:45: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:34: nvclock] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/nvclock0.8b4/src' make: *** [Makefile:9: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.kvJ1FK (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.kvJ1FK (%build) I: [iurt_root_command] ERROR: chroot