Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/IPAddress.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-75241-52178/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/IPAddress.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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/IPAddress-5.2.1-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps --nocheck /builddir/build/SPECS/IPAddress.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-75241-52178/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps --nocheck /builddir/build/SPECS/IPAddress.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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8hQaT5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf IPAddress-5.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v5.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd IPAddress-5.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (removeNonAsciChars.patch): + echo 'Patch #1 (removeNonAsciChars.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file IPAddress/build.xml patching file IPAddress/src/inet.ipaddr/inet/ipaddr/Address.java patching file IPAddress/src/inet.ipaddr/inet/ipaddr/ipv4/IPv4Address.java patching file IPAddress/src/inet.ipaddr/inet/ipaddr/ipv6/IPv6Address.java + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a2Z0N6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS ~/build/BUILD/IPAddress-5.2.1/IPAddress ~/build/BUILD/IPAddress-5.2.1 + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 IPAddress-5.2.1 + pushd IPAddress + rm dist/IPAddress.jar + mkdir bin + export JAVA_HOME=/usr/lib/jvm/java-11-openjdk + JAVA_HOME=/usr/lib/jvm/java-11-openjdk + ant 'create dist jar' Buildfile: /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/build.xml compile: [echo] compiling as Java 9 [javac] /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/build.xml:69: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 124 source files to /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/bin [javac] warning: [options] system modules path not set in conjunction with -source 9 [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 warning [echo] compiling as Java 8 [javac] /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/build.xml:82: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 124 source files to /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/bin [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/src/inet.ipaddr/inet/ipaddr/test/TestBase.java:601: warning: [deprecation] applyPrefixLength(int) in AddressSegmentSeries has been deprecated [javac] adjustedSeries = original.applyPrefixLength(prefix); [javac] ^ [javac] /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/src/inet.ipaddr/inet/ipaddr/test/IPAddressTest.java:967: warning: [deprecation] applyPrefixLength(int) in IPv6Address has been deprecated [javac] IPv6Address samplePrefixedIpv6 = sampleIpv6.applyPrefixLength(i); [javac] ^ [javac] /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/src/inet.ipaddr/inet/ipaddr/test/IPAddressTest.java:982: warning: [deprecation] applyPrefixLength(int) in IPv4Address has been deprecated [javac] IPv4Address samplePrefixedIpv4 = sampleIpv4.applyPrefixLength(i); [javac] ^ [javac] /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/src/inet.ipaddr/inet/ipaddr/test/IPAddressTest.java:1947: warning: [deprecation] applyPrefixLength(int) in IPAddress has been deprecated [javac] IPAddress subnet3 = value.applyPrefixLength(prefix); [javac] ^ [javac] /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/src/inet.ipaddr/inet/ipaddr/test/MACAddressRangeTest.java:220: warning: [deprecation] applyPrefixLength(int) in MACAddress has been deprecated [javac] lower = lower.applyPrefixLength(prefixedAddress.getPrefixLength()); [javac] ^ [javac] /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/src/inet.ipaddr/inet/ipaddr/test/MACAddressRangeTest.java:221: warning: [deprecation] applyPrefixLength(int) in MACAddress has been deprecated [javac] upper = upper.applyPrefixLength(prefixedAddress.getPrefixLength()); [javac] ^ [javac] /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/src/inet.ipaddr/inet/ipaddr/test/MACAddressRangeTest.java:254: warning: [deprecation] applyPrefixLength(int) in MACAddress has been deprecated [javac] removedPrefix = removedPrefix.applyPrefixLength(prefixedAddress.getPrefixLength()); [javac] ^ [javac] 8 warnings create file sets: generate time stamps: [echo] build date: 20240603, build time: 1043 create dist name: create dist jar: [jar] Building jar: /builddir/build/BUILD/IPAddress-5.2.1/IPAddress/dist/IPAddress_v5.2.1_20240603-104330.jar [echo] Source files included: inet/ipaddr/Address.java;inet/ipaddr/AddressComparator.java;inet/ipaddr/AddressComponent.java;inet/ipaddr/AddressConversionException.java;inet/ipaddr/AddressNetwork.java;inet/ipaddr/AddressPositionException.java;inet/ipaddr/AddressSection.java;inet/ipaddr/AddressSegment.java;inet/ipaddr/AddressSegmentSeries.java;inet/ipaddr/AddressStringException.java;inet/ipaddr/AddressStringParameters.java;inet/ipaddr/AddressValueException.java;inet/ipaddr/HostIdentifierException.java;inet/ipaddr/HostIdentifierString.java;inet/ipaddr/HostName.java;inet/ipaddr/HostNameException.java;inet/ipaddr/HostNameParameters.java;inet/ipaddr/IPAddress.java;inet/ipaddr/IPAddressConverter.java;inet/ipaddr/IPAddressNetwork.java;inet/ipaddr/IPAddressSection.java;inet/ipaddr/IPAddressSegment.java;inet/ipaddr/IPAddressSegmentSeries.java;inet/ipaddr/IPAddressSeqRange.java;inet/ipaddr/IPAddressString.java;inet/ipaddr/IPAddressStringParameters.java;inet/ipaddr/IncompatibleAddressException.java;inet/ipaddr/InconsistentPrefixException.java;inet/ipaddr/MACAddressString.java;inet/ipaddr/MACAddressStringParameters.java;inet/ipaddr/NetworkMismatchException.java;inet/ipaddr/PrefixLenException.java;inet/ipaddr/SizeMismatchException.java;inet/ipaddr/format/AddressComponentRange.java;inet/ipaddr/format/AddressDivisionBase.java;inet/ipaddr/format/AddressDivisionGroupingBase.java;inet/ipaddr/format/AddressDivisionSeries.java;inet/ipaddr/format/AddressGenericDivision.java;inet/ipaddr/format/AddressItem.java;inet/ipaddr/format/AddressItemRange.java;inet/ipaddr/format/AddressItemSpliteratorBase.java;inet/ipaddr/format/AddressSegmentSpliterator.java;inet/ipaddr/format/AddressSeriesSpliterator.java;inet/ipaddr/format/IPAddressDivisionSeries.java;inet/ipaddr/format/IPAddressGenericDivision.java;inet/ipaddr/format/IPAddressRange.java;inet/ipaddr/format/SpliteratorBase.java;inet/ipaddr/format/large/IPAddressLargeDivision.java;inet/ipaddr/format/large/IPAddressLargeDivisionGrouping.java;inet/ipaddr/format/large/package-info.java;inet/ipaddr/format/package-info.java;inet/ipaddr/format/standard/AddressBitsDivision.java;inet/ipaddr/format/standard/AddressCreator.java;inet/ipaddr/format/standard/AddressDivision.java;inet/ipaddr/format/standard/AddressDivisionGrouping.java;inet/ipaddr/format/standard/IPAddressBitsDivision.java;inet/ipaddr/format/standard/IPAddressDivision.java;inet/ipaddr/format/standard/IPAddressDivisionGrouping.java;inet/ipaddr/format/standard/IPAddressJoinedSegments.java;inet/ipaddr/format/standard/package-info.java;inet/ipaddr/format/string/AddressStringDivision.java;inet/ipaddr/format/string/AddressStringDivisionSeries.java;inet/ipaddr/format/string/IPAddressStringDivision.java;inet/ipaddr/format/string/IPAddressStringDivisionSeries.java;inet/ipaddr/format/string/package-info.java;inet/ipaddr/format/util/AddressComponentRangeSpliterator.java;inet/ipaddr/format/util/AddressComponentSpliterator.java;inet/ipaddr/format/util/AddressDivisionWriter.java;inet/ipaddr/format/util/AddressSegmentParams.java;inet/ipaddr/format/util/IPAddressPartConfiguredString.java;inet/ipaddr/format/util/IPAddressPartStringCollection.java;inet/ipaddr/format/util/IPAddressPartStringCollectionBase.java;inet/ipaddr/format/util/IPAddressPartStringSubCollection.java;inet/ipaddr/format/util/IPAddressStringWriter.java;inet/ipaddr/format/util/package-info.java;inet/ipaddr/format/util/sql/IPAddressSQLTranslator.java;inet/ipaddr/format/util/sql/MySQLTranslator.java;inet/ipaddr/format/util/sql/SQLStringMatcher.java;inet/ipaddr/format/util/sql/package-info.java;inet/ipaddr/format/validate/AddressParseData.java;inet/ipaddr/format/validate/HostIdentifierStringValidator.java;inet/ipaddr/format/validate/IPAddressProvider.java;inet/ipaddr/format/validate/MACAddressProvider.java;inet/ipaddr/format/validate/ParsedAddressCreator.java;inet/ipaddr/format/validate/ParsedAddressGrouping.java;inet/ipaddr/format/validate/ParsedHost.java;inet/ipaddr/format/validate/ParsedHostIdentifierStringQualifier.java;inet/ipaddr/format/validate/ParsedIPAddress.java;inet/ipaddr/format/validate/ParsedMACAddress.java;inet/ipaddr/format/validate/Validator.java;inet/ipaddr/format/validate/package-info.java;inet/ipaddr/ipv4/IPv4Address.java;inet/ipaddr/ipv4/IPv4AddressNetwork.java;inet/ipaddr/ipv4/IPv4AddressSection.java;inet/ipaddr/ipv4/IPv4AddressSegment.java;inet/ipaddr/ipv4/IPv4AddressSeqRange.java;inet/ipaddr/ipv4/IPv4AddressStringParameters.java;inet/ipaddr/ipv4/IPv4JoinedSegments.java;inet/ipaddr/ipv4/package-info.java;inet/ipaddr/ipv6/IPv6Address.java;inet/ipaddr/ipv6/IPv6AddressNetwork.java;inet/ipaddr/ipv6/IPv6AddressSection.java;inet/ipaddr/ipv6/IPv6AddressSegment.java;inet/ipaddr/ipv6/IPv6AddressSeqRange.java;inet/ipaddr/ipv6/IPv6AddressStringParameters.java;inet/ipaddr/ipv6/package-info.java;inet/ipaddr/mac/MACAddress.java;inet/ipaddr/mac/MACAddressNetwork.java;inet/ipaddr/mac/MACAddressSection.java;inet/ipaddr/mac/MACAddressSegment.java;inet/ipaddr/mac/package-info.java;inet/ipaddr/package-info.java;module-info.java BUILD SUCCESSFUL Total time: 7 seconds + mv dist/IPAddress_v5.2.1_20240603-104330.jar dist/IPAddress.jar + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KaRYBh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch + cd IPAddress-5.2.1 + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py IPAddress/pom.xml IPAddress/dist/IPAddress.jar + xmvn-install -R .xmvn-reactor -n IPAddress -d /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch [INFO] Installing artifact com.github.seancfoley:ipaddress:pom:5.2.1 [INFO] Installing artifact com.github.seancfoley:ipaddress:jar:5.2.1 [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/licenses + '[' -d target/site/apidocs ']' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 5.2.1-1.oc9 --unique-debug-suffix -5.2.1-1.oc9.noarch --unique-debug-src-base IPAddress-5.2.1-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/IPAddress-5.2.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: IPAddress-5.2.1-1.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VudyRL + umask 022 + cd /builddir/build/BUILD + cd IPAddress-5.2.1 + DOCDIR=/builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/doc/IPAddress + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/doc/IPAddress + cp -pr README.md /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/doc/IPAddress + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gL52pg + umask 022 + cd /builddir/build/BUILD + cd IPAddress-5.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/licenses/IPAddress + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/licenses/IPAddress + cp -pr LICENSE /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/licenses/IPAddress + RPM_EC=0 ++ jobs -p + exit 0 [INFO maven.prov] input: ['/builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/maven-metadata/IPAddress.xml'] [INFO maven.prov] mvn(com.github.seancfoley:ipaddress:pom:) = 5.2.1, mvn(com.github.seancfoley:ipaddress) = 5.2.1 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/java/IPAddress/ipaddress.jar'] [INFO maven.req] input: ['/builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/maven-metadata/IPAddress.xml'] [INFO maven.req] (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless), javapackages-filesystem [INFO osgi.req] input: ['/builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch/usr/share/java/IPAddress/ipaddress.jar'] Provides: IPAddress = 5.2.1-1.oc9 mvn(com.github.seancfoley:ipaddress) = 5.2.1 mvn(com.github.seancfoley:ipaddress:pom:) = 5.2.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless) javapackages-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/IPAddress-5.2.1-1.oc9.noarch Wrote: /builddir/build/RPMS/IPAddress-5.2.1-1.oc9.noarch.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0