Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing build dependency for libmodule-install-perl #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fspv
Copy link

@fspv fspv commented Apr 12, 2017

In debian/control there is forgotten dependency for libmodule-install-perl
Without this dependency build runs like this

[20:33:11][Step 1/2] + debuild --check-dirname-level 0 --no-tgz-check -kprius
[20:33:12][Step 1/2]  dpkg-buildpackage -rfakeroot -D -us -uc
[20:33:12][Step 1/2] dpkg-buildpackage: source package mha4mysql-manager
[20:33:12][Step 1/2] dpkg-buildpackage: source version 0.56-0
[20:33:12][Step 1/2] dpkg-buildpackage: source distribution squeeze
[20:33:12][Step 1/2] dpkg-buildpackage: source changed by Yoshinori Matsunobu <[email protected]>
[20:33:12][Step 1/2]  dpkg-source --before-build mha4mysql-manager
[20:33:12][Step 1/2] dpkg-buildpackage: host architecture amd64
[20:33:12][Step 1/2]  fakeroot debian/rules clean
[20:33:12][Step 1/2] dh clean
[20:33:12][Step 1/2]    dh_testdir
[20:33:12][Step 1/2]    dh_auto_clean
[20:33:13][Step 1/2]    dh_clean
[20:33:13][Step 1/2]  dpkg-source -b mha4mysql-manager
[20:33:13][Step 1/2] dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
[20:33:13][Step 1/2] dpkg-source: warning: source directory 'mha4mysql-manager' is not <sourcepackage>-<upstreamversion> 'mha4mysql-manager-0.56'
[20:33:13][Step 1/2] dpkg-source: info: using source format `1.0'
[20:33:13][Step 1/2] dpkg-source: info: building mha4mysql-manager in mha4mysql-manager_0.56-0.tar.gz
[20:33:13][Step 1/2] dpkg-source: info: building mha4mysql-manager in mha4mysql-manager_0.56-0.dsc
[20:33:13][Step 1/2]  debian/rules build
[20:33:13][Step 1/2] dh build
[20:33:13][Step 1/2]    dh_testdir
[20:33:13][Step 1/2]    dh_auto_configure
[20:33:13][Step 1/2] Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at Makefile.PL line 1.
[20:33:13][Step 1/2] BEGIN failed--compilation aborted at Makefile.PL line 1.
[20:33:13][Step 1/2] dh_auto_configure: perl Makefile.PL INSTALLDIRS=vendor create_packlist=0 returned exit code 2
[20:33:13][Step 1/2] debuild: fatal error at line 1364:
[20:33:13][Step 1/2] dpkg-buildpackage -rfakeroot -D -us -uc failed
[20:33:13][Step 1/2] make: *** [build] Error 2
[20:33:13][Step 1/2] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[20:33:13][Step 1/2] Process exited with code 29
[20:33:13][Step 1/2] Step Build package (Command Line) failed

So it is missing inc::Module::Install module.
If we add this dependency and then run

cd debian/
sudo /usr/lib/pbuilder/pbuilder-satisfydepends --control control

Package will be installed and then debuild runs smootly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant