Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tritonus.spec'], chrootPath='/var/lib/mock/f29-build-13051-5946/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tritonus.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/tritonus-0.3.7-0.31.20101108cvs.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tritonus.spec'], chrootPath='/var/lib/mock/f29-build-13051-5946/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tritonus.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hMbqrh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tritonus-0.3.7 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/tritonus-0.3.7-20101108cvs.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tritonus-0.3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (tritonus-configure.in.diff): + echo 'Patch #0 (tritonus-configure.in.diff):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lameandioctl --fuzz=0 patching file configure.in Patch #1 (tritonus-src-lib-fluidsynth.Makefile.in.diff): + echo 'Patch #1 (tritonus-src-lib-fluidsynth.Makefile.in.diff):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .oldapi --fuzz=0 patching file src/lib/fluidsynth/Makefile.in Patch #2 (tritonus-no-jlayer.patch): + echo 'Patch #2 (tritonus-no-jlayer.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml Patch #3 (tritonus-src-lib-alsa-constants_check.h.diff): + echo 'Patch #3 (tritonus-src-lib-alsa-constants_check.h.diff):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .oldapi --fuzz=0 patching file src/lib/alsa/constants_check.h Patch #4 (tritonus-removed-code.diff): + echo 'Patch #4 (tritonus-removed-code.diff):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .oldapi --fuzz=0 patching file src/lib/alsa/constants_check.h Patch #5 (tritonus-src-lib-alsa-cast.patch): + echo 'Patch #5 (tritonus-src-lib-alsa-cast.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cast --fuzz=0 patching file src/lib/common/HandleFieldHandler.h Patch #6 (tritonus-openjdk-1-7-support.diff): + echo 'Patch #6 (tritonus-openjdk-1-7-support.diff):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.in Patch #7 (tritonus-0.3.7-nonascii.patch): + echo 'Patch #7 (tritonus-0.3.7-nonascii.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file test/CreateEmptySequence.java Patch #8 (tritonus-0.3.7-bytecode-version.patch): + echo 'Patch #8 (tritonus-0.3.7-bytecode-version.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file build-common.xml + for file in doc/{compression.txt,TODO-matthias.txt,tritonusfaq.sgml} + iconv -f iso-8859-1 -t utf8 doc/compression.txt + touch -r doc/compression.txt doc/compression.txt.tmp + mv -f doc/compression.txt.tmp doc/compression.txt + for file in doc/{compression.txt,TODO-matthias.txt,tritonusfaq.sgml} + iconv -f iso-8859-1 -t utf8 doc/TODO-matthias.txt + touch -r doc/TODO-matthias.txt doc/TODO-matthias.txt.tmp + mv -f doc/TODO-matthias.txt.tmp doc/TODO-matthias.txt + for file in doc/{compression.txt,TODO-matthias.txt,tritonusfaq.sgml} + iconv -f iso-8859-1 -t utf8 doc/tritonusfaq.sgml + touch -r doc/tritonusfaq.sgml doc/tritonusfaq.sgml.tmp + mv -f doc/tritonusfaq.sgml.tmp doc/tritonusfaq.sgml + sed -i /Class-Path/d build-common.xml BUILDSTDERR: ++ grep -rl loadLibrary CVS ConvertJDK117 INSTALL LGPL Makefile.in NEWS README README_mp3 build-common.xml build-debug.xml build-dtd.xml build.xml configure.in configure.in.lameandioctl doc src test util version + sed -i 's|System.loadLibrary("\(.*\)")|System.load("/usr/lib64/tritonus/lib\1.so")|' src/classes/org/tritonus/lowlevel/pogg/Ogg.java src/classes/org/tritonus/lowlevel/ogg/Ogg.java src/classes/org/tritonus/lowlevel/lame/Lame.java src/classes/org/tritonus/lowlevel/cdda/cdparanoia/Cdparanoia.java src/classes/org/tritonus/lowlevel/cdda/cooked_ioctl/CookedIoctl.java src/classes/org/tritonus/lowlevel/esd/Esd.java src/classes/org/tritonus/lowlevel/alsa/Alsa.java src/classes/org/tritonus/midi/device/fluidsynth/FluidSynthesizer.java BUILDSTDERR: ++ find . -name Makefile.in + sed -i -e 's|-Werror||g' -e 's|-Wl,-rpath,/home/matthias/java/tritonus/src/lib/common||g' ./doc/Makefile.in ./Makefile.in ./src/lib/vorbis/Makefile.in ./src/lib/cdparanoia/Makefile.in ./src/lib/cooked_ioctl/Makefile.in ./src/lib/lame/Makefile.in ./src/lib/common/Makefile.in ./src/lib/fluidsynth/Makefile.in ./src/lib/pvorbis/Makefile.in ./src/lib/esd/Makefile.in ./src/lib/alsa/Makefile.in ./test/Makefile.in + sed -i 's|install: all|install:|' Makefile.in + autoreconf -fi BUILDSTDERR: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'util'. libtoolize: copying file 'util/ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. BUILDSTDERR: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3CSmDm + umask 022 + cd /builddir/build/BUILD + cd tritonus-0.3.7 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/cdda' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/cdda' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/cdda' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/cdda' + export 'CXXFLAGS=-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/cdda' + CXXFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/cdda' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/cdda' + export CFLAGS + CXXFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/cdda' + export CXXFLAGS + FFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./util/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./util/config.sub BUILDSTDERR: ++ basename ./util/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./util/config.sub '/usr/lib/rpm/redhat/config.sub' -> './util/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./util/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./util/config.guess BUILDSTDERR: ++ basename ./util/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./util/config.guess '/usr/lib/rpm/redhat/config.guess' -> './util/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./util/ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking JDK version... 1.8.0_144 checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for jikes... javac checking for riscv64-koji-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 for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for snd_seq_open in -lasound... yes Information: will build stuff for ALSA sequencer checking for esd_open_sound in -lesd... no Information: will not build stuff for Enlightened Sound Daemon checking cdda_interface.h usability... yes checking cdda_interface.h presence... yes checking for cdda_interface.h... yes Information: will build stuff for cdparanoia checking ogg/ogg.h usability... yes checking ogg/ogg.h presence... yes checking for ogg/ogg.h... yes Information: will build stuff for vorbis checking fluidsynth.h usability... yes checking fluidsynth.h presence... yes checking for fluidsynth.h... yes Information: will build stuff for fluidsynth checking installed javalayer MP3 decoder... no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking use of jikes compiler... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/lib/common/Makefile config.status: creating src/lib/alsa/Makefile config.status: creating src/lib/cdparanoia/Makefile config.status: creating src/lib/esd/Makefile config.status: creating src/lib/vorbis/Makefile config.status: creating src/lib/pvorbis/Makefile config.status: creating src/lib/fluidsynth/Makefile config.status: creating doc/Makefile config.status: creating test/Makefile config.status: executing libtool commands BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking BUILDSTDERR: ++ build-classpath commons-net + export CLASSPATH=/usr/share/java/commons-net.jar + CLASSPATH=/usr/share/java/commons-net.jar + JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk + ant -v -f build-dtd.xml Apache Ant(TM) version 1.10.3 compiled on April 18 2018 Buildfile: /builddir/build/BUILD/tritonus-0.3.7/build-dtd.xml Detected Java version: 1.8 in: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.riscv64.7.b01.fc28.riscv64/jre Detected OS: Linux parsing buildfile /builddir/build/BUILD/tritonus-0.3.7/build-dtd.xml with URI = file:/builddir/build/BUILD/tritonus-0.3.7/build-dtd.xml Project base dir set to: /builddir/build/BUILD/tritonus-0.3.7 Build sequence for target(s) `dtd' is [dtd] Complete build sequence is [dtd, ] dtd: parsing buildfile jar:file:/usr/share/java/ant/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/java/ant/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file BUILD SUCCESSFUL Total time: 15 seconds + sed -i -e /timestampgranularity/d -e /serverlanguagecodeconfig/d project.dtd BUILDSTDERR: ++ build-classpath jogg jorbis + export CLASSPATH=/usr/share/java/jogg.jar:/usr/share/java/jorbis.jar + CLASSPATH=/usr/share/java/jogg.jar:/usr/share/java/jorbis.jar + JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk + ant Buildfile: /builddir/build/BUILD/tritonus-0.3.7/build.xml BUILDSTDERR: BUILD FAILED BUILDSTDERR: /builddir/build/BUILD/tritonus-0.3.7/project.dtd:62: White space is required before the attribute default in the declaration of attribute "builtin" for element "propertyref". BUILDSTDERR: Total time: 1 second RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.3CSmDm (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.3CSmDm (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tritonus.spec