D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/atanks-6.5-1.mga6.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ehH61F + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf atanks-6.5 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/atanks-6.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd atanks-6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fuYJy9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd atanks-6.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 CC=g++ 'OFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' 'LFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/lib64 -lX11 -lXext -lXcursor -lXpm -lxcb -lXrender -lXfixes -lXau -lXdmcp' INSTALLDIR=/usr/share/games/atanks Compiling obj/atanks.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -march=native -Wall -Wextra -Wpedantic -std=c++11 -pthread -O2 -o obj/atanks.o -c src/atanks.cpp In file included from src/globaldata.h:23:0, from src/globals.h:5, from src/atanks.cpp:23: src/main.h:55:23: fatal error: allegro.h: No such file or directory compilation terminated. Makefile:284: recipe for target 'obj/atanks.o' failed make: *** [obj/atanks.o] Error 1 make: *** Waiting for unfinished jobs.... Compiling obj/beam.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -march=native -Wall -Wextra -Wpedantic -std=c++11 -pthread -O2 -o obj/beam.o -c src/beam.cpp In file included from src/environment.h:24:0, from src/beam.cpp:20: src/main.h:55:23: fatal error: allegro.h: No such file or directory compilation terminated. Makefile:284: recipe for target 'obj/beam.o' failed make: *** [obj/beam.o] Error 1 Compiling obj/client.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -march=native -Wall -Wextra -Wpedantic -std=c++11 -pthread -O2 -o obj/client.o -c src/client.cpp In file included from src/button.h:4:0, from src/client.cpp:1: src/main.h:55:23: fatal error: allegro.h: No such file or directory compilation terminated. Makefile:284: recipe for target 'obj/client.o' failed make: *** [obj/client.o] Error 1 Compiling obj/button.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -march=native -Wall -Wextra -Wpedantic -std=c++11 -pthread -O2 -o obj/button.o -c src/button.cpp In file included from src/button.h:4:0, from src/button.cpp:10: src/main.h:55:23: fatal error: allegro.h: No such file or directory compilation terminated. Makefile:284: recipe for target 'obj/button.o' failed make: *** [obj/button.o] Error 1 Compiling obj/debris_pool.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -march=native -Wall -Wextra -Wpedantic -std=c++11 -pthread -O2 -o obj/debris_pool.o -c src/debris_pool.cpp In file included from src/debris_pool.h:25:0, from src/debris_pool.cpp:1: src/main.h:55:23: fatal error: allegro.h: No such file or directory compilation terminated. Makefile:284: recipe for target 'obj/debris_pool.o' failed make: *** [obj/debris_pool.o] Error 1 Compiling obj/aicore.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -march=native -Wall -Wextra -Wpedantic -std=c++11 -pthread -O2 -o obj/aicore.o -c src/aicore.cpp In file included from src/player_types.h:9:0, from src/aicore.h:45, from src/aicore.cpp:1: src/main.h:55:23: fatal error: allegro.h: No such file or directory compilation terminated. Makefile:284: recipe for target 'obj/aicore.o' failed make: *** [obj/aicore.o] Error 1 Compiling obj/clock.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -march=native -Wall -Wextra -Wpedantic -std=c++11 -pthread -O2 -o obj/clock.o -c src/clock.cpp Compiling obj/debug.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -march=native -Wall -Wextra -Wpedantic -std=c++11 -pthread -O2 -o obj/debug.o -c src/debug.cpp error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.fuYJy9 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.fuYJy9 (%build) I: [iurt_root_command] ERROR: chroot