Unfortunately, that did not seem to work.

Here are the last few lines of the terminal output and I've attached the
numpy log.

[singular-4.1.1p2.p0] real 28m38.843s

[singular-4.1.1p2.p0] user 24m18.545s

[singular-4.1.1p2.p0] sys 3m53.423s

[singular-4.1.1p2.p0] Copying package files from temporary location
/Users/trevorkarn/Applications/sage/local/var/tmp/sage/build/singular-4.1.1p2.p0/inst
to /Users/trevorkarn/Applications/sage/local

[singular-4.1.1p2.p0] Successfully installed singular-4.1.1p2.p0

[singular-4.1.1p2.p0] Deleting temporary build directory

[singular-4.1.1p2.p0]
/Users/trevorkarn/Applications/sage/local/var/tmp/sage/build/singular-4.1.1p2.p0

[singular-4.1.1p2.p0] Finished installing singular-4.1.1p2.p0

make[2]: *** [all-build] Error 2


real 182m14.796s

user 355m33.883s

sys 72m32.388s

***************************************************************

Error building Sage.


The following package(s) may have failed to build (not necessarily

during this run of 'make all-build'):


* package:         numpy-1.19.4

  last build time: Feb 8 19:48

  log file:
/Users/trevorkarn/Applications/sage/logs/pkgs/numpy-1.19.4.log

  build directory:
/Users/trevorkarn/Applications/sage/local/var/tmp/sage/build/numpy-1.19.4


It is safe to delete any log files and build directories, but they

contain information that is helpful for debugging build problems.

WARNING: If you now run 'make' again, the build directory of the

same version of the package will, by default, be deleted. Set the

environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.


make[1]: *** [all-build] Error 1

make: *** [build] Error 2

trevorkarn@Trevors-MacBook-Air sage %


Best Regards,

Trevor Karn


On Mon, Feb 8, 2021 at 1:56 PM Zachary Scherr <[email protected]> wrote:

