I have succesfully uploaded my app to launchpad:However it fails to build on both i386 and amd64.
Here is the link:
https://launchpad.net/~mkamenjak/+archive/ubuntu/bugappppa/+packages
Here is the build log from launchpad:
https://launchpadlibrarian.net/190190054/buildlog_ubuntu-utopic-amd64.bugapp_1-2ubuntu2_FAILEDTOBUILD.txt.gz
Here are the contents of my debian/control file:
Source: bugapp
Section: web
Priority: optional
Maintainer: Mario Kamenjak <mkamenjak77@gmail.com>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.5
Homepage: <insert the upstream URL, if relevant>
Package: bugapp
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: A webapp for bug.hr
<insert long description, indented with spaces>
Here are the contents of my debian/rules file:
#!/usr/bin/make -f
%:
dh $@
Why does it not build and how exactly do I fix this?
Note: I never packaged anything before.No experience in either .deb or .rpm packaging whatsoever.
Best Answer
Dobey's answer, it is more easy/quick to track dependencies using
pbuild
orsbuild
. Check SimpleBuild.However if you have small tool to package with low bandwidth connect, myself prefer building on launchpad directly as I don't have a ready setup of
chroot
environment, sometimes working on low resource machine.From the buildlog:
It clear that you need the
qmltestrunner
tool for build, check it's package:So add them to build dependencies.
Then upload it again.
Update:
I have used
pbuild
long time ago and I looked again for new things. I thinkcowbuilder
① is the simplest available tool.Install it.
Edit the
pbuildrc
configTwo known problems:
MIRRORSITE=archive.canonical.com/ubuntu
will not work. (seen in trusty, no such problem in wily)COMPONENTS="main universe"
, default ismain
only,universe
is needed forcowdancer
②.Create the cow image
Build your debian source pacakge
Find the built packages in:
Reference:
① Debian Wiki:
cowbuilder
(pbuilder
wrapper)② LP Bug#747053: cowbuilder requires universe to be enabled in pbuilderrc