dpkg-buildpackage -S doesn't find my orig.tar file

Asked by Tycho Andersen on 2012-02-25

Hi all,

I am trying to repackage a newer version of python-cairo with additional features compiled in. Unfortunately, dpkg-source can't seem to find my orig.tar file, even though it was built with dh_make --createorig (see the terminal session below for details). Can anyone point out what I'm doing wrong? Thanks in advance!

smitten:~/packages/python-cairo-1.10.2$ pwd
/home/tycho/packages/python-cairo-1.10.2
smitten:~/packages/python-cairo-1.10.2$ ls ../*orig*
../python-cairo_1.10.2.orig.tar.gz
smitten:~/packages/python-cairo-1.10.2$ dpkg-buildpackage -S
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package pycairo
dpkg-buildpackage: source version 1.10.2-1ubuntu1
dpkg-buildpackage: source changed by Tycho Andersen <email address hidden>
 dpkg-source --before-build python-cairo-1.10.2
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b python-cairo-1.10.2
dpkg-source: error: can't build with source format '3.0 (quilt)': no orig.tar file found
dpkg-buildpackage: error: dpkg-source -b python-cairo-1.10.2 gave error exit status 255
smitten:~/packages/python-cairo-1.10.2 255$ cat debian/control
Source: pycairo
Section: python
Priority: optional
Maintainer: Tycho Andersen <email address hidden>
XSBC-Original-Maintainer: Debian Python Modules Team <email address hidden>
Uploaders: Dave Beckett <email address hidden>, Torsten Marek <email address hidden>, Tycho Andersen <email address hidden>
Build-Depends: debhelper (>= 7), cdbs (>= 0.4.90~), python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.5.4-1~), libcairo2-dev (>= 1.8.6), python-sphinx
Standards-Version: 3.8.3
Homepage: http://cairographics.org/pycairo/
X-Python-Version: >= 2.5

Package: python-cairo
Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
Provides: ${python:Provides}
Description: Python bindings for the Cairo vector graphics library
 This package contains modules that allow you to use the Cairo vector
 graphics library in Python programs.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Last query:
2012-02-25
Last reply:
2012-02-25

What is the output of:

lsb_release -a

Have you tried looking for a PPA:
https://launchpad.net/ubuntu/+ppas?name_filter=python-cairo

One of those may have what you need already compiled.

Tycho Andersen (tycho-s) said : #2

smitten:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric

I'm compiling python-cairo against a custom build of xpyb, so it's unlikely other builds will work. Thanks though.

mycae (mycae) said : #3

"debuild -S -us -uc" will tell you what the orig file it is looking for is called, so you don't have to guess.

either that or usin strace and grepping for open && orig.tar.gz (I think you can also filter in strace too, and that would be faster).

Im guessing you may be looking for pycairo?

Can you help with this problem?

Provide an answer of your own, or ask Tycho Andersen for more information if necessary.

To post a message you must log in.