#18127: Optional package lrs-4.2b.p1.spkg needs updating
-------------------------------------+-------------------------------------
       Reporter:  yzh                |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.6
      Component:  packages:          |   Resolution:
  optional                           |    Merged in:
       Keywords:  lrs, redund        |    Reviewers:
        Authors:  Matthias Koeppe    |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  06bcecdcf3197751ce2ad4f360f1c4ec394a5fd4
  u/mkoeppe/optional_package_lrs_4_2b_p1_spkg_needs_updating|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by ncohen):

 I got several errors when installing this package. The log follows
 {{{
 ~$ sage -f lrslib
 Found local metadata for lrslib-051
 Using cached file /home/ncohen/.Sage/upstream/lrslib-051.tar.gz
 lrslib-051
 ====================================================
 Setting up build directory for lrslib-051
 Finished set up
 ****************************************************
 Host system:
 Linux weightless 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24)
 x86_64 GNU/Linux
 ****************************************************
 C compiler: gcc
 C compiler version:
 Using built-in specs.
 COLLECT_GCC=/home/ncohen/.Sage/local/bin/gcc
 COLLECT_LTO_WRAPPER=/home/ncohen/.Sage/local/libexec/gcc/x86_64-unknown-
 linux-gnu/4.9.2/lto-wrapper
 Target: x86_64-unknown-linux-gnu
 Configured with: ../src/configure --prefix=/home/ncohen/.Sage/local
 --with-local-prefix=/home/ncohen/.Sage/local --with-
 gmp=/home/ncohen/.Sage/local --with-mpfr=/home/ncohen/.Sage/local --with-
 mpc=/home/ncohen/.Sage/local --with-system-zlib --disable-multilib
 --disable-nls --enable-languages=c,c++,fortran --disable-libitm
 Thread model: posix
 gcc version 4.9.2 (GCC)
 ****************************************************
 cp: cannot stat 'patches/makefile': No such file or directory
 gcc -c -O3 -DLRS_QUIET -DTIMES -DSIGNALS -DGMP -o lrslib-GMP.o lrslib.c
 gcc -c -O3 -DLRS_QUIET -DTIMES -DSIGNALS -DGMP -o lrsgmp-GMP.o lrsgmp.c
 ar r liblrsgmp.a lrslib-GMP.o lrsgmp-GMP.o
 ar: creating liblrsgmp.a
 ranlib liblrsgmp.a
 make -j4 LRSGMPLIB=liblrsgmp.a all
 make[1]: warning: -jN forced in submake: disabling jobserver mode.
 make[1]: Entering directory
 '/home/ncohen/.Sage/local/var/tmp/sage/build/lrslib-051/src'
 gcc -c -O3 -DLRS_QUIET -DTIMES -DSIGNALS -DGMP -o 2nash-GMP.o 2nash.c
 gcc -c -O3 -DLRS_QUIET -DTIMES -DSIGNALS -DGMP -o lrs-GMP.o lrs.c
 gcc -O3 -DLRS_QUIET -DTIMES -DSIGNALS -DLONG -o lrs1 lrs.c lrslib.c
 lrslong.c
 gcc -c -O3 -DLRS_QUIET -DTIMES -DSIGNALS -DGMP -o nash-GMP.o nash.c
 gcc -c -O3 -DLRS_QUIET -DTIMES -DSIGNALS -DGMP -o redund-GMP.o redund.c
 gcc -O3 -DLRS_QUIET -DTIMES -DSIGNALS -DLONG -o redund1 redund.c lrslib.c
 lrslong.c
 gcc -O3 -DLRS_QUIET -DTIMES -DSIGNALS -o setnash setupnash.c lrslib.c
 lrsmp.c
 gcc -O3 -DLRS_QUIET -DTIMES -DSIGNALS -o setnash2 setupnash2.c lrslib.c
 lrsmp.c
 gcc 2nash-GMP.o -L. -llrsgmp -L/usr/lib  -lgmp -o 2nash
 gcc lrs-GMP.o -L. -llrsgmp -L/usr/lib  -lgmp -o lrs
 gcc nash-GMP.o -L. -llrsgmp -L/usr/lib  -lgmp -o nash
 gcc redund-GMP.o -L. -llrsgmp -L/usr/lib  -lgmp -o redund
 rm 2nash-GMP.o lrs-GMP.o nash-GMP.o redund-GMP.o
 make[1]: Leaving directory
 '/home/ncohen/.Sage/local/var/tmp/sage/build/lrslib-051/src'
 make -j4 LRSGMPLIB=liblrsgmp.a all
 mkdir -p /usr/local/bin
 make[1]: warning: -jN forced in submake: disabling jobserver mode.
 install -t /usr/local/bin 2nash lrs lrs1 nash redund redund1 setnash
 setnash2
 install: cannot create regular file '/usr/local/bin/2nash': Permission
 denied
 install: cannot create regular file '/usr/local/bin/lrs': Permission
 denied
 install: cannot create regular file '/usr/local/bin/lrs1': Permission
 denied
 install: cannot create regular file '/usr/local/bin/nash': Permission
 denied
 install: cannot create regular file '/usr/local/bin/redund': Permission
 denied
 install: cannot create regular file '/usr/local/bin/redund1': Permission
 denied
 install: cannot create regular file '/usr/local/bin/setnash': Permission
 denied
 install: cannot create regular file '/usr/local/bin/setnash2': Permission
 denied
 makefile:119: recipe for target 'install-common' failed
 make: *** [install-common] Error 1
 make: *** Waiting for unfinished jobs....
 make[1]: Entering directory
 '/home/ncohen/.Sage/local/var/tmp/sage/build/lrslib-051/src'
 make[1]: Nothing to be done for 'all'.
 make[1]: Leaving directory
 '/home/ncohen/.Sage/local/var/tmp/sage/build/lrslib-051/src'
 Error installing lrs

 real    0m3.036s
 user    0m10.768s
 sys     0m0.208s
 ************************************************************************
 Error installing package lrslib-051
 ************************************************************************
 Please email sage-devel (http://groups.google.com/group/sage-devel)
 explaining the problem and including the relevant part of the log file
   /home/ncohen/.Sage/logs/pkgs/lrslib-051.log
 Describe your computer, operating system, etc.
 If you want to try to fix the problem yourself, *don't* just cd to
 /home/ncohen/.Sage/local/var/tmp/sage/build/lrslib-051 and type 'make' or
 whatever is appropriate.
 Instead, the following commands setup all environment variables
 correctly and load a subshell for you to debug the error:
   (cd '/home/ncohen/.Sage/local/var/tmp/sage/build/lrslib-051' &&
 '/home/ncohen/.Sage/sage' --sh)
 When you are done debugging, you can type "exit" to leave the subshell.
 ************************************************************************
 }}}

 Note in particular the
 {{{
 cp: cannot stat 'patches/makefile': No such file or directory
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18127#comment:26>
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