In particular, I am confused as to why...
if ( !-z "$Fink::Config::basepath/etc/fink.sb" && $sandbox_request ) {
my $sandbox = "$Fink::Config::basepath/etc/fink.sb";
triggers those warnings whereas...
if (-f "$Fink::Config::basepath/bin/dpkg-lockwait") {
"$Fink::Config::basepath/bin/dpkg-lockwait";
and
if (-f "$Fink::Config::basepath/bin/apt-get-lockwait") {
"$Fink::Config::basepath/bin/apt-get-lockwait";
and
"$Fink::Config::basepath/bin/apt-get
1>/dev/null 2>/dev/null",
don't.
Jack
On Mon, Nov 21, 2016 at 7:15 AM, Jack Howarth <[email protected]> wrote:
> Daniel and Alexander,
> After injecting the updated sandbox-build fink git branch on my
> machine, I noticed a non-fatal warning of...
>
> ./Services/execute_nonroot_okay.t ........ 1/12 Use of uninitialized
> value $Fink::Config::basepath in concatenation (.) or string at
> /sw/src/fink.build/fink-0.41.99.git-20161121.1208/t/../perlmod/Fink/Services.pm
> line 613.
> Use of uninitialized value $Fink::Config::basepath in concatenation
> (.) or string at
> /sw/src/fink.build/fink-0.41.99.git-20161121.1208/t/../perlmod/Fink/Services.pm
> line 614.
> Use of uninitialized value $Fink::Config::basepath in concatenation
> (.) or string at
> /sw/src/fink.build/fink-0.41.99.git-20161121.1208/t/../perlmod/Fink/Services.pm
> line 613.
> Use of uninitialized value $Fink::Config::basepath in concatenation
> (.) or string at
> /sw/src/fink.build/fink-0.41.99.git-20161121.1208/t/../perlmod/Fink/Services.pm
> line 614.
> Use of uninitialized value $Fink::Config::basepath in concatenation
> (.) or string at
> /sw/src/fink.build/fink-0.41.99.git-20161121.1208/t/../perlmod/Fink/Services.pm
> line 613.
> Use of uninitialized value $Fink::Config::basepath in concatenation
> (.) or string at
> /sw/src/fink.build/fink-0.41.99.git-20161121.1208/t/../perlmod/Fink/Services.pm
> line 614.
>
> which still results in clean test suite results...
>
> All tests successful.
> Files=48, Tests=1065, 11 wallclock secs ( 0.31 usr 0.12 sys + 6.04
> cusr 1.24 csys = 7.71 CPU)
>
> Any idea how to suppress that warning?
> Jack
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel