[ET Trac] #2527: Perl undefined variables warnings when tyring to inherit from a non existing thorn

Roland Haas trac-noreply at einsteintoolkit.org
Tue May 11 08:14:59 CDT 2021


#2527: Perl undefined variables warnings when tyring to inherit from a non existing thorn

 Reporter: Roland Haas
   Status: new
Milestone: 
  Version: development version
     Type: bug
 Priority: minor
Component: Cactus

Changes (by Roland Haas):
Erik Schnetter reported warnings from Perl of the sort:

```
Use of uninitialized value in concatenation (.) or string at /Users/eschnett/src/CarpetX/Cactus/repos/flesh/lib/sbin/interface_parser.pl line 176.
```

on Gitter. These seem triggered by trying to inherit from a non-existing thorn

```
CST error in /Users/eschnett/src/CarpetX/Cactus/repos/flesh/lib/sbin/interface_parser.pl (at 296)
  -> IDBRILLDATA (thorn IDBrillData) inherits from ellbase
    No thorn in your current ThornList implements ellbase
    Either remove IDBrillData, or add a thorn to your
     ThornList implementing ellbase
    No thorns in arrangements directory implement ellbase
```

and Perl trying to use a not yet defined array hash value when constructing the list of thorn ancestors.

There are no such warnings when the code builds, yet the Perl code should not produce these warning even in the case of a later build failure.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2527/perl-undefined-variables-warnings-when
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20210511/24012cd0/attachment.html 


More information about the Trac mailing list