+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/fbzx.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bFL8FN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fbzx-3.8.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/fbzx-3.8.0-noroms.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fbzx-3.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/$(CC) -o/$(CC) $(CFLAGS) -o/' src/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.c5zd0O + umask 022 + cd /builddir/build/BUILD + cd fbzx-3.8.0 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export 'CPPFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + CPPFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + /usr/bin/make -O -j4 cd src && /usr/bin/make make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o cmdline.o cmdline.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o computer.o computer.cpp computer.cpp: In constructor 'computer::computer()': computer.cpp:44:6: warning: unused variable 'bucle' [-Wunused-variable] int bucle; ^~~~~ computer.cpp: In member function 'void computer::do_contention(bool, word)': computer.cpp:138:10: warning: enumeration value 'MODE_48K' not handled in switch [-Wswitch] switch (ordenador->current_mode) { ^ computer.cpp: In function 'void ResetComputer()': computer.cpp:183:13: warning: unused variable 'bucle' [-Wunused-variable] static int bucle; ^~~~~ computer.cpp: At global scope: computer.cpp:183:13: warning: 'bucle' defined but not used [-Wunused-variable] make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o cargador.o cargador.cpp cargador.cpp: In function 'int save_z80(char*)': cargador.cpp:124:9: warning: enumeration value 'JOYSTICK_CURSOR' not handled in switch [-Wswitch] switch (keyboard->joystick) { ^ cargador.cpp: In function 'void uncompress_z80(FILE*, int, unsigned char*)': cargador.cpp:48:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&byte_loaded, 1, 1, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:52:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&byte_loaded, 1, 1, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp: In function 'int load_z80(const char*)': cargador.cpp:197:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(tempo, 1, 30, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:203:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(tempo2, 1, 2, fichero); // read the length of the extension ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:214:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(tempo2 + 2, 1, longitud, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:350:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(byte_read, 3, 1, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:385:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(snap->page[page], 16384, 1, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:392:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(byte_read, 3, 1, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:411:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(snap->page[page], 16384, 1, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:432:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(snap->page[0], 16384, 1, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:433:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(snap->page[1], 16384, 1, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:434:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(snap->page[2], 16384, 1, fichero); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o emulator.o emulator.cpp emulator.cpp: In function 'int main(int, char**)': emulator.cpp:376:20: warning: unused variable 'argumento' [-Wunused-variable] int bucle,tstados,argumento,length; ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o keyboard.o keyboard.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o llscreen.o llscreen.cpp llscreen.cpp: In member function 'uint8_t LLScreen::printchar(uint8_t, int16_t, int16_t, uint8_t, uint8_t)': llscreen.cpp:468:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (bucle1=0;bucle1cheight;bucle1++) { ~~~~~~^~~~~~~~~~~~~~ llscreen.cpp:438:10: warning: unused variable 'height2' [-Wunused-variable] uint8_t height2; ^~~~~~~ llscreen.cpp:439:9: warning: variable 'left' set but not used [-Wunused-but-set-variable] int8_t left; ^~~~ llscreen.cpp:441:9: warning: variable 'right' set but not used [-Wunused-but-set-variable] int8_t right; ^~~~~ llscreen.cpp:442:9: warning: variable 'bottom' set but not used [-Wunused-but-set-variable] int8_t bottom; ^~~~~~ llscreen.cpp: In member function 'void LLScreen::clear_screen()': llscreen.cpp:530:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(bucle=0;bucle<((this->llscreen->h)*(this->llscreen->w)*(this->bpp));bucle++) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ llscreen.cpp: In member function 'void LLScreen::print_string(std::__cxx11::string, int16_t, float, uint8_t, uint8_t)': llscreen.cpp:565:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (length > this->width) { ~~~~~~~^~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o llsound.o llsound.cpp llsound.cpp: In constructor 'LLSound::LLSound(e_soundtype)': llsound.cpp:75:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(bucle = 0; bucle < this->buffer_len * this->increment + 4; bucle++) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ llsound.cpp:56:12: warning: unused variable 'bucle2' [-Wunused-variable] int bucle,bucle2,ret2; ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o microdrive.o microdrive.cpp microdrive.cpp: In member function 'int Microdrive::select_mdrfile(char*)': microdrive.cpp:202:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(this->mdr_cartridge,137923,1,mdr_file); // read the cartridge in memory ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o osd.o osd.cpp osd.cpp: In member function 'void OSD::set_message(std::__cxx11::string, uint32_t)': osd.cpp:22:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int loop=0;loop< text.length(); loop++) { ~~~~^~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o mouse.o mouse.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o menus.o menus.cpp menus.cpp: In function 'void select_tapfile()': menus.cpp:655:6: warning: unused variable 'retorno' [-Wunused-variable] int retorno; ^~~~~~~ menus.cpp: In function 'void create_mdrfile()': menus.cpp:838:14: warning: unused variable 'bucle' [-Wunused-variable] int retorno,bucle; ^~~~~ menus.cpp: In function 'void print_files(fichero*, int, int)': menus.cpp:1798:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if((pos+1)>llscreen->lines_in_screen) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o signals.o signals.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o screen.o screen.cpp screen.cpp: In member function 'void Screen::show_screen(int)': screen.cpp:211:17: warning: unused variable 'temporal' [-Wunused-variable] static uint8_t temporal, ink, paper, fflash, tmp2; ^~~~~~~~ screen.cpp: In member function 'void Screen::paint_pixels(uint8_t, uint8_t, uint8_t)': screen.cpp:350:23: warning: unused variable 'p' [-Wunused-variable] static unsigned int *p; ^ screen.cpp: At global scope: screen.cpp:350:23: warning: 'p' defined but not used [-Wunused-variable] screen.cpp:211:17: warning: 'temporal' defined but not used [-Wunused-variable] static uint8_t temporal, ink, paper, fflash, tmp2; ^~~~~~~~ screen.cpp: In constructor 'Screen::Screen()': screen.cpp:118:53: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] this->max_pixel = this->base_pixel + ((height - 1) * width * llscreen->bpp); ~~~~~~~~~~~~~^~~~~~~ screen.cpp:118:48: warning: 'height' may be used uninitialized in this function [-Wmaybe-uninitialized] this->max_pixel = this->base_pixel + ((height - 1) * width * llscreen->bpp); ~~~~~~~~^~~~ make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o spk_ay.o spk_ay.cpp spk_ay.cpp: In member function 'void SPK_AY::play_sound(int)': spk_ay.cpp:377:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (bucle = 0; bucle < llsound->increment; bucle++) { ~~~~~~^~~~~~~~~~~~~~~~~~~~ spk_ay.cpp:414:91: warning: format '%d' expects argument of type 'int', but argument 2 has type 'unsigned char*' [-Wformat=] printf("Puntero por debajo: %d menor que %d\n",llsound->current_buffer,llsound->sound); ~~~~~~~~~~~~~~~~~~~~~~~ ^ spk_ay.cpp:414:91: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char*' [-Wformat=] spk_ay.cpp:417:91: warning: format '%d' expects argument of type 'int', but argument 2 has type 'unsigned char*' [-Wformat=] printf("Puntero por encima: %d mayor que %d\n",llsound->current_buffer,llsound->sound); ~~~~~~~~~~~~~~~~~~~~~~~ ^ spk_ay.cpp:417:91: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char*' [-Wformat=] make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o Z80free_codes.o z80free/Z80free_codes.c make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o Z80free.o z80free/Z80free.c make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o Z80free_codesCB.o z80free/Z80free_codesCB.c make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o Z80free_codesED.o z80free/Z80free_codesED.c make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o Z80free_codesDD.o z80free/Z80free_codesDD.c make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o Z80free_codesFD.o z80free/Z80free_codesFD.c make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o Z80free_codesDDCB.o z80free/Z80free_codesDDCB.c make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o Z80free_codesFDCB.o z80free/Z80free_codesFDCB.c make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -c -O2 -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o tape.o tape.cpp tape.cpp: In member function 'bool TapeBlock::read_16bit(std::ifstream*, uint16_t&)': tape.cpp:62:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'bool TapeBlock::write_16bit(std::ofstream*, uint16_t)': tape.cpp:76:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'bool TapeBlock::read_24bit(std::ifstream*, uint32_t&)': tape.cpp:87:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'bool TapeBlock::write_24bit(std::ofstream*, uint32_t)': tape.cpp:101:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'bool TapeBlock::read_string(std::ifstream*, std::__cxx11::string&)': tape.cpp:114:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'bool TapeBlock::write_string(std::ofstream*, std::__cxx11::string)': tape.cpp:132:8: warning: unused variable 'data' [-Wunused-variable] char data[256]; ^~~~ tape.cpp:133:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'virtual bool FullBlock::next_bit()': tape.cpp:431:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((this->data_size-1) == this->pointer) { ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ tape.cpp:436:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->pointer == this->data_size) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ tape.cpp: In constructor 'TAPBlock::TAPBlock(uint8_t*, uint16_t)': tape.cpp:484:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'virtual bool TAPBlock::load_block(std::ifstream*)': tape.cpp:534:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In constructor 'TZXBlock::TZXBlock(uint8_t*, uint16_t)': tape.cpp:579:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'virtual bool TZXBlock::load_block(std::ifstream*)': tape.cpp:616:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'virtual bool TurboBlock::load_block(std::ifstream*)': tape.cpp:727:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'virtual bool PureDataBlock::load_block(std::ifstream*)': tape.cpp:859:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(loop=0;loopdata_size;loop++) { ~~~~^~~~~~~~~~~~~~~~ tape.cpp: In member function 'virtual bool PureDataBlock::next_bit()': tape.cpp:885:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->data_size == this->pointer) { ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ tape.cpp:892:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((this->data_size-1) == this->pointer) { ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ tape.cpp:897:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->pointer == this->data_size) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ tape.cpp: In member function 'virtual bool PulsesBlock::load_block(std::ifstream*)': tape.cpp:1011:12: warning: unused variable 'pulses' [-Wunused-variable] uint16_t pulses[255]; ^~~~~~ tape.cpp: In member function 'virtual bool PauseBlock::load_block(std::ifstream*)': tape.cpp:1079:12: warning: unused variable 'length' [-Wunused-variable] uint16_t length; ^~~~~~ tape.cpp: In member function 'virtual bool InfoBlock::load_block(std::ifstream*)': tape.cpp:1227:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'virtual bool TextBlock::load_block(std::ifstream*)': tape.cpp:1282:10: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ tape.cpp: In member function 'bool Tape::load_tzx(std::__cxx11::string)': tape.cpp:1394:9: warning: unused variable 'retval' [-Wunused-variable] size_t retval; ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-3.8.0/src' g++ -O2 -g -o fbzx cargador.o cmdline.o computer.o emulator.o keyboard.o llscreen.o llsound.o menus.o microdrive.o mouse.o osd.o screen.o signals.o spk_ay.o tape.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o `pkg-config --libs sdl libpulse-simple alsa` make[1]: Leaving directory '/builddir/build/BUILD/fbzx-3.8.0/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7yv4Hj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64 + cd fbzx-3.8.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64 'INSTALL=/usr/bin/install -p' PREFIX=/usr NOROMS=1 rm -f /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/bin/fbzx mkdir -p /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/bin mkdir -p /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/fbzx mkdir -p /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/applications mkdir -p /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/pixmaps mkdir -p /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/doc/fbzx mkdir -p /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/appdata cp src/fbzx /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/bin cp data/keymap.bmp /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/fbzx cp data/fbzx.desktop /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/applications cp data/fbzx.svg /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/pixmaps cp AMSTRAD CAPABILITIES COPYING FAQ README README.TZX VERSIONS.md /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/doc/fbzx/ cp fbzx.appdata.xml /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/appdata/ chmod 644 /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/fbzx/* chmod 644 /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64//usr/share/doc/fbzx/* + rm -rf /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/pixmaps + mkdir -p /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/icons/hicolor/scalable/apps + install -p -m 644 data/fbzx.svg /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/icons/hicolor/scalable/apps + desktop-file-install --delete-original --add-category Emulator --dir /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/applications /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/applications/fbzx.desktop + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/appdata/fbzx.appdata.xml /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/appdata/fbzx.appdata.xml: GLib-GIO-Message: 02:08:36.636: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. OK + install -d /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/man/man1 + install -p -m 0644 /builddir/build/SOURCES/fbzx.1 /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/man/man1/ + rm -rf /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/doc/fbzx + install -pm0644 /builddir/build/SOURCES/README_fbzx.Fedora README.Fedora + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: fbzx-3.8.0-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bosgtD + umask 022 + cd /builddir/build/BUILD + cd fbzx-3.8.0 + DOCDIR=/builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/doc/fbzx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/doc/fbzx + cp -pr AMSTRAD /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/doc/fbzx + cp -pr CAPABILITIES /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/doc/fbzx + cp -pr FAQ /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/doc/fbzx + cp -pr README README.Fedora README.TZX /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/doc/fbzx + cp -pr TODO /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/doc/fbzx + cp -pr VERSIONS.md /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/doc/fbzx + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2KvNWS + umask 022 + cd /builddir/build/BUILD + cd fbzx-3.8.0 + LICENSEDIR=/builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/licenses/fbzx + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/licenses/fbzx + cp -pr COPYING /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64/usr/share/licenses/fbzx + exit 0 Provides: application() application(fbzx.desktop) fbzx = 3.8.0-3.fc28 fbzx(riscv-64) = 3.8.0-3.fc28 metainfo() metainfo(fbzx.appdata.xml) Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libasound.so.2()(64bit) libasound.so.2(ALSA_0.9)(64bit) libasound.so.2(ALSA_0.9.0rc4)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpulse-simple.so.0()(64bit) libpulse-simple.so.0(PULSE_0)(64bit) libpulse.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/fbzx-3.8.0-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/fbzx-3.8.0-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wOyzr8 + umask 022 + cd /builddir/build/BUILD + cd fbzx-3.8.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fbzx-3.8.0-3.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff