Opened 9 years ago

Last modified 9 years ago

#51330 closed defect

perl5.24.0-RC5: broken build — at Version 2

Reported by: mojca (Mojca Miklavec) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: perl5.24

Description (last modified by mojca (Mojca Miklavec))

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:

Change History (3)

Changed 9 years ago by mojca (Mojca Miklavec)

Attachment: perl5.24-main.log added

log of broken perl5.24.0-RC5 build

comment:1 Changed 9 years ago by mojca (Mojca Miklavec)

The subport (that needs to be uncommented) has been committed in r148406.

comment:2 Changed 9 years ago by mojca (Mojca Miklavec)

Description: modified (diff)
Note: See TracTickets for help on using tickets.