sagemath-monolithic PPA on launchpad

201 views
Skip to first unread message

Jan Groenewald

unread,
Jul 13, 2012, 4:20:11 AM7/13/12
to sage-...@googlegroups.com
Hi

I took an hour to put up a new PPA which attempts
to trivially run make and so to build a sagemath-monolithic
from source on the Launchpad platform:

https://launchpad.net/~aims/+archive/sagemath/+packages

Builds failed:
https://launchpad.net/~aims/+archive/sagemath/+build/3651139
https://launchpad.net/~aims/+archive/sagemath/+build/3651140

One can get the source from the ppa:aims/sagemath with
apt-get source sagemath-monolithic. Do note there is an
existing bug if you run apt-add-repository more than once:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1018327

Now supposedly after adding enough override_dh_* to the
debian/rules file, there will be a working sagemath-monoliticm,
which gives us a buildfarm for all supported architectures and
all supported Ubuntu releases. It will also potentially aid the
debianization project.

If there is sufficient community interest, this can move to a separate
PPA and to UDD rather than traditional development. In the meantime
people can suggest I make changes, send me patches, or ask for
access to the existing PPA, until this becomes too much for me to manage.

Debian / Ubuntu developer resources:

[1] http://developer.ubuntu.com/packaging/html/traditional-packaging.html
[2] http://developer.ubuntu.com/packaging/html/udd-intro.html
[3] http://developer.ubuntu.com/packaging/html/introduction-to-ubuntu-development.html
[4] http://debian-handbook.info/browse/stable/packaging-system.html
[5] http://www.debian.org/doc/manuals/maint-guide
[6] http://www.debian.org/doc/debian-policy
[7] http://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html

Regards,
Jan



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


Jeroen Demeyer

unread,
Jul 13, 2012, 4:38:15 AM7/13/12
to sage-...@googlegroups.com
You need to install the "m4" package as build-time dependency.

Jeroen Demeyer

unread,
Jul 13, 2012, 4:42:12 AM7/13/12
to sage-...@googlegroups.com
Build-time dependencies should be:
* gcc
* perl
* m4
* make
* g++ (only Ubuntu 11.10 or later)
* gfortran (only Ubuntu 11.10 or later)
* dpkg-dev (only Ubuntu 11.10 or later)

Recommended build-time dependencies:
* texlive-full
* dvipng

Run-time dependencies:
* g++ (only Ubuntu 11.10 or later)
* gfortran (only Ubuntu 11.10 or later)

Jan Groenewald

unread,
Jul 13, 2012, 5:32:14 AM7/13/12
to sage-...@googlegroups.com
Hi


We're only testing 12.04 at the moment. I've adjusted the control file:

