[MacPorts] #49679: perl5.16 and 5.22 have invalid -lcrypt flag
MacPorts
noreply at macports.org
Fri Nov 13 05:04:30 PST 2015
#49679: perl5.16 and 5.22 have invalid -lcrypt flag
---------------------------------+--------------------------------
Reporter: ian.cheong@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: perl5.16, perl5.22 |
---------------------------------+--------------------------------
Changes (by ryandesign@…):
* port: => perl5.16, perl5.22
Old description:
> perl5.16 and 5.22 build fails.
>
> {{{
> :info:build perlmini.o opmini.o miniperlmain.o gv.o toke.o
> perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o keywords.o hv.o
> av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o
> regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o
> numeric.o mathoms.o locale.o pp_pack.o pp_sort.o -ldl -lm -lcrypt
> -lutil -lc
> :info:build ld: library not found for -lcrypt
> :info:build collect2: ld returned 1 exit status
> :info:build ld: library not found for -lcrypt
> :info:build collect2: ld returned 1 exit status
> :info:build lipo: can't open input file:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.16/perl5.16/work/.tmp/cco5fdbS.out
> (No such file or directory)
> :info:build make: *** [miniperl] Error 1
>
> }}}
>
> I understand that -lcrypt is meant to be not used on macos.
> https://trac.macports.org/wiki/snc/portfile_dev
>
> Prior versions of perl5 were operating correctly.
>
> (Trying to figure out how to patch the portfile, but not finding it
> simple...)
New description:
perl5.16 and 5.22 build fails.
{{{
:info:build perlmini.o opmini.o miniperlmain.o gv.o toke.o
perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o keywords.o hv.o
av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o
regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o
numeric.o mathoms.o locale.o pp_pack.o pp_sort.o -ldl -lm -lcrypt -lutil
-lc
:info:build ld: library not found for -lcrypt
:info:build collect2: ld returned 1 exit status
:info:build ld: library not found for -lcrypt
:info:build collect2: ld returned 1 exit status
:info:build lipo: can't open input file:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.16/perl5.16/work/.tmp/cco5fdbS.out
(No such file or directory)
:info:build make: *** [miniperl] Error 1
}}}
I understand that -lcrypt is meant to be not used on macos.
wiki:snc/portfile_dev
Prior versions of perl5 were operating correctly.
(Trying to figure out how to patch the portfile, but not finding it
simple...)
--
Comment:
I have not heard of this problem before, and the perl ports are in heavy
use, which makes me think there is something specific to your computer
that is causing this problem.
Please attach the main.log file generated by your failed installation
attempt.
If it turns out to be something we need to fix, we should test the other
versions of perl too: perl5.8, perl5.10, perl5.12, perl5.14, perl5.18,
perl5.20.
--
Ticket URL: <https://trac.macports.org/ticket/49679#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list