problem in packaging my app

John Pugh john.pugh at canonical.com
Tue Jul 3 11:18:10 UTC 2012


On 07/03/2012 03:20 AM, Shubham Maheshwari wrote:
> i have a problem in packaging my app here is the error i cant get what
> the problem is
> shubhamm at localhost:~/real$ cd /home/shubhamm/real/widgets-1.0/
> shubhamm at localhost:~/real/widgets-1.0$ debuild
> This package has a Debian revision number but there does not seem to be
> an appropriate original tar file or .orig directory in the parent directory;
> (expected one of widgets_1.0.orig.tar.gz, widgets_1.0.orig.tar.bz2,
> widgets_1.0.orig.tar.lzma,  widgets_1.0.orig.tar.xz or widgets-1.0.orig)
> continue anyway? (y/n) y                  
>  dpkg-buildpackage -rfakeroot -D -us -uc
> 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 widgets
> dpkg-buildpackage: source version 1.0-1
> dpkg-buildpackage: source changed by shubham
> <shubhamaheshwariy at gmail.com <mailto:shubhamaheshwariy at gmail.com>>
>  dpkg-source --before-build widgets-1.0
> dpkg-buildpackage: host architecture i386
>  fakeroot debian/rules clean
> dh clean
>    dh_testdir
>    dh_auto_clean
>    dh_clean
>  dpkg-source -b widgets-1.0
> dpkg-source: error: can't build with source format '3.0 (quilt)': no
> upstream tarball found at ../widgets_1.0.orig.tar.{bz2,gz,lzma,xz}
> dpkg-buildpackage: error: dpkg-source -b widgets-1.0 gave error exit
> status 255
> debuild: fatal error at line 1350:
> dpkg-buildpackage -rfakeroot -D -us -uc failed
> shubhamm at localhost:~/real/widgets-1.0$

The error message is quite explicit. Because you are using the quilt
format you need to build an orig.tar.gz of the source. The simplest way
is to take your build directory "~/real/widgets-1.0" and compress it
removing the debian directory. Save this as widgets_1.0.orig.tar.gz and
then try your build again. I *think* if you changed the source format to
native you will not need this tarball to build from.





More information about the Ubuntu-app-devel mailing list