dpkg-buildpackage: error: dpkg-source -b mediatomb-0.12.1 gave error exit status 2
my build process is as follows...
1.) sudo mkdir ~/temp_files/
2.) cd ~/temp_files/
3.) sudo apt-get build-dep mediatomb
4.) sudo apt-get source mediatomb
5.) sudo nano mediatomb-0.12.1/debian/rules
6.) change --disable-libjs to --enable-libjs
7.) Save and exit nano
8.) sudo wget http://ftp.us.debian.org/debian/pool/main/i/iceweasel/libmozjs2d_220.127.116.11-20_amd64.deb
9.) sudo wget http://ftp.us.debian.org/debian/pool/main/i/iceweasel/libmozjs-dev_18.104.22.168-20_amd64.deb
10.) sudo dpkg -i libmozjs2d_22.214.171.124-20_amd64.deb
11.) sudo dpkg -i libmozjs-dev_126.96.36.199-20_amd64.deb
12.) cd mediatomb-0.12.1/
13.) sudo ./configure
14.) sudo su
15.) sudo dpkg-buildpackage -us -uc
That when the error above appears. I am still somewhat new to Unbuntu/Linux and am not sure what is going on. Thought it might be because I never updated the changelog (which I did not have to do on a previous build for an earlier Ubuntu). Sadly updating the changelog does not seem to remove the errors.
The /tmp/mediatomb_0.12.1-5ubuntu2.diff.GbqfBo is confusing to me. The top area looks like the same change log located in the changelog for mediatomb.
Thanks in advance for any help!
Did you get this fixed yet?
The file is generated because of the change you made to the rules. I believe you need to apply the patch that's been created to the configure file, if I recall.
then you'll get asked to give a file name for the patch. Apply the patch with
$>patch -1 < PATH/mediatomb-0.12.1/debian/patches/file_name
Post if that works.