Opened 7 years ago

Closed 7 years ago

#54933 closed defect (duplicate)

perl 5.22 fails to build on macOS 10.13 17A365

Reported by: shapez0r Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: perl5.22

Description (last modified by mf2k (Frank Schima))

As a dependency of cmake, it tries to install perl 5.22 and fails, please see the log:

cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/main.log
version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work /opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/work
:debug:main Executing org.macports.main (perl5.22)
:debug:archivefetch archivefetch phase started at Thu Sep 28 00:56:47 MSK 2017
:msg:archivefetch --->  Fetching archive for perl5.22
:debug:archivefetch Executing org.macports.archivefetch (perl5.22)
:info:archivefetch --->  perl5.22-5.22.2_1.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch perl5.22-5.22.2_1.darwin_17.x86_64.tbz2 from https://packages.macports.org/perl5.22
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch perl5.22-5.22.2_1.darwin_17.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/perl5/perl5.22
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch perl5.22-5.22.2_1.darwin_17.x86_64.tbz2 from http://her.gr.packages.macports.org/perl5.22
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:fetch fetch phase started at Thu Sep 28 00:56:48 MSK 2017
:notice:fetch --->  Fetching distfiles for perl5.22
:debug:fetch Executing org.macports.fetch (perl5.22)
:info:fetch --->  perl-5.22.2.tar.bz2 does not exist in /opt/local/var/macports/distfiles/perl5.22
:notice:fetch --->  Attempting to fetch perl-5.22.2.tar.bz2 from http://www.cpan.org/src/5.0/
:debug:checksum checksum phase started at Thu Sep 28 00:56:55 MSK 2017
:notice:checksum --->  Verifying checksums for perl5.22
:debug:checksum Executing org.macports.checksum (perl5.22)
:info:checksum --->  Checksumming perl-5.22.2.tar.bz2
:debug:checksum Calculated (rmd160) is 203afca8995ca426db0af48b78eb606b5d24011a
:debug:checksum Correct (rmd160) checksum for perl-5.22.2.tar.bz2
:debug:checksum Calculated (sha256) is f2322b9b04fe0cdbca9fe755360da04892cb6483d44959457cfebc0bcddc8058
:debug:checksum Correct (sha256) checksum for perl-5.22.2.tar.bz2
:debug:extract extract phase started at Thu Sep 28 00:56:56 MSK 2017
:notice:extract --->  Extracting perl5.22
:debug:extract setting option extract.cmd to /usr/bin/bzip2
:debug:extract Executing org.macports.extract (perl5.22)
:info:extract --->  Extracting perl-5.22.2.tar.bz2
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/perl5.22/perl-5.22.2.tar.bz2'
:debug:extract Environment:
:debug:extract CC_PRINT_OPTIONS='YES'
:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/local/include'
:debug:extract LIBRARY_PATH='/opt/local/lib'
:debug:extract MACOSX_DEPLOYMENT_TARGET='10.13'
:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/perl5.22/perl-5.22.2.tar.bz2' | /usr/bin/tar -xf -
:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/perl5.22/perl-5.22.2.tar.bz2' | /usr/bin/tar -xf -
:debug:patch patch phase started at Thu Sep 28 00:57:01 MSK 2017
:debug:patch Executing org.macports.patch (perl5.22)
:notice:patch --->  Applying patches to perl5.22
:info:patch --->  Applying clean-up-paths.patch
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.13'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/clean-up-paths.patch'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/clean-up-paths.patch'
:info:patch patching file Configure
:info:patch --->  Applying avoid-no-cpp-precomp-PR38913.patch
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.13'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/avoid-no-cpp-precomp-PR38913.patch'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/avoid-no-cpp-precomp-PR38913.patch'
:info:patch patching file hints/darwin.sh
:info:patch --->  Applying avoid-bind9-linking.patch
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.13'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/avoid-bind9-linking.patch'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/avoid-bind9-linking.patch'
:info:patch patching file hints/darwin.sh
:info:patch --->  Applying fix-miniperl-linking-PR36438.patch
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.13'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/fix-miniperl-linking-PR36438.patch'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/fix-miniperl-linking-PR36438.patch'
:info:patch patching file Makefile.SH
:info:patch --->  Applying install-under-short-version-PR43480.patch
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.13'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/install-under-short-version-PR43480.patch'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/install-under-short-version-PR43480.patch'
:info:patch patching file Configure
:info:patch --->  Applying patch-dist-IO-t-cachepropagate-unix.t.diff
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.13'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/patch-dist-IO-t-cachepropagate-unix.t.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/patch-dist-IO-t-cachepropagate-unix.t.diff'
:info:patch patching file dist/IO/t/cachepropagate-unix.t
:info:patch --->  Applying remove-10.3-target-PR126360.patch
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.13'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/remove-10.3-target-PR126360.patch'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/lang/perl5/files/5.22/remove-10.3-target-PR126360.patch'
:info:patch patching file hints/darwin.sh
:debug:patch Executing proc-post-org.macports.patch-patch-0
:info:patch --->  Patching Configure: s|__PREFIX__|/opt/local|g
:debug:patch Executing reinplace: /usr/bin/sed s|__PREFIX__|/opt/local|g </opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2/Configure >@file13
:info:patch --->  Patching Makefile.SH: s|__PREFIX__|/opt/local|g
:debug:patch Executing reinplace: /usr/bin/sed s|__PREFIX__|/opt/local|g </opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2/Makefile.SH >@file13
:debug:configure configure phase started at Thu Sep 28 00:57:01 MSK 2017
:notice:configure --->  Configuring perl5.22
:debug:configure Preferred compilers: clang macports-clang-3.9 macports-clang-3.8 macports-clang-3.7
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (perl5.22)
:debug:configure Environment:
:debug:configure CC='/usr/bin/clang'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -arch x86_64'
:debug:configure CPATH='/opt/local/include'
:debug:configure CPPFLAGS='-I/opt/local/include'
:debug:configure CXX='/usr/bin/clang++'
:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
:debug:configure F77FLAGS='-m64'
:debug:configure F90FLAGS='-pipe -Os -m64'
:debug:configure FCFLAGS='-pipe -Os -m64'
:debug:configure FFLAGS='-pipe -Os'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LC_ALL='C'
:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.13'
:debug:configure OBJC='/usr/bin/clang'
:debug:configure OBJCFLAGS='-pipe -Os -arch x86_64'
:debug:configure OBJCXX='/usr/bin/clang++'
:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && sh Configure -des -Dprefix='/opt/local' -Dscriptdir='/opt/local/bin' -Dvendorprefix='/opt/local' -Dusemultiplicity=y -Dusethreads -Duseshrplib -Dcc="$CC" -Dman1ext=1pm -Dman3ext=3pm -Dman1dir='/opt/local/share/man/man1p' -Dman3dir='/opt/local/share/man/man3p' -Dsitebin='/opt/local/libexec/perl5.22/sitebin' -Dsiteman1dir='/opt/local/share/perl5.22/siteman/man1' -Dsiteman3dir='/opt/local/share/perl5.22/siteman/man3' -Dvendorbin='/opt/local/libexec/perl5.22' -Dvendorman1dir='/opt/local/share/perl5.22/man/man1' -Dvendorman3dir='/opt/local/share/perl5.22/man/man3' -Dpager='/usr/bin/less -sR' -Dperlpath="/opt/local/bin/perl5.22" -Dstartperl="#!/opt/local/bin/perl5.22" -Acppflags="$CPPFLAGS" -Accflags="$CFLAGS" -Aldflags="$LDFLAGS" -Dinstallstyle="lib/perl5"
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && sh Configure -des -Dprefix='/opt/local' -Dscriptdir='/opt/local/bin' -Dvendorprefix='/opt/local' -Dusemultiplicity=y -Dusethreads -Duseshrplib -Dcc="$CC" -Dman1ext=1pm -Dman3ext=3pm -Dman1dir='/opt/local/share/man/man1p' -Dman3dir='/opt/local/share/man/man3p' -Dsitebin='/opt/local/libexec/perl5.22/sitebin' -Dsiteman1dir='/opt/local/share/perl5.22/siteman/man1' -Dsiteman3dir='/opt/local/share/perl5.22/siteman/man3' -Dvendorbin='/opt/local/libexec/perl5.22' -Dvendorman1dir='/opt/local/share/perl5.22/man/man1' -Dvendorman3dir='/opt/local/share/perl5.22/man/man3' -Dpager='/usr/bin/less -sR' -Dperlpath="/opt/local/bin/perl5.22" -Dstartperl="#!/opt/local/bin/perl5.22" -Acppflags="$CPPFLAGS" -Accflags="$CFLAGS" -Aldflags="$LDFLAGS" -Dinstallstyle="lib/perl5"
:info:configure First let's make sure your kit is complete.  Checking...
:info:configure Locating common programs...
:info:configure Checking compatibility between /bin/echo and builtin echo (if any)...
:info:configure Symbolic links are supported.
:info:configure Checking how to test for symbolic links...
:info:configure You can test for symbolic links with 'test -h'.
:info:configure Checking for cross-compile
:info:configure No targethost for running compiler tests against defined, running locally
:info:configure Good, your tr supports [:lower:] and [:upper:] to convert case.
:info:configure Using [:upper:] and [:lower:] to convert case.
:info:configure aix                     gnuknetbsd              os400
:info:configure aix_3                   greenhills              posix-bc
:info:configure aix_4                   haiku                   powerux
:info:configure altos486                hpux                    qnx
:info:configure amigaos                 i386                    riscos
:info:configure atheos                  interix                 sco
:info:configure aux_3                   irix_4                  sco_2_3_0
:info:configure bitrig                  irix_5                  sco_2_3_1
:info:configure bsdos                   irix_6                  sco_2_3_2
:info:configure catamount               irix_6_0                sco_2_3_3
:info:configure convexos                irix_6_1                sco_2_3_4
:info:configure cxux                    isc                     solaris_2
:info:configure cygwin                  isc_2                   stellar
:info:configure darwin                  linux-android           sunos_4_0
:info:configure dcosx                   linux                   sunos_4_1
:info:configure dec_osf                 lynxos                  super-ux
:info:configure dos_djgpp               midnightbsd             svr4
:info:configure dragonfly               mips                    svr5
:info:configure dynix                   mirbsd                  ti1500
:info:configure dynixptx                mpc                     ultrix_4
:info:configure epix                    ncr_tower               umips
:info:configure esix4                   netbsd                  unicos
:info:configure fps                     newsos4                 unicosmk
:info:configure freebsd                 nonstopux               unisysdynix
:info:configure freemint                openbsd                 utekv
:info:configure genix                   opus                    uwin
:info:configure gnu                     os2                     vos
:info:configure gnukfreebsd             os390
:info:configure Which of these apply, if any? [darwin]
:info:configure Adding -mmacosx-version-min=10.13 to ccflags
:info:configure Adding -mmacosx-version-min=10.13 to ldflags
:info:configure NOT adding -mmacosx-version-min=10.13 to ccflags ( -fno-common -DPERL_DARWIN  -mmacosx-version-min=10.13)
:info:configure NOT adding -mmacosx-version-min=10.13 to ldflags ( -mmacosx-version-min=10.13)
:info:configure Operating system name? [darwin]
:info:configure Operating system version? [17.0.0]
:info:configure Installation prefix to use? (~name ok) [/opt/local]
:info:configure AFS does not seem to be running...
:info:configure What installation prefix should I use for installing files? (~name ok)
:info:configure [/opt/local]
:info:configure Getting the current patchlevel...
:info:configure Build a threading Perl? [y]
:info:configure Use which C compiler? [/usr/bin/clang]
:info:configure Checking for GNU cc in disguise and/or its version number...
:info:configure Now, how can we feed standard input to your C preprocessor...
:info:configure Directories to use for library searches?
:info:configure [/opt/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib]
:info:configure What is the file extension used for shared libraries? [dylib]
:info:configure Make shared library basenames unique? [n]
:info:configure Build Perl for SOCKS? [n]
:info:configure Try to use long doubles if available? [n]
:info:configure Checking for optional libraries...
:info:configure What libraries to use? [-lpthread -lgdbm -ldbm -ldl -lm -lutil -lc]
:info:configure What optimizer/debugger flag should be used? [-O3]
:info:configure Any additional cc flags?
:info:configure [-fno-common -DPERL_DARWIN -mmacosx-version-min=10.13 -pipe -Os -arch x86_64 -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include]
:info:configure Let me guess what the preprocessor flags are...
:info:configure Any additional ld flags (NOT including libraries)?
:info:configure [ -mmacosx-version-min=10.13 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -fstack-protector-strong]
:info:configure Checking your choice of C compiler and flags for coherency...
:info:configure Configure: line 5697: 48453 Abort trap: 6           $sh -c "$run ./try " >> try.msg 2>&1
:info:configure I've tried to compile and run the following simple program:
:info:configure #include <stdio.h>
:info:configure int main() { printf("Ok\n"); return(0); }
:info:configure I used the command:
:info:configure         /usr/bin/clang -o try -O3 -fno-common -DPERL_DARWIN -mmacosx-version-min=10.13 -pipe -Os -arch x86_64 -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -mmacosx-version-min=10.13 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -fstack-protector-strong try.c -lpthread -lgdbm -ldbm -ldl -lm -lutil -lc
:info:configure          ./try
:info:configure and I got the following output:
:info:configure dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
:info:configure   Referenced from: /opt/local/lib/libintl.8.dylib
:info:configure   Reason: Incompatible library version: libintl.8.dylib requires version 9.0.0 or later, but libiconv.2.dylib provides version 8.0.0
:info:configure The program compiled OK, but exited with status 134.
:info:configure You have a problem.  Shall I abort Configure [y]
:info:configure Ok.  Stopping Configure.
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && sh Configure -des -Dprefix='/opt/local' -Dscriptdir='/opt/local/bin' -Dvendorprefix='/opt/local' -Dusemultiplicity=y -Dusethreads -Duseshrplib -Dcc="$CC" -Dman1ext=1pm -Dman3ext=3pm -Dman1dir='/opt/local/share/man/man1p' -Dman3dir='/opt/local/share/man/man3p' -Dsitebin='/opt/local/libexec/perl5.22/sitebin' -Dsiteman1dir='/opt/local/share/perl5.22/siteman/man1' -Dsiteman3dir='/opt/local/share/perl5.22/siteman/man3' -Dvendorbin='/opt/local/libexec/perl5.22' -Dvendorman1dir='/opt/local/share/perl5.22/man/man1' -Dvendorman3dir='/opt/local/share/perl5.22/man/man3' -Dpager='/usr/bin/less -sR' -Dperlpath="/opt/local/bin/perl5.22" -Dstartperl="#!/opt/local/bin/perl5.22" -Acppflags="$CPPFLAGS" -Accflags="$CFLAGS" -Aldflags="$LDFLAGS" -Dinstallstyle="lib/perl5"
:info:configure Exit code: 1
:error:configure Failed to configure perl5.22: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:debug:configure Failed to locate 'lbzip2' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
:debug:configure     while executing
:debug:configure "error "$eMessage or at its MacPorts configuration time location, did you move it?""
:debug:configure     invoked from within
:debug:configure "try -pass_signal {
:debug:configure             set cmd_path [macports::binaryInPath $prog]
:debug:configure             return $cmd_path
:debug:configure         } catch {{*} eCode eMessage} {
:debug:configure        ..."
:debug:configure     (procedure "macports::findBinary" line 5)
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/main.log for details.
version:1
:debug:main Executing org.macports.main (perl5.22)
:debug:main Skipping completed org.macports.archivefetch (perl5.22)
:debug:main Skipping completed org.macports.fetch (perl5.22)
:debug:main Skipping completed org.macports.checksum (perl5.22)
:debug:main Skipping completed org.macports.extract (perl5.22)
:debug:main Skipping completed org.macports.patch (perl5.22)
:debug:configure configure phase started at Thu Sep 28 01:02:58 MSK 2017
:notice:configure --->  Configuring perl5.22
:debug:configure Preferred compilers: clang macports-clang-3.9 macports-clang-3.8 macports-clang-3.7
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (perl5.22)
:debug:configure Environment:
:debug:configure CC='/usr/bin/clang'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -arch x86_64'
:debug:configure CPATH='/opt/local/include'
:debug:configure CPPFLAGS='-I/opt/local/include'
:debug:configure CXX='/usr/bin/clang++'
:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
:debug:configure F77FLAGS='-m64'
:debug:configure F90FLAGS='-pipe -Os -m64'
:debug:configure FCFLAGS='-pipe -Os -m64'
:debug:configure FFLAGS='-pipe -Os'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LC_ALL='C'
:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.13'
:debug:configure OBJC='/usr/bin/clang'
:debug:configure OBJCFLAGS='-pipe -Os -arch x86_64'
:debug:configure OBJCXX='/usr/bin/clang++'
:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && sh Configure -des -Dprefix='/opt/local' -Dscriptdir='/opt/local/bin' -Dvendorprefix='/opt/local' -Dusemultiplicity=y -Dusethreads -Duseshrplib -Dcc="$CC" -Dman1ext=1pm -Dman3ext=3pm -Dman1dir='/opt/local/share/man/man1p' -Dman3dir='/opt/local/share/man/man3p' -Dsitebin='/opt/local/libexec/perl5.22/sitebin' -Dsiteman1dir='/opt/local/share/perl5.22/siteman/man1' -Dsiteman3dir='/opt/local/share/perl5.22/siteman/man3' -Dvendorbin='/opt/local/libexec/perl5.22' -Dvendorman1dir='/opt/local/share/perl5.22/man/man1' -Dvendorman3dir='/opt/local/share/perl5.22/man/man3' -Dpager='/usr/bin/less -sR' -Dperlpath="/opt/local/bin/perl5.22" -Dstartperl="#!/opt/local/bin/perl5.22" -Acppflags="$CPPFLAGS" -Accflags="$CFLAGS" -Aldflags="$LDFLAGS" -Dinstallstyle="lib/perl5"
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && sh Configure -des -Dprefix='/opt/local' -Dscriptdir='/opt/local/bin' -Dvendorprefix='/opt/local' -Dusemultiplicity=y -Dusethreads -Duseshrplib -Dcc="$CC" -Dman1ext=1pm -Dman3ext=3pm -Dman1dir='/opt/local/share/man/man1p' -Dman3dir='/opt/local/share/man/man3p' -Dsitebin='/opt/local/libexec/perl5.22/sitebin' -Dsiteman1dir='/opt/local/share/perl5.22/siteman/man1' -Dsiteman3dir='/opt/local/share/perl5.22/siteman/man3' -Dvendorbin='/opt/local/libexec/perl5.22' -Dvendorman1dir='/opt/local/share/perl5.22/man/man1' -Dvendorman3dir='/opt/local/share/perl5.22/man/man3' -Dpager='/usr/bin/less -sR' -Dperlpath="/opt/local/bin/perl5.22" -Dstartperl="#!/opt/local/bin/perl5.22" -Acppflags="$CPPFLAGS" -Accflags="$CFLAGS" -Aldflags="$LDFLAGS" -Dinstallstyle="lib/perl5"
:info:configure First let's make sure your kit is complete.  Checking...
:info:configure Would you like to see the instructions? [n]
:info:configure Locating common programs...
:info:configure Checking compatibility between /bin/echo and builtin echo (if any)...
:info:configure Symbolic links are supported.
:info:configure Checking how to test for symbolic links...
:info:configure You can test for symbolic links with 'test -h'.
:info:configure Checking for cross-compile
:info:configure No targethost for running compiler tests against defined, running locally
:info:configure Good, your tr supports [:lower:] and [:upper:] to convert case.
:info:configure Using [:upper:] and [:lower:] to convert case.
:info:configure aix                     gnuknetbsd              os400
:info:configure aix_3                   greenhills              posix-bc
:info:configure aix_4                   haiku                   powerux
:info:configure altos486                hpux                    qnx
:info:configure amigaos                 i386                    riscos
:info:configure atheos                  interix                 sco
:info:configure aux_3                   irix_4                  sco_2_3_0
:info:configure bitrig                  irix_5                  sco_2_3_1
:info:configure bsdos                   irix_6                  sco_2_3_2
:info:configure catamount               irix_6_0                sco_2_3_3
:info:configure convexos                irix_6_1                sco_2_3_4
:info:configure cxux                    isc                     solaris_2
:info:configure cygwin                  isc_2                   stellar
:info:configure darwin                  linux-android           sunos_4_0
:info:configure dcosx                   linux                   sunos_4_1
:info:configure dec_osf                 lynxos                  super-ux
:info:configure dos_djgpp               midnightbsd             svr4
:info:configure dragonfly               mips                    svr5
:info:configure dynix                   mirbsd                  ti1500
:info:configure dynixptx                mpc                     ultrix_4
:info:configure epix                    ncr_tower               umips
:info:configure esix4                   netbsd                  unicos
:info:configure fps                     newsos4                 unicosmk
:info:configure freebsd                 nonstopux               unisysdynix
:info:configure freemint                openbsd                 utekv
:info:configure genix                   opus                    uwin
:info:configure gnu                     os2                     vos
:info:configure gnukfreebsd             os390
:info:configure Which of these apply, if any? [darwin]
:info:configure Adding -mmacosx-version-min=10.13 to ccflags
:info:configure Adding -mmacosx-version-min=10.13 to ldflags
:info:configure NOT adding -mmacosx-version-min=10.13 to ccflags ( -fno-common -DPERL_DARWIN  -mmacosx-version-min=10.13)
:info:configure NOT adding -mmacosx-version-min=10.13 to ldflags ( -mmacosx-version-min=10.13)
:info:configure Operating system name? [darwin]
:info:configure Operating system version? [17.0.0]
:info:configure Installation prefix to use? (~name ok) [/opt/local]
:info:configure AFS does not seem to be running...
:info:configure What installation prefix should I use for installing files? (~name ok)
:info:configure [/opt/local]
:info:configure Getting the current patchlevel...
:info:configure Build a threading Perl? [y]
:info:configure Use which C compiler? [/usr/bin/clang]
:info:configure Checking for GNU cc in disguise and/or its version number...
:info:configure Now, how can we feed standard input to your C preprocessor...
:info:configure Directories to use for library searches?
:info:configure [/opt/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib]
:info:configure What is the file extension used for shared libraries? [dylib]
:info:configure Make shared library basenames unique? [n]
:info:configure Build Perl for SOCKS? [n]
:info:configure Try to use long doubles if available? [n]
:info:configure Checking for optional libraries...
:info:configure What libraries to use? [-lpthread -lgdbm -ldbm -ldl -lm -lutil -lc]
:info:configure What optimizer/debugger flag should be used? [-O3]
:info:configure Any additional cc flags?
:info:configure [-fno-common -DPERL_DARWIN -mmacosx-version-min=10.13 -pipe -Os -arch x86_64 -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include]
:info:configure Let me guess what the preprocessor flags are...
:info:configure Any additional ld flags (NOT including libraries)?
:info:configure [ -mmacosx-version-min=10.13 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -fstack-protector-strong]
:info:configure Checking your choice of C compiler and flags for coherency...
:info:configure Configure: line 5697: 99485 Abort trap: 6           $sh -c "$run ./try " >> try.msg 2>&1
:info:configure I've tried to compile and run the following simple program:
:info:configure #include <stdio.h>
:info:configure int main() { printf("Ok\n"); return(0); }
:info:configure I used the command:
:info:configure         /usr/bin/clang -o try -O3 -fno-common -DPERL_DARWIN -mmacosx-version-min=10.13 -pipe -Os -arch x86_64 -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -mmacosx-version-min=10.13 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -fstack-protector-strong try.c -lpthread -lgdbm -ldbm -ldl -lm -lutil -lc
:info:configure          ./try
:info:configure and I got the following output:
:info:configure dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
:info:configure   Referenced from: /opt/local/lib/libintl.8.dylib
:info:configure   Reason: Incompatible library version: libintl.8.dylib requires version 9.0.0 or later, but libiconv.2.dylib provides version 8.0.0
:info:configure The program compiled OK, but exited with status 134.
:info:configure You have a problem.  Shall I abort Configure [y]
:info:configure Ok.  Stopping Configure.
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/work/perl-5.22.2" && sh Configure -des -Dprefix='/opt/local' -Dscriptdir='/opt/local/bin' -Dvendorprefix='/opt/local' -Dusemultiplicity=y -Dusethreads -Duseshrplib -Dcc="$CC" -Dman1ext=1pm -Dman3ext=3pm -Dman1dir='/opt/local/share/man/man1p' -Dman3dir='/opt/local/share/man/man3p' -Dsitebin='/opt/local/libexec/perl5.22/sitebin' -Dsiteman1dir='/opt/local/share/perl5.22/siteman/man1' -Dsiteman3dir='/opt/local/share/perl5.22/siteman/man3' -Dvendorbin='/opt/local/libexec/perl5.22' -Dvendorman1dir='/opt/local/share/perl5.22/man/man1' -Dvendorman3dir='/opt/local/share/perl5.22/man/man3' -Dpager='/usr/bin/less -sR' -Dperlpath="/opt/local/bin/perl5.22" -Dstartperl="#!/opt/local/bin/perl5.22" -Acppflags="$CPPFLAGS" -Accflags="$CFLAGS" -Aldflags="$LDFLAGS" -Dinstallstyle="lib/perl5"
:info:configure Exit code: 1
:error:configure Failed to configure perl5.22: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:debug:configure could not read "/opt/local/share/info/nettle.info": no such file or directory
:debug:configure     while executing
:debug:configure "::file type $file"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_macports.inn.intel.com_ports_lang_perl5/perl5.22/main.log for details.

Attachments (1)

per522_1013_log.txt (11.9 KB) - added by shapez0r 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by shapez0r

Attachment: per522_1013_log.txt added

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Owner: set to mojca
Port: perl5.22 added
Status: newassigned

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers perl5.22), if any.

The log you attached has nothing to do with perl5.22.

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.