Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch pynac to build properly with Cygwin's system GMP #27713

Closed
embray opened this issue Apr 23, 2019 · 12 comments
Closed

Patch pynac to build properly with Cygwin's system GMP #27713

embray opened this issue Apr 23, 2019 · 12 comments

Comments

@embray
Copy link
Contributor

embray commented Apr 23, 2019

There are some bits in plain GMP not present for some reason in MPIR such that Cygwin gets some configure-time flags set differently than the defaults on Linux. Cygwin's system package for GMP is configured with these different defaults, leading to a build failure in pynac that I don't get on other platforms.

See the upstream PR for more details: pynac/pynac#342

Upstream: Fixed upstream, but not in a stable release.

Component: porting: Cygwin

Keywords: gmp pynac

Author: Erik Bray

Branch: 5816c4b

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/27713

@embray embray added this to the sage-8.8 milestone Apr 23, 2019
@embray
Copy link
Contributor Author

embray commented Apr 23, 2019

Author: Erik Bray

@embray
Copy link
Contributor Author

embray commented Apr 23, 2019

Branch: u/embray/cygwin/build/ticket-27713

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 23, 2019

Branch pushed to git repo; I updated commit sha1. New commits:

5816c4bTrac #27713: Include patch to pynac to fix build issue when using Cygwin's system GMP

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 23, 2019

Commit: 5816c4b

@embray
Copy link
Contributor Author

embray commented Apr 23, 2019

comment:3

To add, this started of course since #27212. Not sure why I didn't catch the problem before since I have recollection of testing this on Cygwin, but maybe I just never rebuilt everything (including pynac?) from scratch for some reason.

@embray
Copy link
Contributor Author

embray commented Apr 23, 2019

Changed upstream from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release.

@embray
Copy link
Contributor Author

embray commented Apr 23, 2019

comment:4

Fixed upstream. rws confirms there will be a new pynac release in a few weeks, so we can possibly wait on that as well.

@tscrim
Copy link
Collaborator

tscrim commented Apr 25, 2019

Reviewer: Travis Scrimshaw

@tscrim
Copy link
Collaborator

tscrim commented Apr 25, 2019

comment:5

I think we can add this patch now (in part to get some extra testing through Sage beta releases) and then remove it when we upgrade Pynac (if that does get into the next stable Sage release).

@vbraun
Copy link
Member

vbraun commented Apr 29, 2019

Changed branch from u/embray/cygwin/build/ticket-27713 to 5816c4b

@dimpase
Copy link
Member

dimpase commented Jun 19, 2019

comment:7

the update with the patch in has been released, see #28016

@dimpase
Copy link
Member

dimpase commented Jun 19, 2019

Changed commit from 5816c4b to none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants