Opened 12 years ago

Closed 12 years ago

#35278 closed defect (fixed)

biblatex-biber @0.9.9_0+perl5_14 Perl version problem

Reported by: schmidt@… Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: biblatex-biber

Description

Running biber results in the error:

Perl v5.14.0 required--this is only v5.12.4, stopped at /opt/local/bin/biber line 6.

But I have installed perl5+perl5_14 and perl5.14. The port installed command gives the versions

perl5 @5.12.4_0+perl5_14 (active)
perl5.14 @5.14.2_1 (active)

And if I type perl -v I get the expected version:

This is perl 5, version 14, subversion 2 (v5.14.2)

Change History (6)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Cc: dports@… openmaintainer@… removed
Owner: changed from macports-tickets@… to dports@…
Port: perl5 removed

Please do not Cc openmaintainer since it does not go to anyone.

comment:2 Changed 12 years ago by drkp (Dan Ports)

Status: newassigned

biber should use whichever version of perl was selected when it was installed, either 5.14 or 5.16, so it shouldn't matter what version /opt/local/bin/perl is.

Can you please provide the output of port -v installed biblatex-biber and head -1 /opt/local/bin/biber?

comment:3 in reply to:  2 Changed 12 years ago by schmidt@…

Replying to dports@…:

Can you please provide the output of port -v installed biblatex-biber and head -1 /opt/local/bin/biber?

The following ports are currently installed:
  biblatex-biber @0.9.9_0+perl5_14 (active) platform='darwin 11' archs='noarch'
#!/opt/local/bin/perl5.12

comment:4 Changed 12 years ago by drkp (Dan Ports)

Interesting. The binary package does seem to be built that way, which is obviously incorrect. It builds correctly for me.

I'll look into what's going on, but as a workaround, you might try rebuilding it from source: port -ns upgrade --force biblatex-biber

comment:5 Changed 12 years ago by schmidt@…

The workaround works perfectly. It is #!/opt/local/bin/perl5.14 now and biber does its job. Thank you!

comment:6 Changed 12 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed

Fixed in r96144.

Note: See TracTickets for help on using tickets.