Build-Depends: debhelper (>= 8.0.0), build-essential, m4, perl, tar, gfortran, tk-dev, texlive-full, dvipng
(build-essential depends on gcc, g++, dpkg-dev, and dpkg-dev depends on binutils, probaby tar and perhaps perl are not necessary as they might be included on a minimal system, but it doesn't hurt to add them).

Depends: ${shlibs:Depends}, ${misc:Depends}, libssl0.9.8, build-essential, gfortran, libgfortran3, openssh-client, imagemagick, ffmpeg, dvipng, texlive, texlive-pictures, icedtea-7-plugin | icedtea-plugin
(this is the same as sagemath-upstream-binary)

Uploaded and building now at:
https://launchpad.net/~aims/+archive/sagemath/+packages

Note: I think launchpad will build for i386 for the 32bit packages, not for i686 as
the buildbot / sage scripts currently does.

Regards,
Jan

Jan Groenewald

unread,
Jul 13, 2012, 6:42:46 AM7/13/12
to sage-...@googlegroups.com
Hi

On 13 July 2012 11:32, Jan Groenewald <j...@aims.ac.za> wrote:

Failed to build:

---------- Forwarded message ----------
From: Launchpad Buildd System <nor...@launchpad.net>
Date: 13 July 2012 12:37
Subject: [Build #3653249] i386 build of sagemath-monolithic 0.1ubuntu3 in ubuntu precise RELEASE (aims-sagemath PPA)
To: j...@aims.ac.za



 * Source Package: sagemath-monolithic
 * Version: 0.1ubuntu3
 * Architecture: i386
 * Archive: aims-sagemath PPA
 * Component: main
 * State: Failed to build
 * Duration: 1 hour 30 minutes
 * Build Log: https://launchpad.net/~aims/+archive/sagemath/+build/3653249/+files/buildlog_ubuntu-precise-i386.sagemath-monolithic_0.1ubuntu3_FAILEDTOBUILD.txt.gz
 * Builder: https://launchpad.net/builders/einsteinium
 * Source: not available



If you want further information about this situation, feel free to
contact a member of the Launchpad Buildd Administrators team.

--
i386 build of sagemath-monolithic 0.1ubuntu3 in ubuntu precise RELEASE
https://launchpad.net/~aims/+archive/sagemath/+build/3653249



It bombed out on matplotlib.

****************************************************
NOTE: Set SAGE_MATPLOTLIB_GUI to anything but 'no' to try to build the Matplotlib GUI.
Not building any matplotlib graphical backends.
patching file lib/matplotlib/__init__.py
patching file lib/matplotlib/finance.py
patching file lib/matplotlib/texmanager.py
patching file setupext.py
basedirlist is: ['/build/buildd/sagemath-monolithic-0.1ubuntu3/local']
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 1.1.0
                python: 2.7.3 (default, Jul 13 2012, 09:58:03)  [GCC 4.6.3]
              platform: linux2

REQUIRED DEPENDENCIES
./spkg-install: line 31: 14233 Aborted                 python setup.py build
Error building matplotlib package.

real	0m0.238s
user	0m0.176s
sys	0m0.040s
************************************************************************
Error installing package matplotlib-1.1.0
************************************************************************



Regards,
Jan

Jeroen Demeyer

unread,
Jul 13, 2012, 7:36:36 AM7/13/12
to sage-...@googlegroups.com
On 2012-07-13 11:32, Jan Groenewald wrote:
> Note: I think launchpad will build for i386 for the 32bit packages, not
> for i686 as
> the buildbot / sage scripts currently does.
Why do you think the buildbot builds for i686? The binaries *should*
work on any i386 system, if not that's a bug.

Jeroen Demeyer

unread,
Jul 13, 2012, 7:40:35 AM7/13/12
to sage-...@googlegroups.com
On 2012-07-13 11:32, Jan Groenewald wrote:
> Hi
>
> On 13 July 2012 10:42, Jeroen Demeyer <jdem...@cage.ugent.be
I guess Depends should only have libgfortran3, not all of gfortran. But
that's a detail...

Jeroen Demeyer

unread,
Jul 13, 2012, 7:42:28 AM7/13/12
to sage-...@googlegroups.com
Can you build using "make -k" instead of "make"? This will make the
build continue after errors (but it will still respect dependencies).

Jan Groenewald

unread,
Jul 13, 2012, 8:53:00 AM7/13/12
to sage-...@googlegroups.com, julien...@laposte.net
Hi

On 13 July 2012 13:42, Jeroen Demeyer <jdem...@cage.ugent.be> wrote:
Can you build using "make -k" instead of "make"?  This will make the
build continue after errors (but it will still respect dependencies).

No idea how.  Our rules file say to run:



0 jan@snapperkob:~/src/sagemath-monolithic/sagemath-monolithic-0.1ubuntu3$cat debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
        dh $@
0 jan@snapperkob:~/src/sagemath-monolithic/sagemath-monolithic-0.1ubuntu3$



Somehow those debhelper (dh) commands will call make somewhere.

Maybe Julien can help us out.

Regards,
Jan

Javier López Peña

unread,
Jul 13, 2012, 9:00:36 AM7/13/12
to sage-...@googlegroups.com, julien...@laposte.net

On Friday, July 13, 2012 1:53:00 PM UTC+1, Jan Groenewald wrote:
Can you build using "make -k" instead of "make"?  This will make the
build continue after errors (but it will still respect dependencies).

No idea how.  Our rules file say to run:



0 jan@snapperkob:~/src/sagemath-monolithic/sagemath-monolithic-0.1ubuntu3$cat debian/rules
#!/usr/bin/make -f
# -*- makefile -*-

Maybe I am saying something stupid here, but cannot you just change the first line to this?
 #!/usr/bin/make -f -k

Javier López Peña

unread,
Jul 13, 2012, 9:06:55 AM7/13/12
to sage-...@googlegroups.com, julien...@laposte.net

On Friday, July 13, 2012 2:00:36 PM UTC+1, Javier López Peña wrote:
Maybe I am saying something stupid here, but cannot you just change the first line to this?
 #!/usr/bin/make -f -k

Sorry, that should be
 #!/usr/bin/make -k -f
 

Jan Groenewald

unread,
Jul 13, 2012, 10:42:10 AM7/13/12
to sage-...@googlegroups.com
Hi


It seems not:

 130 jan@snapperkob:~/src/sagemath-monolithic/sagemath-monolithic-0.1ubuntu3$debuild -k'Jan Groenewald (Www.aims.ac.za) <j...@aims.ac.za>'
-S -sa
 dpkg-buildpackage -rfakeroot -d -us -uc -S -sa
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package sagemath-monolithic
dpkg-buildpackage: source version 0.1ubuntu4
dpkg-buildpackage: source changed by Jan Groenewald <j...@aims.ac.za>
 dpkg-source --before-build sagemath-monolithic-0.1ubuntu4
 fakeroot debian/rules clean
/usr/bin/make: invalid option -- ' '
/usr/bin/make: invalid option -- '-'
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from commands.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any commands; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no commands; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo commands.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-...@gnu.org>
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -d -us -uc -S -sa failed
29 jan@snapperkob:~/src/sagemath-monolithic/sagemath-monolithic-0.1ubuntu3$

Regards,
Jan

Jeroen Demeyer

unread,
Jul 13, 2012, 10:43:35 AM7/13/12
to sage-...@googlegroups.com
On 2012-07-13 15:06, Javier L�pez Pe�a wrote:
> Sorry, that should be
> #!/usr/bin/make -k -f

No, you can't do that. "#!" scripts support at most 1 command line option.

Rob McMahon

unread,
Jul 13, 2012, 11:18:13 AM7/13/12
to sage-...@googlegroups.com
But you should be able to do

#!/usr/bin/make -kf

Rob

--
E-Mail: Rob.M...@warwick.ac.uk PHONE: +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

Jan Groenewald

unread,
Jul 14, 2012, 3:17:14 AM7/14/12
to sage-...@googlegroups.com
Hi

On 13 July 2012 17:18, Rob McMahon <RobMcM...@gmail.com> wrote:
On 13/07/2012 15:43, Jeroen Demeyer wrote:
On 2012-07-13 15:06, Javier López Peña wrote:
Sorry, that should be
  #!/usr/bin/make -k -f
No, you can't do that.  "#!" scripts support at most 1 command line option.

But you should be able to do

#!/usr/bin/make -kf

Jan Groenewald

unread,
Jul 14, 2012, 7:39:23 AM7/14/12
to sage-...@googlegroups.com
Hi

On 14 July 2012 09:17, Jan Groenewald <j...@aims.ac.za> wrote:
Hi

On 13 July 2012 17:18, Rob McMahon <RobMcM...@gmail.com> wrote:
On 13/07/2012 15:43, Jeroen Demeyer wrote:
On 2012-07-13 15:06, Javier López Peña wrote:
Sorry, that should be
  #!/usr/bin/make -k -f
No, you can't do that.  "#!" scripts support at most 1 command line option.

But you should be able to do

#!/usr/bin/make -kf

amd64 failed to build:

 * Source Package: sagemath-monolithic
 * Version: 0.1ubuntu5
 * Architecture: amd64

 * Archive: aims-sagemath PPA
 * Component: main
 * State: Failed to build

 * Source: not available



If you want further information about this situation, feel free to
contact a member of the Launchpad Buildd Administrators team.

--
amd64 build of sagemath-monolithic 0.1ubuntu5 in ubuntu precise RELEASE
https://launchpad.net/~aims/+archive/sagemath/+build/3655849


Regards,
Jan

Jan Groenewald

unread,
Jul 14, 2012, 7:47:26 AM7/14/12
to sage-...@googlegroups.com
Hi


i386 also failed on sympy.


  * Source Package: sagemath-monolithic
 * Version: 0.1ubuntu5
 * Architecture: i386

 * Archive: aims-sagemath PPA
 * Component: main
 * State: Failed to build

 * Source: not available



If you want further information about this situation, feel free to
contact a member of the Launchpad Buildd Administrators team.

--
i386 build of sagemath-monolithic 0.1ubuntu5 in ubuntu precise RELEASE
https://launchpad.net/~aims/+archive/sagemath/+build/3655850

Regards,
Jan

Julien Puydt

unread,
Jul 14, 2012, 10:34:15 AM7/14/12
to sage-...@googlegroups.com
Le 13/07/2012 13:36, Jeroen Demeyer a �crit :
The buildbots should build for all supported architectures ; so it's
possible that there are i386 and i686 versions ; I don't know.

Debian has both i386 and amd64 for example :
http://www.debian.org/ports/

Snark on #sagemath

Julien Puydt

unread,
Jul 14, 2012, 10:37:57 AM7/14/12
to Sage Devel
Le 13/07/2012 14:53, Jan Groenewald a �crit :

> On 13 July 2012 13:42, Jeroen Demeyer <jdem...@cage.ugent.be
> <mailto:jdem...@cage.ugent.be>> wrote:
> Can you build using "make -k" instead of "make"? This will make the
> build continue after errors (but it will still respect dependencies).

> Somehow those debhelper (dh) commands will call make somewhere.
>
> Maybe Julien can help us out.

Well, if you have a look at "man 7 debhelper", you'll see
dh_auto_build is how it's done ; so you just have to add this rule to
your debian/rules :

override_dh_auto_build:
make -k

But notice that "make -k" will still fail in the end, so I don't know
what you hope to gain with that!

Snark on #sagemath

Jan Groenewald

unread,
Jul 14, 2012, 10:43:07 AM7/14/12
to sage-...@googlegroups.com
Hi


Because the binaries have i686 in the filenames:
http://sagemath.mirror.ac.za/linux/32bit/index.html

Perhaps only the filename is misleading.

Regards,
Jan

Jeroen Demeyer

unread,
Jul 14, 2012, 10:44:58 AM7/14/12
to sage-...@googlegroups.com
On 2012-07-14 16:43, Jan Groenewald wrote:
> Perhaps only the filename is misleading.
Could be.

Jan Groenewald

unread,
Jul 14, 2012, 10:45:38 AM7/14/12
to sage-...@googlegroups.com
Hi

On 14 July 2012 16:37, Julien Puydt <julien...@laposte.net> wrote:

Le 13/07/2012 14:53, Jan Groenewald a écrit :

On 13 July 2012 13:42, Jeroen Demeyer <jdem...@cage.ugent.be
<mailto:jdem...@cage.ugent.be>> wrote:
    Can you build using "make -k" instead of "make"?  This will make the
    build continue after errors (but it will still respect dependencies).

Somehow those debhelper (dh) commands will call make somewhere.

Maybe Julien can help us out.

Well, if you have a look at "man 7 debhelper", you'll see
dh_auto_build is how it's done ; so you just have to add this rule to your debian/rules :

override_dh_auto_build:
        make -k


Thanks, I will update and upoload that and have a closer look at the man page.
 
But notice that "make -k" will still fail in the end, so I don't know what you hope to gain with that!

Jeroen suggested this after the first compile failed on matplotlib.

Regards,
Jan

Jan Groenewald

unread,
Jul 14, 2012, 3:22:27 PM7/14/12
to sage-...@googlegroups.com
Hi

On 14 July 2012 16:45, Jan Groenewald <j...@aims.ac.za> wrote:
On 13 July 2012 13:42, Jeroen Demeyer <jdem...@cage.ugent.be
<mailto:jdem...@cage.ugent.be>> wrote:
    Can you build using "make -k" instead of "make"?  This will make the
    build continue after errors (but it will still respect dependencies).

Somehow those debhelper (dh) commands will call make somewhere.

Maybe Julien can help us out.

Well, if you have a look at "man 7 debhelper", you'll see
dh_auto_build is how it's done ; so you just have to add this rule to your debian/rules :

override_dh_auto_build:
        make -k


Thanks, I will update and upoload that.


It failed on sympy again.

 * Source Package: sagemath-monolithic
 * Version: 0.1ubuntu6

 * Architecture: i386
 * Archive: aims-sagemath PPA
 * Component: main
 * State: Failed to build
 * Duration: 4 hours

 * Source: not available



If you want further information about this situation, feel free to
contact a member of the Launchpad Buildd Administrators team.

--
i386 build of sagemath-monolithic 0.1ubuntu6 in ubuntu precise RELEASE
https://launchpad.net/~aims/+archive/sagemath/+build/3656703




 * Source Package: sagemath-monolithic
 * Version: 0.1ubuntu6

 * Architecture: amd64
 * Archive: aims-sagemath PPA
 * Component: main
 * State: Failed to build

 * Source: not available



If you want further information about this situation, feel free to
contact a member of the Launchpad Buildd Administrators team.

--
amd64 build of sagemath-monolithic 0.1ubuntu6 in ubuntu precise RELEASE
https://launchpad.net/~aims/+archive/sagemath/+build/3656702


Julien Puydt

unread,
Jul 14, 2012, 3:26:36 PM7/14/12
to sage-...@googlegroups.com
Le 14/07/2012 21:22, Jan Groenewald a �crit :
> (many things)

I downloaded a buildlog and had a look, but there was nothing
interesting to see :-/

Snark on #sagemath

Jan Groenewald

unread,
Jul 14, 2012, 3:47:51 PM7/14/12
to sage-...@googlegroups.com
Hi

On 14 July 2012 21:26, Julien Puydt <julien...@laposte.net> wrote:

Le 14/07/2012 21:22, Jan Groenewald a écrit :
> (many things)

I downloaded a buildlog and had a look, but there was nothing interesting to see :-/


I can do two things when time allows.
1. debuild -b locally, and
2. learn to use pbuilder and I've heard there is a launchpad-like pbuilder mode.

Regards,
Jan

Julien Puydt

unread,
Jul 14, 2012, 3:59:48 PM7/14/12
to sage-...@googlegroups.com
Le 14/07/2012 21:47, Jan Groenewald a �crit :
> On 14 July 2012 21:26, Julien Puydt <julien...@laposte.net
> <mailto:julien...@laposte.net>> wrote:
>
> Le 14/07/2012 21:22, Jan Groenewald a �crit :
> > (many things)
>
> I downloaded a buildlog and had a look, but there was nothing
> interesting to see :-/
>
>
> I can do two things when time allows.
> 1. debuild -b locally, and

Uh... you mean you haven't even tested if your package built locally
before sending it afar!?

From the package directory, just "dpkg-buildpackage -us -uc" should be
enough. It only assumes that (1) you are in package-3.14/ (2) upstream's
sources are in ../package_3.14.orig.tar.gz.

> 2. learn to use pbuilder and I've heard there is a launchpad-like
> pbuilder mode.

I don't know if there's a launchpad-like pbuilder mode, but using it is
trivial:
- first, run "pbuilder --create" to initialize it ;
- then any time you have a package you'd like to test : "pbuilder
--build <name of the dsc>"

Snark on #sagemath

Jan Groenewald

unread,
Jul 15, 2012, 2:50:11 AM7/15/12
to sage-...@googlegroups.com
Hi

On 14 July 2012 21:59, Julien Puydt <julien...@laposte.net> wrote:
Le 14/07/2012 21:47, Jan Groenewald a écrit :
On 14 July 2012 21:26, Julien Puydt <julien...@laposte.net
<mailto:julien.puydt@laposte.net>> wrote:


    Le 14/07/2012 21:22, Jan Groenewald a écrit :
     > (many things)

    I downloaded a buildlog and had a look, but there was nothing
    interesting to see :-/

I can do two things when time allows.
1. debuild -b locally, and

Uh... you mean you haven't even tested if your package built locally before sending it afar!?

I generally do. For this, I wanted to see the exact launchpad  behaviour. This package takes
4.5 hours to build, so the turnaround time of doing it twice each time is limiting.

From the package directory, just "dpkg-buildpackage -us -uc" should be enough. It only assumes that (1) you are in package-3.14/ (2) upstream's sources are in ../package_3.14.orig.tar.gz.

Or even in /debian. Perhaps even anywhere in the tree.
 
2. learn to use pbuilder and I've heard there is a launchpad-like
pbuilder mode.

I don't know if there's a launchpad-like pbuilder mode, but using it is trivial:
- first, run "pbuilder --create" to initialize it ;
- then any time you have a package you'd like to test : "pbuilder --build <name of the dsc>"

 Bot those require sudo here. Why?

Regards,
Jan

Jan Groenewald

unread,
Jul 15, 2012, 2:53:12 AM7/15/12
to sage-...@googlegroups.com
HI



/0 jan@snapperkob:~/src/sagemath-monolithic$sudo pbuilder --build sagemath-monolithic_0.1ubuntu6.dsc
[sudo] password for jan:
Sorry, try again.
[sudo] password for jan:
W: /home/jan/.pbuilderrc does not exist
I: using fakeroot in build.
I: Current time: Sun Jul 15 08:50:14 SAST 2012
I: pbuilder-time-stamp: 1342335014
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /var/cache/pbuilder/ccache
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Setting up ccache
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilde...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.

Depends: debhelper (>= 8.0.0), build-essential, m4, perl, tar, gfortran, tk-dev, texlive-full, dvipng
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 13941 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on debhelper (>= 8.0.0); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on m4; however:
  Package m4 is not installed.
 pbuilder-satisfydepends-dummy depends on gfortran; however:
  Package gfortran is not installed.
 pbuilder-satisfydepends-dummy depends on tk-dev; however:
  Package tk-dev is not installed.
 pbuilder-satisfydepends-dummy depends on texlive-full; however:
  Package texlive-full is not installed.
 pbuilder-satisfydepends-dummy depends on dvipng; however:
  Package dvipng is not installed.
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
The following NEW packages will be installed:
  bsdmainutils{a} debhelper{a} dh-apparmor{a} file{a} fontconfig-config{a} gettext{a} gettext-base{a} gfortran{a} gfortran-4.6{a}
  groff-base{a} html2text{a} intltool-debian{a} libcroco3{a} libexpat1{a} libexpat1-dev{a} libfontconfig1{a} libfontconfig1-dev{a}
  libfreetype6{a} libfreetype6-dev{a} libgettextpo0{a} libgfortran3{a} libmagic1{a} libpipeline1{a} libpopt0{a} libpthread-stubs0{a}
  libpthread-stubs0-dev{a} libunistring0{a} libx11-6{a} libx11-data{a} libx11-dev{a} libxau-dev{a} libxau6{a} libxcb1{a}
  libxcb1-dev{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxft-dev{a} libxft2{a} libxml2{a} libxrender-dev{a}
  libxrender1{a} libxss-dev{a} libxss1{a} m4{a} man-db{a} pkg-config{a} po-debconf{a} tcl{a} tcl-dev{a} tcl8.5{a} tcl8.5-dev{a}
  tk{a} tk-dev{a} tk8.5{a} tk8.5-dev{a} ttf-dejavu-core{a} ucf{a} x11-common{a} x11proto-core-dev{a} x11proto-input-dev{a}
  x11proto-kb-dev{a} x11proto-render-dev{a} x11proto-scrnsaver-dev{a} x11proto-xext-dev{a} xorg-sgml-doctools{a} xtrans-dev{a}
  zlib1g-dev{a}
The following packages are RECOMMENDED but will NOT be installed:
  curl gnome-terminal konsole libmail-sendmail-perl libx11-doc lynx-cur wget wget:i386 xml-core xterm
0 packages upgraded, 69 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.4 MB of archives. After unpacking 73.4 MB will be used.
The following packages have unmet dependencies:
 pbuilder-satisfydepends-dummy : Depends: texlive-full which is a virtual package.
                                 Depends: dvipng but it is not going to be installed.
Unable to resolve dependencies!  Giving up...
The following NEW packages will be installed:
  bsdmainutils{a} debhelper{a} dh-apparmor{a} file{a} fontconfig-config{a} gettext{a} gettext-base{a} gfortran{a} gfortran-4.6{a}
  groff-base{a} html2text{a} intltool-debian{a} libcroco3{a} libexpat1{a} libexpat1-dev{a} libfontconfig1{a} libfontconfig1-dev{a}
  libfreetype6{a} libfreetype6-dev{a} libgettextpo0{a} libgfortran3{a} libmagic1{a} libpipeline1{a} libpopt0{a} libpthread-stubs0{a}
  libpthread-stubs0-dev{a} libunistring0{a} libx11-6{a} libx11-data{a} libx11-dev{a} libxau-dev{a} libxau6{a} libxcb1{a}
  libxcb1-dev{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxft-dev{a} libxft2{a} libxml2{a} libxrender-dev{a}
  libxrender1{a} libxss-dev{a} libxss1{a} m4{a} man-db{a} pkg-config{a} po-debconf{a} tcl{a} tcl-dev{a} tcl8.5{a} tcl8.5-dev{a}
  tk{a} tk-dev{a} tk8.5{a} tk8.5-dev{a} ttf-dejavu-core{a} ucf{a} x11-common{a} x11proto-core-dev{a} x11proto-input-dev{a}
  x11proto-kb-dev{a} x11proto-render-dev{a} x11proto-scrnsaver-dev{a} x11proto-xext-dev{a} xorg-sgml-doctools{a} xtrans-dev{a}
  zlib1g-dev{a}
The following packages are RECOMMENDED but will NOT be installed:
  curl gnome-terminal konsole libmail-sendmail-perl libx11-doc lynx-cur wget wget:i386 xml-core xterm
0 packages upgraded, 69 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.4 MB of archives. After unpacking 73.4 MB will be used.
Abort.
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 pbuilder-satisfydepends-dummy : Depends: debhelper (>= 8.0.0) but it is not going to be installed
                                 Depends: m4
                                 Depends: gfortran but it is not going to be installed
                                 Depends: tk-dev but it is not going to be installed
                                 Depends: texlive-full but it is not installable
                                 Depends: dvipng but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I: Copying back the cached apt archive contents
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//31876 and its subdirectories
1 jan@snapperkob:~/src/sagemath-monolithic$





Regards,
Jan

Julien Puydt

unread,
Jul 15, 2012, 3:26:46 AM7/15/12
to sage-...@googlegroups.com
Le 15/07/2012 08:53, Jan Groenewald a �crit :
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify a solution).

Uh... "pbuilder --update" then retry?

I think I hit that one once and got away like this, but I'm not sure :-/

Snark on #sagemath

Jan Groenewald

unread,
Jul 15, 2012, 3:29:17 AM7/15/12
to sage-...@googlegroups.com
Hi

On 15 July 2012 09:26, Julien Puydt <julien...@laposte.net> wrote:

Le 15/07/2012 08:53, Jan Groenewald a écrit :

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).

Uh... "pbuilder --update" then retry?

I think I hit that one once and got away like this, but I'm not sure :-/

No, I get it again, and I still need to use sudo.


 Need to get 23.4 MB of archives. After unpacking 73.4 MB will be used.
Abort.
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 pbuilder-satisfydepends-dummy : Depends: debhelper (>= 8.0.0) but it is not going to be installed
                                 Depends: m4
                                 Depends: gfortran but it is not going to be installed
                                 Depends: tk-dev but it is not going to be installed
                                 Depends: texlive-full but it is not installable
                                 Depends: dvipng but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I: Copying back the cached apt archive contents
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//704 and its subdirectories

1 jan@snapperkob:~/src/sagemath-monolithic$  


Regards,
Jan

Keshav Kini

unread,
Jul 15, 2012, 10:38:48 PM7/15/12
to sage-...@googlegroups.com
Jeroen Demeyer <jdem...@cage.ugent.be> writes:
> On 2012-07-13 15:06, Javier López Peña wrote:
>> Sorry, that should be
>> #!/usr/bin/make -k -f
>
> No, you can't do that. "#!" scripts support at most 1 command line option.

By the way, this is OS-specific. POSIX does not define hashbangs,
apparently. I suppose that

#!/path/to/foo bar baz

might result in any of the following:

$ "/path/to/foo bar baz" filename
$ "/path/to/foo" "bar baz" filename # this is what Linux does
$ "/path/to/foo" "bar" "baz" filename

or something completely different. IMO the first and third options above
seem more reasonable than the second, but maybe that's just me...

See also http://thread.gmane.org/gmane.os.netbsd.general/24784/focus=24791

-Keshav

----
Join us in #sagemath on irc.freenode.net !

Julien Puydt

unread,
Jul 17, 2012, 6:40:24 AM7/17/12
to sage-...@googlegroups.com
Le 15/07/2012 09:29, Jan Groenewald a �crit :
> Hi
>
> On 15 July 2012 09:26, Julien Puydt <julien...@laposte.net
> <mailto:julien...@laposte.net>> wrote:
>
> Le 15/07/2012 08:53, Jan Groenewald a �crit :
Well, first the documentation is here :
http://www.netfort.gr.jp/~dancer/software/pbuilder-doc/pbuilder-doc.html

Sections 2.6 and 4.6 discuss your sudo question as far as I can tell.

For the failing to resolve deps, I have a small idea: perhaps your base
install is for an old debian (well, stable ;-) ) which doesn't have a
recent enough debhelper according to your declared build-deps?

Sorry it took so long to answer : I was away :-)

Snark on #sagemath

Jan Groenewald

unread,
Jul 17, 2012, 6:45:40 AM7/17/12
to sage-...@googlegroups.com
Hi

On 17 July 2012 12:40, Julien Puydt <julien...@laposte.net> wrote:
Le 15/07/2012 09:29, Jan Groenewald a écrit :
Hi

On 15 July 2012 09:26, Julien Puydt <julien...@laposte.net
<mailto:julien.puydt@laposte.net>> wrote:


Snark on #sagemath

--
--
To post to this group, send an email to sage-...@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.or



Sorry, I am going away for 5 weeks, and then I am busy at work for a few months.
I will briefly get to this in between, but not with sustained concentration. After that
is too far in the future to make any commitments.

I think at least this thread suffices to prove that the binary re-package PPA
is working now, and the monolithic from-source PPA packaging is not trivial.

Regards,
Jan
 
Reply all
Reply to author
Forward
0 new messages