Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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/Exporter.pm line 64.
 at /usr/share/perl5/Dpkg/Source/Archive.pm 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

1 Answer 1

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

 
discard

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.