Steffen Moeller:
Package: libdebhelper-perl
Version: 13.24.2
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,


Hi,

Thanks for filing the bug.

I am open to reviewing patches or MRs to solve problems and add working CI pipelines involving spaces to avoid regressions. However, I do not expect to commit time solve this problem.


    * What led up to the situation?

[...]

    * What was the outcome of this action?

make[1]: Entering directory '/home/moeller/GitHub/linux cnc'
dh_auto_build -- build-software
date: invalid date '@'
date: invalid date '@'
Use of uninitialized value $abspath in -d at 
/usr/share/perl5/Debian/Debhelper/Buildsystem.pm line 140.

Comment: It is a trivial "if ( -d $abspath " that is apparently missing
some quotes. But there is likely more to it downstream.


Perl and shell differs here:

$ touch "foo bar"
$ perl -E 'my $f = "foo bar"; say "exists" if -e $f;'
exists

Not disputing that there is an error in debhelper, but the error is not missing quotes in that if statement.

For what it is worth, debhelper can run dh_auto_build in its own build when the source directory contains a space. A few of tests fail because they are not space-safe in dh_auto_test (for some reason @INC gets corrupted and I am not sure how).

[...]

It would be lovely to add to the CI the execution of various debhelper
utils from a directory that has a blank in its name.

[...]


Best regards,
Niels

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to