On macOS 10.15.1, after "make distclean" I get The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'): * package: matplotlib-2.2.4.p0 log file: /Users/Masson/Downloads/GitHub/sage/logs/pkgs/matplotlib-2.2.4.p0.log build directory: /Users/Masson/Downloads/GitHub/sage/local/var/tmp/sage/build/matplotlib-2.2.4.p0 In the attached log, it says that libpng is not installed. I've never seen this error before, but I didn't think I'd have to install anything manually that was mandatory for the build. Thoughts? On Sunday, November 17, 2019 at 4:42:15 PM UTC-8, 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 > > This is the first Python 3 beta, so incremental builds probably aren't > going to work. Use "make distclean" or the appropriate configure flag to > keep using Python 2 (noooo) > > > 232ae1bddc (tag: 9.0.beta6) Updated SageMath version to 9.0.beta6 > 026a216fa4 Trac #28104: Openblas build failure > 1e7795c1f2 Trac #28726: py3: cysignals fails its test suite > c53e82c055 Trac #28734: a few miscellanous details > a55e518077 Trac #28721: Document sage-dist-helpers > c87212c10b Trac #28715: remove some deprecated stuff in combinat after > 23319 and 15597 > 2adaf8bc28 Trac #28686: Demote some optional packages to experimental > 381ddacd15 Trac #15077: Inconsistency in polynomial .reverse(n) > af4d15a8e1 Trac #28725: fix lawrence_extension and lawrence_polytope for > backend field > a8e457e711 Trac #28719: remove deprecated function aliases > e46f2a5383 Trac #28717: some cleanup in __init__ files > 9101b22829 Trac #28709: Python executable in doctest/control.py > 6544bf8e40 Trac #28707: More control on the numerical ODE solver for > integrated curves and geodesics > 50034a0ae9 Trac #28652: Rework the constructor of PermutationGroupElement > edc1360355 Trac #28606: CombinatorialPolyhedron: unbounded -> is_bounded > 3a35510660 Trac #28605: CombinatorialPolyhedron: replace attributes by > methods > 133435b38d Trac #27302: Cubic Braid Groups > 8d41eaeed4 Trac #27089: CPLEXBackend.solver_parameter: Handle > CPX_PARAMTYPE_LONG > eb5d0df260 Trac #25183: Bug in the associahedron object > 94b6adde10 Trac #24108: quadratic_form_from_invariants() > e9e14ad864 Trac #28730: cvxopt fails its test suite > a9146cd62b Trac #28714: clarify docstring of plot.colors.float_to_integer > f94189b015 Trac #28708: 5 cplex doctests failed in cplex_backend.pyx > 92a0045e31 Trac #28700: Fixing missing optional flag in base_QQ.py > 6c5f93dfb4 Trac #28689: py3: fix doctests with cbc > 3dd1d44175 Trac #28660: Make Python 3 the default > 0a86718461 Trac #28382: Correct types in cplex backend > 82b36b2ead Trac #27761: DES Block Cipher > 93db4cc438 (tag: 9.0.beta5) Updated SageMath version to 9.0.beta5 > > -- 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/b5a898e9-75d3-4bfe-a276-c273df8844d8%40googlegroups.com.
Found local metadata for matplotlib-2.2.4.p0 Attempting to download package matplotlib-2.2.4.tar.bz2 from mirrors http://mirrors.xmission.com/sage/spkg/upstream/matplotlib/matplotlib-2.2.4.tar.bz2 [......................................................................] matplotlib-2.2.4.p0 ==================================================== Setting up build directory for matplotlib-2.2.4.p0 Finished extraction Applying patches from ../patches... Applying ../patches/install-jquery-ui.patch patching file setupext.py Applying ../patches/python38.patch patching file setup.py Applying ../patches/setup.py.patch patching file setup.py Hunk #1 succeeded at 67 (offset -18 lines). **************************************************** Host system: Darwin MacBook-Retina.local 19.0.0 Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/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 11.0.0 (clang-1100.0.33.8) Target: x86_64-apple-darwin19.0.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin **************************************************** Package 'matplotlib' is currently not installed No legacy uninstaller found for 'matplotlib'; nothing to do NOTE: Set SAGE_MATPLOTLIB_GUI to anything but 'no' to try to build the Matplotlib GUI. Not building any matplotlib graphical backends. Installing matplotlib-2.2.4.p0 Installing package matplotlib using pip3 Waiting for shared lock to run /Users/Masson/Downloads/GitHub/sage/local/bin/python3 -m pip install --ignore-installed --verbose --no-deps --no-index --isolated --no-build-isolation --root=/Users/Masson/Downloads/GitHub/sage/local/var/tmp/sage/build/matplotlib-2.2.4.p0/inst . ... ok Ignoring indexes: https://pypi.org/simple Created temporary directory: /private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-ephem-wheel-cache-xj62h0m7 Created temporary directory: /private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-req-tracker-7wzokt66 Created requirements tracker '/private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-req-tracker-7wzokt66' Created temporary directory: /private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-install-pu7qekqr Processing /Users/Masson/Downloads/GitHub/sage/local/var/tmp/sage/build/matplotlib-2.2.4.p0/src Created temporary directory: /private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-req-build-n3e2zev3 Added file:///Users/Masson/Downloads/GitHub/sage/local/var/tmp/sage/build/matplotlib-2.2.4.p0/src to build tracker '/private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-req-tracker-7wzokt66' Running setup.py (path:/private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-req-build-n3e2zev3/setup.py) egg_info for package from file:///Users/Masson/Downloads/GitHub/sage/local/var/tmp/sage/build/matplotlib-2.2.4.p0/src Running command python setup.py egg_info ============================================================================ Edit setup.cfg to change the build options BUILDING MATPLOTLIB matplotlib: yes [2.2.4] python: yes [3.7.3 (default, Nov 19 2019, 19:36:55) [Clang 11.0.0 (clang-1100.0.33.8)]] platform: yes [darwin] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.16.1] install_requires: yes [handled by setuptools] libagg: yes [pkg-config information for 'libagg' could not be found. Using local copy.] freetype: yes [version 2.9.1] png: no [The C/C++ header for libpng (png.h) could not be found. You may need to install the development package.] qhull: yes [pkg-config information for 'libqhull' could not be found. Using local copy.] OPTIONAL SUBPACKAGES sample_data: yes [installing] toolkits: yes [installing] OPTIONAL BACKEND EXTENSIONS macosx: no [skipping due to configuration] qt5agg: no [PySide2 not found; PyQt5 not found] qt4agg: no [PySide not found; PyQt4 not found] gtk3agg: no [Requires pygobject to be installed.] gtk3cairo: no [Requires cairocffi or pycairo to be installed.] gtkagg: no [skipping due to configuration] tkagg: yes [installing; run-time loading from Python Tcl / Tk] wxagg: no [skipping due to configuration] gtk: no [skipping due to configuration] agg: yes [installing] cairo: no [cairocffi or pycairo not found] windowing: no [skipping due to configuration] OPTIONAL LATEX DEPENDENCIES dvipng: no ghostscript: no latex: no pdftops: no OPTIONAL PACKAGE DATA dlls: no [skipping due to configuration] ============================================================================ * The following required packages can not be built: * png * Try installing png with `brew install libpng` and * pkg-config with `brew install pkg-config` Cleaning up... Removing source in /private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-req-build-n3e2zev3 Removed file:///Users/Masson/Downloads/GitHub/sage/local/var/tmp/sage/build/matplotlib-2.2.4.p0/src from build tracker '/private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-req-tracker-7wzokt66' Removed build tracker '/private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-req-tracker-7wzokt66' Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-req-build-n3e2zev3/ Exception information: Traceback (most recent call last): File "/Users/Masson/Downloads/GitHub/sage/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 143, in main status = self.run(options, args) File "/Users/Masson/Downloads/GitHub/sage/local/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 318, in run resolver.resolve(requirement_set) File "/Users/Masson/Downloads/GitHub/sage/local/lib/python3.7/site-packages/pip/_internal/resolve.py", line 102, in resolve self._resolve_one(requirement_set, req) File "/Users/Masson/Downloads/GitHub/sage/local/lib/python3.7/site-packages/pip/_internal/resolve.py", line 256, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "/Users/Masson/Downloads/GitHub/sage/local/lib/python3.7/site-packages/pip/_internal/resolve.py", line 209, in _get_abstract_dist_for self.require_hashes File "/Users/Masson/Downloads/GitHub/sage/local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 298, in prepare_linked_requirement abstract_dist.prep_for_dist(finder, self.build_isolation) File "/Users/Masson/Downloads/GitHub/sage/local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 126, in prep_for_dist self.req.run_egg_info() File "/Users/Masson/Downloads/GitHub/sage/local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 473, in run_egg_info command_desc='python setup.py egg_info') File "/Users/Masson/Downloads/GitHub/sage/local/lib/python3.7/site-packages/pip/_internal/utils/misc.py", line 705, in call_subprocess % (command_desc, proc.returncode, cwd)) pip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/np/_r579ck92g1f9x1tzcvdhy5m0000gn/T/pip-req-build-n3e2zev3/ Error: installing with pip3 failed ******************************************************************************** Error installing matplotlib-2.2.4.p0 ******************************************************************************** real 4m8.246s user 0m4.396s sys 0m4.200s ************************************************************************ Error installing package matplotlib-2.2.4.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /Users/Masson/Downloads/GitHub/sage/logs/pkgs/matplotlib-2.2.4.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Users/Masson/Downloads/GitHub/sage/local/var/tmp/sage/build/matplotlib-2.2.4.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 '/Users/Masson/Downloads/GitHub/sage/local/var/tmp/sage/build/matplotlib-2.2.4.p0' && '/Users/Masson/Downloads/GitHub/sage/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************