[Koha-devel] Trying to generate the package.

Rodrigo Santellan rsantellan at gmail.com
Tue Oct 11 20:32:33 CEST 2016


Hi,

I'm trying to generate the package to learn how to so can I apply it later.

I follow:
https://wiki.koha-community.org/wiki/Building_Debian_Packages_-_The_Easy_Way
on the kohadevbox (jessie) but when I try to generate the package this
message appear: W: /home/vagrant/.pbuilderrc does not exist

I have to said that I change he file: build-git-snapshot the line 32 to my
$distribution='testing'; because of this warning:

dch --force-distribution -D "squeeze-dev" -v
"16.05.04git+20161011182826.70be2835" "Building git snapshot."
dch warning: Recognised distributions are: unstable, testing, stable,
oldstable, experimental, {testing-,stable-,oldstable-,}proposed-updates,
{testing,stable,oldstable}-se

And the error I have is:

vagrant at kohadevbox:kohaclone(origin/local-16.05.X)$ sudo -E
./debian/build-git-snapshot -r ~/debian -v 16.05.04git -d
git status --porcelain -unormal
git rev-parse --short=8 HEAD
dch --force-distribution -D "squeeze-dev" -v
"16.05.04git+20161011182826.70be2835" "Building git snapshot."
dch warning: Recognised distributions are: unstable, testing, stable,
oldstable, experimental, {testing-,stable-,oldstable-,}proposed-updates,
{testing,stable,oldstable}-security, wheezy-backports, jessie-backports and
UNRELEASED.
Using your request anyway.
dch -r "Building git snapshot."
git archive --format=tar
--prefix="koha-16.05.04git+20161011182826.70be2835/" HEAD | gzip -9 >
"../koha_16.05.04git+20161011182826.70be2835.tar.gz"
pdebuild  --buildresult /home/vagrant/debian
W: /home/vagrant/.pbuilderrc does not exist
dpkg-checkbuilddeps: warning: relation < is deprecated: use << or <=
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package koha
dpkg-buildpackage: source version 16.05.04git+20161011182826.70be2835
dpkg-buildpackage: source distribution squeeze-dev
dpkg-buildpackage: source changed by root <root at kohadevbox>
 dpkg-source --before-build kohaclone
dpkg-source: warning: relation < is deprecated: use << or <=
dpkg-checkbuilddeps: warning: relation < is deprecated: use << or <=
 fakeroot debian/rules clean
dh clean --fail-missing --with bash-completion
   dh_testdir -O--fail-missing
   dh_auto_clean -O--fail-missing
make[1]: Entering directory '/home/vagrant/kohaclone'
make[1]: *** No rule to make target
'/usr/lib/x86_64-linux-gnu/perl/5.22/Config.pm', needed by 'Makefile'.
Stop.
make[1]: Leaving directory '/home/vagrant/kohaclone'
dh_auto_clean: make -j1 distclean returned exit code 2
Command 'pdebuild  --buildresult /home/vagrant/debian' returns an error
(512)
debian/rules:9: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit
status 2

Where can I look for information about this?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20161011/34d0ee10/attachment.html>


More information about the Koha-devel mailing list