develooper Front page | perl.wxperl.users | Postings from March 2017

[ #120657] incomplete due to race/missingdependency in Makefile

Stefan Bruens via RT
March 19, 2017 17:18
[ #120657] incomplete due to race/missingdependency in Makefile
Message ID:
Sun Mar 19 13:17:42 2017: Request 120657 was acted upon.
Transaction: Ticket created by
       Queue: Wx
     Subject: incomplete due to race/missing dependency in Makefile
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
      Status: new
 Ticket <URL: >

The generation rule for in build/Wx/build/MakeMaker/ has:

$exp : wxt_copy_files wxt_binary_\$(LINKTYPE)
\t\$(PERL) script/ $exp @{[$this->files_with_constants]} xspp/
*.h ext/*/xspp/*.h

but the dependency only states:

my %depend = ( _depend_common( $this ),
             $exp => join( ' ', $this->files_with_constants, ),

i.e. it is missing the dependency on xspp/*.h and ext/*/xspp/*.h. The former 
is not a problem, as it refers to static files, but everything below ext/*/
xspp/ is generate by xsubpp.

The effect is a where symbols from single modules (e.g. IPC or AUI) 
are omitted, as runs to early.

Changing the dependency to:
    $exp => join( ' ', $this->files_with_constants, 'subdirs', ),

solves the issue for me. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About