Powered by overclock. Your IP: 18.97.9.171 | python3-pyhamcrest 4c184f16-5ce5-441a-a0e1-2d27109fc036Toc:- mkbuilddir
Executing(%mkbuilddir): /bin/sh -e /tmp/B.c9pnp1yw/BUILD/tmp/rpm-tmp.A4VLYH
- prep
Executing(%prep): /bin/sh -e /tmp/B.c9pnp1yw/BUILD/tmp/rpm-tmp.CyI90O
- build
Executing(%build): /bin/sh -e /tmp/B.c9pnp1yw/BUILD/tmp/rpm-tmp.F5TDJE
- error 1
E AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
- error 2
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
- error 3
error: Bad exit status from /tmp/B.c9pnp1yw/BUILD/tmp/rpm-tmp.F5TDJE (%build)
- error 4
RPM build errors:
- error 5
error: No files produced.
Content:request from: arekm2
checking if we should skip the build
started at: Thu May 8 20:07:46 2025
killing old processes on a builder
sending signal 9 to pid -1
cleaning up /tmp
fetching https://srcbuilder.pld-linux.org/th//srpms/4c184f16-5ce5-441a-a0e1-2d27109fc036/python3-pyhamcrest-2.1.0-1.src.rpm
fetched 76715 bytes, 282.6 K/s
installing srpm: python3-pyhamcrest-2.1.0-1.src.rpm
+ install -d /tmp/B.c9pnp1yw/BUILD /tmp/B.c9pnp1yw/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog python3-pyhamcrest-2.1.0-1.src.rpm
* Thu May 08 2025 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/python3-pyhamcrest.git;a=log;h=master
* Thu May 08 2025 Arkadiusz Miśkiewicz <arekm@maven.pl> 19f8a43 - Up to 2.1.0
* Tue Mar 11 2025 Jan Rękorajski <baggins@pld-linux.org> fc1414e - doc/test rebuild for python 3.13
* Mon Mar 10 2025 Jan Rękorajski <baggins@pld-linux.org> 9d0a2c2 - python 3.13 rebuild
* Wed Apr 27 2022 Jakub Bogusz <qboosh@pld-linux.org> c4d4958 - updated to 2.0.3
* Wed Mar 30 2022 Jan Rękorajski <baggins@pld-linux.org> 2c7b741 - rebuild with tests and docs
* Fri Mar 25 2022 Jan Rękorajski <baggins@pld-linux.org> 5f390e8 - rebuild with python 3.10
* Mon Mar 01 2021 Jan Rękorajski <baggins@pld-linux.org> bff2de8 - release 3 (by relup.sh)
* Sat Feb 27 2021 Jan Rękorajski <baggins@pld-linux.org> 5c957f6 - release 2 (by relup.sh)
* Sat Mar 21 2020 Jakub Bogusz <qboosh@pld-linux.org> 5a91e76 - new
+ rpm -Uhv --nodeps --define '_topdir /tmp/B.c9pnp1yw' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' python3-pyhamcrest-2.1.0-1.src.rpm
Updating / installing...
python3-pyhamcrest-2.1.0-1 ########################################
+ rm -f python3-pyhamcrest-2.1.0-1.src.rpm
+ install -m 700 -d /tmp/B.c9pnp1yw/BUILD/tmp
+ TMPDIR=/tmp/B.c9pnp1yw/BUILD/tmp
+ exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.c9pnp1yw' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-pld-linux --define 'prep exit 0' /tmp/B.c9pnp1yw/python3-pyhamcrest.spec
Building target platforms: x86_64-pld-linux
Building for target x86_64-pld-linux
warning: Could not canonicalize hostname: ymir
RPM build warnings:
Could not canonicalize hostname: ymir
checking BuildConflict-ing packages
rpm: Building target platforms: x86_64-pld-linux
rpm: Building for target x86_64-pld-linux
rpm: warning: Could not canonicalize hostname: ymir
rpm:
rpm: RPM build warnings:
rpm: Could not canonicalize hostname: ymir
no BuildConflicts found
checking BR
rpm: Building target platforms: x86_64-pld-linux
rpm: Building for target x86_64-pld-linux
rpm: warning: Could not canonicalize hostname: ymir
rpm:
rpm: RPM build warnings:
rpm: Could not canonicalize hostname: ymir
no BR needed
building RPM using: set -ex; : build-id: 4c184f16-5ce5-441a-a0e1-2d27109fc036; TMPDIR=/tmp/B.c9pnp1yw/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.c9pnp1yw' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-pld-linux /tmp/B.c9pnp1yw/python3-pyhamcrest.spec
+ : build-id: 4c184f16-5ce5-441a-a0e1-2d27109fc036
+ TMPDIR=/tmp/B.c9pnp1yw/BUILD/tmp
+ exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.c9pnp1yw' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-pld-linux /tmp/B.c9pnp1yw/python3-pyhamcrest.spec
Building target platforms: x86_64-pld-linux
Building for target x86_64-pld-linux
warning: Could not canonicalize hostname: ymir
Executing(%mkbuilddir): /bin/sh -e /tmp/B.c9pnp1yw/BUILD/tmp/rpm-tmp.A4VLYH
Executing(%prep): /bin/sh -e /tmp/B.c9pnp1yw/BUILD/tmp/rpm-tmp.CyI90O
+ umask 022
+ cd /tmp/B.c9pnp1yw/BUILD/python3-pyhamcrest-2.1.0-build
+ cd /tmp/B.c9pnp1yw/BUILD/python3-pyhamcrest-2.1.0-build
+ rm -rf pyhamcrest-2.1.0
+ /usr/lib/rpm/rpmuncompress -x /tmp/B.c9pnp1yw/pyhamcrest-2.1.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pyhamcrest-2.1.0
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
+ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /tmp/B.c9pnp1yw/BUILD/tmp/rpm-tmp.F5TDJE
TMP=/home/users/builder/tmp
HOME=/home/users/builder
PATH=/home/users/builder/GNUstep/Tools:/bin:/usr/bin:/usr/local/bin:/home/users/builder/bin
TMPDIR=/tmp/B.c9pnp1yw/BUILD/tmp
+ umask 022
+ cd /tmp/B.c9pnp1yw/BUILD/python3-pyhamcrest-2.1.0-build
+ cd pyhamcrest-2.1.0
+ LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc '
+ export LDFLAGS
+ CFLAGS='-DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security '
+ export CFLAGS
+ CXXFLAGS='-DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security '
+ export CXXFLAGS
+ CC=/usr/bin/x86_64-pld-linux-gcc
+ export CC
+ CXX=/usr/bin/x86_64-pld-linux-g++
+ export CXX
+ /usr/bin/python3 -m build --wheel --no-isolation --outdir build-3
* Getting build dependencies for wheel...
* Building wheel...
Successfully built pyhamcrest-2.1.0-py3-none-any.whl
+ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 pwd
+ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTHONPATH=/tmp/B.c9pnp1yw/BUILD/python3-pyhamcrest-2.1.0-build/pyhamcrest-2.1.0/src /usr/bin/python3 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0
rootdir: /tmp/B.c9pnp1yw/BUILD/python3-pyhamcrest-2.1.0-build/pyhamcrest-2.1.0
configfile: tox.ini
collected 459 items
tests/hamcrest_unit_test/assert_that_test.py ....... [ 1%]
tests/hamcrest_unit_test/base_description_test.py .......... [ 3%]
tests/hamcrest_unit_test/base_matcher_test.py ..... [ 4%]
tests/hamcrest_unit_test/collection/is_empty_test.py ....... [ 6%]
tests/hamcrest_unit_test/collection/isdict_containing_test.py ......... [ 8%]
tests/hamcrest_unit_test/collection/isdict_containingentries_test.py ... [ 8%]
.............. [ 11%]
tests/hamcrest_unit_test/collection/isdict_containingkey_test.py ....... [ 13%]
... [ 14%]
tests/hamcrest_unit_test/collection/isdict_containingvalue_test.py ..... [ 15%]
..... [ 16%]
tests/hamcrest_unit_test/collection/isin_test.py .......... [ 18%]
tests/hamcrest_unit_test/collection/issequence_containing_test.py ...... [ 19%]
............................ [ 25%]
tests/hamcrest_unit_test/collection/issequence_containinginanyorder_test.py . [ 26%]
............................... [ 32%]
tests/hamcrest_unit_test/collection/issequence_containinginorder_test.py . [ 33%]
........................... [ 38%]
tests/hamcrest_unit_test/collection/issequence_onlycontaining_test.py .. [ 39%]
.................. [ 43%]
tests/hamcrest_unit_test/core/allof_test.py .......... [ 45%]
tests/hamcrest_unit_test/core/anyof_test.py ......... [ 47%]
tests/hamcrest_unit_test/core/described_as_test.py ...... [ 48%]
tests/hamcrest_unit_test/core/future_test.py ....s........ [ 51%]
tests/hamcrest_unit_test/core/is_test.py ....... [ 53%]
tests/hamcrest_unit_test/core/isanything_test.py .... [ 54%]
tests/hamcrest_unit_test/core/isequal_test.py ........... [ 56%]
tests/hamcrest_unit_test/core/isinstanceof_test.py ...... [ 57%]
tests/hamcrest_unit_test/core/isnone_test.py ............ [ 60%]
tests/hamcrest_unit_test/core/isnot_test.py ....... [ 61%]
tests/hamcrest_unit_test/core/issame_test.py ....... [ 63%]
tests/hamcrest_unit_test/core/raises_test.py .....s.......ss..... [ 67%]
tests/hamcrest_unit_test/integration/match_equality_test.py ..... [ 68%]
tests/hamcrest_unit_test/number/iscloseto_test.py ...........F..F....... [ 73%]
..... [ 74%]
tests/hamcrest_unit_test/number/ordering_comparison_test.py .......... [ 76%]
tests/hamcrest_unit_test/object/haslength_test.py ......... [ 78%]
tests/hamcrest_unit_test/object/hasproperty_test.py .............. [ 81%]
tests/hamcrest_unit_test/object/hasstring_test.py ...... [ 83%]
tests/hamcrest_unit_test/string_description_test.py ........ [ 84%]
tests/hamcrest_unit_test/text/isequal_ignoring_case_test.py ........ [ 86%]
tests/hamcrest_unit_test/text/isequal_ignoring_whitespace_test.py ...... [ 88%]
... [ 88%]
tests/hamcrest_unit_test/text/stringcontains_test.py .............. [ 91%]
tests/hamcrest_unit_test/text/stringcontainsinorder_test.py ......... [ 93%]
tests/hamcrest_unit_test/text/stringendswith_test.py ........ [ 95%]
tests/hamcrest_unit_test/text/stringmatches_test.py ............. [ 98%]
tests/hamcrest_unit_test/text/stringstartswith_test.py ........ [100%]
=================================== FAILURES ===================================
________________ IsNumericTest.test_numpy_numeric_type_complex _________________
self = <hamcrest_unit_test.number.iscloseto_test.IsNumericTest testMethod=test_numpy_numeric_type_complex>
@unittest.skipUnless(NUMPY_AVAILABLE, "Skipped because it needs NumPy")
def test_numpy_numeric_type_complex(self):
> self.assertTrue(isnumeric(np.complex_(1)), "Shorthand for complex128.")
tests/hamcrest_unit_test/number/iscloseto_test.py:130:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
attr = 'complex_'
def __getattr__(attr):
# Warn for expired attributes
import warnings
if attr == "linalg":
import numpy.linalg as linalg
return linalg
elif attr == "fft":
import numpy.fft as fft
return fft
elif attr == "dtypes":
import numpy.dtypes as dtypes
return dtypes
elif attr == "random":
import numpy.random as random
return random
elif attr == "polynomial":
import numpy.polynomial as polynomial
return polynomial
elif attr == "ma":
import numpy.ma as ma
return ma
elif attr == "ctypeslib":
import numpy.ctypeslib as ctypeslib
return ctypeslib
elif attr == "exceptions":
import numpy.exceptions as exceptions
return exceptions
elif attr == "testing":
import numpy.testing as testing
return testing
elif attr == "matlib":
import numpy.matlib as matlib
return matlib
elif attr == "f2py":
import numpy.f2py as f2py
return f2py
elif attr == "typing":
import numpy.typing as typing
return typing
elif attr == "rec":
import numpy.rec as rec
return rec
elif attr == "char":
import numpy.char as char
return char
elif attr == "array_api":
raise AttributeError("`numpy.array_api` is not available from "
"numpy 2.0 onwards", name=None)
elif attr == "core":
import numpy.core as core
return core
elif attr == "strings":
import numpy.strings as strings
return strings
elif attr == "distutils":
if 'distutils' in __numpy_submodules__:
import numpy.distutils as distutils
return distutils
else:
raise AttributeError("`numpy.distutils` is not available from "
"Python 3.12 onwards", name=None)
if attr in __future_scalars__:
# And future warnings for those that will change, but also give
# the AttributeError
warnings.warn(
f"In the future `np.{attr}` will be defined as the "
"corresponding NumPy scalar.", FutureWarning, stacklevel=2)
if attr in __former_attrs__:
raise AttributeError(__former_attrs__[attr], name=None)
if attr in __expired_attributes__:
> raise AttributeError(
f"`np.{attr}` was removed in the NumPy 2.0 release. "
f"{__expired_attributes__[attr]}",
name=None
)
E AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
/usr/lib64/python3.13/site-packages/numpy/__init__.py:400: AttributeError
_________________ IsNumericTest.test_numpy_numeric_type_float __________________
self = <hamcrest_unit_test.number.iscloseto_test.IsNumericTest testMethod=test_numpy_numeric_type_float>
@unittest.skipUnless(NUMPY_AVAILABLE, "Skipped because it needs NumPy")
def test_numpy_numeric_type_float(self):
> self.assertTrue(isnumeric(np.float_(1)), "Shorthand for float64.")
tests/hamcrest_unit_test/number/iscloseto_test.py:105:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
attr = 'float_'
def __getattr__(attr):
# Warn for expired attributes
import warnings
if attr == "linalg":
import numpy.linalg as linalg
return linalg
elif attr == "fft":
import numpy.fft as fft
return fft
elif attr == "dtypes":
import numpy.dtypes as dtypes
return dtypes
elif attr == "random":
import numpy.random as random
return random
elif attr == "polynomial":
import numpy.polynomial as polynomial
return polynomial
elif attr == "ma":
import numpy.ma as ma
return ma
elif attr == "ctypeslib":
import numpy.ctypeslib as ctypeslib
return ctypeslib
elif attr == "exceptions":
import numpy.exceptions as exceptions
return exceptions
elif attr == "testing":
import numpy.testing as testing
return testing
elif attr == "matlib":
import numpy.matlib as matlib
return matlib
elif attr == "f2py":
import numpy.f2py as f2py
return f2py
elif attr == "typing":
import numpy.typing as typing
return typing
elif attr == "rec":
import numpy.rec as rec
return rec
elif attr == "char":
import numpy.char as char
return char
elif attr == "array_api":
raise AttributeError("`numpy.array_api` is not available from "
"numpy 2.0 onwards", name=None)
elif attr == "core":
import numpy.core as core
return core
elif attr == "strings":
import numpy.strings as strings
return strings
elif attr == "distutils":
if 'distutils' in __numpy_submodules__:
import numpy.distutils as distutils
return distutils
else:
raise AttributeError("`numpy.distutils` is not available from "
"Python 3.12 onwards", name=None)
if attr in __future_scalars__:
# And future warnings for those that will change, but also give
# the AttributeError
warnings.warn(
f"In the future `np.{attr}` will be defined as the "
"corresponding NumPy scalar.", FutureWarning, stacklevel=2)
if attr in __former_attrs__:
raise AttributeError(__former_attrs__[attr], name=None)
if attr in __expired_attributes__:
> raise AttributeError(
f"`np.{attr}` was removed in the NumPy 2.0 release. "
f"{__expired_attributes__[attr]}",
name=None
)
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
/usr/lib64/python3.13/site-packages/numpy/__init__.py:400: AttributeError
=============================== warnings summary ===============================
../../../../../usr/share/python3.13/site-packages/_pytest/config/__init__.py:1441
/usr/share/python3.13/site-packages/_pytest/config/__init__.py:1441: PytestConfigWarning: Unknown config option: looponfailroots
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
tests/hamcrest_unit_test/core/future_test.py::FutureExceptionTest::testDoesNotMatchExceptionIfRegularExpressionDoesNotMatch
/tmp/B.c9pnp1yw/BUILD/python3-pyhamcrest-2.1.0-build/pyhamcrest-2.1.0/tests/hamcrest_unit_test/core/future_test.py:124: DeprecationWarning: There is no current event loop
asyncio.get_event_loop().run_until_complete(test())
tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_complex64
/tmp/B.c9pnp1yw/BUILD/python3-pyhamcrest-2.1.0-build/pyhamcrest-2.1.0/src/hamcrest/library/number/iscloseto.py:22: ComplexWarning: Casting complex values to real discards the imaginary part
_ = (fabs(value) + 0 - 0) * 1
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
SKIPPED [1] tests/hamcrest_unit_test/core/future_test.py:61: Message differs between Python versions
SKIPPED [1] tests/hamcrest_unit_test/core/raises_test.py:45: Message differs between Python versions
SKIPPED [2] tests/hamcrest_unit_test/core/raises_test.py:139: Message differs between Python versions
FAILED tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_complex
FAILED tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_float
============= 2 failed, 453 passed, 4 skipped, 3 warnings in 1.17s =============
error: Bad exit status from /tmp/B.c9pnp1yw/BUILD/tmp/rpm-tmp.F5TDJE (%build)
RPM build warnings:
Could not canonicalize hostname: ymir
RPM build errors:
Bad exit status from /tmp/B.c9pnp1yw/BUILD/tmp/rpm-tmp.F5TDJE (%build)
ended at: Thu May 8 20:07:53 2025, done in 0:00:04.071653
error: No files produced.
+ chmod -R u+rwX /tmp/B.c9pnp1yw/BUILD
+ rm -rf /tmp/B.c9pnp1yw/tmp /tmp/B.c9pnp1yw/BUILD
+ rm -rf /tmp/B.c9pnp1yw
Begin-PLD-Builder-Info
Build-Time: user:5.97s sys:1.89s real:7.88s (faults io:0 non-io:211126)
End-PLD-Builder-Info
|
|