Opened 10 years ago
Closed 10 years ago
#44420 closed defect (fixed)
p5.20-pdl: build fails due to missing fakethr.h
Reported by: | dbevans (David B. Evans) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mf2k (Frank Schima) | |
Port: | p5.20-pdl |
Description
Builds fails as follows
make[2]: Entering directory `/opt/local/var/macports/build/_opt_macports_trunk_dports_perl_p5-pdl/p5.20-pdl/work/PDL-2.007/Basic/Core' /opt/local/bin/perl5.20 -I../../blib/arch -I../../blib/lib -I/opt/local/lib/perl5/5.20/darwin-thread-multi-2level -I/opt/local/lib/perl5/5.20 Core.pm.PL Core.pm /opt/local/bin/perl5.20 pdl.h.PL pdl.h Using new 64bit index support Extracting Core.pm (WITH bad value support) /opt/local/bin/perl5.20 pdlcore.h.PL pdlcore.h adding... #define PDL_U PDL_US #define PDL_N PDL_IND #define PDL_Q PDL_LL Extracting pdl.h /opt/local/bin/perl5.20 pdlsimple.h.PL pdlsimple.h make[2]: *** No rule to make target `/opt/local/lib/perl5/5.20/darwin-thread-multi-2level/CORE/fakethr.h', needed by `Core.o'. Stop.
Indeed perl 5.20 does not provide fakethr.h although perl 5.18 and earlier do.
Full build log attached.
Attachments (2)
Change History (5)
Changed 10 years ago by dbevans (David B. Evans)
Attachment: | p5.20-pdl.log added |
---|
comment:2 Changed 10 years ago by mf2k (Frank Schima)
I also cannot build this port, but I see a different error. I was able to solve the fakethr.h error in this and other ports by reinstalling perl5 +perl5_20 and perl5.20 (see #44412).
sudo port -f uninstall perl5 perl5.20 sudo port install perl5 +perl5_20 perl5.20
I will attach my main.log.
Changed 10 years ago by mf2k (Frank Schima)
Attachment: | main.mf2k.log added |
---|
comment:3 Changed 10 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I was also able to fix my problem by rebuilding port perl5.20 from source
sudo port -ns upgrade --force
but updating (not forcing a source build)
sudo port -n upgrade --force
re-fetches the prebuilt archive which once again exhibits the original problem.
Incremented the revision of port perl5.20 in r122651 and verified that the archived binary is fixed also.
Closing this ticket as the reported problem is solved but the secondary issue reported in comment:2 becomes apparent which also effects p5.18-pdl.
See ticket #44439 for my report of this secondary issue.
Build log showing failure