ignoring the availability package in the repository during the build

Asked by Evgeny Lensky

Hi!
in my ppa repository there is a package libtorrent-rasterbar-dev_1.0.10-1ubuntu1 ~ yakkety,
another package Build-Depends : libtorrent-rasterbar-dev (<< 1.1.0 ~).
Yet when building package build status: Missing build dependencies: libtorrent-rasterbar-dev (<1.1.0 ~).

https://launchpad.net/~surfernsk/+archive/ubuntu/test/+build/11834592

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Colin Watson
Solved:
Last query:
Last reply:
Revision history for this message
Best Colin Watson (cjwatson) said :
#1

I think apt prefers the newer version in Ubuntu yakkety regardless, and there's not much we can do about that; even if we hacked it in the build system somehow, it would probably still affect users of your PPA.

Your best bet would be to make your libtorrent-rasterbar packages have binary package names that don't overlap with the packages in Ubuntu yakkety (libtorrent-rasterbar8-dev, etc.); then you can build-depend on libtorrent-rasterbar8-dev instead. While that involves a bit more work in the libtorrent-rasterbar backport, it will end up being simpler and more reliable.

Revision history for this message
Evgeny Lensky (surfernsk) said :
#2

Thanks Colin Watson, that solved my question.