develooper Front page | perl.perl5.porters | Postings from October 2016

[perl #129229] [PATCH] Fix Parallel Building

Thread Next
From:
Tony Cook via RT
Date:
October 11, 2016 22:57
Subject:
[perl #129229] [PATCH] Fix Parallel Building
Message ID:
rt-4.0.24-8961-1476226651-1013.129229-15-0@perl.org
On Thu Sep 08 09:05:09 2016, tomhukins wrote:
> Currently, I see parallel builds fail every time on FreeBSD.  The
> attached patch might not be the most elegant solution but it fixes the
> problem as described in the commit message.

In general this type of problem is easy to reproduce once you identify
the target with missing dependencies - just build the target missing its deps:

 $ ./Configure -des -Dusedevel && make -j6 MANIFEST.srt
 ...
 Can't locate Cwd.pm in @INC (you may need to install the Cwd module) (@INC contains: lib  ...
 ...
 $

Whether or not we should have a MANIFEST file, or if we have the file 
whether it should be sorted, the patch supplied depends on the dynamic
Cwd$(DLSUFFIX) even when Cwd is being built statically, as with a -Uusedl or
-Dstatic_ext=Cwd build.

Something like the attached fixes that.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=129229

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About