Package: debhelper
Version: 9.20120909
Severity: important
Affects: dh-exec

Dear Joey,

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.

-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (902, 'testing-updates'), (901, 'testing-proposed-updates'), 
(900, 'testing'), (800, 'unstable'), (110, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils    2.22-7.1
ii  dpkg        1.16.9
ii  dpkg-dev    1.16.9
ii  file        5.11-2
ii  html2text   1.3.2a-15
ii  man-db      2.6.2-1
ii  perl        5.14.2-16
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  0.61

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to