Opened 12 years ago

Closed 9 years ago

#34156 closed defect (fixed)

irc/irssi hardcodes @INC

Reported by: rmstonecipher@… Owned by: stuartwesterman (Stuart Westerman)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: irssi

Description (last modified by rmstonecipher@…)

An old irssi built against perl 5.12.3 would not run with perl updated to 5.12.4:

ryan$ irssi
Can't locate Symbol.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.12.3 /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.3 /opt/local/lib/perl5/5.12.3/darwin-multi-2level /opt/local/lib/perl5/5.12.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at (eval 9) line 9.
BEGIN failed--compilation aborted at (eval 9) line 9.

Revision-bump in r92190 temporarly fixed the glitch.
Per discussion in #macports, the irssi source should be patched for more flexible dependencies.

Change History (5)

comment:1 Changed 12 years ago by rmstonecipher@…

Description: modified (diff)

comment:2 Changed 12 years ago by dargo@…

perl5.12 is the default version of perl used by many of packages and the perl5.12 port only builds with threads enabled. this has a different architecture library path than the path configured in the irssi port, so the irssi scripts can't find any of the system libraries.

in irssi/Portfile:

--with-perl-lib=${prefix}/lib/perl5/darwin

but threaded perl5.12 doesn't use this path. this is the list of paths used by perl (from perl -V):

  @INC:
    /opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level
    /opt/local/lib/perl5/site_perl/5.12.4
    /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level
    /opt/local/lib/perl5/vendor_perl/5.12.4
    /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level
    /opt/local/lib/perl5/5.12.4
    /opt/local/lib/perl5/site_perl
    /opt/local/lib/perl5/vendor_perl

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to stuartwesterman@…

Not sure if this is still an issue, but in any case in the mean time, perl5.16 is the default in MacPorts.

comment:4 Changed 10 years ago by stuartwesterman (Stuart Westerman)

This is not an issue anymore. Please close.

comment:5 Changed 9 years ago by Ionic (Mihai Moldovan)

Resolution: fixed
Status: newclosed

Feel free to reopen, if it is not resolved yet or appears again.

Note: See TracTickets for help on using tickets.