I put in 3 debug lines into real_configure around line 98987

echo "Line 98987 ------------------------------------------------------------------" $SAGE_BOOTSTRAP_PYTHON build/bin/sage-package properties --format=shell $SPKGS echo "Line 98989 ------------------------------------------------------------------"

and got this output:

real_configure: will use system package and not install SPKG zeromq
## ----------------------------------------------------------------------- ##
## Build status for each package:         ##
## ----------------------------------------------------------------------- ## Line 98987 ------------------------------------------------------------------
Traceback (most recent call last):
  File "build/bin/sage-package", line 38, in <module>
    from sage_bootstrap.cmdline import run
  File "build/bin/../sage_bootstrap/cmdline.py", line 33, in <module>
    from sage_bootstrap.app import Application
  File "build/bin/../sage_bootstrap/app.py", line 34, in <module>
    from sage_bootstrap.tarball import Tarball, FileNotMirroredError
  File "build/bin/../sage_bootstrap/tarball.py", line 23, in <module>
    from sage_bootstrap.download import Download, MirrorList
  File "build/bin/../sage_bootstrap/download/__init__.py", line 7, in <module>
    from sage_bootstrap.download.transfer import Download
  File "build/bin/../sage_bootstrap/download/transfer.py", line 24, in <module>
    from urllib.request import build_opener, install_opener, urlretrieve
ImportError: No module named request
Line 98989 ------------------------------------------------------------------
real_configure: error: Package directory missing. Re-run bootstrap.

Do I need to dump properties too, so we can figure out why this crash is occurring?

Randall

On 1/6/26 15:15, Dima Pasechnik wrote:
it might help if you posted config.log here.

It's not at all clear what exactly is failing for you in ./configure



On January 6, 2026 4:29:55 PM CST, American Citizen <[email protected]> 
wrote:
I am trying to understand why this section in the "real_configure" script is 
failing

# Generated by SAGE_ROOT/bootstrap; do not edit

printf "%s\n" "## 
----------------------------------------------------------------------- ##
## Build status for each package:           ##
## ----------------------------------------------------------------------- ##" 
>& 6
printf "%s\n" "## 
----------------------------------------------------------------------- ##
## Build status for each package:           ##
## ----------------------------------------------------------------------- ##" 
>& 5
SPKGS="4ti2 _bootstrap _develop _gcc10 _gcc11 _gcc12 _gcc8 _gcc9  [hundreds of pkgs] 
... xz zeromq zipp"
if properties=$($SAGE_BOOTSTRAP_PYTHON build/bin/sage-package properties --format=shell $SPKGS 
2>& 5) && eval $properties
then :

else $as_nop

     as_fn_error $? "Package directory missing. Re-run bootstrap." "$LINENO" 5
fi
There are 436 files in this line, but I actually took a look at the build/pkgs 
folder and I have 442 actually there.

The 6 missing in the real_configure script line are

< _python3.10
< _python3.11
< _python3.12
< _python3.9
< palettable
< pint

The actual 436 pkg names match exactly.

So I actually have more files in the build/pkgs area than the script line in 
real_configure.

Why is a failure occurring here? is eval(properties) failing?

Randall



--
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-support/cbced2bb-5e8c-478c-b583-dc87b1c0c5c8%40gmail.com.

Reply via email to