> yea, something seems messed up.  For example, the numpy problem was fixed
> on beta 6 and should still be fixed in beta 7.  It looks like somehow you
> have old files hanging around which are causing problems.  Hopefully make
> distclean will clean everything and let you start fresh.
>
> On Monday, February 8, 2021 at 2:25:16 PM UTC-5 Trevor Karn wrote:
>
>> I must have typed it wrong. The second option you gave failed on numpy,
>> but I tried the first option again, and it is compiling.
>>
>> Best Regards,
>>
>> Trevor Karn
>>
>>
>> On Mon, Feb 8, 2021 at 11:31 AM Zachary Scherr <[email protected]> wrote:
>>
>>> Are you sure you typed it correctly? Maybe try running
>>>
>>> ./bootstrap
>>>
>>> to make sure that the make targets are in order.
>>>
>>> On Monday, February 8, 2021 at 12:27:01 PM UTC-5 Trevor Karn wrote:
>>>
>>>> I tried make distclean and got an error “make: *** No rule to make
>>>> target ‘distclean’. Stop.”
>>>>
>>>> So I tried your second suggestion and it seems to be working so far,
>>>> but it is still compiling.
>>>>
>>>> On Mon, Feb 8, 2021 at 10:29 AM Zachary Scherr <[email protected]>
>>>> wrote:
>>>>
>>>>> Probably the thing to try would be:
>>>>>
>>>>> make distclean
>>>>>
>>>>> and then you can build from scratch via:
>>>>>
>>>>> ./bootstrap
>>>>> source .homebrew-build-env
>>>>> ./configure
>>>>> make -j4 build
>>>>>
>>>>> But if you want to try cleaning wheel first before starting from
>>>>> scratch, you could just try
>>>>>
>>>>> make wheel-clean
>>>>> make -j4 build
>>>>>
>>>>> but it might be better to clean everything and start from scratch.
>>>>>
>>>>> On Monday, February 8, 2021 at 10:59:05 AM UTC-5 Trevor Karn wrote:
>>>>>
>>>>>> I do not see pep425tags.py in that directory.
>>>>>>
>>>>>> trevorkarn@Trevors-MacBook-Air sage % cd
>>>>>> /Users/trevorkarn/Applications/sage/local/lib/python3.9/site-packages/wheel/
>>>>>>
>>>>>> trevorkarn@Trevors-MacBook-Air wheel % ls
>>>>>>
>>>>>> __init__.py __pycache__ cli metadata.py util.py wheelfile.py
>>>>>>
>>>>>> __main__.py bdist_wheel.py macosx_libfile.py pkginfo.py vendored
>>>>>>
>>>>>> Is there a way to clean the build environment?
>>>>>>
>>>>>> Best Regards,
>>>>>>
>>>>>> Trevor Karn
>>>>>>
>>>>>>
>>>>>> On Mon, Feb 8, 2021 at 9:54 AM Dima Pasechnik <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> the only explanation for pep425tags.py would be an unclean build
>>>>>>> environment - e.g. weird env vars set, or strange stuff in PATH.
>>>>>>>
>>>>>>> On Mon, Feb 8, 2021 at 3:51 PM Zachary Scherr <[email protected]>
>>>>>>> wrote:
>>>>>>> >
>>>>>>> > and do you see that pep425tags.py file in that directory?
>>>>>>> >
>>>>>>> > On Monday, February 8, 2021 at 10:21:09 AM UTC-5 Trevor Karn wrote:
>>>>>>> >>
>>>>>>> >> The only contents of the file you pointed me towards are
>>>>>>> >>
>>>>>>> >> __version__ = '0.36.2'
>>>>>>> >>
>>>>>>> >> Best Regards,
>>>>>>> >>
>>>>>>> >> Trevor Karn
>>>>>>> >>
>>>>>>> >>
>>>>>>> >> On Mon, Feb 8, 2021 at 9:09 AM Zachary Scherr <[email protected]>
>>>>>>> wrote:
>>>>>>> >>>
>>>>>>> >>> I really don't understand.  The Cython log file shows that the
>>>>>>> problem is in
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> /Users/trevorkarn/Applications/sage/local/lib/python3.9/site-packages/wheel/pep425tags.py
>>>>>>> >>>
>>>>>>> >>> I could be mistaken, but I don't think pep425tags.py has been a
>>>>>>> part of the wheel package for a while now.  Certainly when I looked at
>>>>>>> wheel on my sage there was no such file.
>>>>>>> >>>
>>>>>>> >>> Can you go to your
>>>>>>> "/Users/trevorkarn/Applications/sage/local/lib/python3.9/site-packages/wheel/"
>>>>>>> directory and take a look at __init__.py.  Does the version say 0.36.2?
>>>>>>> >>>
>>>>>>> >>> On Monday, February 8, 2021 at 9:32:20 AM UTC-5 Trevor Karn
>>>>>>> wrote:
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>> Here is what I get. It seems like it is the same as yours?
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>> trevorkarn@Trevors-MacBook-Air sage % brew info python3
>>>>>>> >>>>
>>>>>>> >>>> [email protected]: stable 3.9.1
>>>>>>> >>>>
>>>>>>> >>>> Interpreted, interactive, object-oriented programming language
>>>>>>> >>>>
>>>>>>> >>>> https://www.python.org/
>>>>>>> >>>>
>>>>>>> >>>> /usr/local/Cellar/[email protected]/3.9.1_8 (8,665 files, 129.4MB) *
>>>>>>> >>>>
>>>>>>> >>>>   Built from source on 2021-02-05 at 16:39:31
>>>>>>> >>>>
>>>>>>> >>>> From:
>>>>>>> https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/[email protected]
>>>>>>> >>>>
>>>>>>> >>>> License: Python-2.0
>>>>>>> >>>>
>>>>>>> >>>> ==> Dependencies
>>>>>>> >>>>
>>>>>>> >>>> Build: pkg-config ✔
>>>>>>> >>>>
>>>>>>> >>>> Required: gdbm ✔, [email protected] ✔, readline ✔, sqlite ✔, tcl-tk
>>>>>>> ✔, xz ✔
>>>>>>> >>>>
>>>>>>> >>>> ==> Caveats
>>>>>>> >>>>
>>>>>>> >>>> Python has been installed as
>>>>>>> >>>>
>>>>>>> >>>>   /usr/local/bin/python3
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>> Unversioned symlinks `python`, `python-config`, `pip` etc.
>>>>>>> pointing to
>>>>>>> >>>>
>>>>>>> >>>> `python3`, `python3-config`, `pip3` etc., respectively, have
>>>>>>> been installed into
>>>>>>> >>>>
>>>>>>> >>>>   /usr/local/opt/[email protected]/libexec/bin
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>> You can install Python packages with
>>>>>>> >>>>
>>>>>>> >>>>   pip3 install <package>
>>>>>>> >>>>
>>>>>>> >>>> They will install into the site-package directory
>>>>>>> >>>>
>>>>>>> >>>>   /usr/local/lib/python3.9/site-packages
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>> See: https://docs.brew.sh/Homebrew-and-Python
>>>>>>> >>>>
>>>>>>> >>>> ==> Analytics
>>>>>>> >>>>
>>>>>>> >>>> install: 755,419 (30 days), 2,396,024 (90 days), 2,995,387 (365
>>>>>>> days)
>>>>>>> >>>>
>>>>>>> >>>> install-on-request: 244,063 (30 days), 714,665 (90 days),
>>>>>>> 799,812 (365 days)
>>>>>>> >>>>
>>>>>>> >>>> build-error: 0 (30 days)
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>> Best Regards,
>>>>>>> >>>>
>>>>>>> >>>> Trevor Karn
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>> On Mon, Feb 8, 2021 at 8:17 AM Dima Pasechnik <[email protected]>
>>>>>>> wrote:
>>>>>>> >>>>>
>>>>>>> >>>>> Could it be that you need to update your Homebrew (?) python3
>>>>>>> package?
>>>>>>> >>>>> What version do you have now?
>>>>>>> >>>>> E.g. on a box where the latest Sage builds I have
>>>>>>> >>>>>
>>>>>>> >>>>> % brew info python3
>>>>>>> >>>>>
>>>>>>> >>>>> [email protected]: stable 3.9.1 (bottled)
>>>>>>> >>>>> Interpreted, interactive, object-oriented programming language
>>>>>>> >>>>> https://www.python.org/
>>>>>>> >>>>> /usr/local/Cellar/[email protected]/3.9.1_8 (4,057 files, 67.8MB) *
>>>>>>> >>>>>   Poured from bottle on 2021-02-06 at 10:13:24
>>>>>>> >>>>> From:
>>>>>>> https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/[email protected]
>>>>>>> >>>>>
>>>>>>> >>>>>
>>>>>>> >>>>> On Mon, Feb 8, 2021 at 1:53 PM Trevor Karn <
>>>>>>> [email protected]> wrote:
>>>>>>> >>>>> >
>>>>>>> >>>>> > Ah I see, thanks for explaining.
>>>>>>> >>>>> >
>>>>>>> >>>>> > Here is my top-level config.log.
>>>>>>> >>>>> >
>>>>>>> >>>>> > Best Regards,
>>>>>>> >>>>> >
>>>>>>> >>>>> > Trevor Karn
>>>>>>> >>>>> >
>>>>>>> >>>>> >
>>>>>>> >>>>> > On Mon, Feb 8, 2021 at 7:09 AM Dima Pasechnik <
>>>>>>> [email protected]> wrote:
>>>>>>> >>>>> >>
>>>>>>> >>>>> >>
>>>>>>> >>>>> >>
>>>>>>> >>>>> >> On Mon, 8 Feb 2021, 13:02 Trevor Karn, <[email protected]>
>>>>>>> wrote:
>>>>>>> >>>>> >>>
>>>>>>> >>>>> >>> Thanks for sending that link. I am confused though,
>>>>>>> because it says a fix was issued. Does that mean it should work now?
>>>>>>> >>>>> >>
>>>>>>> >>>>> >>
>>>>>>> >>>>> >> sorry, I was not clear. What I meant to say that it appears
>>>>>>> to be a well-known issue in the Python@macOS universe,
>>>>>>> >>>>> >> and lately all seems to be OK with Sage.
>>>>>>> >>>>> >>
>>>>>>> >>>>> >> To figure out exactly goes wrong in your case, we need to
>>>>>>> know where Python3 used in Sage is coming from.
>>>>>>> >>>>> >> Please post the top-level config.log
>>>>>>> >>>>> >>
>>>>>>> >>>>> >>
>>>>>>> >>>>> >>>
>>>>>>> >>>>> >>> And yes, I am on the most recent develop branch
>>>>>>> >>>>> >>>
>>>>>>> >>>>> >>> On Mon, Feb 8, 2021 at 5:42 AM Dima Pasechnik <
>>>>>>> [email protected]> wrote:
>>>>>>> >>>>> >>>>
>>>>>>> >>>>> >>>> This seems to be well-known issue, see e.g
>>>>>>> >>>>> >>>> https://github.com/pypa/virtualenv/issues/2027
>>>>>>> >>>>> >>>>
>>>>>>> >>>>> >>>> Are you on the most recent develop branch (9.3.beta7)?
>>>>>>> >>>>> >>>>
>>>>>>> >>>>> >>>> On Mon, Feb 8, 2021 at 9:20 AM Trevor Karn <
>>>>>>> [email protected]> wrote:
>>>>>>> >>>>> >>>> >
>>>>>>> >>>>> >>>> > Hi,
>>>>>>> >>>>> >>>> >
>>>>>>> >>>>> >>>> > I'm trying to build Sage from the source code. I cloned
>>>>>>> it from git, and tried to build from the develop branch using make from 
>>>>>>> the
>>>>>>> sage directory. I ran into trouble building cython. The error message
>>>>>>> suggested that I email this group. Does anyone have any advice on how to
>>>>>>> proceed?
>>>>>>> >>>>> >>>> >
>>>>>>> >>>>> >>>> > I am using macOS Big Sur 11.2 on a MacBook Air.
>>>>>>> >>>>> >>>> >
>>>>>>> >>>>> >>>> > The log file is attached, this is from a second run -
>>>>>>> it failed once, and I tried running make a second time without any 
>>>>>>> changes
>>>>>>> and this is the log from the second run, which returns the same error 
>>>>>>> just
>>>>>>> without all of the info before it (eg. the flint installation).
>>>>>>> >>>>> >>>> >
>>>>>>> >>>>> >>>> > Thanks so much.
>>>>>>> >>>>> >>>> >
>>>>>>> >>>>> >>>> > Best,
>>>>>>> >>>>> >>>> > Trevor
>>>>>>> >>>>> >>>> >
>>>>>>> >>>>> >>>> > --
>>>>>>> >>>>> >>>> > 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 [email protected].
>>>>>>> >>>>> >>>> > To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/sage-devel/1c93ec2e-86bd-45f0-bba0-cc254a392305n%40googlegroups.com
>>>>>>> .
>>>>>>> >>>>> >>>>
>>>>>>> >>>>> >>>> --
>>>>>>> >>>>> >>>> You received this message because you are subscribed to a
>>>>>>> topic in the Google Groups "sage-devel" group.
>>>>>>> >>>>> >>>> To unsubscribe from this topic, visit
>>>>>>> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe
>>>>>>> .
>>>>>>> >>>>> >>>> To unsubscribe from this group and all its topics, send
>>>>>>> an email to [email protected].
>>>>>>> >>>>> >>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq3CFFAYzUtNnSrt_RPKW7X_p8j_VXGtZbKLWG%2BST%3DCO%2BQ%40mail.gmail.com
>>>>>>> .
>>>>>>> >>>>> >>>
>>>>>>> >>>>> >>> --
>>>>>>> >>>>> >>> Best,
>>>>>>> >>>>> >>>
>>>>>>> >>>>> >>> Trevor
>>>>>>> >>>>> >>>
>>>>>>> >>>>> >>> --
>>>>>>> >>>>> >>> 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 [email protected].
>>>>>>> >>>>> >>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/sage-devel/CAJ6VCMAVGG57CHovd7zoXa0C3Nxsr3WfXi0FWwapKrDfup7_sA%40mail.gmail.com
>>>>>>> .
>>>>>>> >>>>> >>
>>>>>>> >>>>> >> --
>>>>>>> >>>>> >> You received this message because you are subscribed to a
>>>>>>> topic in the Google Groups "sage-devel" group.
>>>>>>> >>>>> >> To unsubscribe from this topic, visit
>>>>>>> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe
>>>>>>> .
>>>>>>> >>>>> >> To unsubscribe from this group and all its topics, send an
>>>>>>> email to [email protected].
>>>>>>> >>>>> >> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq026cNP9FTmBySPskZZoc%2BH4ykTQO7je6TW4YTkirg_qw%40mail.gmail.com
>>>>>>> .
>>>>>>> >>>>> >
>>>>>>> >>>>> > --
>>>>>>> >>>>> > 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 [email protected].
>>>>>>> >>>>> > To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/sage-devel/CAJ6VCMDJEN7KzDmvB0x0GDrXiQrK3F_e_eBZvSJf-JxVre0n-Q%40mail.gmail.com
>>>>>>> .
>>>>>>> >>>>>
>>>>>>> >>>>> --
>>>>>>> >>>>> You received this message because you are subscribed to a
>>>>>>> topic in the Google Groups "sage-devel" group.
>>>>>>> >>>>> To unsubscribe from this topic, visit
>>>>>>> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe
>>>>>>> .
>>>>>>> >>>>> To unsubscribe from this group and all its topics, send an
>>>>>>> email to [email protected].
>>>>>>> >>>>>
>>>>>>> >>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq3meWN5AWip9BG5GzJ%3DFfLvoHKFrpS6Ezmq4X2GWH8mQw%40mail.gmail.com
>>>>>>> .
>>>>>>> >>>
>>>>>>> >>> --
>>>>>>> >>> You received this message because you are subscribed to a topic
>>>>>>> in the Google Groups "sage-devel" group.
>>>>>>> >>> To unsubscribe from this topic, visit
>>>>>>> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe
>>>>>>> .
>>>>>>> >>> To unsubscribe from this group and all its topics, send an email
>>>>>>> to [email protected].
>>>>>>> >>>
>>>>>>> >>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/sage-devel/c02796d9-9057-41e2-829f-eeb933132d42n%40googlegroups.com
>>>>>>> .
>>>>>>> >
>>>>>>> > --
>>>>>>> > 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 [email protected].
>>>>>>>
>>>>>> > To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/sage-devel/bd636baa-f6b1-42f7-866b-77ba0af40b6en%40googlegroups.com
>>>>>>> .
>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to a topic in
>>>>>>> the Google Groups "sage-devel" group.
>>>>>>> To unsubscribe from this topic, visit
>>>>>>> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe
>>>>>>> .
>>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>>> [email protected].
>>>>>>>
>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq08zf6vp0LfT%2BGfAy25ML95cxTyxAQho9gB_UdGjqpHFA%40mail.gmail.com
>>>>>>> .
>>>>>>>
>>>>>> --
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "sage-devel" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> [email protected].
>>>>>
>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/c6d5aec3-7f1c-4dc7-a94b-d1e2ab5fdf53n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/sage-devel/c6d5aec3-7f1c-4dc7-a94b-d1e2ab5fdf53n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> Best,
>>>>
>>>> Trevor
>>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "sage-devel" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-devel/47b9954f-e37a-4a81-a7f4-7747b8139e5an%40googlegroups.com
>>> <https://groups.google.com/d/msgid/sage-devel/47b9954f-e37a-4a81-a7f4-7747b8139e5an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/415b45c0-6ee0-41bf-ab36-0a82153fd66fn%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/415b45c0-6ee0-41bf-ab36-0a82153fd66fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAJ6VCMAJdafc9fTtSC7WR5TKMfruNCxOr8eRG5XVrpbRnCx00g%40mail.gmail.com.

Attachment: numpy-1.19.4.log
Description: Binary data

Reply via email to