On Fri, Mar 28, 2025 at 06:14:50AM -0700, Ben Salisbury wrote:
> I looked through past messages and didn't see a similar issue (though I 
> don't doubt that it did and I just missed it).  I updated and upgraded 
> Homebrew and reinstalled perl but got exactly the same error.  Here is the 
> output again and, below that, is info on my perl version.

My bad, sorry - you need to reinstall the failing perl's consumer,
which still tries to use Perl which is no longer there.
(I think it's autoconf Homebrew package you need to re-install)

Dima


> 
>  make configure
> ./bootstrap -d
> rm -rf config/install-sh config/compile config/config.guess 
> config/config.sub config/missing configure build/make/Makefile-auto.in
> rm -f src/doc/en/installation/*.txt
> find src/doc/en/reference/spkg -maxdepth 1 -name index.rst -prune -o -name 
> "*.rst" -exec rm -f {} \+
> for a in environment environment-optional src/environment 
> src/environment-optional; do rm -f $a.yml $a-3.[89].yml $a-3.1[0-9].yml; 
> done
> rm -f src/requirements.txt
> rm -f src/setup.cfg
> rm -f build/pkgs/cypari/version_requirements.txt
> rm -f build/pkgs/cysignals/version_requirements.txt
> rm -f build/pkgs/cython/version_requirements.txt
> rm -f build/pkgs/gmpy2/version_requirements.txt
> rm -f build/pkgs/jupyter_core/version_requirements.txt
> rm -f build/pkgs/memory_allocator/version_requirements.txt
> rm -f build/pkgs/numpy/version_requirements.txt
> rm -f build/pkgs/pkgconfig/version_requirements.txt
> rm -f build/pkgs/pplpy/version_requirements.txt
> rm -f build/pkgs/setuptools/version_requirements.txt
> rm -f build/pkgs/wheel/version_requirements.txt
> bootstrap:40: installing 'build/pkgs/cypari/version_requirements.txt'
> bootstrap:40: installing 'build/pkgs/cysignals/version_requirements.txt'
> bootstrap:40: installing 'build/pkgs/cython/version_requirements.txt'
> bootstrap:40: installing 'build/pkgs/gmpy2/version_requirements.txt'
> bootstrap:40: installing 'build/pkgs/jupyter_core/version_requirements.txt'
> bootstrap:40: installing 
> 'build/pkgs/memory_allocator/version_requirements.txt'
> bootstrap:40: installing 'build/pkgs/numpy/version_requirements.txt'
> bootstrap:40: installing 'build/pkgs/pkgconfig/version_requirements.txt'
> bootstrap:40: installing 'build/pkgs/pplpy/version_requirements.txt'
> bootstrap:40: installing 'build/pkgs/setuptools/version_requirements.txt'
> bootstrap:40: installing 'build/pkgs/wheel/version_requirements.txt'
> bootstrap:47: installing 'm4/sage_spkg_configures.m4'
> bootstrap:47: installing 'm4/sage_spkg_versions.m4'
> bootstrap:47: installing 'm4/sage_spkg_versions_toml.m4'
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagelib/src/requirements.txt
> ./bootstrap: installing /Users/ben/sage/build/pkgs/sagelib/src/setup.cfg
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_bliss/src/pyproject.toml
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_bliss/src/requirements.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_categories/src/MANIFEST.in
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_categories/src/pyproject.toml
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_categories/src/requirements-editable.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_categories/src/requirements.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_coxeter3/src/pyproject.toml
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_coxeter3/src/requirements.txt
> ./bootstrap:74: installing src/doc/en/installation/arch*.txt
> ./bootstrap:74: installing src/doc/en/installation/debian*.txt
> ./bootstrap:74: installing src/doc/en/installation/fedora*.txt
> ./bootstrap:74: installing src/doc/en/installation/homebrew*.txt
> ./bootstrap:74: installing src/doc/en/installation/opensuse*.txt
> ./bootstrap:74: installing src/doc/en/installation/void*.txt
> ./bootstrap:85: installing src/doc/en/reference/spkg/*.rst
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_environment/src/pyproject.toml
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_environment/src/requirements-editable.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_environment/src/requirements.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_mcqd/src/pyproject.toml
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_mcqd/src/requirements.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_meataxe/src/pyproject.toml
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_meataxe/src/requirements.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_objects/src/pyproject.toml
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_objects/src/requirements-editable.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_objects/src/requirements.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_repl/src/pyproject.toml
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_repl/src/requirements-editable.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_repl/src/requirements.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_sirocco/src/pyproject.toml
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_sirocco/src/requirements.txt
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_tdlib/src/pyproject.toml
> ./bootstrap: installing 
> /Users/ben/sage/build/pkgs/sagemath_tdlib/src/requirements.txt
> sh: /opt/homebrew/bin/autom4te: /usr/bin/perl5.30: bad interpreter: No such 
> file or directory
> aclocal: error: autom4te failed with exit status: 126
> make: *** [configure] Error 126
> 
> 
>  brew info perl
> ==> perl: stable 5.40.1 (bottled), HEAD
> Highly capable, feature-rich programming language
> https://www.perl.org/
> Installed
> /opt/homebrew/Cellar/perl/5.40.1 (2,781 files, 69.9MB) *
>   Poured from bottle using the formulae.brew.sh API on 2025-03-28 at 
> 08:56:41
> From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/p/perl.rb
> License: Artistic-1.0-Perl OR GPL-1.0-or-later
> ==> Dependencies
> Required: berkeley-db@5 ✔, gdbm ✔
> ==> Options
> --HEAD
> Install HEAD version
> ==> Caveats
> By default non-brewed cpan modules are installed to the Cellar. If you wish
> for your modules to persist across updates we recommend using `local::lib`.
> 
> You can set that up like this:
>   PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
> And add the following to your shell profile e.g. ~/.profile or ~/.zshrc
>   eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"
> ==> Analytics
> install: 14,196 (30 days), 51,422 (90 days), 196,004 (365 days)
> install-on-request: 4,053 (30 days), 16,105 (90 days), 57,847 (365 days)
> build-error: 10 (30 days)
> 
> On Thursday, March 27, 2025 at 6:10:28 PM UTC-4 dim...@gmail.com wrote:
> 
> > it is a Homebrew issue, I forgot where it was mentioned. (search the last 
> > couple of weeks of messages here)
> > Update/upgrade Homebrew, reinstall perl.
> >
> >
> >
> > On 27 March 2025 15:50:47 GMT-05:00, Ben Salisbury <bsali...@gmail.com> 
> > wrote:
> >
> >> Hi all.  I hope I have a minor error here that I'm missing.  I'm 
> >> attempting to upgrade Sage after a while on a MBP with M1 Max running 
> >> Sequoia 15.3.2.  I've confirmed that command line tools are installed. Then
> >>
> >>    - I pulled from the develop branch
> >>    - ran `make distclean`
> >>    - ensured that all Homebrew packages were installed and up-to-date
> >>    - ran `source ./.homebrew-build-env`
> >>    - ran `make build -j8`
> >>
> >> The build only lasts for a few seconds and here is complete (short) 
> >> terminal output.  Any idea what's going wrong?
> >>
> >> '''
> >>  make build -j8
> >> /Library/Developer/CommandLineTools/usr/bin/make build/make/Makefile 
> >> --stop
> >> ./bootstrap -d
> >> rm -rf config/install-sh config/compile config/config.guess 
> >> config/config.sub config/missing configure build/make/Makefile-auto.in
> >> rm -f src/doc/en/installation/*.txt
> >> find src/doc/en/reference/spkg -maxdepth 1 -name index.rst -prune -o 
> >> -name "*.rst" -exec rm -f {} \+
> >> for a in environment environment-optional src/environment 
> >> src/environment-optional; do rm -f $a.yml $a-3.[89].yml $a-3.1[0-9].yml; 
> >> done
> >> rm -f src/requirements.txt
> >> rm -f src/setup.cfg
> >> rm -f build/pkgs/cypari/version_requirements.txt
> >> rm -f build/pkgs/cysignals/version_requirements.txt
> >> rm -f build/pkgs/cython/version_requirements.txt
> >> rm -f build/pkgs/gmpy2/version_requirements.txt
> >> rm -f build/pkgs/jupyter_core/version_requirements.txt
> >> rm -f build/pkgs/memory_allocator/version_requirements.txt
> >> rm -f build/pkgs/numpy/version_requirements.txt
> >> rm -f build/pkgs/pkgconfig/version_requirements.txt
> >> rm -f build/pkgs/pplpy/version_requirements.txt
> >> rm -f build/pkgs/setuptools/version_requirements.txt
> >> rm -f build/pkgs/wheel/version_requirements.txt
> >> bootstrap:40: installing 'build/pkgs/cypari/version_requirements.txt'
> >> bootstrap:40: installing 'build/pkgs/cysignals/version_requirements.txt'
> >> bootstrap:40: installing 'build/pkgs/cython/version_requirements.txt'
> >> bootstrap:40: installing 'build/pkgs/gmpy2/version_requirements.txt'
> >> bootstrap:40: installing 
> >> 'build/pkgs/jupyter_core/version_requirements.txt'
> >> bootstrap:40: installing 
> >> 'build/pkgs/memory_allocator/version_requirements.txt'
> >> bootstrap:40: installing 'build/pkgs/numpy/version_requirements.txt'
> >> bootstrap:40: installing 'build/pkgs/pkgconfig/version_requirements.txt'
> >> bootstrap:40: installing 'build/pkgs/pplpy/version_requirements.txt'
> >> bootstrap:40: installing 'build/pkgs/setuptools/version_requirements.txt'
> >> bootstrap:40: installing 'build/pkgs/wheel/version_requirements.txt'
> >> bootstrap:47: installing 'm4/sage_spkg_configures.m4'
> >> bootstrap:47: installing 'm4/sage_spkg_versions.m4'
> >> bootstrap:47: installing 'm4/sage_spkg_versions_toml.m4'
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagelib/src/requirements.txt
> >> ./bootstrap: installing /Users/ben/sage/build/pkgs/sagelib/src/setup.cfg
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_bliss/src/pyproject.toml
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_bliss/src/requirements.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_categories/src/MANIFEST.in
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_categories/src/pyproject.toml
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_categories/src/requirements-editable.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_categories/src/requirements.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_coxeter3/src/pyproject.toml
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_coxeter3/src/requirements.txt
> >> ./bootstrap:74: installing src/doc/en/installation/arch*.txt
> >> ./bootstrap:74: installing src/doc/en/installation/debian*.txt
> >> ./bootstrap:74: installing src/doc/en/installation/fedora*.txt
> >> ./bootstrap:74: installing src/doc/en/installation/homebrew*.txt
> >> ./bootstrap:74: installing src/doc/en/installation/opensuse*.txt
> >> ./bootstrap:74: installing src/doc/en/installation/void*.txt
> >> ./bootstrap:85: installing src/doc/en/reference/spkg/*.rst
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_environment/src/pyproject.toml
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_environment/src/requirements-editable.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_environment/src/requirements.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_mcqd/src/pyproject.toml
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_mcqd/src/requirements.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_meataxe/src/pyproject.toml
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_meataxe/src/requirements.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_objects/src/pyproject.toml
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_objects/src/requirements-editable.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_objects/src/requirements.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_repl/src/pyproject.toml
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_repl/src/requirements-editable.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_repl/src/requirements.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_sirocco/src/pyproject.toml
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_sirocco/src/requirements.txt
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_tdlib/src/pyproject.toml
> >> ./bootstrap: installing 
> >> /Users/ben/sage/build/pkgs/sagemath_tdlib/src/requirements.txt
> >> sh: /opt/homebrew/bin/autom4te: /usr/bin/perl5.30: bad interpreter: No 
> >> such file or directory
> >> aclocal: error: autom4te failed with exit status: 126
> >> make[1]: *** [configure] Error 126
> >> make: *** [base-toolchain] Error 2
> >> '''
> >>
> >>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion visit 
> https://groups.google.com/d/msgid/sage-support/549b23fc-c4b2-4f5c-a964-33bda8738152n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-support/Z-a8e966b8pB-Jud%40tarski.

Attachment: signature.asc
Description: PGP signature

Reply via email to