← Back to team overview

launchpad-users team mailing list archive

Re: Build fails on Launchpad but works locally

 

On 14/11/14 10:09, Martinx - ジェームズ wrote:
> Guys,
> 
> I'm trying to compile my package of `python-elf` and, it builds okay
> on my machine but, at the Launchpad, it fails...
> 
> Here is the log:
> 
> https://launchpadlibrarian.net/190315665/buildlog_ubuntu-utopic-amd64.python-efl_1.11.0-0utopic2_FAILEDTOBUILD.txt.gz
>
> [snip]
> Checking for Ethumb: Ethumb version mismatch. Found: 1.12.0  Needed: 1.11.0
> [snip]
> 
> Nevertheless, as I said, I have it compiled and installed on my own machine:
> 
> --
> user@ubunut-desk-1:~/e19/python-efl/python-efl-1.11.0$ make -f
> debian/rules build
> [snip]
> Checking for Ethumb: OK, found 1.12.0
> [snip]
> Of course, I'm using the very same Ubuntu PPA on my machine, to
> locally build and upload it to Launchpad...
> 
> My E-PPA: https://launchpad.net/~martinx/+archive/ubuntu/enlightenment
> 
> Any tips?!

It looks like you're building on a host Ubuntu desktop system with
thousands of packages installed, while Launchpad builds packages in a
clean chroot environment containing just the package's necessary build
dependencies. Try building the package with pbuilder locally
(https://wiki.ubuntu.com/PbuilderHowto), and hopefully the clean
environment will be able to reproduce the failure.

I also notice that you're invoking debian/rules manually, which isn't
usually done. Have you read http://packaging.ubuntu.com/html/? You
should be using dpkg-buildpackage or debuild instead.

William.

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References