Opened 7 years ago

Closed 6 years ago

#32029 closed defect (fixed)

p5.14-pdl @2.4.6: pdlcore.h: No such file or directory

Reported by: punkish (punkish) Owned by: tim@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Schmidt), gregoire.gallet@…
Port: p5.14-pdl

Description (last modified by ryandesign (Ryan Schmidt))

--->  Building p5.14-pdl
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for p5.14-pdl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-pdl/p5.14-pdl/main.log
Error: Status 1 encountered during processing.

Attachments (1)

main.log (128.6 KB) - added by punkish (punkish) 7 years ago.
install log

Download all attachments as: .zip

Change History (10)

Changed 7 years ago by punkish (punkish)

Attachment: main.log added

install log

comment:1 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to tim@…
Summary: error installing PDL 2.4.6p5.14-pdl: pdlcore.h: No such file or directory

The first error in the log seems to be:

error: pdlcore.h: No such file or directory

comment:2 Changed 7 years ago by jmroot (Joshua Root)

Seems to have built OK on the buildbot. Maybe there's a subtle race and parallel build needs to be disabled?

comment:3 Changed 7 years ago by vincent.mcintyre@…

I see this on p5.12-pdl as well.

:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_loca
l_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pdl/p5.12-pdl/wo
rk/PDL-2.4.6/Lib/GIS/Proj'
:info:build /usr/bin/gcc-4.2 -c  -I/opt/local/var/macports/build/_opt_local_var_
macports_sources_rsync.macports.org_release_ports_perl_p5-pdl/p5.12-pdl/work/PDL
-2.4.6/Basic/Core -I/opt/local/include -pipe -O2 -fno-common -DPERL_DARWIN -I/op
t/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/lo
cal/include -arch x86_64 -O3   -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\"  "-I/opt
/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE"   Proj.c
:info:build Proj.xs:26:22: error: projects.h: No such file or directory

comment:4 Changed 7 years ago by vincent.mcintyre@…

this patch to the Portfile:

 patch.pre_args      -p1
 patchfiles          patch-plplot_build

+use_parallel_build  no

 post-patch {
    reinplace "s|/usr/local|${prefix}|g" \
        ${worksrcpath}/Basic/Core/pdlsimple.h.PL \

appears to make no difference.

:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/Lib/GIS/Proj'
:info:build /opt/local/bin/perl5.12 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/blib/lib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/blib/arch "-MPDL::PP qw/PDL::GIS::Proj PDL::GIS::Proj Proj/" Proj.pd
:info:build cp Proj.pm ../../../blib/lib/PDL/GIS/Proj.pm
:info:build /opt/local/bin/perl5.12 /opt/local/lib/perl5/vendor_perl/5.12.4/ExtUtils/xsubpp  -typemap /opt/local/lib/perl5/5.12.4/ExtUtils/typemap -typemap /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/Basic/Core/typemap.pdl  Proj.xs > Proj.xsc && mv Proj.xsc Proj.c
:info:build /usr/bin/gcc-4.2 -c  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6/Basic/Core -I/opt/local/include -pipe -O2 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include -arch x86_64 -O3   -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\"  "-I/opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE"   Proj.c
:info:build Proj.xs:26:22: error: projects.h: No such file or directory
...
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.6" && /usr/bin/make -w all 
:info:build Exit code: 2

comment:5 in reply to:  2 Changed 7 years ago by vincent.mcintyre@…

Replying to jmr@…:

Seems to have built OK on the buildbot. Maybe there's a subtle race and parallel build needs to be disabled?

Can you point to the log from the successful build?

comment:6 Changed 6 years ago by jmroot (Joshua Root)

Apparently proj no longer installs projects.h as it is considered private. BTW, that is a different header to the error in the original log.

comment:7 Changed 6 years ago by jmroot (Joshua Root)

Summary: p5.14-pdl: pdlcore.h: No such file or directoryp5.14-pdl @2.4.6: pdlcore.h: No such file or directory

Also, the changelog says that support for parallel builds was only added in PDL 2.4.9. So, original error is in fact fixed by disabling it in r103093.

comment:8 Changed 6 years ago by gregoire.gallet@…

Cc: gregoire.gallet@… added

Cc Me!

comment:9 Changed 6 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

The projects.h issue is #35292.

Note: See TracTickets for help on using tickets.