[sage-devel] Re: Error building a wheel for cython-0.29.21

2021-03-26 Thread Aaron Lauve
success!

Thanks, Matthias and Samuel.

On Thursday, March 25, 2021 at 2:02:28 PM UTC-5 Matthias Koeppe wrote:

> Sage 9.2 does not support building from source on macOS Big Sur. 
> Use the 9.3 release candidate. 
> https://wiki.sagemath.org/ReleaseTours/sage-9.3#Availability_of_Sage_9.3_and_installation_help
>
> On Thursday, March 25, 2021 at 10:26:41 AM UTC-7 la...@math.luc.edu wrote:
>
>> Thanks Samuel,
>>
>> My plan was to build the master branch first. Is that a bad idea? (My 
>> reasoning was that it's been a long, long while since I've compiled from 
>> source.)
>>
>> My VERSION.txt file says:
>>
>> SageMath version 9.2, Release Date: 2020-10-24
>>
>> I followed the steps you mentioned above (except starting from master 
>> branch).
>>
>> Build seems to have stopped at the same point (cython 0.29.21). I'm 
>> including the new log file for this, as well as the config.log and 
>> brew-list-versions.txt files you request.
>>
>>  
>>
>>
>>
>> On Thursday, March 25, 2021 at 12:22:00 AM UTC-5 Samuel Lelievre wrote:
>>
>>> What commands did you run? Were you building the
>>> latest development version (Sage 9.3.rc0)?
>>>
>>> Here are the commands I would run to upgrade.
>>>
>>> Update Homebrew index, check which packages
>>> are outdated, and upgrade.
>>> ```
>>> $ brew update
>>> $ brew outdated
>>> $ brew upgrade
>>> ```
>>>
>>> Change to the Sage installation folder
>>> and get  the latest develop branch.
>>> ```
>>> $ cd $(sage -c 'print(SAGE_ROOT)') && pwd
>>> $ git checkout develop -q
>>> $ git pull origin develop -q && git branch -vv
>>> ```
>>>
>>> Recall the number of processors of your Mac:
>>> ```
>>> $ sysctl -n hw.ncpu
>>> ```
>>>
>>> Choose how many jobs to run in parallel;
>>> for instance, to run 8 jobs at once:
>>> ```
>>> $ MAKE='make -j8'
>>> ```
>>>
>>> Set to use the Homebrew build environment,
>>> then bootstrap, configure and make.
>>> ```
>>> $ source .homebrew-build-env
>>> $ ./bootstrap -q && ./configure -q
>>> $ make -s V=0
>>> ```
>>> (Optionally, don't use the quiet (`-q`) flag for the
>>> configure step, and follow its final suggestions
>>> in order to install more recommended packages.)
>>>
>>> Optionally, run tests:
>>> ```
>>> $ make -s V=0 ptestlong
>>> ```
>>>
>>> Then report back. If the build fails, the file `config.log`
>>> and log files for packages that fail to build will be useful
>>> so ideally give access to them. I do that by uploading them
>>> somewhere in compressed form and sending a link;
>>> others prefer to attach files when emailing the list.
>>>
>>> One way to include Homebrew package version info
>>> is to include the file obtained by running:
>>> ```
>>> $ brew list --versions > brew-list-versions.txt
>>> ```
>>>
>>>

-- 
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/7edc14b1-8ade-45f7-83f2-268fd7c3f7a3n%40googlegroups.com.


[sage-devel] Re: Error building a wheel for cython-0.29.21

2021-03-26 Thread Samuel Lelievre
Le jeudi 25 mars 2021 à 20:02:28 UTC+1, Matthias Koeppe a écrit :

> Sage 9.2 does not support building from source on macOS Big Sur. 
> Use the 9.3 release candidate. 
> https://wiki.sagemath.org/ReleaseTours/sage-9.3#Availability_of_Sage_9.3_and_installation_help
>

You might even want to apply Sage Trac ticket 31496
(positive review but not merged yet) which slightly improves
the build, removing a warning. To do that, after updating your
develop branch with `git pull origin develop`, run this:
```
$ git remote add trac git://trac.sagemath.org/sage.git -t develop
$ TICKET=31496
$ git checkout -b "${TICKET}"
$ 
BRANCH=u/mkoeppe/remove_configure_message__sage_spkg_configure_sagelib__command_not_found_
$ git fetch trac "${BRANCH}"
$ git merge FETCH_HEAD -m "Merge ${TICKET}" && git branch -vv
```
and then:
```
$ source .homebrew-build-env
$ ./bootstrap -q && ./configure -q
$ make -s V=0
```

Next time you want to upgrade (e.g. when Sage 9.3.rc1 is out):
```
$ git checkout develop
$ git pull origin develop --tags -q && git branch -vv
```
and then:
```
$ source .homebrew-build-env
$ ./bootstrap -q && ./configure -q
$ make -s V=0
```

-- 
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/259468bb-16a0-4cbb-9272-fe2ad975d565n%40googlegroups.com.


[sage-devel] Re: Error building a wheel for cython-0.29.21

2021-03-25 Thread Matthias Koeppe
Sage 9.2 does not support building from source on macOS Big Sur. 
Use the 9.3 release 
candidate. 
https://wiki.sagemath.org/ReleaseTours/sage-9.3#Availability_of_Sage_9.3_and_installation_help

