Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#35292 closed defect (fixed)

p5-pdl @2.4.6_3: fatal error: 'projects.h' file not found

Reported by: cbroussa@… Owned by: tim@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: macports@…, mf2k (Frank Schima)
Port: p5-pdl

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Build fails with the error

Proj.xs:26:10: fatal error: 'projects.h' file not found
#include "projects.h"

Seems to be a similar issue that effected the grass package, among others, where projects.h was removed from the proj package and the dependent package wasn't updated to reflect that change.

See Ticket #34981

Attachments (3)

macport_pdl_build_failure.log (167.4 KB) - added by danielpath2o@… 12 years ago.
main.log (42.8 KB) - added by macports@… 11 years ago.
Just want to confirm the issue with p5.12-pdl on MacPorts 2.1.2 on Mac OS X 10.6.8. I attached the build log. It hangs at :info:build Proj.xs:26:10: fatal error: 'projects.h' file not found
main.2.log (1.5 MB) - added by albanx99@… 11 years ago.

Download all attachments as: .zip

Change History (11)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to tim@…
Port: p5-pdl added

When filing a ticket, remember to use WikiFormatting, to fill in the Port field and to Cc the maintainer of that port.

Changed 12 years ago by danielpath2o@…

comment:2 Changed 12 years ago by danielpath2o@…

Same result with p5.10-pdl, p5.12-pdl and p5.14-pdl

:info:build clang: warning: argument unused during compilation: '-no-cpp-precomp'
:info:build Proj.xs:26:10: fatal error: 'projects.h' file not found
:info:build #include "projects.h"

comment:3 Changed 11 years ago by macports@…

Cc: macports@… added

Just want to confirm the issue with p5.12-pdl on MacPorts 2.1.2 on Mac OS X 10.6.8.

I attached the build log. It hangs at

:info:build Proj.xs:26:10: fatal error: 'projects.h' file not found
Last edited 11 years ago by macports@… (previous) (diff)

Changed 11 years ago by macports@…

Attachment: main.log added

Just want to confirm the issue with p5.12-pdl on MacPorts 2.1.2 on Mac OS X 10.6.8. I attached the build log. It hangs at :info:build Proj.xs:26:10: fatal error: 'projects.h' file not found

Changed 11 years ago by albanx99@…

Attachment: main.2.log added

comment:4 Changed 11 years ago by albanx99@…

Another confirmation of this bug with MacPorts 2.1.2 on OSX 10.8.2.

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: p5-pdl @2.4.6_3 Build failurep5-pdl @2.4.6_3: fatal error: 'projects.h' file not found

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

comment:ticket:32029:6 says projects.h is no longer installed by the proj port because it is considered a private header. Hopefully updating p5-pdl to a newer version, as requested in #32031, would resolve this.

comment:10 Changed 11 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added; testing1@… removed

I updated my portfile locally to 2.4.11 and I still see the same projects.h missing error.

:info:build /opt/local/bin/perl5.12 /opt/local/lib/perl5/5.12.4/ExtUtils/xsubpp  -typemap /opt/local/lib/perl5/5.12.4/ExtUtils/typemap -typemap /opt/local/var/macports/build/_opt_mports_trunk_dports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.11/Basic/Core/typemap.pdl  Proj.xs > Proj.xsc && mv Proj.xsc Proj.c
:info:build /usr/bin/clang -c  -I/opt/local/var/macports/build/_opt_mports_trunk_dports_perl_p5-pdl/p5.12-pdl/work/PDL-2.4.11/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:37:10: fatal error: 'projects.h' file not found
:info:build #include "projects.h"
:info:build          ^
:info:build 1 error generated.
Last edited 11 years ago by mf2k (Frank Schima) (previous) (diff)

comment:11 Changed 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Maintainer timeout. r105130 and r105131.

Last edited 11 years ago by mf2k (Frank Schima) (previous) (diff)
Note: See TracTickets for help on using tickets.