On Mon, Nov 2, 2020 at 8:06 AM David Coudert <david.coud...@gmail.com> wrote:
>
> I don’t know if Python 3.9 is default forhome-brew or not, but looking back 
> at the result of command "$ brew install pandoc ffmpeg imagemagick texinfo", 
> I see the following issues and I don’t know what to do:


default or not, I can say that installing ffmped sets Homebrew's Python3 to 3.9.
(specifically, it has a couple of deps which explicitly depend on
Python 3.9, as can be seen by
running

brew deps --tree ffmpeg



Now, our ./configure by default will use whatever python3 points to,
that is, 3.9 in such a case.



>
>
> ==> Installing ffmpeg dependency: python@3.9
> ==> Pouring python@3.9-3.9.0_1.catalina.bottle.tar.gz
> Warning: These files were overwritten during `brew link` step:
> /usr/local/bin/2to3
> /usr/local/bin/idle3
> /usr/local/bin/pydoc3
> /usr/local/bin/python3
> /usr/local/bin/python3-config
> /usr/local/share/man/man1/python3.1
> /usr/local/lib/pkgconfig/python3-embed.pc
> /usr/local/lib/pkgconfig/python3.pc
> /usr/local/Frameworks/Python.framework/Headers
> /usr/local/Frameworks/Python.framework/Python
> /usr/local/Frameworks/Python.framework/Resources
> /usr/local/Frameworks/Python.framework/Versions/Current
>
> They have been backed up in /Users/dcoudert/Library/Caches/Homebrew/Backup
> ==> /usr/local/Cellar/python@3.9/3.9.0_1/bin/python3 -s setup.py 
> --no-user-cfg install --force --verbose --install-scripts=/usr/loca
> ==> /usr/local/Cellar/python@3.9/3.9.0_1/bin/python3 -s setup.py 
> --no-user-cfg install --force --verbose --install-scripts=/usr/loca
> ==> /usr/local/Cellar/python@3.9/3.9.0_1/bin/python3 -s setup.py 
> --no-user-cfg install --force --verbose --install-scripts=/usr/loca
> ==> Caveats
> Python has been installed as
>   /usr/local/bin/python3
>
> Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
> `python3`, `python3-config`, `pip3` etc., respectively, have been installed 
> into
>   /usr/local/opt/python@3.9/libexec/bin
>
> You can install Python packages with
>   pip3 install <package>
> They will install into the site-package directory
>   /usr/local/lib/python3.9/site-packages
>
> See: https://docs.brew.sh/Homebrew-and-Python
> ==> Summary
>   /usr/local/Cellar/python@3.9/3.9.0_1: 4,447 files, 72MB
>
> ….
>
> ==> Installing imagemagick dependency: ghostscript
> ==> Pouring ghostscript-9.53.3.catalina.bottle.tar.gz
> Error: The `brew link` step did not complete successfully
> The formula built, but is not symlinked into /usr/local
> Could not symlink bin/dvipdf
> Target /usr/local/bin/dvipdf
> already exists. You may want to remove it:
>   rm '/usr/local/bin/dvipdf'
>
> To force the link and overwrite all conflicting files:
>   brew link --overwrite ghostscript
>
> To list all files that would be deleted:
>   brew link --overwrite --dry-run ghostscript
>
> Possible conflicting files are:
> /usr/local/bin/dvipdf
> /usr/local/bin/eps2eps
> /usr/local/bin/gs -> /usr/local/bin/gs-noX11
> /usr/local/bin/gsbj
> /usr/local/bin/gsdj
> /usr/local/bin/gsdj500
> /usr/local/bin/gslj
> /usr/local/bin/gslp
> /usr/local/bin/gsnd
> /usr/local/bin/lprsetup.sh
> /usr/local/bin/pdf2dsc
> /usr/local/bin/pdf2ps
> /usr/local/bin/pf2afm
> /usr/local/bin/pfbtopfa
> /usr/local/bin/pphs
> /usr/local/bin/printafm
> /usr/local/bin/ps2ascii
> /usr/local/bin/ps2epsi
> /usr/local/bin/ps2pdf
> /usr/local/bin/ps2pdf12
> /usr/local/bin/ps2pdf13
> /usr/local/bin/ps2pdf14
> /usr/local/bin/ps2pdfwr
> /usr/local/bin/ps2ps
> /usr/local/bin/ps2ps2
> /usr/local/bin/unix-lpr.sh
> /usr/local/share/man/man1/dvipdf.1
> /usr/local/share/man/man1/eps2eps.1 -> /usr/local/share/man/man1/ps2ps.1
> /usr/local/share/man/man1/gs.1
> /usr/local/share/man/man1/gsbj.1 -> /usr/local/share/man/man1/gslp.1
> /usr/local/share/man/man1/gsdj.1 -> /usr/local/share/man/man1/gslp.1
> /usr/local/share/man/man1/gsdj500.1 -> /usr/local/share/man/man1/gslp.1
> /usr/local/share/man/man1/gslj.1 -> /usr/local/share/man/man1/gslp.1
> /usr/local/share/man/man1/gslp.1
> /usr/local/share/man/man1/gsnd.1
> /usr/local/share/man/man1/pdf2dsc.1
> /usr/local/share/man/man1/pdf2ps.1
> /usr/local/share/man/man1/pf2afm.1
> /usr/local/share/man/man1/pfbtopfa.1
> /usr/local/share/man/man1/printafm.1
> /usr/local/share/man/man1/ps2ascii.1
> /usr/local/share/man/man1/ps2epsi.1
> /usr/local/share/man/man1/ps2pdf.1
> /usr/local/share/man/man1/ps2pdf12.1 -> /usr/local/share/man/man1/ps2pdf.1
> /usr/local/share/man/man1/ps2pdf13.1 -> /usr/local/share/man/man1/ps2pdf.1
> /usr/local/share/man/man1/ps2pdf14.1 -> /usr/local/share/man/man1/ps2pdf.1
> /usr/local/share/man/man1/ps2pdfwr.1
> /usr/local/share/man/man1/ps2ps.1
> ==> Summary
>   /usr/local/Cellar/ghostscript/9.53.3: 668 files, 89.3MB
>
>
> ….
>
> ==> Upgrading 2 dependents:
> python@3.8 3.8.5 -> 3.8.6_1, tbb 2020_U2 -> 2020_U3_1
> ==> Upgrading python@3.8 3.8.5 -> 3.8.6_1
> ==> Downloading 
> https://homebrew.bintray.com/bottles/python%403.8-3.8.6_1.catalina.bottle.tar.gz
> ==> Downloading from 
> https://d29vzk4ow07wi7.cloudfront.net/123ddd272ba0670d72578b36c4801b59449ac21e9d5a7e47c34c9e489330600a?response
> ######################################################################## 
> 100.0%
> ==> Pouring python@3.8-3.8.6_1.catalina.bottle.tar.gz
> Error: The `brew link` step did not complete successfully
> The formula built, but is not symlinked into /usr/local
> Could not symlink bin/2to3
> Target /usr/local/bin/2to3
> is a symlink belonging to python@3.9. You can unlink it:
>   brew unlink python@3.9
>
> To force the link and overwrite all conflicting files:
>   brew link --overwrite python@3.8
>
> To list all files that would be deleted:
>   brew link --overwrite --dry-run python@3.8
>
> Possible conflicting files are:
> /usr/local/bin/2to3 -> /usr/local/Cellar/python@3.9/3.9.0_1/bin/2to3
> /usr/local/bin/idle3 -> /usr/local/Cellar/python@3.9/3.9.0_1/bin/idle3
> /usr/local/bin/pydoc3 -> /usr/local/Cellar/python@3.9/3.9.0_1/bin/pydoc3
> /usr/local/bin/python3 -> /usr/local/Cellar/python@3.9/3.9.0_1/bin/python3
> /usr/local/bin/python3-config -> 
> /usr/local/Cellar/python@3.9/3.9.0_1/bin/python3-config
> /usr/local/share/man/man1/python3.1 -> 
> /usr/local/Cellar/python@3.9/3.9.0_1/share/man/man1/python3.1
> /usr/local/lib/pkgconfig/python3-embed.pc -> 
> /usr/local/Cellar/python@3.9/3.9.0_1/lib/pkgconfig/python3-embed.pc
> /usr/local/lib/pkgconfig/python3.pc -> 
> /usr/local/Cellar/python@3.9/3.9.0_1/lib/pkgconfig/python3.pc
> /usr/local/Frameworks/Python.framework/Headers -> 
> /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Headers
> /usr/local/Frameworks/Python.framework/Python -> 
> /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Python
> /usr/local/Frameworks/Python.framework/Resources -> 
> /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Resources
> /usr/local/Frameworks/Python.framework/Versions/Current -> 
> /usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/Current
> ==> /usr/local/Cellar/python@3.8/3.8.6_1/bin/python3 -s setup.py 
> --no-user-cfg install --force --verbose --install-scripts=/usr/loca
> ==> /usr/local/Cellar/python@3.8/3.8.6_1/bin/python3 -s setup.py 
> --no-user-cfg install --force --verbose --install-scripts=/usr/loca
> ==> /usr/local/Cellar/python@3.8/3.8.6_1/bin/python3 -s setup.py 
> --no-user-cfg install --force --verbose --install-scripts=/usr/loca
> ==> Caveats
> Python has been installed as
>   /usr/local/opt/python@3.8/bin/python3
>
> Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
> `python3`, `python3-config`, `pip3` etc., respectively, have been installed 
> into
>   /usr/local/opt/python@3.8/libexec/bin
>
> You can install Python packages with
>   /usr/local/opt/python@3.8/bin/pip3 install <package>
> They will install into the site-package directory
>   /usr/local/lib/python3.8/site-packages
>
> See: https://docs.brew.sh/Homebrew-and-Python
>
> python@3.8 is keg-only, which means it was not symlinked into /usr/local,
> because this is an alternate version of another formula.
>
> If you need to have python@3.8 first in your PATH run:
>   echo 'export PATH="/usr/local/opt/python@3.8/bin:$PATH"' >> 
> /Users/dcoudert/.bash_profile
>
> For compilers to find python@3.8 you may need to set:
>   export LDFLAGS="-L/usr/local/opt/python@3.8/lib"
>
> For pkg-config to find python@3.8 you may need to set:
>   export PKG_CONFIG_PATH="/usr/local/opt/python@3.8/lib/pkgconfig"
>
> ==> Summary
>   /usr/local/Cellar/python@3.8/3.8.6_1: 4,329 files, 69.4MB
> Removing: /usr/local/Cellar/python@3.8/3.8.5... (4,560 files, 70.0MB)
> ==> Upgrading tbb 2020_U2 -> 2020_U3_1
> ==> Downloading 
> https://homebrew.bintray.com/bottles/tbb-2020_U3_1.catalina.bottle.tar.gz
> ==> Downloading from 
> https://d29vzk4ow07wi7.cloudfront.net/e73f880d133b99c5e30120df768cff884d5d66f93f4e84bfc8937f37f9e0b614?response
> ######################################################################## 
> 100.0%
> ==> Pouring tbb-2020_U3_1.catalina.bottle.tar.gz
>   /usr/local/Cellar/tbb/2020_U3_1: 144 files, 3MB
> Removing: /usr/local/Cellar/tbb/2020_U2... (144 files, 3.0MB)
> ==> Checking for dependents of upgraded formulae...
> Error: No such file or directory - /usr/local/Cellar/tbb/2020_U2
>
>
>
>
>
>
>
>
> Le 1 nov. 2020 à 22:30, Dima Pasechnik <dimp...@gmail.com> a écrit :
>
> Sage can use system Python 3.9 in theory, but this is only mildly tested, and 
> is not tested on macOS, I think.
>
> is the default Python on Homebrew 3.9 now?
>
>
>
> On Sun, 1 Nov 2020, 15:29 David Coudert, <david.coud...@gmail.com> wrote:
>>
>> Hello,
>>
>> I’m unable to build beta0 on macOS 10.15.7 :(
>>
>> I did:
>> $ make distclean
>> $ ./bootstrap
>> $ source .homebrew-build-env
>> $ ./configure
>>
>> Then, I followed the recommandation and did:
>> $ brew install pandoc ffmpeg imagemagick texinfo
>> $ ./config.status --recheck && ./config.status
>>
>> Surprisingly, I still get the recommandation to run : brew install pandoc 
>> ffmpeg imagemagick texinfo
>> So something must be wrong somewhere, but what?
>>
>> I then tried
>> $ make V=0 build
>>
>> but it fails.
>>
>> Something I don’t understand is that the command `brew install pandoc ffmpeg 
>> imagemagick texinfo` has caused the installation of Python 3.9, and that 
>> Sagemath use it. Is it expected ?
>>
>> The log file can be found here (too big for email apparently):
>> https://filesender.renater.fr/?s=download&token=5cbf0701-548c-493e-920a-c22fb55cc7ab
>>
>> Let me know if something else is needed to understand the issue.
>>
>> Best,
>> David.
>>
>> Le 1 nov. 2020 à 02:07, Volker Braun <vbraun.n...@gmail.com> 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
>>
>>
>> 2c87dc16f2 (tag: 9.3.beta0, trac/develop) Updated SageMath version to 
>> 9.3.beta0
>> f1e5538726 Trac #30806: refresh the ring of Schubert polynomials
>> a0ed87e05c Trac #30802: build/bin/write-dockerfile.sh: Do not fail with 
>> "build/pkgs/SPKG/type: No such file or directory"
>> b3742db124 Trac #30799: Add Folder for Manifold Examples
>> 5f8941ff4f Trac #30798: fixing low_degree and degree documentation for 
>> symbolic expressions
>> 2c3627aee1 Trac #30797: Bug in modular sqrt when extend is False and all is 
>> True
>> d138a96310 Trac #30791: Upgrade: OpenSSL 1.1.1h
>> 8697200598 Trac #30785: tox.ini: Add gentoo-python3.9
>> 67d812a384 Trac #30783: Sage thinks that I^(2/3) = -1
>> 257a9b5677 Trac #30779: Duplicate src/setup.py
>> 28037b8f1d Trac #30775: flake8 refresh for species/species.py
>> 72383e4929 Trac #30774: use iterators inside call of .join for strings
>> b71767ce20 Trac #30771: Repair self-containedness of the wrapped 
>> spkg-install scripts for Python packages
>> 50dae5f04c Trac #30769: Unify graph backends
>> b709eda5b7 Trac #30759: allow double-sided limit from sympy
>> 2292d96d02 Trac #30756: flake8 details in matroids
>> 96d72df03a Trac #30754: refresh Cfinite sequences
>> fa4ad137f1 Trac #30743: fix warnings and breaking conditions for neighbor 
>> method
>> 4a89f7abd4 Trac #30742: add giac algo for limits
>> 3b8797ebf6 Trac #30736: replacing insecure git:// with secure https://
>> e11372ba46 Trac #30732: combinat : changes about != empty list
>> 9b8169f5d8 Trac #30718: build/pkgs/pynac/dependencies: Remove giac
>> fbbb45c16a Trac #30599: Define a new data structure for a list of 
>> combinatorial faces
>> 7bc03473be Trac #30349: Downgrade broken optional packages to experimental 
>> for Sage 9.2
>> 7ce6353e30 Trac #30730: More random failures in src/sage/interfaces/psage.py
>> 7272e09fe6 Trac #30705: GH Actions: local-macos-nohomebrew - use sudo
>> e44f7a099b Trac #30700: enhanced maple parser
>> bb2b46a948 Trac #30689: make formatting doctests more lenient (follow-up to 
>> #30515)
>> 1b34ae5370 Trac #30681: Fast Pfaffian using Faddeev-LeVerrier
>> c87746f50b Trac #30679: fix valuation of Puiseux series
>> 104a3462e6 Trac #30672: Remove `sage/ext` from `sage_include_directories`
>> 0e464c2c5f Trac #30670: full flake8 for lfunctions
>> 5c5f9b5aa8 Trac #30669: Remove ambiguous conversions for fqf_orthogonal 
>> groups
>> 66131e0ced Trac #30667: allow construction of empty signed permutation
>> fa3b68ef1d Trac #30665: Optimize edge iterator for graphs
>> e124cc1eb0 Trac #30656: build/bin/sage-spkg-info: Fix up /bin/sh-ification
>> 08a5f846be Trac #30655: power series sqrt : one bug
>> 44d4a4b152 Trac #30652: Use Arb to evaluate polynomials with 
>> integer/rational coefficients at balls
>> e20c8b5cbb Trac #30636: failing doctest with optional tag octave
>> 1f0db5f066 Trac #30598: Define a new data structure for a combinatorial face
>> cb017f813b Trac #30460: Star-Insertion
>> 96caebb74a Trac #28711: Fix spkg-install of p_group_cohomology
>> 08dfeffd34 Trac #28019: If system mpir is found, yasm should not  be built
>> 51a5689ea1 Trac #27310: provide translation of multiple diff
>> 1bed401ee4 Trac #25825: Move cremona db to features
>> f4f4fcbe62 Trac #24483: complex_field.py complex_number.pyx -> 
>> complex_mpfr.pyx
>> 5c61ed0b14 Trac #23726: Find roots of polynomials in subrings of the base 
>> ring by filtering
>> c1b3bdd17e Trac #12529: libsingular reduces polynomials incompletely
>> e6fc19b4a5 Trac #30734: slackware-minimal: system package fix
>> 7a0b954b17 Trac #30729: Fix gap_packages for Xcode 12
>> da1da0c8f3 Trac #30720: Fix gap_packages for gcc 10
>> 4a57ff3786 Trac #30703: Fix libnauty spkg-configure.m4
>> 85cd2df36d Trac #30588: singular: Remove python dependency, configure 
>> --without-python (singular only supports python2)
>> 9c1eef8986 Trac #30472: Change remaining all-caps SAGE to Sage
>> fe238b0991 Trac #29557: Add script package _recommended and generate 
>> "recommended system packages" info
>> e23d94bf71 Trac #28974: F-strings (PEP 498) are not correctly handled by 
>> Sage's preparser
>> 480fa62e50 Trac #30803: Upgrade pybind11 to 2.6.0 to fix "critical 
>> incompatibility with Python 3.9.0"
>> 53285707f0 (tag: 9.2, trac/master) Updated SageMath version to 9.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 sage-release+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-release/424a420d-5cce-4666-9cce-5ff7c110183en%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 sage-release+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-release/C8267181-5C51-41D3-8D69-99760FC9A703%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 sage-release+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-release/CAAWYfq2ebh86BV0985wnrDfouM2p5p%3D5mGYr%2By2qcb-eDrig7Q%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 sage-release+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-release/B0380837-0E4A-4057-A965-E2ACC8B5C826%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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq3S4LNgBxRVcBjWV12Sfi%2BfhvU1BKOciTxrzM0RNq3acA%40mail.gmail.com.

Reply via email to