#16454: Update openssl package to latest version.
-------------------------------------+-------------------------------------
       Reporter:  tmonteil           |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  critical           |    Milestone:  sage-6.3
      Component:  packages:          |   Resolution:
  optional                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Thierry Monteil    |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  b5f372e4610123ead04a49786fd77d5ac045793f
  u/tmonteil/update_openssl_package_to_latest_version_|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by slabbe):

 With the current branch, running `./sage -i openssl` on my (32bit) machine
 ends with the following error:

 {{{
 Found local metadata for openssl-1.0.1h
 Found local sources at /Users/slabbe/Applications/sage-
 review/upstream/openssl-1.0.1h.tar.gz
 Checksum: 8d6d684a9430d5cc98a62a5d8fbda8cf vs
 8d6d684a9430d5cc98a62a5d8fbda8cf
 openssl-1.0.1h
 ====================================================
 Setting up build directory for openssl-1.0.1h
 Finished set up
 ****************************************************
 Host system:
 Darwin pol 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT
 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
 ****************************************************
 C compiler: gcc
 C compiler version:
 Using built-in specs.
 COLLECT_GCC=/Users/slabbe/Applications/sage-review/local/bin/gcc
 COLLECT_LTO_WRAPPER=/Users/slabbe/Applications/sage-
 review/local/libexec/gcc/i386-apple-darwin9.8.0/4.7.3/lto-wrapper
 Target: i386-apple-darwin9.8.0
 Configured with: ../src/configure --prefix=/Users/slabbe/Applications
 /sage-review/local --with-local-prefix=/Users/slabbe/Applications/sage-
 review/local --with-gmp=/Users/slabbe/Applications/sage-review/local
 --with-mpfr=/Users/slabbe/Applications/sage-review/local --with-
 mpc=/Users/slabbe/Applications/sage-review/local --with-system-zlib
 --disable-multilib --disable-nls
 Thread model: posix
 gcc version 4.7.3 (GCC)
 ****************************************************

 [...]
 Configured for darwin64-x86_64-cc.
 [...]
 x86_64cpuid.s:85:`movzbq' is only supported in 64-bit mode
 [...]
 x86_64cpuid.s:209:bad register name `%xmm14'
 x86_64cpuid.s:210:bad register name `%xmm15'
 x86_64cpuid.s:211:bad register name `%rcx'
 x86_64cpuid.s:212:bad register name `%rdx'
 x86_64cpuid.s:213:bad register name `%rsi'
 x86_64cpuid.s:214:bad register name `%rdi'
 x86_64cpuid.s:215:bad register name `%r8'
 x86_64cpuid.s:216:bad register name `%r9'
 x86_64cpuid.s:217:bad register name `%r10'
 x86_64cpuid.s:218:bad register name `%r11'
 x86_64cpuid.s:219:bad register name `%rsp)'
 x86_64cpuid.s:232:bad register name `%rax'
 x86_64cpuid.s:233:bad register name `%rcx'
 make[1]: *** [x86_64cpuid.o] Error 1
 make: *** [build_crypto] Error 1
 Error building openssl.

 real    0m8.937s
 user    0m3.822s
 sys     0m1.561s
 ************************************************************************
 Error installing package openssl-1.0.1h
 ************************************************************************
 }}}

 As you suggested me, I tried after deleting the {{{Configure.patch}}}, and
 it worked:

 {{{
 $ ./sage -i openssl

 [...]

 real    4m9.688s
 user    2m47.278s
 sys     0m49.557s
 Successfully installed openssl-1.0.1h
 }}}

 Here is my git status:

 {{{
 10 slabbe@pol ~/Applications/sage-review $ git status
 # On branch t/16454
 # Changes not staged for commit:
 #   (use "git add/rm <file>..." to update what will be committed)
 #   (use "git checkout -- <file>..." to discard changes in working
 directory)
 #
 #       deleted:    build/pkgs/openssl/patches/Configure.patch
 #
 no changes added to commit (use "git add" and/or "git commit -a")
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16454#comment:7>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to