Macaulay2 / Macaulay2/M2

Unclear failures in autotools build

Open
#4,198 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build issue
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

Since #4153, it's really hard to tell what's failing in the autotools build. For instance, what is failing here?

: installing package Book3264Examples
/usr/bin/install -c -d Book3264Examples-temporary
make: Entering directory `/Users/runner/work/M2/M2/M2/BUILD/build/Macaulay2/packages/Book3264Examples-temporary'
cd Book3264Examples-temporary && /Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/aarch64-Darwin-MacOS-15.7.4/bin/M2  -q --stop --silent --no-preload -e errorDepth=0 -e debugLevel=0  -e "installPackage(\"Book3264Examples\", MakeDocumentation => true, MakeHTML => true, MakeInfo => true, MakePDF => false, RemakeAllDocumentation => false, IgnoreExampleErrors => false, RerunExamples => false, CheckDocumentation => true, UserMode => false, Verbose => false, InstallPrefix => \"/Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/\", SeparateExec => true, DebuggingMode => true); exit 0"
 -- 1.9511s elapsed
 -- capturing example results for "qsAlgorithm"                              -- .218327s elapsed
 -- capturing example results for "qsIsomorphism"                            -- capture failed; retrying ...
 -- making example results for "qsIsomorphism"                               -- capturing example results for "Intersection Theory Section 5.4.3"        -- capture failed; retrying ...
 -- making example results for "Intersection Theory Section 5.4.3"           -- 1.94973s elapsed
 -- 2.66696s elapsed
 -- capturing example results for "Intersection Theory Section 5.4.4"        -- capture failed; retrying ...
 -- making example results for "Intersection Theory Section 5.4.4"           -- 2.53047s elapsed
 -- capturing example results for "Intersection Theory Section 5.4.1-2"      -- capture failed; retrying ...
 -- making example results for "Intersection Theory Section 5.4.1-2"         -- warning: missing node: getMaxIdeal(...,Verbose=>...) cited by getMaxIdeal
 -- warning: missing node: patch(...,Verbose=>...) cited by patch
 -- warning: missing node: changeVar(...,Verbose=>...) cited by changeVar
 -- warning: missing node: completeMatrix(...,Verbose=>...) cited by completeMatrix
 -- 2.33256s elapsed
 -- capturing example results for "Intersection Theory Section 4.1"          -- capture failed; retrying ...
 -- making example results for "Intersection Theory Section 4.1"             -- warning: missing node: qsAlgorithm(...,Verbose=>...) cited by qsAlgorithm
 -- warning: missing node: computeFreeBasis(...,Verbose=>...) cited by computeFreeBasis
 -- warning: missing node: qsIsomorphism(...,Verbose=>...) cited by qsIsomorphism
make: Leaving directory `/Users/runner/work/M2/M2/M2/BUILD/build/Macaulay2/packages/QuillenSuslin-temporary'
ls -l QuillenSuslin-temporary
total 0
rm -rf QuillenSuslin-temporary
if [ -e /Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/common/share/info/QuillenSuslin.info ]; then install-info --info-dir=/Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/common/share/info /Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/common/share/info/QuillenSuslin.info; fi
: installing package WeilDivisors
/usr/bin/install -c -d WeilDivisors-temporary
make: Entering directory `/Users/runner/work/M2/M2/M2/BUILD/build/Macaulay2/packages/WeilDivisors-temporary'
cd WeilDivisors-temporary && /Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/aarch64-Darwin-MacOS-15.7.4/bin/M2  -q --stop --silent --no-preload -e errorDepth=0 -e debugLevel=0  -e "installPackage(\"WeilDivisors\", MakeDocumentation => true, MakeHTML => true, MakeInfo => true, MakePDF => false, RemakeAllDocumentation => false, IgnoreExampleErrors => false, RerunExamples => false, CheckDocumentation => true, UserMode => false, Verbose => false, InstallPrefix => \"/Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/\", SeparateExec => true, DebuggingMode => true); exit 0"
 -- 2.31351s elapsed
 -- capturing example results for "Intersection Theory Section 4.2"          -- capture failed; retrying ...
 -- making example results for "Intersection Theory Section 4.2"            ../../../../../Macaulay2/m2/methods.m2:400:20:(1):[15]: error: can't convert symbol 'Safe' to external string because it is shadowed by 'Safe' and there is no synonym
../../../../../Macaulay2/packages/TestIdeals/frobeniusPowers.m2:98:35-98:39: here is the first use of 'Safe'
-* invalid file position *-: here is the first use of 'Safe'
../../../../../Macaulay2/m2/nets.m2:85:98:(1):[13]: --back trace--
../../../../../Macaulay2/m2/nets.m2:85:33:(1):[12]: --back trace--
../../../../../Macaulay2/m2/packages.m2:593:53:(1):[10]: --back trace--
../../../../../Macaulay2/m2/installPackage.m2:755:44:(1):[9]: --back trace--
../../../../../Macaulay2/m2/installPackage.m2:752:12:(1):[8]: --back trace--
../../../../../Macaulay2/m2/methods.m2:154:98:(1):[7]: --back trace--
../../../../../Macaulay2/m2/option.m2:17:14:(1):[6]: --back trace--
../../../../../Macaulay2/m2/installPackage.m2:668:18:(1):[5]: --back trace--
../../../../../Macaulay2/m2/methods.m2:154:98:(1):[4]: --back trace--
../../../../../Macaulay2/m2/option.m2:17:14:(1):[3]: --back trace--
currentString:1:14:(3):[2]: --back trace--
../../../../../Macaulay2/m2/startup.m2.in:557:36:(0):[1]: --back trace--
../../../../../Macaulay2/m2/startup.m2.in:635:41:(2): --back trace--
make[2]: *** [Makefile:108: /Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/aarch64-Darwin-MacOS-15.7.4/lib/Macaulay2/WeilDivisors/.installed] Error 1
make[2]: *** Waiting for unfinished jobs....
 -- 2.04219s elapsed

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the WeilDivisors install target at Makefile:108 and the linked GitHub Actions run, then trace the error through m2/installPackage.m2 and m2/methods.m2. Reproduce the autotools build and determine how the reported failure can identify the underlying error instead of only showing capture retries; done means the failing package and cause are clear in the build output.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.