Active Topics

 


Reply
Thread Tools
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#1
Hi!
I have tried to promote my packages for cups.
However I get the server error:
Build-Dependency tree is too complex or recursive.
Stopped at 5 steps deep.
The build dependencies are:
libpam0g-dev, libtiff4-dev, libjpeg62-dev, zlib1g-dev,
libpng12-dev, libslp-dev, libgnutls-dev, libpaper-dev,
debhelper (>= 5.0), po-debconf, cdbs (>= 0.4.27), sharutils,
dpatch (>= 1.11), libdbus-1-dev, comerr-dev,
libavahi-compat-libdnssd-dev,
poppler-utils | xpdf-utils, lsb-release, po4a (>= 0.29)

Idon't know how to fix this. This are the dependencies,
and I cannot remove any.
__________________
May the force be with us!
 
Posts: 162 | Thanked: 351 times | Joined on Apr 2006 @ Cotswolds, UK
#2
Originally Posted by mase View Post
Hi!
Idon't know how to fix this. This are the dependencies,
and I cannot remove any.
I don't know the code that is producing the error and I have not tried this so this is just a guess...

The problem is presumably that the promotion code needs to follow the chain of dependencies to make sure they all get promoted. How about making as many as possible of them explicit dependencies of your main package? If you are lucky, that will mean it doesn't have to go very deep in its search.

So, for example, assume cups depends on pkg-a which depends on pkg-b which depends on pkg-c which depends on pkg-d which depends on pkg-e. Try listing all of pkg-e pkg-d pkg-c pkg-b and pkg-a as explicit dependencies of cups. And make sure the lower level dependencies are listed earliest in the list so that they do not trigger deep searches themselves.

I have no idea whether it would work (it depends if the dependency search optimises not bothering to look at packages it has already seen) but it might be worth a try.

The real fix, by the way, is to log a bug report on the promotion code (and once you have done that you could contact Niels by email to see if he can help with it at all).
 

The Following User Says Thank You to Graham Cobb For This Useful Post:
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#3
I didn't think, that all this would be so hard.
I have contacted Niels...
__________________
May the force be with us!
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:41.