Date: Sun, 12 Dec 2021 20:26:50 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260367] graphics/py-scikit-image: Build v0.19.0 broken on HEAD Message-ID: <bug-260367-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260367 Bug ID: 260367 Summary: graphics/py-scikit-image: Build v0.19.0 broken on HEAD Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: makc@FreeBSD.org Reporter: rhurlin@FreeBSD.org Flags: maintainer-feedback?(makc@FreeBSD.org) Assignee: makc@FreeBSD.org When I try to build graphics/py-scikit-image v0.19.0 on 14.0-CURRENT, it br= eaks as shown below. This is true both inside Poudriere (clean environment) and outside. FreeBSD 12.3 and 13.0 are not affected. ---------- [..skip..] Partial import of skimage during the build process. Compiling /usr/ports/graphics/py-scikit-image/work-py38/scikit-image-0.19.0/skimage/m= orphology/_skeletonize_3d_cy.pyx because it changed. [1/1] Cythonizing /usr/ports/graphics/py-scikit-image/work-py38/scikit-image-0.19.0/skimage/m= orphology/_skeletonize_3d_cy.pyx running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building extension "skimage._shared.geometry" sources building extension "skimage._shared.transform" sources building extension "skimage._shared.interpolation" sources building extension "skimage._shared.fast_exp" sources building extension "skimage.draw._draw" sources building extension "skimage.feature._cascade" sources building extension "skimage.feature.corner_cy" sources building extension "skimage.feature.censure_cy" sources building extension "skimage.feature.orb_cy" sources building extension "skimage.feature._texture" sources building extension "skimage.feature._hoghistogram" sources building extension "skimage.feature._haar" sources building extension "skimage.feature._sift" sources building extension "skimage.feature.brief_cy" sources building extension "skimage.feature._hessian_det_appx" sources building extension "skimage.restoration._unwrap_1d" sources building extension "skimage.restoration._unwrap_2d" sources building extension "skimage.restoration._unwrap_3d" sources building extension "skimage.restoration._denoise_cy" sources building extension "skimage.restoration._nl_means_denoising" sources building extension "skimage.restoration._rolling_ball_cy" sources building extension "skimage.restoration._inpaint" sources building extension "skimage.filters.rank.core_cy" sources building extension "skimage.filters.rank.core_cy_3d" sources building extension "skimage.filters._multiotsu" sources building extension "skimage.filters.rank.generic_cy" sources building extension "skimage.filters.rank.percentile_cy" sources building extension "skimage.filters.rank.bilateral_cy" sources building extension "skimage.future.graph._ncut_cy" sources building extension "skimage.graph._spath" sources building extension "skimage.graph._mcp" sources building extension "skimage.graph.heap" sources building extension "skimage.io._plugins._colormixer" sources building extension "skimage.io._plugins._histograms" sources building extension "skimage.measure._ccomp" sources building extension "skimage.measure._find_contours_cy" sources building extension "skimage.measure._moments_cy" sources building extension "skimage.measure._marching_cubes_classic_cy" sources building extension "skimage.measure._marching_cubes_lewiner_cy" sources building extension "skimage.measure._pnpoly" sources building extension "skimage.morphology._skeletonize_cy" sources building extension "skimage.morphology._convex_hull" sources building extension "skimage.morphology._grayreconstruct" sources building extension "skimage.morphology._max_tree" sources building extension "skimage.morphology._skeletonize_3d_cy" sources building extension "skimage.morphology._extrema_cy" sources building extension "skimage.morphology._flood_fill_cy" sources building extension "skimage.transform._hough_transform" sources building extension "skimage.transform._warps_cy" sources building extension "skimage.transform._radon_transform" sources building extension "skimage.util._remap" sources building extension "skimage.segmentation._watershed_cy" sources building extension "skimage.segmentation._felzenszwalb_cy" sources building extension "skimage.segmentation._quickshift_cy" sources building extension "skimage.segmentation._slic" sources building data_files sources build_src: building npy-pkg config files running build_py running egg_info writing scikit_image.egg-info/PKG-INFO writing dependency_links to scikit_image.egg-info/dependency_links.txt writing entry points to scikit_image.egg-info/entry_points.txt writing requirements to scikit_image.egg-info/requires.txt writing top-level names to scikit_image.egg-info/top_level.txt reading manifest file 'scikit_image.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'doc/build' no previously-included directories found matching 'doc/gh-pages' adding license file 'LICENSE.txt' writing manifest file 'scikit_image.egg-info/SOURCES.txt' copying skimage/morphology/_skeletonize_3d_cy.cpp -> build/lib.freebsd-14.0-CURRENT-amd64-3.8/skimage/morphology copying skimage/morphology/_skeletonize_3d_cy.pyx -> build/lib.freebsd-14.0-CURRENT-amd64-3.8/skimage/morphology running build_ext customize UnixCCompiler C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC creating /tmp/tmpwaqcyj3m/tmp creating /tmp/tmpwaqcyj3m/tmp/tmpwaqcyj3m compile options: '-MMD -MF /tmp/tmpwaqcyj3m/file.c.d -c' cc: /tmp/tmpwaqcyj3m/file.c customize UnixCCompiler using ConditionalOpenMP CCompilerOpt.__init__[758] : load cache from file -> /usr/ports/graphics/py-scikit-image/work-py38/scikit-image-0.19.0/build/tem= p.freebsd-14.0-CURRENT-amd64-3.8/ccompiler_opt_cache_ext.py CCompilerOpt.__init__[769] : hit the file cache customize UnixCCompiler C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC creating /tmp/tmp4f5xqxb4/tmp creating /tmp/tmp4f5xqxb4/tmp/tmp4f5xqxb4 compile options: '-MMD -MF /tmp/tmp4f5xqxb4/file.c.d -c' cc: /tmp/tmp4f5xqxb4/file.c customize UnixCCompiler using ConditionalOpenMP C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC compile options: '-I/usr/local/include/python3.8 -c' extra options: '-fopenmp' cc: test.c test.c:1:17: warning: extra tokens at end of #include directive [-Wextra-tokens] #include <omp.h>int main(int argc, char** argv) { return(0); } ^ // 1 warning generated. cc -shared -fstack-protector-strong -O2 -pipe -fstack-protector-strong -fno-strict-aliasing test.o -L/usr/local/lib -o libtestlib.so -fopenmp building 'skimage.feature.brief_cy' extension compiling C++ sources C compiler: c++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEB= UG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC compile options: '-DENABLE_PYTHON_MODULE -D__PYTHRAN__=3D3 -DPYTHRAN_BLAS_N= ONE -I/usr/local/lib/python3.8/site-packages/pythran -I/usr/local/lib/python3.8/site-packages/numpy/core/include -I/usr/local/lib/python3.8/site-packages/numpy/core/include -Ibuild/src.freebsd-14.0-CURRENT-amd64-3.8/numpy/distutils/include -I/usr/local/include/python3.8 -c' extra options: '-std=3Dc++11 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fopenmp -msse -msse2 -msse3' c++: skimage/feature/brief_pythran.cpp In file included from skimage/feature/brief_pythran.cpp:1: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/core.hpp:36: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/slice.hpp:5: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/NoneType.hpp:= 8: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/builtins/bool_.hpp:= 7: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/tuple.hpp:13: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/ndarray.hpp:1= 0: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/builtins/ValueError= .hpp:6: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/exceptions.hp= p:6: /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/str.hpp:407:1= 2: error: no matching constructor for initialization of 'typename str::reverse_iterator' (aka 'reverse_iterator<(anonymous namespace)::pythonic::types::string_iterator>') return {data->rbegin()}; ^~~~~~~~~~~~~~~~ /usr/include/c++/v1/__iterator/reverse_iterator.h:37:28: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'reverse_iterator<std::basic_string<char>::iterator>' to 'const reverse_iterator<(anonymous namespace)::pythonic::types::string_iterator>' = for 1st argument class _LIBCPP_TEMPLATE_VIS reverse_iterator ^ /usr/include/c++/v1/__iterator/reverse_iterator.h:37:28: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'reverse_iterator<std::basic_string<char>::iterator>' to 'reverse_iterator<(anonymous namespace)::pythonic::types::string_iterator>'= for 1st argument /usr/include/c++/v1/__iterator/reverse_iterator.h:79:14: note: candidate constructor not viable: no known conversion from 'std::basic_string<char>::reverse_iterator' (aka 'reverse_iterator<__wrap_iter<char *>>') to '(anonymous namespace)::pythonic::types::string_iterator' for 1st argument explicit reverse_iterator(_Iter __x) : __t(__x), current(__x) {} ^ /usr/include/c++/v1/__iterator/reverse_iterator.h:85:5: note: candidate template ignored: substitution failure [with _Up =3D std::__wrap_iter<char = *>]: no member named '_EnableIfImpl' in 'std::_MetaBase<false>' reverse_iterator(const reverse_iterator<_Up>& __u) ^ /usr/include/c++/v1/__iterator/reverse_iterator.h:76:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided reverse_iterator() : __t(), current() {} ^ In file included from skimage/feature/brief_pythran.cpp:1: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/core.hpp:36: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/slice.hpp:5: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/NoneType.hpp:= 8: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/builtins/bool_.hpp:= 7: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/tuple.hpp:13: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/ndarray.hpp:1= 0: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/builtins/ValueError= .hpp:6: In file included from /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/exceptions.hp= p:6: /usr/local/lib/python3.8/site-packages/pythran/pythonic/types/str.hpp:417:1= 2: error: no matching constructor for initialization of 'typename str::reverse_iterator' (aka 'reverse_iterator<(anonymous namespace)::pythonic::types::string_iterator>') return {data->rend()}; ^~~~~~~~~~~~~~ /usr/include/c++/v1/__iterator/reverse_iterator.h:37:28: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'reverse_iterator<std::basic_string<char>::iterator>' to 'const reverse_iterator<(anonymous namespace)::pythonic::types::string_iterator>' = for 1st argument class _LIBCPP_TEMPLATE_VIS reverse_iterator ^ /usr/include/c++/v1/__iterator/reverse_iterator.h:37:28: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'reverse_iterator<std::basic_string<char>::iterator>' to 'reverse_iterator<(anonymous namespace)::pythonic::types::string_iterator>'= for 1st argument /usr/include/c++/v1/__iterator/reverse_iterator.h:79:14: note: candidate constructor not viable: no known conversion from 'std::basic_string<char>::reverse_iterator' (aka 'reverse_iterator<__wrap_iter<char *>>') to '(anonymous namespace)::pythonic::types::string_iterator' for 1st argument explicit reverse_iterator(_Iter __x) : __t(__x), current(__x) {} ^ /usr/include/c++/v1/__iterator/reverse_iterator.h:85:5: note: candidate template ignored: substitution failure [with _Up =3D std::__wrap_iter<char = *>]: no member named '_EnableIfImpl' in 'std::_MetaBase<false>' reverse_iterator(const reverse_iterator<_Up>& __u) ^ /usr/include/c++/v1/__iterator/reverse_iterator.h:76:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided reverse_iterator() : __t(), current() {} ^ 2 errors generated. error: Command "c++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3D3 -DPYTHRAN_BLAS_NONE -I/usr/local/lib/python3.8/site-packages/pythran -I/usr/local/lib/python3.8/site-packages/numpy/core/include -I/usr/local/lib/python3.8/site-packages/numpy/core/include -Ibuild/src.freebsd-14.0-CURRENT-amd64-3.8/numpy/distutils/include -I/usr/local/include/python3.8 -c skimage/feature/brief_pythran.cpp -o build/temp.freebsd-14.0-CURRENT-amd64-3.8/skimage/feature/brief_pythran.o -= MMD -MF build/temp.freebsd-14.0-CURRENT-amd64-3.8/skimage/feature/brief_pythran= .o.d -std=3Dc++11 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fopen= mp -msse -msse2 -msse3" failed with exit status 1 ########### EXT COMPILER OPTIMIZATION ########### Platform :=20 Architecture: x64 Compiler : unix-like CPU baseline :=20 Requested : 'min' Enabled : SSE SSE2 SSE3 Flags : -msse -msse2 -msse3 Extra checks: none CPU dispatch :=20 Requested : 'max -xop -fma4' Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL Generated : none CCompilerOpt._cache_write[796] : write cache to path -> /usr/ports/graphics/py-scikit-image/work-py38/scikit-image-0.19.0/build/tem= p.freebsd-14.0-CURRENT-amd64-3.8/ccompiler_opt_cache_ext.py *** Error code 1 Stop. make: stopped in /usr/ports/graphics/py-scikit-image --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260367-7788>