One way to keep a good record of this failed build would be
```
$ THE_REPORT=sage-9-5-b9-fail-openblas
$ REPORTS=$HOME/sage-reports

$ REPORT=$REPORTS/$THE_REPORT
$ mkdir -p $REPORT

$ brew config > $REPORT/brew-config.txt
$ brew list --versions > $REPORT/brew-list-versions.txt

$ xcode-select -p > $REPORT/xcode-select-p.txt
$ xcode-select --version > $REPORT/xcode-select-version.txt
$ xcodebuild -version > $REPORT/xcodebuild-version

$ sysctl -n hw.ncpu > $REPORT/ncpu.txt
$ CLTOOLS=com.apple.pkg.CLTools_Executables
$ pkgutil --pkg-info=$CLTOOLS > $REPORT/cltools.txt

$ cd /Applications/SageMath
$ rsync -a config.log $REPORT
$ rsync -a logs/install.log $REPORT
$ rsync -a logs/pkgs/scipy*.log $REPORT
$ rsync -a logs/pkgs/openblas*.log $REPORT

$ (cd $REPORTS $$ tar cJf $THE_REPORT.tar.xz $THE_REPORT)
```

This will produce a compressed archive called
`~/sage-reports/sage-9-5-b9-fail-openblas.tar.xz`
which if you want you can upload somewhere (like dropbox,
wetransfer, etc) and email a link to for someone to have
a look; or you could even send it as an attachment,
as it should have a very moderate size.

After doing that, I would suggest to try the following.

Get a few more packages from Homebrew
```
$ brew update
$ brew upgrade
$ brew install \
  arb autoconf automake bdw-gc boost bzip2 cbc cmake curl ecl \
  flint fplll freetype gcc gd gengetopt gettext git glpk gmp \
  gpatch graphviz gsl igraph isl libatomic_ops libffi libiconv \
  libmpc libpng libtool libxml2 llvm mpfi mpfr nauty ncurses \
  ninja ntl openblas openssl pari pari-elldata pari-galdata \
  pari-galpol pari-seadata pcre pdf2svg pkg-config ppl python3 \
  qhull r readline singular sqlite suite-sparse texinfo tox xz \
  zeromq zlib
```

Get the latest development version of Sage
```
$ cd /Applications/SageMath
$ git checkout develop
$ git pull origin develop --tags -q
```

Check branch (should say SageMath 9.5.rc0)
```
$ git branch -vv
```

Clean up the last build attempt and start from scratch
```
$ export MAKE='make -j8'
$ export V=0
$ make -s distclean
$ source .homebrew-build-env
$ ./bootstrap -q
$ ./configure --enable-lrslib
$ make -s
```

If this fails, you could produce a report as above,
but naming the report differently, for instance
```
$ THE_REPORT=sage-9-5-rc0-2022-01-10
```
and adapting which log files you include (usually
it's good to include config.log and logs/install.log,
and select from logs/pkgs/*.log those that failed).

Of course feel free to adapt what information you
want to include in your report.  --Samuel

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/298efb1e-b6d4-46c6-8e57-059ffffb8bfen%40googlegroups.com.

Reply via email to