Question: how do I install the new tarballs? I tried changing the gap 
version number in package-version.txt and running "sage -sh 
sage-fix-pkg-checksums" and rebuilding gap, but it failed saying that the 
patches cannot be applied:

travis@Kristine-Desktop:~/sage/upstream$ sage -i gap
Found local metadata for gap-4.7.2
Found local sources at /home/travis/sage/upstream/gap-4.7.2.tar.bz2
Checksum: 1169b6edcff95a59a8ad37398a044d22d30ec641 vs 
1169b6edcff95a59a8ad37398a044d22d30ec641
gap-4.7.2
====================================================
Setting up build directory for gap-4.7.2
mv: cannot stat `gap-4.7.2': No such file or directory
Finished set up
****************************************************
Host system:
Linux Kristine-Desktop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 
UTC 2010 i686 athlon i386 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/travis/sage/local/bin/../libexec/gcc/i686-pc-linux-gnu/4.7.3/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../src/configure 
--prefix=/home/travis/git_sage-5.12.beta5/local 
--with-local-prefix=/home/travis/git_sage-5.12.beta5/local 
--with-gmp=/home/travis/git_sage-5.12.beta5/local 
--with-mpfr=/home/travis/git_sage-5.12.beta5/local 
--with-mpc=/home/travis/git_sage-5.12.beta5/local --with-system-zlib 
--disable-multilib --disable-nls  
Thread model: posix
gcc version 4.7.3 (GCC) 
****************************************************
cat: gap-version: No such file or directory
spkg-install is using
VERSION = 
GAP_DIR = gap-
INSTALL_DIR = /home/travis/sage/local/gap/gap-
Applying patches...
patching file cnf/aclocal.m4
Hunk #1 FAILED at 148.
1 out of 1 hunk FAILED -- saving rejects to file cnf/aclocal.m4.rej
patching file cnf/configure.out
Hunk #1 FAILED at 4402.
1 out of 1 hunk FAILED -- saving rejects to file cnf/configure.out.rej
Error applying '../patches/cflags.patch'


real 0m0.096s
user 0m0.020s
sys 0m0.008s
************************************************************************
Error installing package gap-4.7.2
************************************************************************

My guess is that these patches are no longer needed and should simply be 
deleted?

I also tried "sage -i gap_packages-7.4.2.tar.bz" but that failed saying the 
directory did not exist:

travis@Kristine-Desktop:~/sage/upstream$ sage -i database_gap-4.7.2.tar.bz2 
database_gap-4.7.2.tar.bz2
====================================================
Extracting package /home/travis/sage/upstream/database_gap-4.7.2.tar.bz2
-rw-rw-r-- 1 travis travis 61028693 Dec 24 16:26 /home/travis/sage/upstream/
database_gap-4.7.2.tar.bz2
Finished extraction
/home/travis/sage/src/bin/sage-spkg: line 590: cd: database_gap-4.7.2.tar.
bz2: No such file or directory
Error: after extracting, the directory database_gap-4.7.2.tar.bz2 does notexist

I didn't see anything in 
http://sagemath.github.io/git-developer-guide/packaging.html that could 
tell me what to do...

Thanks,
Travis

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to