Opened 13 years ago

Closed 10 years ago

#30935 closed defect (worksforme)

p5-libapreq2 @2.130.0 fails to build

Reported by: djun.kim@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mojca (Mojca Miklavec), dbevans (David B. Evans)
Port: p5-libapreq2

Description

Here is the error message:

# sudo port install p5-libapreq2
--->  Computing dependencies for p5-libapreq2
Error: Dependency 'p5.12-libapreq2' not found.
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (9)

comment:1 Changed 13 years ago by djun.kim@…

Cc: djun.kim@… added

Cc Me!

comment:2 Changed 13 years ago by mf2k (Frank Schima)

Cc: djun.kim@… removed
Resolution: worksforme
Status: newclosed

You need to run selfupdate again.

comment:3 Changed 13 years ago by djun.kim@…

Thanks, selfupdate seems to have done the trick.

comment:4 Changed 13 years ago by djun.kim@…

Resolution: worksforme
Status: closedreopened

Hmm, not quite. It seems there is a dependence on p5-extutils-xsbuilder which is not captured in the Portfile.

:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-libapreq2/p5.12-libapreq2/work/libapreq2-2.13/glue'
:info:build cd perl; /opt/local/bin/perl  Makefile.PL -apxs /opt/local/apache2/bin/apxs INSTALLDIRS=vendor
:info:build Can't locate ExtUtils/XSBuilder/ParseSource.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.1/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.1 /opt/local/lib/perl5/vendor_perl/5.14.1/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.1 /opt/local/lib/perl5/5.14.1/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.1 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at Makefile.PL line 22.
:info:build BEGIN failed--compilation aborted at Makefile.PL line 22.
:info:build make[1]: *** [perl/Makefile] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-libapreq2/p5.12-libapreq2/work/libapreq2-2.13/glue'

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

p5*-libapreq2 does declare a dependency on p5*-extutils-xsbuilder.

I wonder why, if you're installing p5.12-*, does @INC contain *perl5/5.14*? What version(s) of perl do you have installed?

comment:6 Changed 13 years ago by djun.kim@…

I have perl 5.8, 5.10, 5.12, and 5.14 installed. I am confused too that p5.12-* was chosen to be installed. Would you recommend uninstalling older versions of perl?

Thanks!

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

The problem here is that it is building with /opt/local/bin/perl, which could be any version. For p5.12-* it should use /opt/local/bin/perl5.12.

comment:8 Changed 10 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:9 Changed 10 years ago by mojca (Mojca Miklavec)

Cc: devans@… added
Resolution: worksforme
Status: reopenedclosed
Version: 2.0.1

I assume that whatever the issue was, it has been fixed by now. If nothing else, p5.12-libapreq2 no longer exists, but 5.16 should work. If this is still a problem, feel free to either reopen this ticket or report a new one.

Note: See TracTickets for help on using tickets.