On Thursday, March 25, 2021 at 10:26:41 AM UTC-7 la...@math.luc.edu wrote:

> Thanks Samuel,
>
> My plan was to build the master branch first. Is that a bad idea? (My 
> reasoning was that it's been a long, long while since I've compiled from 
> source.)
>
> My VERSION.txt file says:
>
> SageMath version 9.2, Release Date: 2020-10-24
>
> I followed the steps you mentioned above (except starting from master 
> branch).
>
> Build seems to have stopped at the same point (cython 0.29.21). I'm 
> including the new log file for this, as well as the config.log and 
> brew-list-versions.txt files you request.
>
>  
>
>
>
> On Thursday, March 25, 2021 at 12:22:00 AM UTC-5 Samuel Lelievre wrote:
>
>> What commands did you run? Were you building the
>> latest development version (Sage 9.3.rc0)?
>>
>> Here are the commands I would run to upgrade.
>>
>> Update Homebrew index, check which packages
>> are outdated, and upgrade.
>> ```
>> $ brew update
>> $ brew outdated
>> $ brew upgrade
>> ```
>>
>> Change to the Sage installation folder
>> and get  the latest develop branch.
>> ```
>> $ cd $(sage -c 'print(SAGE_ROOT)') && pwd
>> $ git checkout develop -q
>> $ git pull origin develop -q && git branch -vv
>> ```
>>
>> Recall the number of processors of your Mac:
>> ```
>> $ sysctl -n hw.ncpu
>> ```
>>
>> Choose how many jobs to run in parallel;
>> for instance, to run 8 jobs at once:
>> ```
>> $ MAKE='make -j8'
>> ```
>>
>> Set to use the Homebrew build environment,
>> then bootstrap, configure and make.
>> ```
>> $ source .homebrew-build-env
>> $ ./bootstrap -q && ./configure -q
>> $ make -s V=0
>> ```
>> (Optionally, don't use the quiet (`-q`) flag for the
>> configure step, and follow its final suggestions
>> in order to install more recommended packages.)
>>
>> Optionally, run tests:
>> ```
>> $ make -s V=0 ptestlong
>> ```
>>
>> Then report back. If the build fails, the file `config.log`
>> and log files for packages that fail to build will be useful
>> so ideally give access to them. I do that by uploading them
>> somewhere in compressed form and sending a link;
>> others prefer to attach files when emailing the list.
>>
>> One way to include Homebrew package version info
>> is to include the file obtained by running:
>> ```
>> $ brew list --versions > brew-list-versions.txt
>> ```
>>
>>

-- 
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/760c2ed0-f0b5-4ded-be20-cfe9a0f940fbn%40googlegroups.com.


[sage-devel] Re: Error building a wheel for cython-0.29.21

2021-03-24 Thread Samuel Lelievre
What commands did you run? Were you building the
latest development version (Sage 9.3.rc0)?

Here are the commands I would run to upgrade.

Update Homebrew index, check which packages
are outdated, and upgrade.
```
$ brew update
$ brew outdated
$ brew upgrade
```

Change to the Sage installation folder
and get  the latest develop branch.
```
$ cd $(sage -c 'print(SAGE_ROOT)') && pwd
$ git checkout develop -q
$ git pull origin develop -q && git branch -vv
```

Recall the number of processors of your Mac:
```
$ sysctl -n hw.ncpu
```

Choose how many jobs to run in parallel;
for instance, to run 8 jobs at once:
```
$ MAKE='make -j8'
```

Set to use the Homebrew build environment,
then bootstrap, configure and make.
```
$ source .homebrew-build-env
$ ./bootstrap -q && ./configure -q
$ make -s V=0
```
(Optionally, don't use the quiet (`-q`) flag for the
configure step, and follow its final suggestions
in order to install more recommended packages.)

Optionally, run tests:
```
$ make -s V=0 ptestlong
```

Then report back. If the build fails, the file `config.log`
and log files for packages that fail to build will be useful
so ideally give access to them. I do that by uploading them
somewhere in compressed form and sending a link;
others prefer to attach files when emailing the list.

One way to include Homebrew package version info
is to include the file obtained by running:
```
$ brew list --versions > brew-list-versions.txt
```

-- 
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/b2e3fb76-2def-4374-9e1e-406b0f8d7612n%40googlegroups.com.


[sage-devel] Re: Error building a wheel for cython-0.29.21

2021-03-24 Thread Matthias Koeppe
Which version of Sage is this?

On Wednesday, March 24, 2021 at 8:52:13 PM UTC-7 la...@math.luc.edu wrote:

> Hi All,
> It seems I'm not the first person with this problem on macOS Big Sur. 
>
> Side note: I had master and development branches running before the move 
> to python3. But it's been a long while since I tried pulling changes.
>
> I tried following the steps that led to Trevor Karn's success [first post 
> on Feb 8, 2021], but to no avail. Log file attached.
>
> MacBook Air 2019
> - 1.6 Ghz dual-core intel core i5; 16 GM memory
> - Big Sur, v. 11.2.3
> - Xcode v. 12.4 installed, plus command line tools.
> - plus lots of home-brew packages, as suggested in the sagemath install 
> guide.
>
> Any advice would be appreciated.
>
> Kind regards,
> Aaron
>

-- 
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/62308602-9f53-42c5-b584-f0306cd87cd5n%40googlegroups.com.