Hi Jonathan,

Jonathan H N Chin, on 2022-11-12:
> The debian build process appears to amend the Inline::C setup:
> 
> /usr/lib/x86_64-linux-gnu/perl5/5.36/findimagedupes/C.pm :
> ```
>     use Inline
>       C => 'DATA',
>       NAME => 'findimagedupes::C',
>       VERSION => '0.01',
>       CCFLAGSEX => "$ENV{'CFLAGS'} $ENV{'CPPFLAGS'}",
>       LDDLFLAGS => "$ENV{'LDFLAGS'}",
> ```
> 
> However, by default, these environment variables are not set,
> resulting in warning messages when the program is run:
> 
> ```
>     Use of uninitialized value in concatenation (.) or string at 
> /usr/lib/x86_64-linux-gnu/perl5/5.36/findimagedupes/C.pm line 5.
>     Use of uninitialized value in concatenation (.) or string at 
> /usr/lib/x86_64-linux-gnu/perl5/5.36/findimagedupes/C.pm line 5.
>     Use of uninitialized value $ENV{"LDFLAGS"} in string at 
> /usr/lib/x86_64-linux-gnu/perl5/5.36/findimagedupes/C.pm line 5.
> ```

Thanks for this report.  I saw this one, but banged my head on
this due to somehow not managing to handle dynamically linker
flags for hardening the binary (this is part of the standard
Debian build flags).  Anyway, further investigation shown that
only linker flags are needed in this particular situation, so I
guess it wouldn't be too problematic to hardwire the needed
items.  Not sure how much breakage it might trigger in the long
run though, but it seems better than removing hardening and put
the issue under the carpet.

> -jonathan

Have a nice day,  :)
-- 
Étienne Mollier <emoll...@emlwks999.eu>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.
On air: Jørn Lande - Perfect Strangers

Attachment: signature.asc
Description: PGP signature

Reply via email to