Did you use ". .homebrew-build-env" before the latest build?

On Sunday, January 16, 2022 at 5:30:12 PM UTC-8 list...@gmail.com wrote:

>
> Here is what I have done.
>
> $ brew uninstall openblas
>
> Error: Refusing to uninstall /opt/homebrew/Cellar/openblas/0.3.19
>
> because it is required by arpack, cbc, cgl, clp, coinutils, igraph, osi, r 
> and suite-sparse, which are currently installed.
>
> You can override this and force removal with:
>
>   brew uninstall --ignore-dependencies openblas
>
> $ brew uninstall --ignore-dependencies openblas
>
> Uninstalling /opt/homebrew/Cellar/openblas/0.3.19... (23 files, 51.9MB)
>
> $ brew install openblas
>
> ==> *Auto-updated Homebrew!*
>
> Updated 1 tap (homebrew/core).
>
> ==> *Updated Formulae*
>
> Updated 10 formulae.
>
> Running `brew update --preinstall`...
>
>
> ==> *Downloading 
> https://ghcr.io/v2/homebrew/core/openblas/manifests/0.3.19 
> <https://ghcr.io/v2/homebrew/core/openblas/manifests/0.3.19>*
>
> Already downloaded: 
> /Users/gms/Library/Caches/Homebrew/downloads/b47e3d834a9c52d0772b21372a675e3496a8480baa2f3e9b72d60def08682c3f--openblas-0.3.19.bottle_manifest.json
>
> ==> *Downloading 
> https://ghcr.io/v2/homebrew/core/openblas/blobs/sha256:33e6385102e69ddd716d8eb818861e2e2e2c08de20e06d189ffd69115131ed03
>  
> <https://ghcr.io/v2/homebrew/core/openblas/blobs/sha256:33e6385102e69ddd716d8eb818861e2e2e2c08de20e06d189ffd69115131ed03>*
>
> Already downloaded: 
> /Users/gms/Library/Caches/Homebrew/downloads/82003eb6c8dd0091f8465e8203b39d67e81d7db4c9e4d790e71f6b2e8445ab3f--openblas--0.3.19.arm64_big_sur.bottle.tar.gz
>
> ==> *Pouring openblas--0.3.19.arm64_big_sur.bottle.tar.gz*
>
> ==> *Caveats*
>
> openblas is keg-only, which means it was not symlinked into /opt/homebrew,
>
> because macOS provides BLAS in Accelerate.framework.
>
>
> For compilers to find openblas you may need to set:
>
>   export LDFLAGS="-L/opt/homebrew/opt/openblas/lib"
>
>   export CPPFLAGS="-I/opt/homebrew/opt/openblas/include"
>
>
> For pkg-config to find openblas you may need to set:
>
>   export PKG_CONFIG_PATH="/opt/homebrew/opt/openblas/lib/pkgconfig"
>
>
> ==> *Summary*
>
> 🍺  /opt/homebrew/Cellar/openblas/0.3.19: 23 files, 51.9MB
>
> ==> *Running `brew cleanup openblas`...*
>
> Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
>
> Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
>
> $ 
>
> then the modification for .homebrew-build-env, followed by make -k.
>
> And now the only remaining problem is openblas:
>
> * package:         openblas-0.3.18
>
>   last build time: Jan 17 02:24
>
>   log file:        
> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/openblas-0.3.18.log
>
>   build directory: 
> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/openblas-0.3.18
>
> Logs attached (sorry for the wrong log before).  The one for openblas is 
> zipped as it is too large.
>
> On Mon, 17 Jan 2022 at 00:34, Matthias Köppe <matthia...@gmail.com> wrote:
>
>> Also worth checking whether "brew install openblas" installs something new
>> (see messages at the end of the configure run)
>>
>> On Sunday, January 16, 2022 at 2:34:48 PM UTC-8 Matthias Köppe wrote:
>>
>>> There is no error in the zn_poly log file; but could you post the 
>>> openblas log file please?
>>>
>>> On Sunday, January 16, 2022 at 2:17:38 PM UTC-8 Matthias Köppe wrote:
>>>
>>>> Thanks for testing and posting the logs. I'll dissect the logs at 
>>>> https://trac.sagemath.org/ticket/30592
>>>>
>>>>
>>>> On Sunday, January 16, 2022 at 1:06:58 PM UTC-8 list...@gmail.com 
>>>> wrote:
>>>>
>>>>>
>>>>> I started afresh (delete sage-9.5.rc1, untar, etc.)
>>>>>
>>>>> make -k gives
>>>>>
>>>>> The following package(s) may have failed to build (not necessarily
>>>>>
>>>>> during this run of 'make tachyon'):
>>>>>
>>>>>
>>>>> * package:         primecountpy-0.1.0
>>>>>
>>>>>   last build time: Jan 16 21:55
>>>>>
>>>>>   log file:        
>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/primecountpy-0.1.0.log
>>>>>
>>>>>
>>>>> * package:         libhomfly-1.02r6
>>>>>
>>>>>   last build time: Jan 16 21:55
>>>>>
>>>>>   log file:        
>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/libhomfly-1.02r6.log
>>>>>
>>>>>   build directory: 
>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/libhomfly-1.02r6
>>>>>
>>>>>
>>>>> * package:         m4ri-20200115
>>>>>
>>>>>   last build time: Jan 16 21:55
>>>>>
>>>>>   log file:        
>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/m4ri-20200115.log
>>>>>
>>>>>   build directory: 
>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/m4ri-20200115
>>>>>
>>>>>
>>>>> * package:         openblas-0.3.18
>>>>>
>>>>>   last build time: Jan 16 21:58
>>>>>
>>>>>   log file:        
>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/openblas-0.3.18.log
>>>>>
>>>>>   build directory: 
>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/openblas-0.3.18
>>>>>
>>>>>
>>>>> * package:         tachyon-0.98.9.p7
>>>>>
>>>>>   last build time: Jan 16 21:59
>>>>>
>>>>>   log file:        
>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/tachyon-0.98.9.p7.log
>>>>>
>>>>>   build directory: 
>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/tachyon-0.98.9.p7
>>>>>
>>>>> Logs attached.
>>>>>
>>>>> On Sun, 16 Jan 2022 at 18:25, G. M.-S. <list...@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>> Here it is. Before:
>>>>>>
>>>>>> $ ls -al ~/sage/sage-9.5.rc1/local/include/cddlib/*
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff  13933 Jan 16 11:08 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cdd.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff  14714 Jan 16 11:08 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cdd_f.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff   4726 Jan 16 11:08 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cddmp.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff   4947 Jan 16 11:08 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cddmp_f.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff  10953 Jan 16 11:08 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cddtypes.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff  11307 Jan 16 11:08 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cddtypes_f.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff   1373 Jan 16 11:08 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/setoper.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff    609 Jan 16 11:08 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/splitmix64.h
>>>>>>
>>>>>> $ 
>>>>>> and after make cddlib-clean cddlib:
>>>>>>
>>>>>> $ ls -al ~/sage/sage-9.5.rc1/local/include/cddlib/*
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff  13933 Jan 16 18:21 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cdd.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff  14714 Jan 16 18:21 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cdd_f.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff   4726 Jan 16 18:21 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cddmp.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff   4947 Jan 16 18:21 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cddmp_f.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff  10953 Jan 16 18:21 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cddtypes.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff  11307 Jan 16 18:21 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cddtypes_f.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff   1373 Jan 16 18:21 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/setoper.h
>>>>>>
>>>>>> -rw-r--r--  1 gms  staff    609 Jan 16 18:21 
>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/splitmix64.h
>>>>>>
>>>>>> $ 
>>>>>>
>>>>>> Logs attached.
>>>>>>
>>>>>> Trying to make again, will report.
>>>>>>
>>>>>> On Sun, 16 Jan 2022 at 18:12, Matthias Köppe <matthia...@gmail.com> 
>>>>>> wrote:
>>>>>>
>>>>>>> From singular....log:
>>>>>>>
>>>>>>> In file included from bbfan.cc:17:
>>>>>>> In file included from ./gfan.h:18:
>>>>>>> /Users/gms/sage/sage-9.5.rc1/local/include/cddlib/cdd.h:26:10: fatal 
>>>>>>> error: 'cdd_f.h' file not found
>>>>>>> #include "cdd_f.h"
>>>>>>>          ^~~~~~~~~
>>>>>>> 1 error generated.
>>>>>>> make[10]: *** [gfanlib_la-bbfan.lo] Error 1
>>>>>>>
>>>>>>> This is very strange. Could you (1) check what's in 
>>>>>>> local/include/cddlib/ and (2) reinstall cddlib using "make cddlib-clean 
>>>>>>> cddlib"?
>>>>>>>
>>>>>>>
>>>>>>> On Sunday, January 16, 2022 at 2:17:58 AM UTC-8 list...@gmail.com 
>>>>>>> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> There was no /usr/local/opt.
>>>>>>>> I eliminated all references to /usr/local/opt in .bash_profile.
>>>>>>>> Uninstalled homebrew and reinstalled it.
>>>>>>>>
>>>>>>>> I get
>>>>>>>>
>>>>>>>> make[2]: *** [all-start] Error 2
>>>>>>>>
>>>>>>>>
>>>>>>>> real 4m27.295s
>>>>>>>>
>>>>>>>> user 12m14.754s
>>>>>>>>
>>>>>>>> sys 3m20.702s
>>>>>>>>
>>>>>>>> ***************************************************************
>>>>>>>>
>>>>>>>> Error building Sage.
>>>>>>>>
>>>>>>>>
>>>>>>>> The following package(s) may have failed to build (not necessarily
>>>>>>>>
>>>>>>>> during this run of 'make all-start'):
>>>>>>>>
>>>>>>>>
>>>>>>>> * package:         iml-1.0.4p1.p2
>>>>>>>>
>>>>>>>>   last build time: Jan 16 00:17
>>>>>>>>
>>>>>>>>   log file:        
>>>>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/iml-1.0.4p1.p2.log
>>>>>>>>
>>>>>>>>   build directory: 
>>>>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/iml-1.0.4p1.p2
>>>>>>>>
>>>>>>>>
>>>>>>>> * package:         singular-4.2.1p3
>>>>>>>>
>>>>>>>>   last build time: Jan 16 00:18
>>>>>>>>
>>>>>>>>   log file:        
>>>>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/singular-4.2.1p3.log
>>>>>>>>
>>>>>>>>   build directory: 
>>>>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/singular-4.2.1p3
>>>>>>>>
>>>>>>>>
>>>>>>>> * package:         tachyon-0.98.9.p7
>>>>>>>>
>>>>>>>>   last build time: Jan 16 11:08
>>>>>>>>
>>>>>>>>   log file:        
>>>>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/tachyon-0.98.9.p7.log
>>>>>>>>
>>>>>>>>   build directory: 
>>>>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/tachyon-0.98.9.p7
>>>>>>>>
>>>>>>>>
>>>>>>>> [...]
>>>>>>>>
>>>>>>>>
>>>>>>>> make[1]: *** [all-start] Error 1
>>>>>>>>
>>>>>>>> make: *** [all] Error 2
>>>>>>>>
>>>>>>>> Logs attached.
>>>>>>>>
>>>>>>>> On Sun, 16 Jan 2022 at 01:38, Matthias Köppe <matthia...@gmail.com> 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> It looks like you have homebrew installed both for x86_64 (in 
>>>>>>>>> /usr/local) and for arm64 (in /opt/homebrew). Could you check if 
>>>>>>>>> moving 
>>>>>>>>> /usr/local out of the way fixes the build errors?
>>>>>>>>>
>>>>>>>>> On Saturday, January 15, 2022 at 4:25:49 PM UTC-8 
>>>>>>>>> list...@gmail.com wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Here it is.
>>>>>>>>>>
>>>>>>>>>> On Sun, 16 Jan 2022 at 01:23, Matthias Köppe <
>>>>>>>>>> matthia...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> config.log please
>>>>>>>>>>>
>>>>>>>>>>> On Saturday, January 15, 2022 at 3:24:58 PM UTC-8 
>>>>>>>>>>> list...@gmail.com wrote:
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Trying to build on an M1 Mac under macOS 11.6.2, I get
>>>>>>>>>>>>
>>>>>>>>>>>> make[2]: *** [all-start] Error 2
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> real 3m36.733s
>>>>>>>>>>>>
>>>>>>>>>>>> user 4m58.426s
>>>>>>>>>>>>
>>>>>>>>>>>> sys 1m2.949s
>>>>>>>>>>>>
>>>>>>>>>>>> ***************************************************************
>>>>>>>>>>>>
>>>>>>>>>>>> Error building Sage.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> The following package(s) may have failed to build (not 
>>>>>>>>>>>> necessarily
>>>>>>>>>>>>
>>>>>>>>>>>> during this run of 'make all-start'):
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> * package:         zn_poly-0.9.2
>>>>>>>>>>>>
>>>>>>>>>>>>   last build time: Jan 16 00:17
>>>>>>>>>>>>
>>>>>>>>>>>>   log file:        
>>>>>>>>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/zn_poly-0.9.2.log
>>>>>>>>>>>>
>>>>>>>>>>>>   build directory: 
>>>>>>>>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/zn_poly-0.9.2
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> * package:         ratpoints-2.1.3.p5
>>>>>>>>>>>>
>>>>>>>>>>>>   last build time: Jan 16 00:17
>>>>>>>>>>>>
>>>>>>>>>>>>   log file:        
>>>>>>>>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/ratpoints-2.1.3.p5.log
>>>>>>>>>>>>
>>>>>>>>>>>>   build directory: 
>>>>>>>>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/ratpoints-2.1.3.p5
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> * package:         iml-1.0.4p1.p2
>>>>>>>>>>>>
>>>>>>>>>>>>   last build time: Jan 16 00:17
>>>>>>>>>>>>
>>>>>>>>>>>>   log file:        
>>>>>>>>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/iml-1.0.4p1.p2.log
>>>>>>>>>>>>
>>>>>>>>>>>>   build directory: 
>>>>>>>>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/iml-1.0.4p1.p2
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> * package:         singular-4.2.1p3
>>>>>>>>>>>>
>>>>>>>>>>>>   last build time: Jan 16 00:18
>>>>>>>>>>>>
>>>>>>>>>>>>   log file:        
>>>>>>>>>>>> /Users/gms/sage/sage-9.5.rc1/logs/pkgs/singular-4.2.1p3.log
>>>>>>>>>>>>
>>>>>>>>>>>>   build directory: 
>>>>>>>>>>>> /Users/gms/sage/sage-9.5.rc1/local/var/tmp/sage/build/singular-4.2.1p3
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> [...]
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> make[1]: *** [all-start] Error 1
>>>>>>>>>>>>
>>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>>
>>>>>>>>>>>> Logs attached.
>>>>>>>>>>>>
>>>>>>>>>>>> HTH
>>>>>>>>>>>>
>>>>>>>>>>>> Guillermo
>>>>>>>>>>>>
>>>>>>>>>>>> On Sat, 15 Jan 2022 at 22:01, Matthias Köppe <
>>>>>>>>>>>> matthia...@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Based on the runs on GH Actions, I have updated the summary of 
>>>>>>>>>>>>> platform support in 
>>>>>>>>>>>>> https://wiki.sagemath.org/ReleaseTours/sage-9.5#Sources
>>>>>>>>>>>>>
>>>>>>>>>>>>> TL;DR: It's all good now on all platforms tested on GH 
>>>>>>>>>>>>> Actions, including Cygwin.
>>>>>>>>>>>>> But I would urge that 9.5 still merge the positively reviews 
>>>>>>>>>>>>> tickets marked "critical"/"blocker", such as 
>>>>>>>>>>>>> https://trac.sagemath.org/ticket/29285 (which fixes the build 
>>>>>>>>>>>>> in the presence of pyenv).
>>>>>>>>>>>>> Also *note we have absolutely no automatic testing for the 
>>>>>>>>>>>>> Apple Silicon (M1) platform.* So it would be good if 
>>>>>>>>>>>>> users/developers who have access to this platform test the 
>>>>>>>>>>>>> release 
>>>>>>>>>>>>> candidate.
>>>>>>>>>>>>>
>>>>>>>>>>>>  
>>>>>>
>>>>> -- 
>>
> 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/6c819ea9-b26e-4a5d-80ae-f9c383e4b3cdn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-release/6c819ea9-b26e-4a5d-80ae-f9c383e4b3cdn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/995e9792-13ee-43ab-ba35-7f669d14c6aan%40googlegroups.com.

Reply via email to