Building sage 8.9 from source on macOS Mojave failure

124 views
Skip to first unread message

S. Diop

unread,
Oct 14, 2019, 3:23:57 PM10/14/19
to sage-devel

I am experiencing failure building sage 8.9 on a MacBook Pro running macOS 10.14.6.

I already managed to build a couple of previous sage version sources. The actual build stops with the final message:

***

[sagelib-8.9] 96 warnings generated.
make[3]: *** [sagelib] Error 2
make[2]: *** [all-start] Error 2

realĀ Ā Ā  0m11.048s
userĀ Ā Ā  0m3.348s
sysĀ Ā Ā  0m2.185s
***************************************************************
Error building Sage.

***

I attach the sagelib-8.9.log file that someone out there can overview and direct me to the culprit.

Thanks in advance!

sagelib-8.9.log

Dima Pasechnik

unread,
Oct 14, 2019, 5:14:47 PM10/14/19
to sage-devel
the actual errors are somewhere in the middle of the log:

build/cythonized/sage/libs/readline.c:1446:36: error: use of
undeclared identifier 'rl_catch_signals'
__pyx_t_1 = __Pyx_PyInt_From_int(rl_catch_signals); if
(unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)

could you post

config.log

and

logs/pkgs/readline*.log

(there * as usual means a wildcard)
> --
> 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/ee35acaa-6217-42d7-97ed-45972405fead%40googlegroups.com.

S. Diop

unread,
Oct 14, 2019, 8:42:02 PM10/14/19
to sage-devel
config.log is attached. But I did not find any logs/pkgs/readline*.log in my sage 8.9 install directory.
Thanks so much for your kind help!
config.log

Dima Pasechnik

unread,
Oct 15, 2019, 2:23:06 AM10/15/19
to sage-devel
On Tue, Oct 15, 2019 at 1:42 AM S. Diop <sett...@gmail.com> wrote:
>
> config.log is attached. But I did not find any logs/pkgs/readline*.log in my sage 8.9 install directory.

there is a conflict with Anaconda installation, which provides readline.
In the beginning of your config.log one sees
PATH: /anaconda3/bin
PATH: /anaconda3/condabin
(one also sees things like -L/anaconda3/lib etc in your log...)

