Build log:
Mock Version: 5.5
Mock Version: 5.5
Mock Version: 5.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/jmol.spec'], chrootPath='/var/lib/mock/f41-build-side-84507-49320389-5865127/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff95558740>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.zw3am9ur:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.zw3am9ur:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b0649a3b055b4eb1806e20ce9237292f', '-D', '/var/lib/mock/f41-build-side-84507-49320389-5865127/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.zw3am9ur:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/jmol.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1708992000
Wrote: /builddir/build/SRPMS/jmol-16.1.57-2.fc41.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jmol.spec'], chrootPath='/var/lib/mock/f41-build-side-84507-49320389-5865127/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff95558740>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.zw3am9ur:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.zw3am9ur:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '198ad72d0b6f4d65867cbf12363875ec', '-D', '/var/lib/mock/f41-build-side-84507-49320389-5865127/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.zw3am9ur:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jmol.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1708992000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Fx0ZvN
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf jmol-16.1.57
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Jmol-16.1.57-full.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd jmol-16.1.57
+ rm -rf /builddir/build/BUILD/jmol-16.1.57-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/jmol-16.1.57-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp -p /builddir/build/SOURCES/build-4-Jmol.jar-and-release.xml build.xml
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/jmol-build.patch
+ /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/jmol-java9.patch
+ /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/jmol-deprecated.patch
+ /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f
+ find . '(' -name '*.exe' -o -name '*.jar' -o -name '*.dll' ')' -delete
+ build-jar-repository -p -s jars commons-cli junit naga-3_0
+ ln -s /usr/lib/java/jni-inchi/jni-inchi.jar jars
+ for doc in COPYRIGHT.txt LICENSE.txt
+ sed -i.orig 's|\r||g' COPYRIGHT.txt
+ touch -r COPYRIGHT.txt.orig COPYRIGHT.txt
+ rm COPYRIGHT.txt.orig
+ for doc in COPYRIGHT.txt LICENSE.txt
+ sed -i.orig 's|\r||g' LICENSE.txt
+ touch -r LICENSE.txt.orig LICENSE.txt
+ rm LICENSE.txt.orig
+ iconv -f ISO8859-1 -t UTF-8 CHANGES.txt
+ touch -r CHANGES.txt CHANGES.txt.utf8
+ mv CHANGES.txt.utf8 CHANGES.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BVJRKw
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd jmol-16.1.57
+ export ANT_OPTS=-Dfile.encoding=utf-8
+ ANT_OPTS=-Dfile.encoding=utf-8
+ export JAVAC=/usr/bin/javac
+ JAVAC=/usr/bin/javac
+ ant jar
Buildfile: /builddir/build/BUILD/jmol-16.1.57/build.xml
     [copy] Copying 1 file to /builddir/build/BUILD/jmol-16.1.57
     [echo] version=16.1.57
     [echo] build/dist
     [echo] version=16.1.57
     [echo] versionMajorMinor: 16.1
     [echo] versionMajorMinorPatch: 16.1.57
     [echo] betaFlag: 16.1.57
     [echo] path.release: Jmol/Version 16.1
     [echo] build/dist
     [echo] version=16.1.57
     [echo] versionMajorMinor: 16.1
     [echo] versionMajorMinorPatch: 16.1.57
     [echo] betaFlag: 16.1.57
     [echo] path.release: Jmol/Version 16.1
