Hi

On 11 July 2012 15:36, Jeroen Demeyer <[email protected]> wrote:

> On 2012-07-11 15:13, Jan Groenewald wrote:
> > When my time allows, a monolithic from-source is my next project.
>
> Apologies if I ask a totally stupid question, but why can't you replace
> the "download and extract binary" step that you currently have by
> "dowload and extract source && make"?
>

I don't think it makes a big difference if I take a buildbot built binary,
or whether I make one myself (though I am not sure what all the
requirements are
after setting SAGE_FAT_BINARY, to be sure to have a binary for all 64bit
platforms.
I was afraid of breaking that, so I didn't. If I get to understand
buildbot, and what variables
you set, and what scritps need to be run, or whether it is just sage
-bdist, I can then do
that myself. However, I've managed to give you a buildslave so this is now
already done.)


> In other words: I still don't understand what is different about the
> Launchpad environment that Sage doesn't build from source.
>

You don't get a shell to type make. You don't get to do anything but
upload a source package. So "make a binary myself" means on my
own machine, not on launchpad. That step happens BEFORE uploading
to launchpad. Launchpad does not accept source code. It accepts debian
source packages.

That is, on your OWN box, after testing in pbuilder (a debian/ubuntu
way to test building packages), you can upload with:

dput ppa:aims/sagemath sagemath-optional_5.1_source.changes

(where dput is a debian command)

where the inside of that file lists all my upstream tarball and debian
package managment files that are uploaded with it. After that launchpad
does not run make, it runs debuild, the main part being debian/rules build.

0 jan@snapperkob:~/src/sagemath-upstream-binary$cat
sagemath-upstream-binary_5.1_source.changes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 10 Jul 2012 20:48:35 +0200
Source: sagemath-upstream-binary
Binary: sagemath-upstream-binary
Architecture: source
Version: 5.1
Distribution: precise
Urgency: low
Maintainer: Jan Groenewald <[email protected]>
Changed-By: Jan Groenewald <[email protected]>
Description:
 sagemath-upstream-binary - Sage is a free open-source mathematics software
system
Changes:
 sagemath-upstream-binary (5.1) precise; urgency=low
 .
Checksums-Sha1:
 464600b4a128dd2752aa525f412bf446d1113b90 2433
sagemath-upstream-binary_5.1.dsc
 153689a21bd412c24b3e3ae0cd69e5dfbd6a4288 519672192
sagemath-upstream-binary_5.1.orig-amd64.tar.xz
 bb928dbd434cbd5166117f8c5316dd45e2119068 489769212
sagemath-upstream-binary_5.1.orig-i386.tar.xz
 403bd0ef9622a02a17e181916dd2bcac71b48ce2 45
sagemath-upstream-binary_5.1.orig.tar.gz
 4e25c3f82808f300f1999a5696d77f38066626a0 24593
sagemath-upstream-binary_5.1.debian.tar.gz
Checksums-Sha256:
 89c490dc6b202bef2d470ee1fdebb215281c10584a6f41b29a3439e873ae66ac 2433
sagemath-upstream-binary_5.1.dsc
 65fd9d37c102af57ee2af6ba7f91121ae9710594a839e2ce4281ed521e78db1c 519672192
sagemath-upstream-binary_5.1.orig-amd64.tar.xz
 9c50619466139be83328cba0c68f149b777a2f7d7643203aea4ece4ddec9575c 489769212
sagemath-upstream-binary_5.1.orig-i386.tar.xz
 8884ce4e4d81a1be84e1c79a2f03330e78863b27d83d227ca249c4c0b9bfd844 45
sagemath-upstream-binary_5.1.orig.tar.gz
 b6eacae1cf4be14e07d602b2cc910583302862776b32e424d764e7a159310bd2 24593
sagemath-upstream-binary_5.1.debian.tar.gz
Files:
 3831b89aaed799926a68f71476990b5d 2433 math extra
sagemath-upstream-binary_5.1.dsc
 f1a0b581a2e2aff6617bd598a7e96a39 519672192 math extra
sagemath-upstream-binary_5.1.orig-amd64.tar.xz
 8f42ea73e67c64b75f6b435f37650e8b 489769212 math extra
sagemath-upstream-binary_5.1.orig-i386.tar.xz
 1715a5568d0fcaa33ef525cf85725e63 45 math extra
sagemath-upstream-binary_5.1.orig.tar.gz
 caa0ec937da225675567930bcf3a5cfd 24593 math extra
sagemath-upstream-binary_5.1.debian.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJP/RJvAAoJEOQ3NBTWsMJCP6QP/0bVS/qG1pbar+iiOpLSaQaG
jQ4fIgexWydelJbjNFccs9LLx3VLSVyKxLDajlo52AicU91aDl4Q5Fg4AncoIp3y
DaWSnao1p+lcqaLkVUcCSW4s9g6fuN7B5WreQ+nOD+sGhrFQaM/z0g8/hHwqpFtl
Tk5bPvKTKRWPVb0ST2O5FWvE9uiw5yZ9kQyKGDhUxryX77v8mgU/srvmf3ZsQtsv
VWsYsH7oQSD7WTpmuRKSVJfT3NSvil+BRysA+dZW8EBXld3jQeACkqescmIWj2fK
N7S50M+D32SHPAUa0e3w6ArfvlUPHcqsWLvwxCsKyE1XKWqRHyO9k6bUW8FpyahY
KR6ncUjIXTz9cVRB6Pq4pGmMtqjYsV2S3JUUiGa2zgjmf3+6C212MHK+pi38H1FD
fshzc4xTlmzm8SPw+oBecioKPIt2mqPS4hdTGj2ClU5zY/QUSqcxWp6S5fFFMvZ1
NcDUX270bA+eWjRaAIeR1gnkiy7PZsnOtSnO9Ow6rxrCCSCKRop3MH57wYqNC72W
DDHuMeFvSRUw/zOEJdVpMqI0qdqbX2JOz07+HAmCn4N4icb25sqnMvZiJH7kFHtK
o59ZHL0AhLM36HZz+Z7/6d7BSc6+K2Zw9moxVjpfgQMlWGLET4046iMGN1wwCzZN
8WCwIs+S3cwyqriKwUYv
=fWCr
-----END PGP SIGNATURE-----
0 jan@snapperkob:~/src/sagemath-upstream-binary$


Regards,
Jan

-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to