#9975: Update GnuTLS and clean up the package
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: tbd
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.7.1
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Mariah Lenox
Merged: | Dependencies:
------------------------+---------------------------------------------------
Changes (by jhpalmieri):
* status: needs_review => needs_work
Comment:
This seems to build on sage.math, an OS X box, and !OpenSolaris. I'm
getting self-test failures, though. On sage.math:
{{{
make[5]: Leaving directory
`/mnt/usb1/scratch/palmieri/gnutls/sage-4.7.1.rc0/spkg/build/gnutls-2.1\
2.3/src/tests/openpgp-certs'
make[4]: Leaving directory
`/mnt/usb1/scratch/palmieri/gnutls/sage-4.7.1.rc0/spkg/build/gnutls-2.1\
2.3/src/tests/openpgp-certs'
make[3]: Leaving directory
`/mnt/usb1/scratch/palmieri/gnutls/sage-4.7.1.rc0/spkg/build/gnutls-2.1\
2.3/src/tests'
make[3]: Entering directory
`/mnt/usb1/scratch/palmieri/gnutls/sage-4.7.1.rc0/spkg/build/gnutls-2.\
12.3/src'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
make[3]: Nothing to be done for `check-am'.
make[3]: INTERNAL: Exiting with 1 jobserver tokens available; should be
12!
make[3]: Leaving directory
`/mnt/usb1/scratch/palmieri/gnutls/sage-4.7.1.rc0/spkg/build/gnutls-2.1\
2.3/src'
make[2]: Leaving directory
`/mnt/usb1/scratch/palmieri/gnutls/sage-4.7.1.rc0/spkg/build/gnutls-2.1\
2.3/src'
An error occurred while testing GnuTLS
*************************************
Error testing package ** gnutls-2.12.3 **
*************************************
}}}
On OS X:
{{{
successSelf test
`/Applications/sage/spkg/build/gnutls-2.12.3/src/tests/.libs/rng-fork'
finished with 0 errors
PASS: rng-fork
Self test
`/Applications/sage/spkg/build/gnutls-2.12.3/src/tests/.libs/openssl'
finished with 0 errors
PASS: openssl
server handshake Error in the push function. (-53)
}}}
and then it hangs. On !OpenSolaris (David Kirkby's machine hawk):
{{{
CC test-vasnprintf.o
test-unistd.c:27:1: error: 'NULL' undeclared here (not in a function)
test-unistd.c:27:1: error: bit-field 'verify_error_if_negative_size__'
width not an integer constant
test-unistd.c:30:14: error: 'SEEK_CUR' undeclared here (not in a function)
test-unistd.c:30:24: error: 'SEEK_END' undeclared here (not in a function)
test-unistd.c:30:34: error: 'SEEK_SET' undeclared here (not in a function)
test-unistd.c:35:9: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'or'
test-unistd.c:40:9: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 't2'
test-unistd.c:45:7: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 't5'
test-unistd.c:46:7: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 't6'
CC test-vasprintf.o
make[7]: *** [test-unistd.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[7]: Leaving directory
`/export/home/palmieri/testing/sage-4.7.1.rc0/spkg/build/gnutls-2.12.3/src/lib/gl/tests'
make[6]: *** [check-am] Error 2
make[6]: Leaving directory
`/export/home/palmieri/testing/sage-4.7.1.rc0/spkg/build/gnutls-2.12.3/src/lib/gl/tests'
make[5]: *** [check-recursive] Error 1
make[5]: Leaving directory
`/export/home/palmieri/testing/sage-4.7.1.rc0/spkg/build/gnutls-2.12.3/src/lib/gl/tests'
make[4]: *** [check] Error 2
make[4]: Leaving directory
`/export/home/palmieri/testing/sage-4.7.1.rc0/spkg/build/gnutls-2.12.3/src/lib/gl/tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/export/home/palmieri/testing/sage-4.7.1.rc0/spkg/build/gnutls-2.12.3/src/lib/gl'
make[2]: *** [check] Error 2
make[2]: Leaving directory
`/export/home/palmieri/testing/sage-4.7.1.rc0/spkg/build/gnutls-2.12.3/src/lib/gl'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/export/home/palmieri/testing/sage-4.7.1.rc0/spkg/build/gnutls-2.12.3/src/lib'
make: *** [check-recursive] Error 1
An error occurred while testing GnuTLS
*************************************
Error testing package ** gnutls-2.12.3 **
*************************************
}}}
One more thing: `$RM` is no longer set by sage-env, so do you need to
modify it in spkg-install? If you do, should you test whether `$RM_SAVE`
is nonempty before
{{{
RM=$RM_SAVE
export RM
}}}
Do you even need to export `RM` at the end, or are the changes in this
script (in particular `unset RM`) just local to the script?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9975#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.