Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to put the following package into launchpad , but i can't really get it work with dpkg-buildpackage even on my system:

 dpkg-source -b xfce-appmenu-plugin
Subroutine Dpkg::Source::Archive::getcwd redefined at /usr/share/perl/5.12/ line 64.
 at /usr/share/perl5/Dpkg/Source/ line 32
dpkg-source: error: can't build with source format '3.0 (quilt)': no orig.tar file found
dpkg-buildpackage: error: dpkg-source -b xfce-appmenu-plugin gave error exit status 255

What problem could it be , i don't really have to tar this folder right ?

share|improve this question
up vote 2 down vote accepted

dpkg-source: error: can't build with source format '3.0 (quilt)': no orig.tar file found

This basically means that the build system is unable to find the source code. Are you sure that there is some file like xfce-appmenu-plugin.orig.tar.gz in the folder?

If yes, then you might be experiencing this problem. In this thread, the solution is to use dh_make --createorig. Alternatively, you can usedh_make -f ../xfce-appmenu-plugin.tar.gz. These will create the correct .orig.tar.gz, which can then be used by dpkg-buildpackage. Here, xfce-appmenu-plugin.tar.gz is the original source code in compressed form.

Looking through another source, I found this bug reported against dpkg-dev (Note that it is the same version that is shipped in Oneiric with the latest updates). The solution mentioned here was to rename the .orig.tar.gz to the exact name mentioned in the Changelog.

share|improve this answer
Yeah , dh_make --createorig somehow solved my problem , recreated debian/ folder – warl0ck Nov 14 '11 at 13:46
I have updated the answer based on what actually helped you. – rigved Nov 18 '11 at 11:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.