Different error this time : fails at 43 minutes on Pythran installation : [pytz_deprecation_shim-0.1.0.post0] Finished installing pytz_deprecation_shim-0.1.0.post0 make --no-print-directory pythran-SAGE_VENV-no-deps [pythran-0.15.0] Attempting to download package pythran-0.15.0.tar.gz from mirrors [pythran-0.15.0] https://github.com/sagemath/sage/releases/download/10.5/pythran-0.15.0.tar.gz [pythran-0.15.0] [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] [pythran-0.15.0] ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: '//github.com/sagemath/sage/releases/download/10.5/pythran-0.15.0.tar.gz' [pythran-0.15.0] https://github.com/sagemath/sage/releases/download/10.4/pythran-0.15.0.tar.gz [pythran-0.15.0] [......................................................................] [pythran-0.15.0] Setting up build directory /usr/local/sage-10/local/var/lib/sage/venv-python3.12/var/tmp/sage/build/pythran-0.15.0 [pythran-0.15.0] No patch files found in ../patches [pythran-0.15.0] Host system: Linux SAP5342949 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux [pythran-0.15.0] C compiler: gcc, Using built-in specs., COLLECT_GCC=gcc, COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper, OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa, OFFLOAD_TARGET_DEFAULT=1, Target: x86_64-linux-gnu, Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.2.0-23ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu, Thread model: posix, Supported LTO compression algorithms: zlib zstd, gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4) [pythran-0.15.0] No stamp file for package 'pythran' in /usr/local/sage-10/local/var/lib/sage/venv-python3.12/var/lib/sage/installed [pythran-0.15.0] No spkg-legacy-uninstall script; nothing to do [pythran-0.15.0] [spkg-install] Installing pythran-0.15.0 [pythran-0.15.0] [spkg-install] * Creating isolated environment: venv+pip... [pythran-0.15.0] [spkg-install] * Installing packages in isolated environment: [pythran-0.15.0] [spkg-install] - setuptools [pythran-0.15.0] [spkg-install] * Getting build dependencies for wheel... [pythran-0.15.0] [spkg-install] running egg_info [pythran-0.15.0] [spkg-install] writing pythran.egg-info/PKG-INFO [pythran-0.15.0] [spkg-install] writing dependency_links to pythran.egg-info/dependency_links.txt [pythran-0.15.0] [spkg-install] writing entry points to pythran.egg-info/entry_points.txt [pythran-0.15.0] [spkg-install] writing requirements to pythran.egg-info/requires.txt [pythran-0.15.0] [spkg-install] writing top-level names to pythran.egg-info/top_level.txt [pythran-0.15.0] [spkg-install] reading manifest file 'pythran.egg-info/SOURCES.txt' [pythran-0.15.0] [spkg-install] reading manifest template 'MANIFEST.in' [pythran-0.15.0] [spkg-install] adding license file 'LICENSE' [pythran-0.15.0] [spkg-install] adding license file 'AUTHORS' [pythran-0.15.0] [spkg-install] writing manifest file 'pythran.egg-info/SOURCES.txt' [pythran-0.15.0] [spkg-install] * Building wheel... [pythran-0.15.0] [spkg-install] running bdist_wheel [pythran-0.15.0] [spkg-install] running build [pythran-0.15.0] [spkg-install] running build_py [pythran-0.15.0] [spkg-install] creating build [pythran-0.15.0] [spkg-install] creating build/lib [pythran-0.15.0] [spkg-install] creating build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/run.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/tables.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/version.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/syntax.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/intrinsic.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/utils.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/magic.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/__init__.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/openmp.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/spec.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/toolchain.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/metadata.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/dist.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/graph.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/frontend.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/passmanager.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/interval.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/backend.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/conversion.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/cxxtypes.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/unparse.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/typing.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/middlend.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/errors.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/cxxgen.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/log.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] copying pythran/config.py -> build/lib/pythran [pythran-0.15.0] [spkg-install] creating build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/optimizable_comprehension.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/aliases.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/ancestors.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/use_def_chain.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/global_declarations.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/cfg.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/imported_ids.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/__init__.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/intrinsics.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/literals.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/extended_syntax_check.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/is_assigned.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/ordered_global_declarations.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/yield_points.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/potential_iterator.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/inlinable.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/globals_analysis.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/fixed_size_list.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/parallel_maps.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/node_count.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/range_values.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/argument_effects.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/pure_expressions.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/static_expressions.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/use_omp.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/global_effects.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/ast_matcher.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/local_declarations.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/has_return.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/identifiers.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/dependencies.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/constant_expressions.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/lazyness_analysis.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/immediates.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/argument_read_once.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/scope.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/pure_functions.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] copying pythran/analyses/locals_analysis.py -> build/lib/pythran/analyses [pythran-0.15.0] [spkg-install] creating build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/expand_globals.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/remove_comprehension.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/normalize_tuples.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/normalize_exception.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/__init__.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/normalize_compare.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/remove_nested_functions.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/normalize_typeis.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/normalize_return.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/normalize_static_if.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/expand_import_all.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/remove_fstrings.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/remove_named_arguments.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/extract_doc_strings.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/normalize_method_calls.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/remove_lambdas.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/expand_builtins.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/normalize_is_none.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/normalize_ifelse.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/expand_imports.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/unshadow_parameters.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/false_polymorphism.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] copying pythran/transformations/handle_import.py -> build/lib/pythran/transformations [pythran-0.15.0] [spkg-install] creating build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/simplify_except.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/list_to_tuple.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/__init__.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/forward_substitution.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/loop_full_unrolling.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/copyto.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/comprehension_patterns.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/square.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/inline_builtins.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/iter_transformation.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/range_based_simplify.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/list_comp_to_genexp.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/dead_code_elimination.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/modindex.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/inlining.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/range_loop_unfolding.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/pattern_transform.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/constant_folding.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/tuple_to_shape.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] copying pythran/optimizations/remove_dead_functions.py -> build/lib/pythran/optimizations [pythran-0.15.0] [spkg-install] creating build/lib/omp [pythran-0.15.0] [spkg-install] copying omp/__init__.py -> build/lib/omp [pythran-0.15.0] [spkg-install] creating build/lib/pythran/types [pythran-0.15.0] [spkg-install] copying pythran/types/tog.py -> build/lib/pythran/types [pythran-0.15.0] [spkg-install] copying pythran/types/__init__.py -> build/lib/pythran/types [pythran-0.15.0] [spkg-install] copying pythran/types/types.py -> build/lib/pythran/types [pythran-0.15.0] [spkg-install] copying pythran/types/signature.py -> build/lib/pythran/types [pythran-0.15.0] [spkg-install] copying pythran/types/type_dependencies.py -> build/lib/pythran/types [pythran-0.15.0] [spkg-install] copying pythran/types/conversion.py -> build/lib/pythran/types [pythran-0.15.0] [spkg-install] copying pythran/types/reorder.py -> build/lib/pythran/types [pythran-0.15.0] [spkg-install] running egg_info [pythran-0.15.0] [spkg-install] writing pythran.egg-info/PKG-INFO [pythran-0.15.0] [spkg-install] writing dependency_links to pythran.egg-info/dependency_links.txt [pythran-0.15.0] [spkg-install] writing entry points to pythran.egg-info/entry_points.txt [pythran-0.15.0] [spkg-install] writing requirements to pythran.egg-info/requires.txt [pythran-0.15.0] [spkg-install] writing top-level names to pythran.egg-info/top_level.txt [pythran-0.15.0] [spkg-install] reading manifest file 'pythran.egg-info/SOURCES.txt' [pythran-0.15.0] [spkg-install] reading manifest template 'MANIFEST.in' [pythran-0.15.0] [spkg-install] adding license file 'LICENSE' [pythran-0.15.0] [spkg-install] adding license file 'AUTHORS' [pythran-0.15.0] [spkg-install] writing manifest file 'pythran.egg-info/SOURCES.txt' [pythran-0.15.0] [spkg-install] /tmp/build-env-ejvolwqg/lib/python3.12/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'pythran.boost' is absent from the `packages` configuration. [pythran-0.15.0] [spkg-install] !! [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] ******************************************************************************** [pythran-0.15.0] [spkg-install] ############################ [pythran-0.15.0] [spkg-install] # Package would be ignored # [pythran-0.15.0] [spkg-install] ############################ [pythran-0.15.0] [spkg-install] Python recognizes 'pythran.boost' as an importable package[^1], [pythran-0.15.0] [spkg-install] but it is absent from setuptools' `packages` configuration. [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] This leads to an ambiguous overall configuration. If you want to distribute this [pythran-0.15.0] [spkg-install] package, please make sure that 'pythran.boost' is explicitly added [pythran-0.15.0] [spkg-install] to the `packages` configuration field. [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] Alternatively, you can also rely on setuptools' discovery methods [pythran-0.15.0] [spkg-install] (for example by using `find_namespace_packages(...)`/`find_namespace:` [pythran-0.15.0] [spkg-install] instead of `find_packages(...)`/`find:`). [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] You can read more about "package discovery" on setuptools documentation page: [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] If you don't want 'pythran.boost' to be distributed and are [pythran-0.15.0] [spkg-install] already explicitly excluding 'pythran.boost' via [pythran-0.15.0] [spkg-install] `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, [pythran-0.15.0] [spkg-install] you can try to use `exclude_package_data`, or `include-package-data=False` in [pythran-0.15.0] [spkg-install] combination with a more fine grained `package-data` configuration. [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] You can read more about "package data files" on setuptools documentation page: [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] [^1]: For Python, any directory (with suitable naming) can be imported, [pythran-0.15.0] [spkg-install] even if it does not contain any `.py` files. [pythran-0.15.0] [spkg-install] On the other hand, currently there is no concept of package data [pythran-0.15.0] [spkg-install] directory, all directories are treated like packages. [pythran-0.15.0] [spkg-install] ******************************************************************************** [pythran-0.15.0] [spkg-install] [pythran-0.15.0] [spkg-install] !! [pythran-0.15.0] [spkg-install] check.warn(importable) [pythran-0.15.0] [spkg-install] /tmp/build-env-ejvolwqg/lib/python3.12/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'pythran.boost.atomic' is absent from the `packages` configuration. [pythran-0.15.0] [spkg-install] !!
followed by a lot of copies of the last error message. I sent the relevant logs about 3 hours ago, but they failed to appear on the list. HTH, Le mercredi 30 octobre 2024 à 13:16:07 UTC+1, Dima Pasechnik a écrit : > can you try > > git clean -fdx > > instead of > > make distclean > > This will remove absolutely everything not in the git tree from > /usr/local/sage-10 > > > On Wed, Oct 30, 2024 at 12:10 PM Emmanuel Charpentier > <[email protected]> wrote: > > > > I tried to clean things as much as possible : > > > > restart WSL by closing all Ubuntu Windows, then wsl shutdown in > Powershell. > > make disclean > > ./bootstrap > > > > At this point, I checked that $(SAGE_ROOT)/local/include/libsemigroups > didn’t exist. > > > > ./configure $(./config.status --config) > > > > IIRC, at this point, $(SAGE_ROOT)/local.include stil didn’t exit, but I > can”‘t check it (console buffer too small…). > > > > time make -j8 build fails after 72 minutes (plus small change). End of > the output : > > > > [gap_packages-4.13.1] [spkg-install] "/usr/local/sage-10/local/bin/gac" > -d -p "-MQ "gen/src/bipart.o" -MMD -MP -MF gen/src/bipart.d" -p > "-I./bin/include -I./bin/include/libsemigroups -std=gnu++14 -O3 -mavx > -flax-vector-conversions -Igapbind14/include/ -DHPCOMBI_CONSTEXPR_FUN_ARGS > -Ilibsemigroups/extern/HPCombi/include > -Ilibsemigroups/extern/HPCombi/include/fallback > -Ilibsemigroups/extern/fmt-8.0.1/include -Ilibsemigroups/include > -DFMT_HEADER_ONLY -DNDEBUG -g -O2" -c src/bipart.cpp -o gen/src/bipart.o > [gap_packages-4.13.1] [spkg-install] g++ -std=gnu++11 -pthread -g -O2 -fPIC > -MQ gen/src/bipart.o -MMD -MP -MF gen/src/bipart.d -I./bin/include > -I./bin/include/libsemigroups -std=gnu++14 -O3 -mavx > -flax-vector-conversions -Igapbind14/include/ -DHPCOMBI_CONSTEXPR_FUN_ARGS > -Ilibsemigroups/extern/HPCombi/include > -Ilibsemigroups/extern/HPCombi/include/fallback > -Ilibsemigroups/extern/fmt-8.0.1/include -Ilibsemigroups/include > -DFMT_HEADER_ONLY -DNDEBUG -g -O2 -o gen/src/bipart.o > -I/usr/local/sage-10/local/include/gap -I/usr/local/sage-10/local/include > -DUSE_GASMAN=1 -c src/bipart.cpp [gap_packages-4.13.1] [spkg-install] In > file included from src/bipart.cpp:38: [gap_packages-4.13.1] [spkg-install] > libsemigroups/include/libsemigroups/report.hpp:42:10: fatal error: > textflowcpp/TextFlow.hpp: No such file or directory [gap_packages-4.13.1] > [spkg-install] 42 | #include "textflowcpp/TextFlow.hpp" > [gap_packages-4.13.1] [spkg-install] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > [gap_packages-4.13.1] [spkg-install] compilation terminated. > > > > and, of course : > > > > charpent@SAP5342949:/usr/local/sage-10$ ls local/include/libsemigroups/ > Eigen digraph-helper.hpp kambites.hpp sims1.tpp HPCombi > digraph-with-sources.hpp kbe.hpp siso.hpp action.hpp > digraph-with-sources.tpp knuth-bendix.hpp stephen.hpp adapters.hpp > digraph.hpp konieczny.hpp stl.hpp backward-cpp exception.hpp > libsemigroups.hpp string-view.hpp bipart.hpp fastest-bmat.hpp > make-froidure-pin.hpp string.hpp bitset.hpp felsch-digraph.hpp > make-present.hpp suffix-tree.hpp bmat.hpp felsch-digraph.tpp matrix.hpp > tce.hpp bmat8.hpp felsch-tree.hpp node-manager.hpp textflowcpp > bruidhinn-traits.hpp forest.hpp obvinf.hpp timer.hpp config.hpp > fpsemi-examples.hpp order.hpp todd-coxeter-digraph.hpp cong-intf.hpp > fpsemi-intf.hpp pbr.hpp todd-coxeter-digraph.tpp cong-pair-impl.hpp > fpsemi.hpp pool.hpp todd-coxeter.hpp cong-pair.hpp freeband.hpp present.hpp > transf.hpp cong-wrap.hpp froidure-pin-base.hpp present.tpp types.hpp > cong.hpp froidure-pin-impl.hpp race.hpp uf.hpp constants.hpp > froidure-pin.hpp report.hpp ukkonen.hpp containers.hpp function-ref.hpp > runner.hpp ukkonen.tpp coset.hpp hpcombi.hpp schreier-sims-helper.hpp > wilo.hpp debug.hpp int-range.hpp schreier-sims.hpp wislo.hpp deprecated.hpp > iterator.hpp sims1.hpp word.hpp > > > > Grrrr… Something I do not understand : > > > > charpent@SAP5342949:/usr/local/sage-10$ ls -l > /usr/local/sage-10/local/bin/g* -rwxr-xr-x 1 charpent charpent 10843 Oct 30 > 09:30 /usr/local/sage-10/local/bin/gac -rwxr-xr-x 1 charpent charpent 18184 > Oct 30 09:30 /usr/local/sage-10/local/bin/gap -rwxr-xr-x 1 charpent > charpent 1558 Oct 30 09:22 /usr/local/sage-10/local/bin/givaro-config > charpent@SAP5342949:/usr/local/sage-10$ which giac /usr/bin/giac > > > > Any ideas ? > > > > Le mardi 29 octobre 2024 à 17:59:25 UTC+1, Dima Pasechnik a écrit : > >> > >> > >> > >> On 29 October 2024 16:19:19 GMT, Marc Culler <[email protected]> > wrote: > >> >I meant: > >> >I am guessing that in this case $SAGE_LOCAL == > /usr/local/sage-10/local) > >> > > >> > > >> > > >> >On Tuesday, October 29, 2024 at 11:17:06 AM UTC-5 Marc Culler wrote: > >> > > >> >> While there are certainly build environments that do work to build > >> >> gap_packages, it is clearly not robust. I think it would be a > mistake to > >> >> ignore this, because it is guaranteed to produce lots of support > emails. > >> >> > >> >> The issue here is with the file TextFlow.hpp. When libsemigroups is > >> >> installed, that file ends up with the following path > >> >> $SAGE_LOCAL/include/libsemigroups/textflowcpp/TextFlow.hpp > >> >> > >> >> I also see the file in > >> >> > >> >> > $SAGE_LOCAL/lib/gap/pkg/semigroups/libsemigroups/extern/textflowcpp/TextFlow.hpp > >> >> > >> >> I think the first one is the sensible one to use. We can count on > >> >> libsemigroups being installed before gap_packages because > gap_packages > >> >> lists it as a dependency. > >> >> > >> >> If you look at the g++ command which is failing, it specifies the > >> >> directories to be searched for headers with: > >> >> -I./bin/include > >> >> -I./bin/include/libsemigroups > >> >> -Igapbind14/include/ > >> >> -Ilibsemigroups/extern/HPCombi/include > >> >> -Ilibsemigroups/extern/HPCombi/include/fallback > >> >> -Ilibsemigroups/extern/fmt-8.0.1/include > >> >> -Ilibsemigroups/include > >> >> -I/usr/local/sage-10/local/include/gap > >> >> -I/usr/local/sage-10/local/include > >> >> > >> >> That list does not include > $SAGE_LOCAL/include/libsemigroups/textflowcpp > >> >> (I am guessing that in this case $SAGE_LOCAL == /usr/local/sage-10) > >> >> > >> > >> There might be something to tweak in the ./configure call for > semigroups in spkg-install.in of > >> semigroups. > >> > >> With external libsemigroups it should have none of > -Ilibsemigroups/extern/* - as this is a vendored copy of libsemigroups, > which has nothing to do with the already installed libsemigroups. > >> > >> I'll look into it later today. > >> > >> > >> >> I think it might fix this problem to add the following line at the > top of > >> >> build/pkgs/gap_packages/spkg-install.in: > >> >> > >> >> export CFLAGS="${CFLAGS} > -I${SAGE_LOCAL}/include/libsemigroups/textflowcpp" > >> >> > >> >> Emmanuel, would you try that? > >> >> > >> >> (Of course it might only reveal that there is another -I option > needed, > >> >> but that would be progress.) > >> >> > >> >> - Marc > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> On Tuesday, October 29, 2024 at 8:35:28 AM UTC-5 > [email protected] > >> >> wrote: > >> >> > >> >>> Le mardi 29 octobre 2024 à 10:36:17 UTC+1, Dima Pasechnik a écrit : > >> >>> > >> >>> On Tue, Oct 29, 2024 at 8:59 AM Emmanuel Charpentier > >> >>> <[email protected]> wrote: > >> >>> > > >> >>> > The updated PR (re-fetched at Tue Oct 29 09:22:19 CET 2024) does > not > >> >>> solve the problem. Without make dist-clean, I get the same problem > as > >> >>> before : > >> >>> > >> >>> It certainly does the job after `make distclean`, > >> >>> > >> >>> Nope. > >> >>> > >> >>> *After make distclean*, ./bootstrap,,configure $(./config.status > --config, > >> >>> make -j8 build still triggers the same problem : > >> >>> [gap_packages-4.13.1] [spkg-install] g++ -std=gnu++11 -pthread -g > -O2 > >> >>> -fPIC -MQ gen/src/bipart.o -MMD -MP -MF gen/src/bipart.d > -I./bin/include > >> >>> -I./bin/include/libsemigroups -std=gnu++14 -O3 -mavx > >> >>> -flax-vector-conversions -Igapbind14/include/ > -DHPCOMBI_CONSTEXPR_FUN_ARGS > >> >>> -Ilibsemigroups/extern/HPCombi/include > >> >>> -Ilibsemigroups/extern/HPCombi/include/fallback > >> >>> -Ilibsemigroups/extern/fmt-8.0.1/include -Ilibsemigroups/include > >> >>> -DFMT_HEADER_ONLY -DNDEBUG -g -O2 -o gen/src/bipart.o > >> >>> -I/usr/local/sage-10/local/include/gap > -I/usr/local/sage-10/local/include > >> >>> -DUSE_GASMAN=1 -c src/bipart.cpp [gap_packages-4.13.1] > [spkg-install] In > >> >>> file included from src/bipart.cpp:38: [gap_packages-4.13.1] > [spkg-install] > >> >>> libsemigroups/include/libsemigroups/report.hpp:42:10: fatal error: > >> >>> textflowcpp/TextFlow.hpp: No such file or directory > [gap_packages-4.13.1] > >> >>> [spkg-install] 42 | #include "textflowcpp/TextFlow.hpp" > >> >>> [gap_packages-4.13.1] [spkg-install] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > >> >>> [gap_packages-4.13.1] [spkg-install] compilation terminated. > >> >>> > >> >>> HTH, > >> >>> > >> >>> and we have hard > >> >>> time figuring out how exactly the old state > >> >>> (the presence of traces of Eigen headers somewhere deep in the guts > of > >> >>> the build system) is cached. > >> >>> > >> >>> I'd actually propose to add Eigen as an optional package, but > >> >>> meanwhile we need a PR to unblock the built > >> >>> of gap_packages. > >> >>> > >> >>> > >> >>> > > >> >>> > [gap_packages-4.13.1] [spkg-install] g++ -std=gnu++11 -pthread -g > -O2 > >> >>> -fPIC -MQ gen/src/cong.o -MMD -MP -MF gen/src/cong.d -std=gnu++14 > -O3 -mavx > >> >>> -flax-vector-conversions -Igapbind14/include/ > -DHPCOMBI_CONSTEXPR_FUN_ARGS > >> >>> -DFMT_HEADER_ONLY -DNDEBUG -g -O2 -o gen/src/cong.o > >> >>> -I/usr/local/sage-10/local/include/gap > -I/usr/local/sage-10/local/include > >> >>> -DUSE_GASMAN=1 -c src/cong.cpp [gap_packages-4.13.1] [spkg-install] > In file > >> >>> included from > >> >>> /usr/local/sage-10/local/include/libsemigroups/knuth-bendix.hpp:34, > >> >>> [gap_packages-4.13.1] [spkg-install] from > >> >>> /usr/local/sage-10/local/include/libsemigroups/cong.hpp:30, > >> >>> [gap_packages-4.13.1] [spkg-install] from src/to_cpp.hpp:54, > >> >>> [gap_packages-4.13.1] [spkg-install] from src/cong.cpp:29: > >> >>> [gap_packages-4.13.1] [spkg-install] > >> >>> /usr/local/sage-10/local/include/libsemigroups/digraph.hpp:58:10: > fatal > >> >>> error: Eigen/Core: No such file or directory [gap_packages-4.13.1] > >> >>> [spkg-install] 58 | #include <Eigen/Core> [gap_packages-4.13.1] > >> >>> [spkg-install] | ^~~~~~~~~~~~ [gap_packages-4.13.1] [spkg-install] > >> >>> compilation terminated. > >> >>> > > >> >>> > HTH, > >> >>> > > >> >>> > Le lundi 28 octobre 2024 à 18:15:37 UTC+1, [email protected] a > écrit > >> >>> : > >> >>> >> > >> >>> >> I agree that this in not fixed, in spite of my positive review > of the > >> >>> PR. > >> >>> >> > >> >>> >> I did not get that error, but I see by looking at the timestamps > that > >> >>> my sage/local/include/libsemigroups/Eigen directory was left over > from the > >> >>> install of the previous version. > >> >>> >> > >> >>> >> Michael Orlitzky points out that the libsemigroups package is > >> >>> configured with --disable-eigen. But apparently that option does > not work > >> >>> correctly. > >> >>> >> > >> >>> >> - Marc > >> >>> >> > >> >>> >> On Monday, October 28, 2024 at 11:59:18 AM UTC-5 > >> >>> [email protected] wrote: > >> >>> >>> > >> >>> >>> The relevant error is different : > >> >>> >>> > >> >>> >>> ``` > >> >>> >>> [gap_packages-4.13.1] [spkg-install] g++ -std=gnu++11 -pthread > -g -O2 > >> >>> -fPIC -MQ gen/src/cong.o -MMD -MP -MF gen/src/cong.d -std=gnu++14 > -O3 -mavx > >> >>> -flax-vector-conversions -Igapbind14/include/ > -DHPCOMBI_CONSTEXPR_FUN_ARGS > >> >>> -DFMT_HEADER_ONLY -DNDEBUG -g -O2 -o gen/src/cong.o > >> >>> -I/usr/local/sage-10/local/include/gap > -I/usr/local/sage-10/local/include > >> >>> -DUSE_GASMAN=1 -c src/cong.cpp > >> >>> >>> [gap_packages-4.13.1] [spkg-install] In file included from > >> >>> /usr/local/sage-10/local/include/libsemigroups/knuth-bendix.hpp:34, > >> >>> >>> [gap_packages-4.13.1] [spkg-install] from > >> >>> /usr/local/sage-10/local/include/libsemigroups/cong.hpp:30, > >> >>> >>> [gap_packages-4.13.1] [spkg-install] from src/to_cpp.hpp:54, > >> >>> >>> [gap_packages-4.13.1] [spkg-install] from src/cong.cpp:29: > >> >>> >>> [gap_packages-4.13.1] [spkg-install] > >> >>> /usr/local/sage-10/local/include/libsemigroups/digraph.hpp:58:10: > fatal > >> >>> error: Eigen/Core: No such file or directory > >> >>> >>> [gap_packages-4.13.1] [spkg-install] 58 | #include <Eigen/Core> > >> >>> >>> [gap_packages-4.13.1] [spkg-install] | ^~~~~~~~~~~~ > >> >>> >>> [gap_packages-4.13.1] [spkg-install] compilation terminated. > >> >>> >>> [gap_packages-4.13.1] [spkg-install] make[5]: *** > >> >>> [Makefile.gappkg:130: gen/src/cong.o] Error 1 > >> >>> >>> ``` > >> >>> >>> > >> >>> >>> HTH, > >> >>> >>> > >> >>> >>> Le lundi 28 octobre 2024 à 17:48:45 UTC+1, Emmanuel Charpentier > a > >> >>> écrit : > >> >>> >>>> > >> >>> >>>> Le lundi 28 octobre 2024 à 16:58:55 UTC+1, Dima Pasechnik a > écrit : > >> >>> >>>> > >> >>> >>>> The libsemigroup issue is fixed by > >> >>> https://github.com/sagemath/sage/pull/38875 > >> >>> >>>> (the version bump was forgotten, basically) > >> >>> >>>> > >> >>> >>>> Please test and review > >> >>> >>>> > >> >>> >>>> > >> >>> >>>> Nope, make -j8 build failed. Logs follow > >> >>> >>>> > >> >>> >>>> > >> >>> >>>> > >> >>> >>>> On Mon, Oct 28, 2024 at 2:41 PM Emmanuel Charpentier > >> >>> >>>> <[email protected]> wrote: > >> >>> >>>> > > >> >>> >>>> > The promised logs. > >> >>> >>>> > > >> >>> >>>> > HTH, > >> >>> >>>> > > >> >>> >>>> > -- > >> >>> >>>> > You received this message because you are subscribed to the > Google > >> >>> Groups "sage-release" group. > >> >>> >>>> > To unsubscribe from this group and stop receiving emails > from it, > >> >>> send an email to [email protected]. > >> >>> >>>> > To view this discussion visit > >> >>> > https://groups.google.com/d/msgid/sage-release/CAFG8T6UQUYiCts1jrxNcU1T_1scc9rHdjZuMOHrVQHCf0_pXEQ%40mail.gmail.com > . > >> >>> > >> >>> > > >> >>> > -- > >> >>> > You received this message because you are subscribed to the Google > >> >>> Groups "sage-release" group. > >> >>> > To unsubscribe from this group and stop receiving emails from it, > send > >> >>> an email to [email protected]. > >> >>> > To view this discussion visit > >> >>> > https://groups.google.com/d/msgid/sage-release/74f36963-6cce-4e4e-be6f-407238897541n%40googlegroups.com > . > >> >>> > >> >>> > >> >>> > >> >>> > >> >> > >> > > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-release" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion visit > https://groups.google.com/d/msgid/sage-release/e9241966-97d0-4b5b-a0c5-178440119732n%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-release/a73c9ab6-3546-40d2-b4e0-c64e6c33c306n%40googlegroups.com.
