<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I'm trying to generate the package to learn how to so can I apply it later.<br><br></div>I follow: <a href="https://wiki.koha-community.org/wiki/Building_Debian_Packages_-_The_Easy_Way">https://wiki.koha-community.org/wiki/Building_Debian_Packages_-_The_Easy_Way</a> on the kohadevbox (jessie) but when I try to generate the package this message appear: <span style="font-family:monospace,monospace">W: /home/vagrant/.pbuilderrc does not exist</span><br><br></div>I have to said that I change he file: build-git-snapshot the line 32 to my $distribution='testing'; because of this warning:<br><br><span style="font-family:monospace,monospace">dch --force-distribution -D "squeeze-dev" -v "16.05.04git+20161011182826.70be2835" "Building git snapshot."<br>dch warning: Recognised distributions are: unstable, testing, stable,<br>oldstable, experimental, {testing-,stable-,oldstable-,}proposed-updates,<br>{testing,stable,oldstable}-se</span><br><br></div>And the error I have is:<br><br><span style="font-family:monospace,monospace">vagrant@kohadevbox:kohaclone(origin/local-16.05.X)$ sudo -E ./debian/build-git-snapshot -r ~/debian -v 16.05.04git -d<br>git status --porcelain -unormal<br>git rev-parse --short=8 HEAD<br>dch --force-distribution -D "squeeze-dev" -v "16.05.04git+20161011182826.70be2835" "Building git snapshot."<br>dch warning: Recognised distributions are: unstable, testing, stable,<br>oldstable, experimental, {testing-,stable-,oldstable-,}proposed-updates,<br>{testing,stable,oldstable}-security, wheezy-backports, jessie-backports and UNRELEASED.<br>Using your request anyway.<br>dch -r "Building git snapshot."<br>git archive --format=tar --prefix="koha-16.05.04git+20161011182826.70be2835/" HEAD | gzip -9 > "../koha_16.05.04git+20161011182826.70be2835.tar.gz"<br>pdebuild  --buildresult /home/vagrant/debian<br>W: /home/vagrant/.pbuilderrc does not exist<br>dpkg-checkbuilddeps: warning: relation < is deprecated: use << or <=<br>dpkg-buildpackage: warning: using a gain-root-command while being root<br>dpkg-buildpackage: source package koha<br>dpkg-buildpackage: source version 16.05.04git+20161011182826.70be2835<br>dpkg-buildpackage: source distribution squeeze-dev<br>dpkg-buildpackage: source changed by root <root@kohadevbox><br> dpkg-source --before-build kohaclone<br>dpkg-source: warning: relation < is deprecated: use << or <=<br>dpkg-checkbuilddeps: warning: relation < is deprecated: use << or <=<br> fakeroot debian/rules clean<br>dh clean --fail-missing --with bash-completion<br>   dh_testdir -O--fail-missing<br>   dh_auto_clean -O--fail-missing<br>make[1]: Entering directory '/home/vagrant/kohaclone'<br>make[1]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/perl/5.22/Config.pm', needed by 'Makefile'.  Stop.<br>make[1]: Leaving directory '/home/vagrant/kohaclone'<br>dh_auto_clean: make -j1 distclean returned exit code 2<br>Command 'pdebuild  --buildresult /home/vagrant/debian' returns an error (512)<br>debian/rules:9: recipe for target 'clean' failed<br>make: *** [clean] Error 2<br>dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2<br><br></span></div><span style="font-family:arial,helvetica,sans-serif">Where can I look for information about this? <br><br></span></div><span style="font-family:arial,helvetica,sans-serif">Regards<br></span><div><span style="font-family:monospace,monospace"></span><div><br></div></div></div>