Axel Beckert wrote: > the zsh source package builds its binary packages in (at least) two > runs, one run for the normal packages and one run for the static > package. > > I plan to make the zsh-static package using an executable > debian/zsh-static.install and dh-exec to rename zsh to zsh5-static on > the dh_install run: > > $ cat debian/zsh-static.install > #!/usr/bin/dh-exec > obj-static/Src/zsh => bin/zsh5-static > $ ls -l debian/zsh-static.install > -rwxr-xr-x 1 abe abe 57 Jan 13 15:47 debian/zsh-static.install* > $ > > Nevertheless dh_install seems to execute debian/zsh-static.install > already when I'm only building the binary packages zsh, zsh-common and > zsh-dbg: > > [...] > dh_install -pzsh -pzsh-common -pzsh-dbg > Copy failed: No such file or directory at > /usr/share/dh-exec/dh-exec-install-rename line 29, <> line 1. > dh_install: problem reading debian/zsh-static.install: > make: *** [binary-arch-dynamic] Error 2 > dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status > 2 > > While this is possibly ok for non-executable install files, it's not ok > for executable ones as debhelper doesn't know about the script's > dependencies. > > So if any -p argument is present, please just call the executable > install files for those packages which are listed with -p and not for > any other to-be-built package.
That seems unlikely, given that the code is: foreach $package (getpackages()) { $file=pkgfile($package,"install"); @install=filedoublearray($file); # executation happens here Where getpackages returns only the packages you told it to act on. -- see shy jo
signature.asc
Description: Digital signature