D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/wmspaceweather-1.04-13.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.7W7Ed8 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf wmSpaceWeather-1.04 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/wmSpaceWeather-1.04.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wmSpaceWeather-1.04 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/wmspaceweather-1.04-ftpctime.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/wmspaceweather-1.04-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/wmspaceweather-1.04-curind.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.ZwbIT7 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd wmSpaceWeather-1.04 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd wmSpaceWeather + 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 + /usr/bin/make -O -j8 V=1 VERBOSE=1 clean for i in wmSpaceWeather.o ../wmgeneral/wmgeneral.o ; do \ rm -f $i; \ done rm -f wmSpaceWeather + /usr/bin/make -O -j8 V=1 VERBOSE=1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -Wall -DLinux -c ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o -I/usr/X11R6/include/X11 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -Wall -DLinux -c wmSpaceWeather.c -o wmSpaceWeather.o -I/usr/X11R6/include/X11 wmSpaceWeather.c: In function 'main': wmSpaceWeather.c:120:31: warning: unused variable 'gmst' [-Wunused-variable] 120 | double UT, TU, TU2, TU3, T0, gmst, hour24(); | ^~~~ wmSpaceWeather.c:120:27: warning: unused variable 'T0' [-Wunused-variable] 120 | double UT, TU, TU2, TU3, T0, gmst, hour24(); | ^~ wmSpaceWeather.c:120:22: warning: unused variable 'TU3' [-Wunused-variable] 120 | double UT, TU, TU2, TU3, T0, gmst, hour24(); | ^~~ wmSpaceWeather.c:120:17: warning: unused variable 'TU2' [-Wunused-variable] 120 | double UT, TU, TU2, TU3, T0, gmst, hour24(); | ^~~ wmSpaceWeather.c:120:13: warning: unused variable 'TU' [-Wunused-variable] 120 | double UT, TU, TU2, TU3, T0, gmst, hour24(); | ^~ wmSpaceWeather.c:117:48: warning: unused variable 'xsize' [-Wunused-variable] 117 | int Hours, Mins, Secs, OldSecs, xoff, D[10], xsize; | ^~~~~ wmSpaceWeather.c:117:41: warning: unused variable 'D' [-Wunused-variable] 117 | int Hours, Mins, Secs, OldSecs, xoff, D[10], xsize; | ^ wmSpaceWeather.c:117:35: warning: unused variable 'xoff' [-Wunused-variable] 117 | int Hours, Mins, Secs, OldSecs, xoff, D[10], xsize; | ^~~~ wmSpaceWeather.c:117:26: warning: unused variable 'OldSecs' [-Wunused-variable] 117 | int Hours, Mins, Secs, OldSecs, xoff, D[10], xsize; | ^~~~~~~ wmSpaceWeather.c:116:37: warning: unused variable 'OldDayOfMonth' [-Wunused-variable] 116 | int Year, Month, Day, DayOfMonth, OldDayOfMonth; | ^~~~~~~~~~~~~ wmSpaceWeather.c:116:25: warning: unused variable 'DayOfMonth' [-Wunused-variable] 116 | int Year, Month, Day, DayOfMonth, OldDayOfMonth; | ^~~~~~~~~~ wmSpaceWeather.c: In function 'jd': wmSpaceWeather.c:593:32: warning: unused variable 'MJD' [-Wunused-variable] 593 | double A, B, C, D, JD, MJD, day; | ^~~ wmSpaceWeather.c: In function 'main': wmSpaceWeather.c:284:11: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | fscanf(fp, "%ld %d", &TimeTag[i], &Kp[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:287:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 287 | fscanf(fp, "%lf", &P1); | ^~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:288:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 288 | fscanf(fp, "%lf", &P2); | ^~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:289:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 289 | fscanf(fp, "%lf", &P3); | ^~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:290:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 290 | fscanf(fp, "%lf", &E1); | ^~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:291:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 291 | fscanf(fp, "%lf", &E2); | ^~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:292:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 292 | fscanf(fp, "%10s", Xray); | ^~~~~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c:520:10: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 520 | system("GetKp &"); | ^~~~~~~~~~~~~~~~~ wmSpaceWeather.c: In function 'pressEvent': wmSpaceWeather.c:655:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 655 | system(Command); | ^~~~~~~~~~~~~~~ wmSpaceWeather.c:654:53: warning: '%s' directive writing up to 1023 bytes into a region of size 486 [-Wformat-overflow=] 654 | sprintf(Command, "netscape -remote 'openURL(%s)' || netscape '%s' &", URL, URL); | ^~ ~~~ In file included from /usr/include/stdio.h:867, from wmSpaceWeather.c:68: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 46 and 2092 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmSpaceWeather.c: In function 'main': wmSpaceWeather.c:119:15: warning: 'UpToDate' may be used uninitialized in this function [-Wmaybe-uninitialized] 119 | int height, UpToDate, LEDOn; | ^~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -Wall -o wmSpaceWeather wmSpaceWeather.o ../wmgeneral/wmgeneral.o -I/usr/X11R6/include/X11 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/X11R6/lib -lXpm -lX11 -lXext /usr/bin/ld: ../wmgeneral/wmgeneral.o:/home/iurt/rpmbuild/BUILD/wmSpaceWeather-1.04/wmSpaceWeather/../wmgeneral/wmgeneral.h:31: multiple definition of `display'; wmSpaceWeather.o:/home/iurt/rpmbuild/BUILD/wmSpaceWeather-1.04/wmSpaceWeather/../wmgeneral/wmgeneral.h:31: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:22: wmSpaceWeather] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ZwbIT7 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ZwbIT7 (%build) I: [iurt_root_command] ERROR: chroot