[MacPorts] #59786: perl5.30 forces modules to build with clang-3.4, though they don't declare a dependency on it
MacPorts
noreply at macports.org
Wed Jun 3 19:11:46 UTC 2020
#59786: perl5.30 forces modules to build with clang-3.4, though they don't declare
a dependency on it
-------------------------+----------------------
Reporter: ryandesign | Owner: mojca
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: perl5.30 |
-------------------------+----------------------
Comment (by kencu):
This one bit me yet again.
{{{
$ sudo port -v destroot p5.28-xml-parser
---> Computing dependencies for p5.28-xml-parser.
---> Fetching distfiles for p5.28-xml-parser
---> Verifying checksums for p5.28-xml-parser
---> Checksumming XML-Parser-2.46.tar.gz
---> Extracting p5.28-xml-parser
---> Extracting XML-Parser-2.46.tar.gz
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/work" && /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/perl5/XML-Parser-2.46.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -
---> Configuring p5.28-xml-parser
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46" &&
/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"
Couldn't find your C compiler
Compilation failed in require at Makefile.PL line 4.
BEGIN failed--compilation aborted at Makefile.PL line 4.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46" &&
/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"
Exit code: 2
Error: Failed to configure p5.28-xml-parser: configure failure: command
execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/main.log for details.
}}}
perl5 is hard-coded to build everything with clang-3.4. All is working
again after reactivating clang-3.4:
{{{
$ perl5.28 -V
Summary of my perl5 (revision 5 version 28 subversion 2) configuration:
Platform:
osname=darwin
osvers=10.8.0
archname=darwin-thread-multi-2level
uname='darwin kensmacbookpro.local 10.8.0 darwin kernel version
10.8.0: tue jun 7 16:33:36 pdt 2011; root:xnu-1504.15.3~1release_i386 i386
'
config_args='-des -Dprefix=/opt/local -Dscriptdir=/opt/local/bin
-Dvendorprefix=/opt/local -Dusemultiplicity=y -Dusethreads -Duseshrplib
-Dcc=/opt/local/bin/clang-mp-3.4 -Dman1ext=1pm -Dman3ext=3pm
-Dinstallstyle=lib/perl5 -Dman1dir=/opt/local/share/man/man1p
-Dman3dir=/opt/local/share/man/man3p
-Dsitebin=/opt/local/libexec/perl5.28/sitebin
-Dsiteman1dir=/opt/local/share/perl5.28/siteman/man1
-Dsiteman3dir=/opt/local/share/perl5.28/siteman/man3
-Dvendorbin=/opt/local/libexec/perl5.28
-Dvendorman1dir=/opt/local/share/perl5.28/man/man1
-Dvendorman3dir=/opt/local/share/perl5.28/man/man3 -Dpager=/usr/bin/less
-sR -Dperlpath=/opt/local/bin/perl5.28
-Dstartperl=#!/opt/local/bin/perl5.28 -Acppflags=-I/opt/local/include
-Accflags=-pipe -Os -Alddlflags=-L/opt/local/lib
-Wl,-headerpad_max_install_names -Aldflags=-L/opt/local/lib
-Wl,-headerpad_max_install_names '
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='/opt/local/bin/clang-mp-3.4'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59786#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list