[debhelper-devel] Bug#887571: Bug#887571: debhelper: dh lies about what it does, breaks builds by creating new files, etc
Niels Thykier
niels at thykier.net
Thu Jan 18 07:13:00 UTC 2018
Niels Thykier:
> Control: tags -1 moreinfo
>
> Norbert Preining:
>> Package: debhelper
>> Version: 11.1.2
>> Severity: serious
>> Justification: breaks other packages
>>
>> Dear DebHelper developers,
>>
>> thanks for your efforts, but it would be very helpful if debhelper/dh
>> would stick to what itself says it is doing.
>>
>> I am trying to build texlive-bin, and somewhere at/around the configure
>> stage files
>> configure.lineno
>> are created, which break building:
>> checking whether g++ accepts -g... no
>> checking dependency style of g++... none
>> checking what warning flags to pass to the Objective C++ compiler...
>> ../../../texk/web2c/configure: 20010: ./configure.lineno: Syntax error: Bad fd number
>> === configuring in web2c failed
>>
>> I confirmed the following:
>> * doing the same invocation of configure manually does NOT create
>> configure.lineno and the build succeeds.
>
> I suspect it might be the shell. Make resets SHELL to /bin/sh AFAIR and
> the error smells like a bashism with a non-bash shell.
>
> Could you please retest with "export SHELL=/bin/bash" set in your
> debian/rules (or a SHELL=/bin/bash in front of the dh_auto_configure call).
>
Ah, just noticed you have the following in top of the rules file which
makes my above statement redundant.
"""
#!/usr/bin/make -f
# debian/rules file for texlive-bin
export SHELL=/bin/bash
export CONFIG_SHELL=/bin/sh
"""
* When you test manually, do you also set CONFIG_SHELL to /bin/sh?
(Just to eliminate a source of error/difference)
Thanks,
~Niels
More information about the debhelper-devel
mailing list