Re: [sage-devel] On MacBook Pro running macOS Big Sur 11.1 SageMath failed to build mpir-3.0.0
Thanks On Monday, January 25, 2021 at 3:32:06 PM UTC-5 dim...@gmail.com wrote: > On Mon, Jan 25, 2021 at 8:28 PM Ars-Magna wrote: > > > > Dear All, > > > > I tried to build sage from source on a new MacBook Pro machine and was > surprised to find that it fails to build mpir-3.0.0 pretty early in the > compilation process. > > > > mpir is old and unmaintained (its last release was years before macOS 11). > Use gmp instead. > (better still, install Homebrew and use its prebuilt gmp, gfortran, etc) > > HTH > Dima > > > Please find attached the log file > > is this a known Big Sur 11.1 issue ? > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/7df18154-b976-4121-8011-d54f11ccd4cbn%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/05749b41-d3d3-4fdb-847d-de5fbf1e22b2n%40googlegroups.com.
[sage-devel] On MacBook Pro running macOS Big Sur 11.1 SageMath failed to build mpir-3.0.0
Dear All, I tried to build sage from source on a new MacBook Pro machine and was surprised to find that it fails to build mpir-3.0.0 pretty early in the compilation process. Please find attached the log file is this a known Big Sur 11.1 issue ? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/7df18154-b976-4121-8011-d54f11ccd4cbn%40googlegroups.com. Found local metadata for mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 Using cached file /Applications/sage-9.2/upstream/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.tar.bz2 mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 Setting up build directory for mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 Finished extraction Applying patches from ../patches... Applying ../patches/ticket-25858.patch patching file configure patching file cpuid.c patching file mpn/x86/fat/fat.c patching file mpn/x86_64/fat/fat.c patching file mpn/x86_64w/fat/fat.c Host system: Darwin Edinahs-MacBook-Pro.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64 C compiler: gcc C compiler version: Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0 (clang-1200.0.32.28) Target: x86_64-apple-darwin20.2.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin Machine type (default): x86_64-apple-darwin20.2.0 Machine type (mpir): x86_64-apple-darwin20.2.0 Building a 64-bit version of MPIR, which is the default. Building MPIR with the C++ interface and (also) static libraries. Configuring MPIR with empty CFLAGS to determine the defaults: checking build system type... x86_64-apple-darwin20.2.0 checking host system type... x86_64-apple-darwin20.2.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler gcc -m64 ... no, long long reliability test 2 checking ABI=32 checking compiler gcc -m32 -O2 -fomit-frame-pointer ... no checking compiler gcc -O2 -fomit-frame-pointer ... no, long long reliability test 2 configure: error: could not find a working compiler, see config.log for details Error configuring MPIR (with CFLAGS unset). Consult /Applications/sage-9.2/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/config.log for for details. real0m4.529s user0m1.574s sys 0m1.295s Error installing package mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /Applications/sage-9.2/logs/pkgs/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Applications/sage-9.2/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/Applications/sage-9.2/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0' && '/Applications/sage-9.2/sage' --buildsh) When you are done debugging, you can type "exit" to leave the subshell. Found local metadata for mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 Using cached file /Applications/sage-9.2/upstream/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.tar.bz2 mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 Setting up build directory for mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 Finished extraction Applying patches from ../patches... Applying ../patches/ticket-25858.patch pat
[sage-devel] A issue with the Set function in sage
Is the following a bug ? sage: Set([[(Integer(*0*), Integer(*0*)), (Integer(*1*), Integer(*1* ))],[(Integer(*0*), Integer(*0*)), (Integer(*1*), Integer(*1* ))]]).cardinality() 2 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/4c7163cb-84c5-4bf0-9ef3-585e709883b7o%40googlegroups.com.
[sage-devel] Re: sage-8.5 fails to build from source on MacBook Pro (15-inch, 2017) macOS Mojave version 10.14.2
Dear Volker Braun, Thanks for your suggestion. It worked ! Best regards, On Saturday, December 29, 2018 at 7:15:39 AM UTC-5, Volker Braun wrote: > > On MacOS Mojave you have to manually install the system headers, either go > to /Library/Developer/CommandLineTools/Packages and click on > macOS_SDK_headers_for_macOS_10.14.pkg or run > > open > /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg > > in a terminal. > > > > On Saturday, December 29, 2018 at 1:10:46 PM UTC+1, Ars-Magna wrote: >> >> Dear Sage-Devel members >> >> I tried build sage-8.5 from source and failed on a MacBook Pro (15-inch, >> 2017) >> with up to date macOS Mojave version 10.14.2 >> >> Are there known issues with this machine ? Are there known work arounds >> by any chance ? >> >> >> I got the following error a few mn into the compilation >> ... >> >> [gfortran-7.2.0] >> >> >> [gfortran-7.2.0] Error building gfortran-7.2.0 >> >> [gfortran-7.2.0] >> >> >> [gfortran-7.2.0] >> >> [gfortran-7.2.0] real 11m47.314s >> >> [gfortran-7.2.0] user 10m10.688s >> >> [gfortran-7.2.0] sys 1m14.740s >> >> [gfortran-7.2.0] >> >> >> [gfortran-7.2.0] Error installing package gfortran-7.2.0 >> >> [gfortran-7.2.0] >> >> >> ... >> >> Error building Sage. >> >> >> The following package(s) may have failed to build (not necessarily >> >> during this run of 'make all-start'): >> >> >> * package: gfortran-7.2.0 >> >> log file: /Applications/sage-8.5/logs/pkgs/gfortran-7.2.0.log >> >> build directory: >> /Applications/sage-8.5/local/var/tmp/sage/build/gfortran-7.2.0 >> >> >> The build directory may contain configuration files and other potentially >> >> helpful information. WARNING: if you now run 'make' again, the build >> >> directory will, by default, be deleted. Set the environment variable >> >> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. >> >> >> make[1]: *** [all-start] Error 1 >> >> make: *** [all] Error 2 >> >> >> Thanks >> >> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] sage-8.5 fails to build from source on MacBook Pro (15-inch, 2017) macOS Mojave version 10.14.2
Dear Sage-Devel members I tried build sage-8.5 from source and failed on a MacBook Pro (15-inch, 2017) with up to date macOS Mojave version 10.14.2 Are there known issues with this machine ? Are there known work arounds by any chance ? I got the following error a few mn into the compilation ... [gfortran-7.2.0] [gfortran-7.2.0] Error building gfortran-7.2.0 [gfortran-7.2.0] [gfortran-7.2.0] [gfortran-7.2.0] real 11m47.314s [gfortran-7.2.0] user 10m10.688s [gfortran-7.2.0] sys 1m14.740s [gfortran-7.2.0] [gfortran-7.2.0] Error installing package gfortran-7.2.0 [gfortran-7.2.0] ... Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): * package: gfortran-7.2.0 log file: /Applications/sage-8.5/logs/pkgs/gfortran-7.2.0.log build directory: /Applications/sage-8.5/local/var/tmp/sage/build/gfortran-7.2.0 The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. make[1]: *** [all-start] Error 1 make: *** [all] Error 2 Thanks -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Error building Sage on MacBook Pro running MacOS High Sierra version 10.13.5
Dear Sage Development team, I was able to resolve the issue. It seems that there is a problem with the build script which performs a parallel compilation of Sage using multiple jobs. Staying clear of any sophisticated export options works just fine. Thanks and best regards, -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Iterator appears to be broken in 4.7
Hi all, I noticed that in the 4.6.2 one has the following expected behavior sage: list(x.iterator()) [] where as in 4.7 sage: list(x.iterator()) ValueError . Is it just my machine or any one else observed this behavior I wanted to confirm before creating a Ticket. Best Regards, -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org