Opened 4 years ago

Closed 4 years ago

#62096 closed defect (duplicate)

p5-unicode-utf8-0.620.0_1: configure fails on SnowLeopard

Reported by: grumpybozo (Bill Cole) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: snowleopard Cc:
Port: p5-unicode-utf8

Description

This seems to be the relevant section of the main.log:

:debug:configure configure phase started at Tue Jan 19 12:20:14 EST 2021
:notice:configure --->  Configuring p5.28-unicode-utf8
:debug:configure Preferred compilers: macports-clang-9.0 macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0 macports-clang-3.7 macports-clang-3.4
:debug:configure Using compiler 'MacPorts Clang 9.0'
:debug:configure elevating privileges for configure ccache: euid changed to 0, egid changed to 0.
:debug:configure dropping privileges: euid changed to 504, egid changed to 500.
:debug:configure Executing org.macports.configure (p5.28-unicode-utf8)
:debug:configure Environment: 
:debug:configure CC='ccache /opt/local/bin/clang-mp-9.0'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-unicode-utf8/p5.28-unicode-utf8/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -arch i386'
:debug:configure CPATH='/opt/local/include'
:debug:configure CPPFLAGS='-I/opt/local/include'
:debug:configure CXX='ccache /opt/local/bin/clang++-mp-9.0'
:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -arch i386'
:debug:configure DEVELOPER_DIR='/Developer'
:debug:configure F90FLAGS='-pipe -Os -m32'
:debug:configure FCFLAGS='-pipe -Os -m32'
:debug:configure FFLAGS='-pipe -Os -m32'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch i386'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:configure OBJC='ccache /opt/local/bin/clang-mp-9.0'
:debug:configure OBJCFLAGS='-pipe -Os -arch i386'
:debug:configure OBJCXX='ccache /opt/local/bin/clang++-mp-9.0'
:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -arch i386'
:debug:configure PERL_AUTOINSTALL='--skipdeps'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-unicode-utf8/p5.28-unicode-utf8/work/Unicode-UTF8-0.62" && /opt/local/bin/perl5.28 Makefile.PL INSTALLDIRS=vendor CC="/opt/local/bin/clang-mp-9.0" LD="/opt/local/bin/clang-mp-9.0" 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-unicode-utf8/p5.28-unicode-utf8/work/Unicode-UTF8-0.62" && /opt/local/bin/perl5.28 Makefile.PL INSTALLDIRS=vendor CC="/opt/local/bin/clang-mp-9.0" LD="/opt/local/bin/clang-mp-9.0" 
:info:configure NA: Unable to build distribution on this platform.
:info:configure Unresolvable missing external dependency.
:info:configure This package requires a C compiler.

Attachments (1)

p5.28-unicode-utf8-main-16&%55.log (87.6 KB) - added by grumpybozo (Bill Cole) 4 years ago.
log of installation attempt

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by grumpybozo (Bill Cole)

log of installation attempt

comment:1 Changed 4 years ago by grumpybozo (Bill Cole)

This appears to be a side-effect of doing a binary upgrade of perl5.28. The binary package was built with '-Dcc=/opt/local/bin/clang-mp-3.4' so all calls to Module::Install::External->require_external_cc() (common in Makefile.PL files) will require clang-3.4 to be installed.

WORKAROUNDS: Install clang-3.4 explicitly so that 'reclaim' won't ever remove it.

I also attempted to rebuild perl with clang 9.0, but that results in a different failure for the lack of support for "-fstack-protector-strong"

comment:2 in reply to:  1 Changed 4 years ago by grumpybozo (Bill Cole)

Replying to grumpybozo:

I also attempted to rebuild perl with clang 9.0, but that results in a different failure for the lack of support for "-fstack-protector-strong"

That was a result of the build resorting to /usr/bin/gcc-4.2 (!!!) by default. Adding 'configure.compiler=macports-clang-9.0' to the port command line (as I had for the perl build) fixed that.

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

Resolution: duplicate
Status: newclosed

Duplicate of #59786.

Note: See TracTickets for help on using tickets.