Your message dated Wed, 05 Dec 2018 07:46:05 +0100 with message-id <[email protected]> and subject line Re: Bug#907570: libmodule-install-perl: install_script shouldn't change the shebang to realpath has caused the Debian Bug report #907570, regarding libmodule-install-perl: install_script shouldn't change the shebang to realpath to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 907570: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907570 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libmodule-install-perl Severity: important Control: affects -1 dh-golang Dear Maintainer, Disclaim: I'm poor at perl. When build dh-golang in a usrmerged chroot, the shebang of the bash script[1] installed[2] by `install_script` is changed to /usr/bin/bash. I think the `install_script` command is provided by libmodule-install-perl. It happens when I build dh-golang with sbuild. By default, sbuild-createchroot calls debootstrap to create the chroot. And the default behaviour of debootstrap is to create a chroot that makes /{bin,sbin,lib}/ symlinks to /usr/. So in the chroot, /bin/bash symlinks to /usr/bin/bash. I'm not sure if the usrmerge is enabled by default in Debian or not. But I find many Debian systems is not usrmerged. As a result, the bash script installed by libmodule-install-perl failed to run on my system. I don't known why libmodule-install-perl wants to manipulate the shebang when the origin shebang exists. P.S. It seems the chroot on buildd is not usrmerged, so the dh-golang package in the archive has the correct shebang. [1] https://sources.debian.org/src/dh-golang/1.35/script/dh_golang_autopkgtest/ [2] https://sources.debian.org/src/dh-golang/1.35/Makefile.PL/#L7 -- Shengjing Zhu
--- End Message ---
--- Begin Message ---Shengjing Zhu writes: > When build dh-golang in a usrmerged chroot, the shebang of the bash script[1] > installed[2] by `install_script` is changed to /usr/bin/bash. > > I think the `install_script` command is provided by > libmodule-install-perl. I looked at this problem: it looks like the problem came from MakeMaker which has since been patched to avoid this problem (#913637). dh-golang builds reproducible now between merged-/usr and non-merged-/usr systems, so I believe this bug can be closed. Ansgar
--- End Message ---

