On 27.10.2015 14:09, Sebastian Kapfer wrote: Hi,
>>> $(MAKE) install prefix=$(CURDIR)/debian/rubber/usr >>> >>> ..to install the files into a temporary directory to build the package. In >>> case >>> we have @prefix@ in Makefile.in the variable is expanded during creation of >>> Makefile and now reads "/usr". Hence debian/rules tries to install to /usr, >>> which of course fails. > > Alright, this seems a valid workaround for the Makefile installing to the > root directory. > > However: My Debian packaging experience is from a long time ago, but > didn't you guys have a way to automate this (fakeroot?) without patching the > Makefile? > Fakeroot fakes root access. It does (hopefully) not give you root access. I need to install into a subdir, I can't write to as !root. >> As said: I wouldn't like to use it as long as the lintian errors are not >> solved. >> No, I don't have any clue yet, what causes them. > > Use what? Rubber? As long as there is Python2, it'll be fine ;-) > Nicolas sent me a completely rewritten debian/rules. Using that one (instead of my one) causes the lintian error. > The Lintian docs say > https://lintian.debian.org/tags/python-script-but-no-python-dep.html > >> If you are using debhelper, adding ${python:Depends} to the Depends field and >> ensuring dh_pysupport or dh_pycentral are run during the build should take >> care >> of adding the correct dependency. > > The control file in your .deb says > >> Depends: python, python:any (<< 2.8), python:any (>= 2.7.5-5~), >> texlive-latex-base > > So it seems to be in working order. Maybe the slightly anal versioning throws > it off? > OK, found the difference now: w/ the new debian/rules the three scripts in question are rewritten and now use /usr/bin/python2 as interpreter. Will have a look at that. H. -- http://www.hilmar-preusse.de.vu/ #206401 http://counter.li.org

