Thanks for your report. Helge Kreutzmann <[EMAIL PROTECTED]> wrote:
> I wanted to do a backport of psutils to Sarge. The build died, > however, with > gcc -g -Wall -O2 -c -o psspec.o psspec.c > gcc -o pstops psutil.o psspec.o pserror.o pstops.o -lpaper > /usr/bin/ld: cannot find -lpaper > collect2: ld returned 1 exit status > make[1]: *** [pstops] Fehler 1 > make[1]: Verlasse Verzeichnis > »/scr/build/debian/NEU-S/psutils-1.17.orig« > make: *** [debian/stamp-makefile-build] Fehler 2 > > I checkd, but e.g. the alpha autobuilder (on sid) build it fine, so > the dependencies seem to be ok. I checked debian/control, and yes, I > do *not* have libpaper-dev: My sarge system has libpaper-dev. Are you sure your /etc/apt/sources.list is okay or you don't have some other problem with libpaper-dev on your system? I'll test to see whether psutils builds okay on sarge. I have another bug related to libpaper which I'm planning on resolving tomorrow or over the weekend. > Unfortunately, I never used cdbs, so I am a little lost here. There > are three options: > a) cdbs is broken on Sarge (amd64) > b) there is a (subtle) problem with cdbs and backporting (then a > versioned dependency would be needed) > c) dpkg-buildpackage is broken on Sarge (amd64) It seems unlikely that this could have to do with cdbs. > I am willing to assist you in finding this out if you tell me, what I > should check for (is there a way, to tell cdbs to run verbose?). > I also think the severity is too low, but before we > drive some horses crazy, we should look for the real cause :-)) > > And yes, it build fine after installing libpaper-dev. cdbs is not responsible for resolving build dependencies, nor is dpkg-buildpackage. If you use something like debuild or dpkg-checkbuilddeps, that will check for proper build dependencies. If the only problem is that you're running dpkg-buildpackage directly and it's failing because of libpaper-dev not being installed, then I believe there's no bug here but rather an innocent and understandable case of user error. :-) If this is the case, we can close this bug report, but if not, I can help you look further. > Why do you still depend on debhelper, btw.? My debian/rules file includes debhelper.mk, so I have to depend upon debhelper. cdbs only recommends it because cdbs doesn't use debhelper if you don't include debhelper.mk. -- Jay Berkenbilt <[EMAIL PROTECTED]>

