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.htmlI don't see any major issues for 9.1 any more, so we should soon have the first rc. If you have anything that you thing should go in then now is the time to finish it up ;-)6a4580546f (tag: 9.1.beta9, trac/develop) Updated SageMath version to 9.1.beta9
PARI/GP ERROR:
*** bug in PARI/GP (Segmentation Fault), please report.
fatal error: 'gmp.h' file not found
#include "gmp.h"
^~~~~~~
1 error generated.
RuntimeError: command 'gcc' failed with exit status 1
ld: library not found for -lmpfr
clang: error: linker command failed with exit code 1 (use -v to see invocation)
On Mon, Mar 30, 2020 at 1:12 PM Matthias Köppe <matthia...@gmail.com> wrote:
>
> By the way, current homebrew does not seem to have Python 3.7.x.
really?
https://github.com/Homebrew/homebrew-core/blob/master/Formula/python.rb
still shows 3.7.7
Hi,
On Sun, Mar 29, 2020 at 12:50:18PM -0700, Matthias Köppe wrote:
> On Sunday, March 29, 2020 at 8:59:43 AM UTC-4, Volker Braun wrote:
> >
> > 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
> >
> > I don't see any major issues for 9.1 any more, so we should soon have the
> > first rc. If you have anything that you thing should go in then now is the
> > time to finish it up ;-)
> >
> > 6a4580546f (tag: 9.1.beta9, trac/develop) Updated SageMath version to
> > 9.1.beta9
> >
>
>
> Let me remark that this is the first beta that tries to use the system
> python3 in a venv (#27824) instead of building our own copy of python3.
> Tests of building from scratch or (after "make python3-clean") would be
> valuable.
Do you suggest all of us to make distclean and ptestlong ?
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/20200330134729.wugmv2xoo6leseak%40metelu.net.
autoconf 2.69
automake 1.16.1_1
boost 1.72.0
cabextract 1.9.1
cimg 2.8.4
cmake 3.16.5
emacs-mac emacs-26.3-z-mac-7.8
fontconfig 2.13.1
freetype 2.10.1
gcc 9.2.0_1 9.3.0
gd 2.2.5
gdbm 1.18.1
gettext 0.20.1
glib 2.64.1
gmp 6.2.0 6.1.2_2
gnutls 3.6.12
gpatch 2.7.6
gsl 2.6
icu4c 64.2
ilmbase 2.4.1
isl 0.22.1 0.21 0.18
jpeg 9d
libde265 1.0.5
libdvdcss 1.4.2
libevent 2.1.11_1
libffi 3.2.1
libidn2 2.3.0
libmpc 1.1.0
libomp 9.0.1
libpng 1.6.37
libtasn1 4.14 4.16.0
libtiff 4.1.0
libtool 2.4.6_1
libunistring 0.9.10
mpfi 1.5.3
mpfr 4.0.2
mpir 3.0.0
nettle 3.4.1
ninja 1.10.0
openexr 2.4.1
openssl@1.1 1.1.1d
p11-kit 0.23.20 0.23.18.1
p7zip 16.02_2
pari 2.11.3
pcre 8.43 8.44
pkg-config 0.29.2
python 3.7.7
python@3.8 3.8.2
readline 8.0.4
shared-mime-info 1.15
sqlite 3.31.1
texinfo 6.7
tox 3.14.5_1
unbound 1.9.4 1.10.0
unrar 5.9.1
webp 1.1.0
x265 3.3
xz 5.2.5
yasm 1.3.0_2
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-r...@googlegroups.com.
I should also mention that I have built every beta from scratch for Python 2 and 3 for quite a while, and these failures are new. So if the gcc in homebrew is getting picked up, it's because of some new change in Sage.
--
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 sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/68fb2185-903d-1369-f688-3e3e066ff756%40gmail.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/bca9ad32-ca65-4ca5-a159-e1f97627d087%40googlegroups.com.
configure:10189: g++ -std=gnu++11 -o conftest -g -O2 conftest.cpp -lgmp -lm >&5 configure:10189: $? = 0 configure:10206: result: -lgmp configure:10231: will use system package and not install SPKG mpir configure:10265: checking absolute name of <gmp.h> configure:10272: checking for gmp.h configure:10272: result: yes clang: error: unable to execute command: Broken pipe: 13 clang: error: clang frontend command failed due to signal (use -v to see invocation) Apple clang version 11.0.3 (clang-1103.0.32.29) Target: x86_64-apple-darwin19.3.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /var/folders/cp/n8wtqs490tq5psknff1hv9qr0000gn/T/conftest-d428b4.cpp clang: note: diagnostic msg: /var/folders/cp/n8wtqs490tq5psknff1hv9qr0000gn/T/conftest-d428b4.sh clang: note: diagnostic msg: Crash backtrace is located in clang: note: diagnostic msg: /Users/palmieri/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash) clang: note: diagnostic msg: ******************** configure:10296: result: ///usr/local/include/gmp.h configure:10332: result: using GMP-compatible library from the system ## ---------------------------------------------------- ## ## Checking whether SageMath should install SPKG gmp... ## ## ---------------------------------------------------- ## configure:10415: will use system package and not install SPKG gmp
config.log attached.
Let me add further disappointments:
After making sure that python3.7.7 is installed on my laptop and after
installing the recommended system packages mentioned in
http://doc.sagemath.org/html/en/installation/source.html#linux-recommended-installation
(but note that libflint-arb-dev isn't available for me in ubuntu, no
idea why),
Gentoo [...]
/Users/palmieri/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash,
Trying what src/doc/en/installation/debian*.txt tells me:
Note, selecting 'zlib1g-dev' instead of 'libz-dev'
E: Unable to locate package libflint-arb-dev
E: Unable to locate package libplanarity-dev
E: Unable to locate package python3-distutils
Concerning too old:
$ uname -a
Linux klap 4.15.0-91-generic #92~16.04.1-Ubuntu SMP Fri Feb 28 14:57:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/issue
Ubuntu 16.04.6 LTS \n \l
I posted config.log here: https://users.fmi.uni-jena.de/~king/config.log
I see the same in the log file for the Python 2 build. I wonder if this has to do with upgrading Xcode, which I seem to have done 6 days ago. To be clear, yesterday and today I have built 9.1.beta8 + Python 3 and 9.1.beta9 + Python 2, both successfully, despite this crash. It's 9.1.beta9 + Python 3 which is causing problems. It also seems to be using the Apple Python 3, /usr/bin/python3, not the one installed by homebrew.
> Are you sure your /usr/bin/python comes from that distribution? As far as I
> can see, xenial only has 3.5.1-3.
I installed python3 after "sudo add-apt-repository ppa:deadsnakes/ppa".
Has that been a mistake?
On 2020-03-31, Matthias Köppe <matthia...@gmail.com> wrote:
> On Monday, March 30, 2020 at 8:30:34 PM UTC-4, Simon King wrote:
>>
>> I installed python3 after "sudo add-apt-repository ppa:deadsnakes/ppa".
>> Has that been a mistake?
>>
>>
> I don't know, but I found these instructions:
> https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
> that also mention what packages should be installed
Excellent! After installing them and doing ./configure, I see this line:
python3-3.7.3.p1: using system package; SPKG will not be installed
So, now I can try whether it works
I'm getting this silly error while installing pillow:
Copying package files from temporary location
/home/scratch2/dimpase/sage/sage/local/var/tmp/sage/build/pillow-5.3.0.p0/inst
to /home/scratch2/dimpase/sage/sage/local
cp: cannot overwrite non-directory
'/home/scratch2/dimpase/sage/sage/local/./lib64' with directory
'/home/scratch2/dimpase/sage/sage/local/var/tmp/sage/build/pillow-5.3.0.p0/inst/home/scratch2/dimpase/sage/sage/local/./lib64'
************************************************************************
Error copying files for pillow-5.3.0.p0.
--------------
note that
$ ls -l /home/scratch2/dimpase/sage/sage/local/./lib64
lrwxrwxrwx 1 dimpase staff 3 Mar 30 18:26
/home/scratch2/dimpase/sage/sage/local/./lib64 -> lib
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscribe@googlegroups.com.
On Tuesday, March 31, 2020 at 10:30:39 AM UTC+8, Dima Pasechnik wrote:I'm getting this silly error while installing pillow:
Copying package files from temporary location
/home/scratch2/dimpase/sage/sage/local/var/tmp/sage/build/pillow-5.3.0.p0/inst
to /home/scratch2/dimpase/sage/sage/local
cp: cannot overwrite non-directory
'/home/scratch2/dimpase/sage/sage/local/./lib64' with directory
'/home/scratch2/dimpase/sage/sage/local/var/tmp/sage/build/pillow-5.3.0.p0/inst/home/scratch2/dimpase/sage/sage/local/./lib64'
************************************************************************
Error copying files for pillow-5.3.0.p0.
--------------
note that
$ ls -l /home/scratch2/dimpase/sage/sage/local/./lib64
lrwxrwxrwx 1 dimpase staff 3 Mar 30 18:26
/home/scratch2/dimpase/sage/sage/local/./lib64 -> lib
this is with system Python 3 on Fedora 30 (with Sage's built Python3 everything works, so apparently there is a sneaked in lib64path that breaks things, and I don't really know how to fix this.These sorts of errors appeared before in Sage, cf. e.g.
sage -t --long src/sage/env.py
**********************************************************************
File "src/sage/env.py", line 15, in sage.env
Failed example:
out == repr((SAGE_ROOT, SAGE_LOCAL)) # long time
Expected:
True
Got:
False
sage: env = {k:v for (k,v) in os.environ.items() if not k.startswith("SAGE_")}
sage: from subprocess import check_output
sage: cmd = "from sage.all import SAGE_ROOT, SAGE_LOCAL; print((SAGE_ROOT, SAGE_LOCAL))"
sage: out = check_output([sys.executable, "-c", cmd], env=env).decode().strip() # long time
sage: out
"('/home/math/sagebot/sage', '/amd/compute/sagebot/sage/local')"
sage: SAGE_ROOT
'/amd/compute/sagebot/sage'
...
Sage build/upgrade complete!
make[1]: Verzeichnis „/amd/compute/sagebot/sage“ wird verlassen
sh: /amd/compute/sagebot/sage/local/bin/sage-starts: Datei oder Verzeichnis nicht gefunden
my patchbot failed multiple times with the following possibly related error:
...
Sage build/upgrade complete!
make[1]: Verzeichnis „/amd/compute/sagebot/sage“ wird verlassen
sh: /amd/compute/sagebot/sage/local/bin/sage-starts: Datei oder Verzeichnis nicht gefundenThat is, the file `local/bin/sage-starts` is not found. This is with CentOS 7.7.
Since this beta, I get the following permanent failure:
sage -t --long src/sage/env.py
**********************************************************************
File "src/sage/env.py", line 15, in sage.env
Failed example:
out == repr((SAGE_ROOT, SAGE_LOCAL)) # long time
Expected:
True
Got:
FalseHere, SAGE_ROOT and SAGE_LOCAL look correct, but the `out` variable from the preceding tests is
sage: env = {k:v for (k,v) in os.environ.items() if not k.startswith("SAGE_")}
sage: from subprocess import check_output
sage: cmd = "from sage.all import SAGE_ROOT, SAGE_LOCAL; print((SAGE_ROOT, SAGE_LOCAL))"
sage: out = check_output([sys.executable, "-c", cmd], env=env).decode().strip() # long time
sage: out
"('/home/math/sagebot/sage', '/amd/compute/sagebot/sage/local')"The left path is actually a symlink in my home directory to my sage root directory on a different partition:
sage: SAGE_ROOT
'/amd/compute/sagebot/sage'
I rebuilt Sage using the Sage-provided python instead my system python and doctested Sage. The failure in doctest/test.py disappears. However, the failures in rings/integer.pyx still persist. I suspect a system component is the culprit. Any ideas which one? I had doctested 9.1.beta8 with no failures, so something has changed.
[...]
kiwisolver fails to build. For some reason, something in the build process thinks that "-sdk" is a good flag to add to "g++":g++ -sdk macosx clang -bundle -undefined dynamic_lookup -L/Users/palmieri/Desktop/Sage_stuff/sage_builds/TESTING/png/sage-9.1.beta9/local/lib -Wl,-rpath,/Users/palmieri/Desktop/Sage_stuff/sage_builds/TESTING/png/sage-9.1.beta9/local/lib build/temp.macosx-10.14-x86_64-3.7/py/kiwisolver.o build/temp.macosx-10.14-x86_64-3.7/py/constraint.o build/temp.macosx-10.14-x86_64-3.7/py/expression.o build/temp.macosx-10.14-x86_64-3.7/py/solver.o build/temp.macosx-10.14-x86_64-3.7/py/strength.o build/temp.macosx-10.14-x86_64-3.7/py/term.o build/temp.macosx-10.14-x86_64-3.7/py/variable.o -o build/lib.macosx-10.14-x86_64-3.7/kiwisolver.cpython-37m-darwin.so
clang: error: unknown argument: '-sdk'
clang: error: no such file or directory: 'macosx'
clang: error: no such file or directory: 'clang'
error: command 'g++' failed with exit status 1I didn't see this before, so if I add enough other packages, this problem will somehow resolve itself. This is specific to 9.1.beta9 (i.e., using the system python3): kiwisolver builds with 9.1.beta8 and these homebrew packages.
sqlite libpng bzip2 xz libffi
Am 31.03.2020 um 23:30 schrieb Matthias Köppe <matthia...@gmail.com>:Looks like this new doctest (from https://trac.sagemath.org/ticket/29287) needs some os.path.abspath in it. Please open a ticket for this.
Am 31.03.2020 um 23:25 schrieb Matthias Köppe <matthia...@gmail.com>:That is, the file `local/bin/sage-starts` is not found. This is with CentOS 7.7.This script was moved in https://trac.sagemath.org/ticket/23769
Another variation to try is to use " . .homebrew-build-env "
before the build, which sets some environment variables so that homebrew's "keg-only packages" are found.Among other things, this affects libpng via zlib.