maybe also

make sagelib-clean

before

make build


On Sun, Jun 20, 2021 at 10:03 AM Dima Pasechnik <[email protected]> wrote:
>
> On Sun, Jun 20, 2021 at 8:34 AM David Coudert <[email protected]> wrote:
> >
> > Thank you for this new beta.
> >
> > I have a build error on a Intel MacBook Air with macOS 10.15.7, after make 
> > distclean, .bootstrap, source .homebrew-build-env,
> > ./configure and finally make.
> > I have installed numpy 1.20.3  with homebrew, but it is re-installed by 
> > sage and the new installation is not correct
>
> we wish one could just install system numpy and use it, but we are not
> there yet.
>
> What you describe can be attributed to updating the tools (or OS)  in
> the middle of the build.
> Can you
>
> make numpy-clean
> make numpy
> make build
>
> again ?
>
>
> >
> > Any help is more than welcome.
> > David.
> >
> > cd '/Users/dcoudert/sage/build/pkgs/sagelib' && . 
> > '/Users/dcoudert/sage/src/bin/sage-src-env-config' && . 
> > '/Users/dcoudert/sage/src/bin/sage-env-config' && . 
> > '/Users/dcoudert/sage/src/bin/sage-env' && . 
> > '/Users/dcoudert/sage/build/bin/sage-build-env-config' && . 
> > '/Users/dcoudert/sage/build/bin/sage-build-env' && 
> > SAGE_SPKG_WHEELS=/Users/dcoudert/sage/local/var/lib/sage/wheels 
> > SAGE_INST_LOCAL=/Users/dcoudert/sage/local sage-logger -p 
> > '/Users/dcoudert/sage/build/pkgs/sagelib/spkg-install' 
> > '/Users/dcoudert/sage/logs/pkgs/sagelib-9.4.beta2.log'
> > [sagelib-9.4.beta2] Configured with: 
> > --prefix=/Library/Developer/CommandLineTools/usr 
> > --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
> > [sagelib-9.4.beta2] Discovering Python/Cython source code....
> > [sagelib-9.4.beta2] distributions = ['']
> > [sagelib-9.4.beta2] Discovered Python/Cython sources, time: 5.91 seconds.
> > [sagelib-9.4.beta2] running build
> > [sagelib-9.4.beta2] Generating auto-generated sources
> > [sagelib-9.4.beta2] Building interpreters for fast_callable
> > [sagelib-9.4.beta2] running build_cython
> > [sagelib-9.4.beta2] Enabling Cython debugging support
> > [sagelib-9.4.beta2] 
> > ************************************************************************
> > [sagelib-9.4.beta2] Traceback (most recent call last):
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/build/pkgs/sagelib/src/setup.py", line 96, in <module>
> > [sagelib-9.4.beta2]     code = setup(
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/setuptools/__init__.py",
> >  line 153, in setup
> > [sagelib-9.4.beta2]     return distutils.core.setup(**attrs)
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/setuptools/_distutils/core.py",
> >  line 148, in setup
> > [sagelib-9.4.beta2]     dist.run_commands()
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py",
> >  line 967, in run_commands
> > [sagelib-9.4.beta2]     self.run_command(cmd)
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py",
> >  line 986, in run_command
> > [sagelib-9.4.beta2]     cmd_obj.run()
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/build/pkgs/sagelib/src/sage_setup/command/sage_build.py",
> >  line 37, in run
> > [sagelib-9.4.beta2]     build.run(self)
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/setuptools/_distutils/command/build.py",
> >  line 135, in run
> > [sagelib-9.4.beta2]     self.run_command(cmd_name)
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py",
> >  line 313, in run_command
> > [sagelib-9.4.beta2]     self.distribution.run_command(command)
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py",
> >  line 986, in run_command
> > [sagelib-9.4.beta2]     cmd_obj.run()
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/build/pkgs/sagelib/src/sage_setup/command/sage_build_cython.py",
> >  line 211, in run
> > [sagelib-9.4.beta2]     self.sage_include_dirs = 
> > sage_include_directories(use_sources=True)
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/build/pkgs/sagelib/src/sage/env.py", line 376, in 
> > sage_include_directories
> > [sagelib-9.4.beta2]     import numpy
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/numpy/__init__.py", 
> > line 145, in <module>
> > [sagelib-9.4.beta2]     from . import core
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/numpy/core/__init__.py",
> >  line 22, in <module>
> > [sagelib-9.4.beta2]     from . import multiarray
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/numpy/core/multiarray.py",
> >  line 12, in <module>
> > [sagelib-9.4.beta2]     from . import overrides
> > [sagelib-9.4.beta2]   File 
> > "/Users/dcoudert/sage/local/lib/python3.9/site-packages/numpy/core/overrides.py",
> >  line 7, in <module>
> > [sagelib-9.4.beta2]     from numpy.core._multiarray_umath import (
> > [sagelib-9.4.beta2] RuntimeError: NumPy was built with baseline 
> > optimizations:
> > [sagelib-9.4.beta2] (SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 
> > AVX2 AVX512F AVX512CD AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL) but your 
> > machine doesn't support:
> > [sagelib-9.4.beta2] (AVX512F).
> > [sagelib-9.4.beta2] 
> > ************************************************************************
> > [sagelib-9.4.beta2] Error building the Sage library
> > [sagelib-9.4.beta2] 
> > ************************************************************************
> > [sagelib-9.4.beta2] Please email sage-devel 
> > (http://groups.google.com/group/sage-devel)
> > [sagelib-9.4.beta2] explaining the problem and including the relevant part 
> > of the log file
> > [sagelib-9.4.beta2]   /Users/dcoudert/sage/logs/pkgs/sagelib-9.4.beta2.log
> > [sagelib-9.4.beta2] Describe your computer, operating system, etc.
> > [sagelib-9.4.beta2] 
> > ************************************************************************
> > [sagelib-9.4.beta2]
> > [sagelib-9.4.beta2] real 0m8.595s
> > [sagelib-9.4.beta2] user 0m1.665s
> > [sagelib-9.4.beta2] sys 0m1.330s
> > make[4]: *** [sagelib-SAGE_VENV-no-deps] Error 1
> > make[3]: *** 
> > [/Users/dcoudert/sage/local/var/lib/sage/installed/sagelib-9.4.beta2] Error 
> > 2
> > make[2]: *** [all-build] Error 2
> >
> > real 0m9.441s
> > user 0m2.046s
> > sys 0m1.507s
> > ***************************************************************
> > Error building Sage.
> >
> > The following package(s) may have failed to build (not necessarily
> > during this run of 'make all-build'):
> >
> > * package:         sagelib-9.4.beta2
> >   last build time: 20 jui 09:28
> >   log file:        /Users/dcoudert/sage/logs/pkgs/sagelib-9.4.beta2.log
> >
> > It is safe to delete any log files and build directories, but they
> > contain information that is helpful for debugging build problems.
> > WARNING: If you now run 'make' again, the build directory of the
> > same version of the package will, by default, be deleted. Set the
> > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
> >
> > make[1]: *** [all-build] Error 1
> > make: *** [build] Error 2
> >
> >
> >
> >
> >
> > --
> > 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 on the web visit 
> > https://groups.google.com/d/msgid/sage-release/437A0999-9695-49E4-AEB1-A7B288693A24%40gmail.com.
> >
> >
> > Le 19 juin 2021 à 23:01, Volker Braun <[email protected]> a écrit :
> >
> > As always, you can get the latest beta version from the "develop" git 
> > branch. Alternatively, the self-contained source tarball is at 
> > http://www.sagemath.org/download-latest.html
> >
> > 46c5c53b4d (tag: 9.4.beta2, trac/develop) Updated SageMath version to 
> > 9.4.beta2
> > 8b70b5bba7 Trac #31928: Failure when testing sage_conf version
> > 826fe92cb6 Trac #31833: remove deprecated stuff in function factory
> > 3ee4a426bc Trac #31829: fix doc detail in set partition
> > f13536ab0a Trac #31821: Run tests on combinatorial polyhedron
> > 4a7ed9696c Trac #31816: Get rid of sage-pip-uninstall
> > c429cf8325 Trac #31815: python3: Upgrade to 3.9.5
> > 7776cd1541 Trac #31810: Speedup number field element __getitem__ and for 
> > Gaussians
> > e7c96bf5f3 Trac #31809: WeilPolynomials segfault with squarefree=True
> > fb8d32171b Trac #31795: faster conversion between power series and 
> > polynomials
> > dc95374a4c Trac #31794: refine relint configuration and make it pass on 
> > combinat
> > a47ce39285 Trac #31793: some details in partitions
> > 26f0031e04 Trac #31789: remove deprecated stuff in words
> > 33227c71b7 Trac #31784: Mixed form name bug for pullback bundle
> > edf5ff8e48 Trac #31780: remove deprecation in free_module
> > 066dee45e5 Trac #31779: more bijections for parallelogram polyominoes
> > 19d4c34a4c Trac #31767: Enhanced checks for sign() with qqbar elements with 
> > addition and subtraction
> > b1f2788e4c Trac #31760: Speedup WordMorphism.growing_letters
> > 448488c701 Trac #31759: Fix bug in WordMorphism.periodic_point
> > 15a4387f3d Trac #31753: Bug in charpoly over discrete valuation rings
> > ce8c7303db Trac #31752: error when creating random polynomials
> > 45adbc1ff2 Trac #31734: Add linestyle option to polygon2d
> > ce7572e422 Trac #31725: Implement meet, join, etc. methods for posets
> > afae1ae23b Trac #31721: Endow parents with __pow__
> > d1bfa2e4c5 Trac #31717: Empty families should be false
> > 516f170369 Trac #31716: more scalar conversions
> > 151e01da9f Trac #31710: taking the roots of CBF['x'](0) crashes Sage
> > 3a08098e77 Trac #31708: Let gf2e and gfpn matrices stack on top of a vector
> > 85cd76954b Trac #31705: sage.geometry.polyhedron: More lazy imports
> > 7d21b32efe Trac #31704: Remove Python 2 compatibility from manifolds
> > 30cb045f66 Trac #31700: eigenvalue defined in 
> > sage/matrix/matrix_symbolic_dense.pyx is incorrectly called in 
> > sage/modules/free_module_morphism.py
> > 89289d09dd Trac #31699: 
> > setuptools/pip/pkgconfig/packaging/importlib-metadata upgrade for Sage 9.4
> > c6b6feb82c Trac #31669: Category of chain complexes: (co)homology functor
> > 984feea49e Trac #31593: configure: Paths within $SAGE_LOCAL ($prefix) for 
> > sage_conf
> > 0871b12176 Trac #31591: Expose MemoryAllocator as python package
> > 57cd97207f Trac #31589: Normaliz 3.8.10, PyNormaliz 2.14
> > 4363ed9915 Trac #31008: Upgrade NumPy to 1.20.3, SciPy 1.6.3, networkx 2.5.1
> > b14e8d1c93 Trac #29985: Make schemes doctests ready for random seeds
> > 3814878a31 Trac #29984: Make symbolic doctests ready for random seeds
> > 0664307a7e Trac #29983: Make finance doctests ready for random seeds
> > 5f4b614072 Trac #29981: Make documentation doctests ready for random seeds
> > cf864e5968 Trac #29970: Make arith doctests ready for random seeds
> > f7292698d8 Trac #31893: Fix timeout in sageinspect.py tests
> > eb0eeb3621 Trac #31921: Knotinfo db interface looks for the wrong python 
> > module
> > 667c748d07 Trac #31913: Relaxed padics segfault on 32-bit: libflint.so 
> > (_fmpz_clear_mpz)
> > 2e7386bf9b Trac #28647: conversion of Symbolic Ring to FriCAS Expression 
> > Integer
> > d1c618875a Trac #27365: integration over polyhedron with induced measure
> > 571bc46d13 Trac #11323: Fix ComplexNumber.__pow__  to allow float^complex
> > 732c966cee Trac #31869: Fix segfault when multiplying x * ((3*i + 4)*x - 5)
> > 20614c6ac7 Trac #31629: Fix a regression in show(obj) for string obj
> > 4b103a8d37 Trac #31534: tox.ini: In -maximal environments, use 
> > IGNORE_MISSING_SYSTEM_PACKAGES=yes for all non-current distributions
> > 3861157d5a Trac #31832: Update fplll 5.4.1, fpylll to 0.5.6 - adds support 
> > for gcc 11
> > 30ee8d6505 (tag: 9.4.beta1) Updated SageMath version to 9.4.beta1
> >
> >
> > --
> > 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 on the web visit 
> > https://groups.google.com/d/msgid/sage-release/eefb0bcb-c36e-42b6-84c0-e8a551385f60n%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 on the web visit 
> > https://groups.google.com/d/msgid/sage-release/437A0999-9695-49E4-AEB1-A7B288693A24%40gmail.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 on the web visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq0azwLdMBOBq7Gj5Kn2A3J%2BM9WwSXd5ADyXaHgnVtML_g%40mail.gmail.com.

Reply via email to