Opened 9 years ago

Last modified 8 years ago

#49679 closed defect

perl5.16 and 5.22 have invalid -lcrypt flag — at Version 2

Reported by: cheongi Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: perl5.16, perl5.22

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

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...)

Change History (3)

comment:1 Changed 9 years ago by cheongi

MacOS 10.6.8

:notice:build --->  Building perl5.16
:debug:build Executing org.macports.build (perl5.16)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.16/perl5.16/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.16/perl5.16/work/perl-5.16.3" && /usr/bin/make -j8 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.16/perl5.16/work/perl-5.16.3" && /usr/bin/make -j8 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.16/perl5.16/work/perl-5.16.3'
:info:build unset LIBRARY_PATH && \
Last edited 9 years ago by cheongi (previous) (diff)

Changed 9 years ago by cheongi

patch to remove -lcrypt flag from makefile

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: perl5.16 perl5.22 added

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.

Note: See TracTickets for help on using tickets.