init:
   [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1708992000
classes:
    [mkdir] Created dir: /builddir/build/BUILD/jmol-16.1.57/build/classes
    [javac] Compiling 1148 source files to /builddir/build/BUILD/jmol-16.1.57/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
    [javac] warning: [options] source value 8 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 8 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/javajs/util/Lst.java:50: error: addLast(V) in Lst cannot implement addLast(E) in List
    [javac]   public boolean addLast(V v) {
    [javac]                  ^
    [javac]   return type boolean is not compatible with void
    [javac]   where V,E are type-variables:
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in interface List
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/com/sparshui/server/GestureServer.java:45: warning: [removal] finalize() in Object has been deprecated and marked for removal
    [javac]   public void finalize() {
    [javac]               ^
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/javajs/img/GifEncoder.java:239: error: methods addLast(V) from Lst<P3> and addLast(E) from ArrayList<P3> are inherited with the same signature
    [javac]   private class ColorCell extends Lst<P3> {
    [javac]           ^
    [javac]   where V,E are type-variables:
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in class ArrayList
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/jspecview/common/MeasurementData.java:38: error: methods addLast(V) from Lst<Measurement> and addLast(E) from ArrayList<Measurement> are inherited with the same signature
    [javac] public class MeasurementData extends Lst<Measurement> implements
    [javac]        ^
    [javac]   where V,E are type-variables:
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in class ArrayList
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/jspecview/common/IntegralData.java:26: error: addLast(V) in Lst cannot implement addLast(E) in List
    [javac] public class IntegralData extends MeasurementData {
    [javac]        ^
    [javac]   return type boolean is not compatible with void
    [javac]   where V,E are type-variables:
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in interface List
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/jspecview/common/PeakData.java:17: error: addLast(V) in Lst cannot implement addLast(E) in List
    [javac] public class PeakData extends MeasurementData {
    [javac]        ^
    [javac]   return type boolean is not compatible with void
    [javac]   where V,E are type-variables:
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in interface List
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/org/jmol/viewer/Viewer.java:201: warning: [removal] finalize() in Object has been deprecated and marked for removal
    [javac]   protected void finalize() throws Throwable {
    [javac]                  ^
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/org/jmol/viewer/Viewer.java:204: warning: [removal] finalize() in Object has been deprecated and marked for removal
    [javac]     super.finalize();
    [javac]          ^
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/org/jmol/smiles/SmilesRingSet.java:37: error: methods addLast(V) from Lst<SmilesRing> and addLast(E) from ArrayList<SmilesRing> are inherited with the same signature
    [javac] class SmilesRingSet extends Lst<SmilesRing> {
    [javac] ^
    [javac]   where V,E are type-variables:
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in class ArrayList
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/org/jmol/util/BZone.java:281: warning: [removal] Float(float) in Float has been deprecated and marked for removal
    [javac]         cmd += "unitcell conventional;unitcell 'reciprocal' " + new Float(scale).toString() + ";";
    [javac]                                                                 ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 6 errors
    [javac] 8 warnings
BUILD FAILED
/builddir/build/BUILD/jmol-16.1.57/build.xml:395: Compile failed; see the compiler error output for details.
Total time: 18 seconds
error: Bad exit status from /var/tmp/rpm-tmp.BVJRKw (%build)
    Bad exit status from /var/tmp/rpm-tmp.BVJRKw (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 198ad72d0b6f4d65867cbf12363875ec -D /var/lib/mock/f41-build-side-84507-49320389-5865127/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.zw3am9ur:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jmol.spec\'\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 198ad72d0b6f4d65867cbf12363875ec -D /var/lib/mock/f41-build-side-84507-49320389-5865127/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.zw3am9ur:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jmol.spec'



Extracted relevant lines:
[javac] /builddir/build/BUILD/jmol-16.1.57/src/javajs/util/Lst.java:50: error: addLast(V) in Lst cannot implement addLast(E) in List
    [javac]   return type boolean is not compatible with void
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in interface List
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/com/sparshui/server/GestureServer.java:45: warning: [removal] finalize() in Object has been deprecated and marked for removal
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/javajs/img/GifEncoder.java:239: error: methods addLast(V) from Lst<P3> and addLast(E) from ArrayList<P3> are inherited with the same signature
    [javac]   private class ColorCell extends Lst<P3> {
    [javac]           ^
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in class ArrayList
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/jspecview/common/MeasurementData.java:38: error: methods addLast(V) from Lst<Measurement> and addLast(E) from ArrayList<Measurement> are inherited with the same signature
    [javac] public class MeasurementData extends Lst<Measurement> implements
    [javac]        ^
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in class ArrayList
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/jspecview/common/IntegralData.java:26: error: addLast(V) in Lst cannot implement addLast(E) in List
    [javac] public class IntegralData extends MeasurementData {
    [javac]        ^
    [javac]   return type boolean is not compatible with void
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in interface List
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/jspecview/common/PeakData.java:17: error: addLast(V) in Lst cannot implement addLast(E) in List
    [javac] public class PeakData extends MeasurementData {
    [javac]        ^
    [javac]   return type boolean is not compatible with void
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in interface List
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/org/jmol/viewer/Viewer.java:201: warning: [removal] finalize() in Object has been deprecated and marked for removal
    [javac]   protected void finalize() throws Throwable {
    [javac]                  ^
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/org/jmol/viewer/Viewer.java:204: warning: [removal] finalize() in Object has been deprecated and marked for removal
    [javac]     super.finalize();
    [javac]          ^
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/org/jmol/smiles/SmilesRingSet.java:37: error: methods addLast(V) from Lst<SmilesRing> and addLast(E) from ArrayList<SmilesRing> are inherited with the same signature
    [javac] class SmilesRingSet extends Lst<SmilesRing> {
    [javac] ^
    [javac]     V extends Object declared in class Lst
    [javac]     E extends Object declared in class ArrayList
    [javac] /builddir/build/BUILD/jmol-16.1.57/src/org/jmol/util/BZone.java:281: warning: [removal] Float(float) in Float has been deprecated and marked for removal
    [javac]         cmd += "unitcell conventional;unitcell 'reciprocal' " + new Float(scale).toString() + ";";
    [javac]                                                                 ^
BUILD FAILED
/builddir/build/BUILD/jmol-16.1.57/build.xml:395: Compile failed; see the compiler error output for details.
Total time: 18 seconds
EXCEPTION: [Error('Command failed: 
 # /usr/bin/systemd-nspawn -q -M 198ad72d0b6f4d65867cbf12363875ec -D /var/lib/mock/f41-build-side-84507-49320389-5865127/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.zw3am9ur:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jmol.spec\'
', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: 
 # %s
%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 198ad72d0b6f4d65867cbf12363875ec -D /var/lib/mock/f41-build-side-84507-49320389-5865127/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.zw3am9ur:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jmol.spec'