[MacPorts] #51330: perl5.24.0-RC5: broken build
MacPorts
noreply at macports.org
Sat May 7 04:25:13 PDT 2016
#51330: perl5.24.0-RC5: broken build
-----------------------+---------------------
Reporter: mojca@… | Owner: mojca@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: perl5.24 |
-----------------------+---------------------
Description changed by mojca@…:
Old description:
> {{{
> env MACOSX_DEPLOYMENT_TARGET=10.7 /usr/bin/clang -o libperl.dylib
> -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -fstack-
> protector -dynamiclib -compatibility_version
> 5.24.0 -current_version
> 5.24.0 -install_name /opt/local/lib/perl5/5.24
> /darwin-thread-multi-2level/CORE/libperl.dylib op.o perl.o gv.o
> toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro_core.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
> caretx.o dquote.o time64.o DynaLoader.o -lpthread -ldl -lm -lutil -lc
> Undefined symbols for architecture x86_64:
> "_environ", referenced from:
> _perl_construct in perl.o
> _S_init_postdump_symbols in perl.o
> _Perl_my_setenv in util.o
> _Perl_my_clearenv in util.o
> _Perl_init_i18nl10n in locale.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make: *** [libperl.dylib] Error 1
> make: *** Waiting for unfinished jobs....
> }}}
New description:
Building perl 5.24.0-RC5 in the same way as any other older Perl version
breaks for me:
{{{
env MACOSX_DEPLOYMENT_TARGET=10.7 /usr/bin/clang -o libperl.dylib \
-L/opt/local/lib -Wl,-headerpad_max_install_names \
-arch x86_64 -fstack-protector -dynamiclib \
-compatibility_version 5.24.0 -current_version 5.24.0 \
-install_name /opt/local/lib/perl5/5.24/darwin-thread-multi-
2level/CORE/libperl.dylib \
op.o perl.o gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o
reentr.o mro_core.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 caretx.o dquote.o time64.o DynaLoader.o \
-lpthread -ldl -lm -lutil -lc
Undefined symbols for architecture x86_64:
"_environ", referenced from:
_perl_construct in perl.o
_S_init_postdump_symbols in perl.o
_Perl_my_setenv in util.o
_Perl_my_clearenv in util.o
_Perl_init_i18nl10n in locale.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [libperl.dylib] Error 1
make: *** Waiting for unfinished jobs....
}}}
Link to upstream report:
* https://rt.perl.org/Public/Bug/Display.html?id=128093
--
--
Ticket URL: <https://trac.macports.org/ticket/51330#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list