too long lines were shrinked: x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I/usr/include/python3.9 -c src/C/sparse.c -o build/temp.linux-x86_64-cpython-39/src/C/sparse.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 build/temp.linux-x86_64-cpython-39/src/C/lapack.o -L/usr/lib64; -L/usr/lib64 -llapack -lblas -o build/lib.linux-x86_64-cpython-39/cvxopt/lapack.cpython-39-x8 x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 build/temp.linux-x86_64-cpython-39/src/C/base.o build/temp.linux-x86_64-cpython-39/src/C/dense.o build/temp.linux-x86_64-cpython-39/src/C/sparse.o -L/usr/lib UPDATING build/lib.linux-x86_64-cpython-39/cvxopt/_version.py error: [Errno 2] No such file or directory: 'build/lib.linux-x86_64-cpython-39/cvxopt/_version.py' * ERROR: dev-python/cvxopt-1.3.0::gentoo failed (compile phase): * (no error message) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j4-20220422-222106 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-10.3.1 [3] x86_64-pc-linux-gnu-11.3.0 * clang/llvm (if any): clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.1 Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.60.0 * The following VMs are available for generation-2: 1) OpenJDK 11.0.14_p9 [openjdk-11] 2) OpenJDK 8.322_p06 [openjdk-8] *) Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11] 4) Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-8 [2] openjdk-11 [3] openjdk-bin-8 [4] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.4 [2] php8.0 [3] php8.1 * HEAD of ::gentoo commit b6e7de728247bdfead3e9e35f95028fcae409772 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Apr 25 23:18:35 2022 +0000 2022-04-25 23:18:35 UTC emerge -qpvO dev-python/cvxopt [ebuild N ] dev-python/cvxopt-1.3.0 USE="dsdp glpk -doc -examples -fftw -gsl -test" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Created attachment 774678 [details] emerge-info.txt
Created attachment 774681 [details] dev-python:cvxopt-1.3.0:20220426-010511.log
Created attachment 774684 [details] emerge-history.txt.bz2
Created attachment 774687 [details] environment
Created attachment 774690 [details] etc.portage.tar.bz2
Created attachment 774693 [details] temp.tar.bz2
easy to fix $ cat /etc/portage/patches/dev-python/cvxopt/versioneer.py.patch --- a/versioneer.py +++ b/versioneer.py @@ -1392,7 +1392,10 @@ def write_to_version_file(filename, versions): """Write the given version number to the given _version.py file.""" - os.unlink(filename) + try: + os.unlink(filename) + except Exception: + print(filename) contents = json.dumps(versions, sort_keys=True, indent=1, separators=(",", ": ")) with open(filename, "w") as f:
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c9d7f507594da6c0b3d0f598ece26e1cd477351 commit 4c9d7f507594da6c0b3d0f598ece26e1cd477351 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2022-05-07 16:57:06 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2022-05-07 16:57:19 +0000 dev-python/cvxopt: patch versioneer.py to fix the build. Michał Górny fixed this upstream in versioneer itself, I just backported his commit to cvxopt's copy of versioneer.py. Closes: https://bugs.gentoo.org/840999 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> dev-python/cvxopt/cvxopt-1.3.0.ebuild | 2 ++ .../files/cvxopt-1.3.0-versioneer-buildfix.patch | 33 ++++++++++++++++++++++ 2 files changed, 35 insertions(+)