-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Update GnuTLS and clean up the package #9975
Comments
Author: Mariah Lenox |
This comment has been minimized.
This comment has been minimized.
Diff for the gnutls spkg, for reviewing only. |
comment:2
Attachment: gnutls-2.2.1.p5-2.12.3.diff.gz This seems to build on sage.math, an OS X box, and OpenSolaris. I'm getting self-test failures, though. On sage.math:
On OS X:
and then it hangs. On OpenSolaris (David Kirkby's machine hawk):
One more thing:
Do you even need to export |
comment:3
Ahem, restoring Some things are still in, some are new:
(Haven't yet looked at the whole spkg, just the attached patch.) |
comment:4
P.S.: Old libraries should (if at all) only be deleted after a successful build. The package apparently doesn't use (or even find) Sage's libgcrypt:
|
comment:5
Replying to @nexttime:
Autocrap... According to Adding CPPFLAGS="-I$SAGE_LOCAL/include $CPPFLAGS"
CFLAGS="-I$SAGE_LOCAL/include $CFLAGS" # It's safer to add it here, too.
LDFLAGS="-L$SAGE_LOCAL/lib $LDFLAGS" (which in general one should do to make sure Sage's version of whatsoever gets picked up first) cures this, at the same time making Regarding the test suite, I get nice warnings during compilation ("cast to pointer from integer of different size") and the following:
Haven't yet inspected that further. (This is with GCC 4.5.1 on a Core2, using Btw., the attached spkg diff is not current. |
comment:6
Replying to @nexttime:
As expected, compiling with
Sorry, I think there I just confused something. John, to what does Dave's You might have to add |
comment:7
(cc'ing Dave so he can answer other questions about hawk's setup) |
comment:8
Replying to @jhpalmieri:
I rather meant the language standard, which I think unfortunately isn't shown by
But you may really try with e.g. Or, even better, search Solaris'
Dave opened this ticket. ;-) |
comment:9
I could try to search |
comment:10
Replying to @jhpalmieri:
Funny, it does not #define __STDC__ 1 which might be the cause and a bug in GCC 4.5.0, so you could try adding Did you try any of the You could also try just gcc -std=gnu99 -E -dM -x c /dev/null | egrep -i "std|ansi|iso|posix|gnu" and see if
:) You're not familiar with the C/C++ preprocessor? It just adds a meta-level (all directives on lines starting with You usually have constructs like #ifdef __IMPORTANT_MACRO_SIGNALING_A_STANDARD__
// define the constants and functions required by that standard
#elif defined(__OTHER_IMPORTANT_STANDARD__) || defined(__SOMETHING_ELSE__)
#include <file_that_accommodates_these.h>
// perhaps other C declarations and macro definitions
#else
// perhaps define things that oppose the standard(s)
#endif in C header files like |
Changed keywords from none to sd32 |
Reviewer: Mariah Lenox, Jeroen Demeyer |
comment:12
GNUTLS is no longer part of Sage. |
Changed author from Mariah Lenox to none |
The current version of GnuTLS in Sage has multiple issues, not all of which will probably be solved by this ticket, but at least of subset of them will be.
spkg-check
file - see Add an spkg-check file for GnuTLS #9308make
is used instead of$MAKE
-m64
is hard-coded as the compiler flag needed for 64-bit buildsSPKG.txt
lacks theSpecial Update/Build Instructions
section.SKG.txt
, with a remark toFIXME
An upgrade and attempt to clean up this package is http://boxen.math.washington.edu/home/mariah/spkg/gnutls-2.12.3.spkg
CC: @nexttime @sagetrac-drkirkby
Component: packages: standard
Keywords: sd32
Reviewer: Mariah Lenox, Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/9975
The text was updated successfully, but these errors were encountered: