Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.APUA2z + umask 022 + cd /home/hanzlik/rpmbuild/BUILD + echo prep: prep: + rm -rf /home/hanzlik/rpmbuild/BUILDROOT/dosemu-2.0pre4-20160407.ga4ac2a9.2.dbgemu.fc24.x86_64 + cd /home/hanzlik/rpmbuild/BUILD + rm -rf dosemu-2.0pre4 + /usr/bin/xz -dc /home/hanzlik/rpmbuild/SOURCES/dosemu-2.0pre4-20160407.ga4ac2a9.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dosemu-2.0pre4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo setup: setup: + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FGUhmN + umask 022 + cd /home/hanzlik/rpmbuild/BUILD + cd dosemu-2.0pre4 + echo build: build: + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CFLAGS + export 'RPM_OPT_FLAGS=-O0 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + RPM_OPT_FLAGS='-O0 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export 'CFLAGS=-O0 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + CFLAGS='-O0 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + '[' -f ./autogen.sh ']' + ./autogen.sh Generating toplevel configure script... Generating configure script for src/plugin/alsa... Generating configure script for src/plugin/sdl... Generating configure script for src/plugin/vde... Generating configure script for src/plugin/libao... Generating configure script for src/plugin/X... Generating configure script for src/plugin/munt... Generating configure script for src/plugin/fluidsynth... Generating configure script for src/plugin/ladspa... Generating configure script for src/plugin/gpm... Generating configure script for src/plugin/svgalib... Generating configure script for src/plugin/term... Done, now run ./default-configure + CFLAGS='-O0 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in '$(find $(dirname ./configure) -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find $(dirname ./configure) -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/dosemu --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 --with-fdtarball=/home/hanzlik/rpmbuild/SOURCES/dosemu-freedos-1.1-pre1-bin.tgz --with-svgalib --target=i686 --with-gpm --enable-debug --with-alsa --with-sndfile --with-x --with-target-cpu=i686 --enable-experimental --enable-vidmode --with-vde configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-svgalib, --with-gpm, --with-alsa, --with-sndfile, --with-x, --enable-vidmode, --with-vde /home/hanzlik/rpmbuild/BUILD/dosemu-2.0pre4/mkpluginhooks enable libao yes gpm yes alsa yes ladspa yes kbd_unicode yes extra_charsets yes term yes X yes sdl yes midimisc yes fluidsynth yes munt yes translate yes commands yes console yes svgalib no vde no === configuring in libao checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for dlopen... no checking for dlopen in -ldl... yes checking for ao... yes configure: creating ./config.status config.status: creating Makefile.conf === configuring in gpm checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for Gpm_Open in -lgpm... yes configure: creating ./config.status config.status: creating Makefile.conf === configuring in alsa checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 0... found. checking for snd_ctl_open in -lasound... yes configure: creating ./config.status config.status: creating Makefile.conf === configuring in ladspa checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes 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 ladspa.h usability... no checking ladspa.h presence... no checking for ladspa.h... no configure: error: *** ladspa not found! Configuration for ladspa failed, disabling === configuring in term checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SLANG... yes configure: creating ./config.status config.status: creating Makefile.conf === configuring in X checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for X11... yes configure: Compiling with X support... checking for XEXT... yes checking for fc-cache... /usr/bin/fc-cache checking for mkfontdir... /usr/bin/mkfontdir checking for bdftopcf... /usr/bin/bdftopcf checking font compression method... gzip checking for gzip... /usr/bin/gzip configure: creating ./config.status config.status: creating Makefile.conf config.status: creating _x_config.h === configuring in sdl checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for SDL... yes configure: creating ./config.status config.status: creating Makefile.conf === configuring in fluidsynth checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for FLUS... no configure: error: fluidsynth development libs not found Configuration for fluidsynth failed, disabling === configuring in munt checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for mt32emu_create_context in -lmt32emu... no configure: error: munt development libs not found Configuration for munt failed, disabling exec /home/hanzlik/rpmbuild/BUILD/dosemu-2.0pre4/configure --prefix=/usr/local --sysconfdir=/etc/dosemu --with-x11fontdir=${datadir}/dosemu/Xfonts --with-fdtarball=dosemu-freedos-1.0-bin.tgz --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/dosemu --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 --with-fdtarball=/home/hanzlik/rpmbuild/SOURCES/dosemu-freedos-1.1-pre1-bin.tgz --with-svgalib --target=i686 --with-gpm --enable-debug --with-alsa --with-sndfile --with-x --with-target-cpu=i686 --enable-experimental --enable-vidmode --with-vde build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu target_alias=i686 CFLAGS=-O0 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-svgalib, --with-gpm, --with-alsa, --with-sndfile, --with-x, --enable-vidmode, --with-vde checking build system type... x86_64-redhat-linux-gnu checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for bison... bison -y checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for struct sigcontext.ss... no checking for shm_open in -lrt... yes checking for pow in -lm... yes configure: Using dynamically loaded plugins... checking for dlopen in -ldl... yes checking for stack protector disabled... yes checking for pthread_create in -lpthread... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes 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 X11/XKBlib.h usability... yes checking X11/XKBlib.h presence... yes checking for X11/XKBlib.h... yes configure: Allowing EXPERIMENTAL stuff to be configured... configure: Including plugins: alsa midimisc kbd_unicode sdl console libao X commands gpm extra_charsets translate translate/charsets term configure: Compiling with debug info... checking bfd.h usability... yes checking bfd.h presence... yes checking for bfd.h... yes checking for bfd_init in -lbfd... yes configure: Compiling with specified target CPU... checking for gcc actually being clang... no configure: creating ./config.status config.status: creating Makefile.conf config.status: creating src/include/config.h config.status: executing Makefile commands configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-svgalib, --with-gpm, --with-alsa, --with-sndfile, --with-x, --enable-vidmode, --with-vde + make fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). make[1]: Entering directory '/home/hanzlik/rpmbuild/BUILD/dosemu-2.0pre4/src' echo "Updating version.h"; \ echo "#ifndef VERSION_H" > include/version.h; \ echo "#define VERSION_H" >> include/version.h; \ echo "#define VERSTR \"2.0pre4\"" >> include/version.h; \ echo "#define VERSION 2" >> include/version.h; \ echo "#define SUBLEVEL 0" >> include/version.h; \ echo "#define PATCHLEVEL1 \"pre4\"" >> include/version.h; \ echo "#define REVISION 1893" >> include/version.h; \ echo "#define VERDATE \"2016-04-10\"" >> include/version.h; \ echo "#endif /* VERSION_H */" >> include/version.h; \ Updating version.h echo '#define ALTERNATE_ETC "/etc/dosemu"' > include/confpath.h echo '#define LIB_DEFAULT "/usr/lib64"' >> include/confpath.h echo '#define DOSEMULIB_DEFAULT "/usr/share/dosemu"' >> include/confpath.h echo '#define DOSEMUHDIMAGE_DEFAULT "/var/lib/dosemu"' >> include/confpath.h echo '#define SYSTEM_XFONTS_PATH "/usr/share/dosemu/Xfonts"' >> include/confpath.h sed -e 's,@PACKAGE_VERSION\@,2.0pre4,g' ../dosemu2.spec.in > ../dosemu2.spec make[2]: Entering directory '/home/hanzlik/rpmbuild/BUILD/dosemu-2.0pre4/src/commands' gcc -c -MMD -DCFLAGS_STR="-Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -fms-extensions -fno-stack-protector -fplan9-extensions -Wno-maybe-uninitialized -ggdb3 -O0 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic" -I../../src/include -I../../src/plugin/include -o isemu.o isemu.S gcc -Wl,-warn-common -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--section-start=.text=0x100,-e,_start16 -nostdlib -o isemu.com.elf isemu.o /usr/bin/ld: isemu.o: relocation R_X86_64_16 against `.text' can not be used when making a shared object; recompile with -fPIC isemu.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:47: recipe for target 'isemu.com.elf' failed make[2]: *** [isemu.com.elf] Error 1 make[2]: Leaving directory '/home/hanzlik/rpmbuild/BUILD/dosemu-2.0pre4/src/commands' ../src/arch/linux/Makefile.main:104: recipe for target 'commands' failed make[1]: *** [commands] Error 2 make[1]: Leaving directory '/home/hanzlik/rpmbuild/BUILD/dosemu-2.0pre4/src' Makefile:21: recipe for target 'default' failed make: *** [default] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.FGUhmN (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.FGUhmN (%build)