Are you building with active conda ? No?
Could you remove /anaconda3/* from your PATH before building Sage?




> Thanks so much for your kind help!
>
> On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:
>>
>> I am experiencing failure building sage 8.9 on a MacBook Pro running macOS 10.14.6.
>>
>> I already managed to build a couple of previous sage version sources. The actual build stops with the final message:
>>
>> ***
>>
>> [sagelib-8.9] 96 warnings generated.
>> make[3]: *** [sagelib] Error 2
>> make[2]: *** [all-start] Error 2
>>
>> real 0m11.048s
>> user 0m3.348s
>> sys 0m2.185s
>> ***************************************************************
>> Error building Sage.
>>
>> ***
>>
>> I attach the sagelib-8.9.log file that someone out there can overview and direct me to the culprit.
>>
>> Thanks in advance!
>
> --
> 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/41a15d28-10d4-460e-85d2-54f420e5b3bf%40googlegroups.com.

S. Diop

unread,
Oct 15, 2019, 2:56:54 PM10/15/19
to sage-devel
Oh thanks so much Dima!

You're right, I have in my home directory ~/anaconda/ and ~/anaconda3/.
And I notice that is also /anaonda3/ at the root of the machine. I am not sure this normal.

I tried simply changing the names on my home directory (by changingĀ ~/anaconda/ intoĀ ~/anaconda.disabled/ and ~/anaconda3/ into ~/anaconda3.disabled/) and then run the build again from scratch. But it fails again.

This let me ask
1) what do you mean by ``Are you building with active conda ?''?
2) what is the best way removing anaconda from my PATH?

Thanks so much again for this valuable help!

On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:

Dima Pasechnik

unread,
Oct 15, 2019, 3:18:05 PM10/15/19
to sage-devel
On Tue, Oct 15, 2019 at 7:56 PM S. Diop <sett...@gmail.com> wrote:
>
> Oh thanks so much Dima!
>
> You're right, I have in my home directory ~/anaconda/ and ~/anaconda3/.
> And I notice that is also /anaonda3/ at the root of the machine. I am not sure this normal.
>
> I tried simply changing the names on my home directory (by changing ~/anaconda/ into ~/anaconda.disabled/ and ~/anaconda3/ into ~/anaconda3.disabled/) and then run the build again from scratch. But it fails again.

what kind of error do you have now?

>
> This let me ask
> 1) what do you mean by ``Are you building with active conda ?''?

https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#activating-an-environment

> 2) what is the best way removing anaconda from my PATH?
maybe just
https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#deactivating-an-environment
?

>
> Thanks so much again for this valuable help!
>
> On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:
>>
>> I am experiencing failure building sage 8.9 on a MacBook Pro running macOS 10.14.6.
>>
>> I already managed to build a couple of previous sage version sources. The actual build stops with the final message:
>>
>> ***
>>
>> [sagelib-8.9] 96 warnings generated.
>> make[3]: *** [sagelib] Error 2
>> make[2]: *** [all-start] Error 2
>>
>> real 0m11.048s
>> user 0m3.348s
>> sys 0m2.185s
>> ***************************************************************
>> Error building Sage.
>>
>> ***
>>
>> I attach the sagelib-8.9.log file that someone out there can overview and direct me to the culprit.
>>
>> Thanks in advance!
>
> --
> 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/38bb1f14-5709-4c47-8983-417633882fcb%40googlegroups.com.

S. Diop

unread,
Oct 15, 2019, 3:55:29 PM10/15/19
to sage-devel
I was running a new build from scratch again and deleted the previous logs.
Thanks again for directing to these Anaconda docs.
I will let you know the outcome of a new build after deactivating Conda.

On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:

S. Diop

unread,
Oct 15, 2019, 11:23:10 PM10/15/19
to sage-devel
I did uninstall Anaconda completely and laugh a build from scratch. I got a new error "Error building the documentation". Please find below the end of the screen log. I also attach the log file:Ā sagenb-1.1.2.log.

[sagenb-1.1.2] Ā  Ā  running install_egg_info
[sagenb-1.1.2] Ā  Ā  running egg_info
[sagenb-1.1.2] Ā  Ā  writing requirements to sagenb.egg-info/requires.txt
[sagenb-1.1.2] Ā  Ā  writing sagenb.egg-info/PKG-INFO
[sagenb-1.1.2] Ā  Ā  writing top-level names to sagenb.egg-info/top_level.txt
[sagenb-1.1.2] Ā  Ā  writing dependency_links to sagenb.egg-info/dependency_links.txt
[sagenb-1.1.2] Ā  Ā  reading manifest file 'sagenb.egg-info/SOURCES.txt'
[sagenb-1.1.2] Ā  Ā  reading manifest template 'MANIFEST.in'
[sagenb-1.1.2] Ā  Ā  no previously-included directories found matching 'sass/src/.sass-cache'
[sagenb-1.1.2] Ā  Ā  no previously-included directories found matching '.git'
[sagenb-1.1.2] Ā  Ā  warning: no previously-included files matching '*.pyc' found anywhere in distribution
[sagenb-1.1.2] Ā  Ā  warning: no previously-included files matching '*.pyo' found anywhere in distribution
[sagenb-1.1.2] Ā  Ā  warning: no previously-included files matching '*.orig' found anywhere in distribution
[sagenb-1.1.2] Ā  Ā  warning: no previously-included files matching '*.rej' found anywhere in distribution
[sagenb-1.1.2] Ā  Ā  warning: no previously-included files matching '*~' found anywhere in distribution
[sagenb-1.1.2] Ā  Ā  warning: no previously-included files matching '#*' found anywhere in distribution
[sagenb-1.1.2] Ā  Ā  warning: no previously-included files matching '*#' found anywhere in distribution
[sagenb-1.1.2] Ā  Ā  warning: no previously-included files matching '*.sassc' found anywhere in distribution
[sagenb-1.1.2] Ā  Ā  warning: no previously-included files matching '*.scssc' found anywhere in distribution
[sagenb-1.1.2] Ā  Ā  warning: no previously-included files matching '*.DS_Store' found anywhere in distribution
[sagenb-1.1.2] Ā  Ā  writing manifest file 'sagenb.egg-info/SOURCES.txt'
[sagenb-1.1.2] Ā  Ā  Copying sagenb.egg-info to /Applications/sage-8.9/local/var/tmp/sage/build/sagenb-1.1.2/inst/Applications/sage-8.9/local/lib/python2.7/site-packages/sagenb-1.1.2-py2.7.egg-info
[sagenb-1.1.2] Ā  Ā  running install_scripts
[sagenb-1.1.2] Ā  Ā  creating /Applications/sage-8.9/local/var/tmp/sage/build/sagenb-1.1.2/inst/Applications/sage-8.9/local/bin
[sagenb-1.1.2] Ā  Ā  copying build/scripts-2.7/sage3d -> /Applications/sage-8.9/local/var/tmp/sage/build/sagenb-1.1.2/inst/Applications/sage-8.9/local/bin
[sagenb-1.1.2] Ā  Ā  changing mode of /Applications/sage-8.9/local/var/tmp/sage/build/sagenb-1.1.2/inst/Applications/sage-8.9/local/bin/sage3d to 755
[sagenb-1.1.2] Ā  Ā  writing list of installed files to '/private/var/folders/g2/_vnxprzn62b7_38d6jl89xj40000gn/T/pip-record-Z4ABc1/install-record.txt'
[sagenb-1.1.2] Ā  Ā  Running setup.py install for sagenb: finished with status 'done'
[sagenb-1.1.2] Ā  Removing source in /private/var/folders/g2/_vnxprzn62b7_38d6jl89xj40000gn/T/pip-req-build-9HIYIq
[sagenb-1.1.2] Successfully installed sagenb-1.1.2
[sagenb-1.1.2] Cleaning up...
[sagenb-1.1.2] Removed build tracker '/private/var/folders/g2/_vnxprzn62b7_38d6jl89xj40000gn/T/pip-req-tracker-lK9RKr'
[sagenb-1.1.2] Running Sphinx v1.8.5
[sagenb-1.1.2] making output directory...
[sagenb-1.1.2] building [mo]: targets for 0 po files that are out of date
[sagenb-1.1.2] building [html]: targets for 19 source files that are out of date
[sagenb-1.1.2] updating environment: 19 added, 0 changed, 0 removed
[sagenb-1.1.2] reading sources... [ Ā 5%] index
[sagenb-1.1.2] reading sources... [ 10%] misc/introspect
[sagenb-1.1.2] reading sources... [ 15%] misc/misc
[sagenb-1.1.2]
[sagenb-1.1.2] Exception occurred:
[sagenb-1.1.2] Ā  File "sage/misc/lazy_import.pyx", line 218, in sage.misc.lazy_import.LazyImport._get_object (build/cythonized/sage/misc/lazy_import.c:2502)
[sagenb-1.1.2] Ā  Ā  raise RuntimeError(f"resolving lazy import {self._name} during startup")
[sagenb-1.1.2] RuntimeError: resolving lazy import dumps during startup
[sagenb-1.1.2] The full traceback has been saved in /var/folders/g2/_vnxprzn62b7_38d6jl89xj40000gn/T/sphinx-err-LlGOAT.log, if you want to report the issue to the developers.
[sagenb-1.1.2] Please also report this if it was a user error, so that a better error message can be provided next time.
[sagenb-1.1.2] A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
[sagenb-1.1.2] make[4]: *** [html] Error 2
[sagenb-1.1.2] ********************************************************************************
[sagenb-1.1.2] Error building the documentation
[sagenb-1.1.2] ********************************************************************************
[sagenb-1.1.2]
[sagenb-1.1.2] real 0m6.044s
[sagenb-1.1.2] user 0m2.986s
[sagenb-1.1.2] sys 0m2.631s
[sagenb-1.1.2] ************************************************************************
[sagenb-1.1.2] Error installing package sagenb-1.1.2
[sagenb-1.1.2] ************************************************************************
[sagenb-1.1.2] Please email sage-devel (http://groups.google.com/group/sage-devel)
[sagenb-1.1.2] explaining the problem and including the log file
[sagenb-1.1.2] Ā  /Applications/sage-8.9/logs/pkgs/sagenb-1.1.2.log
[sagenb-1.1.2] Describe your computer, operating system, etc.
[sagenb-1.1.2] If you want to try to fix the problem yourself, *don't* just cd to
[sagenb-1.1.2] /Applications/sage-8.9/local/var/tmp/sage/build/sagenb-1.1.2 and type 'make' or whatever is appropriate.
[sagenb-1.1.2] Instead, the following commands setup all environment variables
[sagenb-1.1.2] correctly and load a subshell for you to debug the error:
[sagenb-1.1.2] Ā  (cd '/Applications/sage-8.9/local/var/tmp/sage/build/sagenb-1.1.2' && '/Applications/sage-8.9/sage' --sh)
[sagenb-1.1.2] When you are done debugging, you can type "exit" to leave the subshell.
[sagenb-1.1.2] ************************************************************************
make[3]: *** [/Applications/sage-8.9/local/var/lib/sage/installed/sagenb-1.1.2] Error 1
make[2]: *** [all-start] Error 2

real 0m14.441s
user 0m7.493s
sys 0m5.680s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):

* package: sagenb-1.1.2
Ā  log file: /Applications/sage-8.9/logs/pkgs/sagenb-1.1.2.log
Ā  build directory: /Applications/sage-8.9/local/var/tmp/sage/build/sagenb-1.1.2

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

On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:
sagenb-1.1.2.log

Dima Pasechnik

unread,
Oct 16, 2019, 4:03:42 AM10/16/19
to sage-devel
the error was earlier. please try to start Sage by running

./sage

and report the result.
> --
> 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/749db2fe-2e31-40e7-9147-ac4001bd6821%40googlegroups.com.

S. Diop

unread,
Oct 16, 2019, 12:05:28 PM10/16/19
to sage-devel
Hi!
Here is the result of an attempt to run ./sage

%%%%%
> ./sage
This looks like the first time you are running Sage.
Cleaning up, do not interrupt this.
Done cleaning.
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│ SageMath version 8.9, Release Date: 2019-09-29 Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  │
│ Using Python 2.7.15. Type "help()" for help. Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

**********************************************************************

Oops, Sage crashed. We do our best to make it stable, but...

A crash report was automatically generated with the following information:
Ā  - A verbatim copy of the crash traceback.
Ā  - A copy of your input history during this session.
Ā  - Data on your current Sage configuration.

It was left in the file named:
'/Users/seet/.sage/ipython-5.0.0/Sage_crash_report.txt'
If you can email this file to the developers, the information in it will help
them in understanding and correcting the problem.

You can mail it to: sage-support at sage-s...@googlegroups.com
with the subject 'Sage Crash Report'.

If you want to do it now, the following command will work (under Unix):
mail -s 'Sage Crash Report' sage-s...@googlegroups.com < /Users/seet/.sage/ipython-5.0.0/Sage_crash_report.txt

In your email, please also include information about:
- The operating system under which the crash happened: Linux, macOS, Windows,
Ā  other, and which exact version (for example: Ubuntu 16.04.3, macOS 10.13.2,
Ā  Windows 10 Pro), and whether it is 32-bit or 64-bit;
- How Sage was installed: using pip or conda, from GitHub, as part of
Ā  a Docker container, or other, providing more detail if possible;
- How to reproduce the crash: what exact sequence of instructions can one
Ā  input to get the same crash? Ideally, find a minimal yet complete sequence
Ā  of instructions that yields the crash.

To ensure accurate tracking of this issue, please file a report about it at:

Hit <Enter> to quit (your terminal may close):
%%%%%


On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:

Dima Pasechnik

unread,
Oct 16, 2019, 12:07:36 PM10/16/19
to sage-devel
Thanks.
The interesting details are in
'/Users/seet/.sage/ipython-5.0.0/Sage_crash_report.txt'
as the error message tries to make clear.
Please post it here too.
> --
> 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/53c0fcc7-e723-4905-bb72-cf849e35c6f2%40googlegroups.com.

S. Diop

unread,
Oct 16, 2019, 12:09:50 PM10/16/19
to sage-devel
Sorry I should have attached this crash error report.

On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:
Sage_crash_report.txt

Dima Pasechnik

unread,
Oct 16, 2019, 12:37:19 PM10/16/19
to sage-devel
Thanks. One sees there

ImportError: dlopen(/Applications/sage-8.9/local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so,
2): Symbol not found: _gdImageCreateFromPng

so something is wrong with libgd (and possibly with libpng)
Could you post the main config.log of this build, as well as (if they
are present):
logs/pkgs/libgd* and logs/pkgs/libpng*

I guess they are meant to come from your Homebrew installation, but
something went wrong...
> --
> 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/808705ed-d5a2-4e07-8611-702d9b978144%40googlegroups.com.

S. Diop

unread,
Oct 16, 2019, 3:05:00 PM10/16/19
to sage-devel
I did not find any log file for libpng. the logs Ā config.log andĀ libgd-2.1.1.1.p1.log are attached.


On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:
config.log
libgd-2.1.1.1.p1.log

Dima Pasechnik

unread,
Oct 16, 2019, 3:45:47 PM10/16/19
to sage-devel
for some reason libgd configure failed to detect the presence of libpng.

as you are using Homebrew anyway, a quick fix would be to install its libgd, then uninstall Sage's libgd by doing

Ā  Ā make libgd-clean

followed byĀ 
Ā ./configureĀ 
Ā  make build



--
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.

S. Diop

unread,
Oct 16, 2019, 3:53:02 PM10/16/19
to sage-devel
I will post the results. Thanks so much!


On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:

S. Diop

unread,
Oct 16, 2019, 4:25:35 PM10/16/19
to sage-devel
Hi Dima:
you are certainly right: it seems that homebrew did not successfully install libgd. When I try to reinstall it it stuck at the postinstall stage. Here are the logs of my tentatives. Could you help with this?

%%%%%%%%%%%%%%%%
bash: > brew install libgd
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
ack Ā  Ā  Ā  Ā  Ā  Ā  Ā angular-cli Ā  Ā  Ā binwalk Ā  Ā  Ā  Ā  Ā exploitdb Ā  Ā  Ā  Ā lerna Ā  Ā  Ā  Ā  Ā  Ā pulumi Ā  Ā  Ā  Ā  Ā  scc Ā  Ā  Ā  Ā  Ā  Ā  Ā unrar
admesh Ā  Ā  Ā  Ā  Ā  awscli Ā  Ā  Ā  Ā  Ā  clamav Ā  Ā  Ā  Ā  Ā  jfrog-cli-go Ā  Ā  netlify-cli Ā  Ā  Ā pyenv Ā  Ā  Ā  Ā  Ā  Ā sonar-scanner Ā  Ā zabbix
aliyun-cli Ā  Ā  Ā  balena-cli Ā  Ā  Ā  conan Ā  Ā  Ā  Ā  Ā  Ā kubeless Ā  Ā  Ā  Ā  numpy Ā  Ā  Ā  Ā  Ā  Ā rustup-init Ā  Ā  Ā stress-ng

==> Installing dependencies for gd: fontconfig
==> Installing gd dependency: fontconfig
######################################################################## 100.0%
==> Pouring fontconfig-2.13.1.mojave.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall fontconfig`
==> Summary
šŸŗ Ā /usr/local/Cellar/fontconfig/2.13.1: 531 files, 3.3MB
==> Installing gd
######################################################################## 100.0%
==> Pouring gd-2.2.5.mojave.bottle.tar.gz
šŸŗ Ā /usr/local/Cellar/gd/2.2.5: 35 files, 1.1MB
bash: > brew postinstall fontconfig
==> Postinstalling fontconfig
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall fontconfig`
bash: > brew postinstall fontconfig
==> Postinstalling fontconfig
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall fontconfig`
bash: > brew reinstall fontconfig
==> Reinstalling fontconfig
Already downloaded: /Users/seet/Library/Caches/Homebrew/downloads/b7ad94d49bcdca22738f50b570efc07c7a20f98a469b3c4b32198b7318b8af5a--fontconfig-2.13.1.mojave.bottle.tar.gz
==> Pouring fontconfig-2.13.1.mojave.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall fontconfig`
==> Summary
šŸŗ Ā /usr/local/Cellar/fontconfig/2.13.1: 531 files, 3.3MB
bash: > brew postinstall fontconfig
==> Postinstalling fontconfig
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall fontconfig`
bash: > brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
Ā  /usr/local/texlive/2019/texmf-config

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
Ā  /usr/local/lib/libaspell.15.1.4.dylib
Ā  /usr/local/lib/libaspell.15.dylib
Ā  /usr/local/lib/libpspell.15.1.4.dylib
Ā  /usr/local/lib/libpspell.15.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
Ā  /usr/local/include/Magick++.h
Ā  /usr/local/include/Magick++/Blob.h
Ā  /usr/local/include/Magick++/CoderInfo.h
Ā  /usr/local/include/Magick++/Color.h
Ā  /usr/local/include/Magick++/Drawable.h
Ā  /usr/local/include/Magick++/Exception.h
Ā  /usr/local/include/Magick++/Geometry.h
Ā  /usr/local/include/Magick++/Image.h
Ā  /usr/local/include/Magick++/Include.h
Ā  /usr/local/include/Magick++/Montage.h
Ā  /usr/local/include/Magick++/Pixels.h
Ā  /usr/local/include/Magick++/STL.h
Ā  /usr/local/include/Magick++/TypeMetric.h
Ā  /usr/local/include/aspell.h
Ā  /usr/local/include/autosprintf.h
Ā  /usr/local/include/freetype2/freetype/ftxf86.h
Ā  /usr/local/include/freetype2/freetype/ttunpat.h
Ā  /usr/local/include/ft2build.h
Ā  /usr/local/include/gettext-po.h
Ā  /usr/local/include/libwmf/gd/gd.h
Ā  /usr/local/include/libwmf/gd/gd_clip.h
Ā  /usr/local/include/libwmf/gd/gd_io.h
Ā  /usr/local/include/libwmf/gd/gdcache.h
Ā  /usr/local/include/libwmf/gd/gdfontg.h
Ā  /usr/local/include/libwmf/gd/gdfontl.h
Ā  /usr/local/include/libwmf/gd/gdfontmb.h
Ā  /usr/local/include/libwmf/gd/gdfonts.h
Ā  /usr/local/include/libwmf/gd/gdfontt.h
Ā  /usr/local/include/magick/ImageMagick.h
Ā  /usr/local/include/magick/MagickCore.h
Ā  /usr/local/include/magick/PreRvIcccm.h
Ā  /usr/local/include/magick/animate.h
Ā  /usr/local/include/magick/annotate.h
Ā  /usr/local/include/magick/api.h
Ā  /usr/local/include/magick/blob.h
Ā  /usr/local/include/magick/cache-view.h
Ā  /usr/local/include/magick/cache.h
Ā  /usr/local/include/magick/client.h
Ā  /usr/local/include/magick/coder.h
Ā  /usr/local/include/magick/color.h
Ā  /usr/local/include/magick/colorspace.h
Ā  /usr/local/include/magick/compare.h
Ā  /usr/local/include/magick/composite.h
Ā  /usr/local/include/magick/compress.h
Ā  /usr/local/include/magick/configure.h
Ā  /usr/local/include/magick/constitute.h
Ā  /usr/local/include/magick/decorate.h
Ā  /usr/local/include/magick/delegate.h
Ā  /usr/local/include/magick/deprecate.h
Ā  /usr/local/include/magick/display.h
Ā  /usr/local/include/magick/draw.h
Ā  /usr/local/include/magick/effect.h
Ā  /usr/local/include/magick/enhance.h
Ā  /usr/local/include/magick/exception.h
Ā  /usr/local/include/magick/fx.h
Ā  /usr/local/include/magick/gem.h
Ā  /usr/local/include/magick/geometry.h
Ā  /usr/local/include/magick/hashmap.h
Ā  /usr/local/include/magick/identify.h
Ā  /usr/local/include/magick/image.h
Ā  /usr/local/include/magick/layer.h
Ā  /usr/local/include/magick/list.h
Ā  /usr/local/include/magick/locale_.h
Ā  /usr/local/include/magick/log.h
Ā  /usr/local/include/magick/magic.h
Ā  /usr/local/include/magick/magick-config.h
Ā  /usr/local/include/magick/magick-type.h
Ā  /usr/local/include/magick/magick.h
Ā  /usr/local/include/magick/memory_.h
Ā  /usr/local/include/magick/methods.h
Ā  /usr/local/include/magick/mime.h
Ā  /usr/local/include/magick/module.h
Ā  /usr/local/include/magick/monitor.h
Ā  /usr/local/include/magick/montage.h
Ā  /usr/local/include/magick/option.h
Ā  /usr/local/include/magick/paint.h
Ā  /usr/local/include/magick/pixel.h
Ā  /usr/local/include/magick/prepress.h
Ā  /usr/local/include/magick/profile.h
Ā  /usr/local/include/magick/property.h
Ā  /usr/local/include/magick/quantize.h
Ā  /usr/local/include/magick/quantum.h
Ā  /usr/local/include/magick/random_.h
Ā  /usr/local/include/magick/registry.h
Ā  /usr/local/include/magick/resize.h
Ā  /usr/local/include/magick/resource_.h
Ā  /usr/local/include/magick/segment.h
Ā  /usr/local/include/magick/semaphore.h
Ā  /usr/local/include/magick/shear.h
Ā  /usr/local/include/magick/signature.h
Ā  /usr/local/include/magick/splay-tree.h
Ā  /usr/local/include/magick/statistic.h
Ā  /usr/local/include/magick/stream.h
Ā  /usr/local/include/magick/string_.h
Ā  /usr/local/include/magick/threshold.h
Ā  /usr/local/include/magick/timer.h
Ā  /usr/local/include/magick/token.h
Ā  /usr/local/include/magick/transform.h
Ā  /usr/local/include/magick/type.h
Ā  /usr/local/include/magick/utility.h
Ā  /usr/local/include/magick/version.h
Ā  /usr/local/include/magick/widget.h
Ā  /usr/local/include/magick/xml-tree.h
Ā  /usr/local/include/magick/xwindow.h
Ā  /usr/local/include/octave-/octave/config.h
Ā  /usr/local/include/pspell/pspell.h
Ā  /usr/local/include/ulockmgr.h
Ā  /usr/local/include/uninameslist.h
Ā  /usr/local/include/wand/MagickWand.h
Ā  /usr/local/include/wand/animate.h
Ā  /usr/local/include/wand/compare.h
Ā  /usr/local/include/wand/composite.h
Ā  /usr/local/include/wand/conjure.h
Ā  /usr/local/include/wand/convert.h
Ā  /usr/local/include/wand/display.h
Ā  /usr/local/include/wand/drawing-wand.h
Ā  /usr/local/include/wand/identify.h
Ā  /usr/local/include/wand/import.h
Ā  /usr/local/include/wand/magick-image.h
Ā  /usr/local/include/wand/magick-property.h
Ā  /usr/local/include/wand/magick-wand.h
Ā  /usr/local/include/wand/magick_wand.h
Ā  /usr/local/include/wand/mogrify.h
Ā  /usr/local/include/wand/montage.h
Ā  /usr/local/include/wand/pixel-iterator.h
Ā  /usr/local/include/wand/pixel-wand.h
Ā  /usr/local/include/wand/stream.h
Ā  /usr/local/include/wand/wand-config.h

Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
Ā  /usr/local/lib/libaspell.la
Ā  /usr/local/lib/libpspell.la
bash: > brew update
Already up-to-date.
bash: > brew postinstall fontconfig
==> Postinstalling fontconfig
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall fontconfig`
bash: > brew postinstall fontconfig -v
==> Postinstalling fontconfig
/usr/bin/sandbox-exec -f /private/tmp/homebrew20191016-15391-1ii3kd.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.2.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-1.36.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.5.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-0.75.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unicode-display_width-1.6.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-wait-0.0.9/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-retry-0.6.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-its-1.3.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-3.9.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-mocks-3.9.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-expectations-3.9.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-core-3.9.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-support-3.9.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ronn-0.7.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rdiscount-2.2.0.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/rdiscount-2.2.0.1:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rainbow-3.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parser-2.6.5.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel_tests-2.29.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel-1.18.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mustache-1.1.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/webrobots-0.1.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ntlm-http-0.1.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/nokogiri-1.10.4/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/nokogiri-1.10.4:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mini_portile2-2.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-persistent-3.1.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-digest_auth-1.4.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-3.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-data-3.2019.1009/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/jaro_winkler-1.5.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/jaro_winkler-1.5.3:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/http-cookie-1.0.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/hpricot-0.8.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/hpricot-0.8.6:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/domain_name-0.5.20190701/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf-0.1.4/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf_ext-0.0.7.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/unf_ext-0.0.7.6:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/diff-lcs-1.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/coveralls-0.8.23/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thor-0.20.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/term-ansicolor-1.7.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tins-1.21.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-0.16.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-html-0.10.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/docile-1.3.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/json-2.2.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/json-2.2.0:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/connection_pool-2.2.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ast-2.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-5.2.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/minitest-5.12.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.7.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/site_ruby/2.6.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/site_ruby/2.6.0/x86_64-darwin13:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/site_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/vendor_ruby/2.6.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/vendor_ruby/2.6.0/x86_64-darwin13:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/vendor_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/x86_64-darwin13:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/postinstall.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/fontconfig.rb -v
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall fontconfig`
bash: >
%%%%%%%%%%%%%%%%


On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:

Dima Pasechnik

unread,
Oct 16, 2019, 6:37:08 PM10/16/19
to sage-devel
My guess is that you installed TeXLive directly, instead of usingĀ Homebrew.
(Same probably applies to ImageMagick, and perhaps Spell, Octave...)

I'd have erased everything in /usr/local, and started from scratch - but perhaps that's
too costly for you.
In any case, I'd start by installing TexLive somewhere outside of /usr/local


--
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.

S. Diop

unread,
Oct 16, 2019, 7:11:43 PM10/16/19
to sage-devel
TeXlive is installed normally in /usr/local/ so I may be facing new problems by moving it out of its default location but I will take the time to try to sort this out. Thanks so much!


On Monday, October 14, 2019 at 9:23:57 PM UTC+2, S. Diop wrote:
Reply all
Reply to author
Forward
0 new messages