Opened 7 years ago
Closed 7 years ago
#54934 closed defect (worksforme)
zlib failed to build on macOS 10.13 17A365
Reported by: | shapez0r | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | ||
Port: | zlib |
Description (last modified by raimue (Rainer Müller))
As a dependency of emacs, it tries to install and patch zlib and fails:
---> Fetching archive for zlib ---> Attempting to fetch zlib-1.2.8_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/zlib ---> Attempting to fetch zlib-1.2.8_0.darwin_17.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/zlib/zlib ---> Attempting to fetch zlib-1.2.8_0.darwin_17.x86_64.tbz2 from http://her.gr.packages.macports.org/zlib ---> Fetching distfiles for zlib ---> Attempting to fetch zlib-1.2.8.tar.xz from http://www.zlib.net/ ---> Attempting to fetch zlib-1.2.8.tar.xz from https://distfiles.macports.org/zlib ---> Verifying checksums for zlib ---> Extracting zlib ---> Applying patches to zlib Error: Failed to patch zlib: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port emacs failed
Please see the log:
cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/main.log version:1 :debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/work /opt/local/var/macports/sources/macports.inn.intel.com/ports/archivers/zlib/work :debug:main Executing org.macports.main (zlib) :debug:archivefetch archivefetch phase started at Thu Sep 28 00:58:00 MSK 2017 :msg:archivefetch ---> Fetching archive for zlib :debug:archivefetch Executing org.macports.archivefetch (zlib) :info:archivefetch ---> zlib-1.2.8_0.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified :msg:archivefetch ---> Attempting to fetch zlib-1.2.8_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/zlib :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch zlib-1.2.8_0.darwin_17.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/zlib/zlib :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch zlib-1.2.8_0.darwin_17.x86_64.tbz2 from http://her.gr.packages.macports.org/zlib :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found :debug:fetch fetch phase started at Thu Sep 28 00:58:01 MSK 2017 :notice:fetch ---> Fetching distfiles for zlib :debug:fetch Executing org.macports.fetch (zlib) :info:fetch ---> zlib-1.2.8.tar.xz does not exist in /opt/local/var/macports/distfiles/zlib :notice:fetch ---> Attempting to fetch zlib-1.2.8.tar.xz from http://www.zlib.net/ :debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found :notice:fetch ---> Attempting to fetch zlib-1.2.8.tar.xz from https://distfiles.macports.org/zlib :debug:checksum checksum phase started at Thu Sep 28 00:58:05 MSK 2017 :notice:checksum ---> Verifying checksums for zlib :debug:checksum Executing org.macports.checksum (zlib) :info:checksum ---> Checksumming zlib-1.2.8.tar.xz :debug:checksum Calculated (rmd160) is 2675993cab2db4a1eb69beb885c118e87bf86c64 :debug:checksum Correct (rmd160) checksum for zlib-1.2.8.tar.xz :debug:checksum Calculated (sha256) is 831df043236df8e9a7667b9e3bb37e1fcb1220a0f163b6de2626774b9590d057 :debug:checksum Correct (sha256) checksum for zlib-1.2.8.tar.xz :debug:extract extract phase started at Thu Sep 28 00:58:05 MSK 2017 :notice:extract ---> Extracting zlib :debug:extract setting option extract.cmd to /opt/local/bin/xz :debug:extract Executing proc-pre-org.macports.extract-extract-0 :debug:extract Executing org.macports.extract (zlib) :info:extract ---> Extracting zlib-1.2.8.tar.xz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz' :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_archivers_zlib/zlib/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_archivers_zlib/zlib/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz' | /usr/bin/tar -xf - :debug:extract system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz' | /usr/bin/tar -xf - :info:extract dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib :info:extract Referenced from: /opt/local/lib/libintl.8.dylib :info:extract Reason: Incompatible library version: libintl.8.dylib requires version 9.0.0 or later, but libiconv.2.dylib provides version 8.0.0 :debug:patch patch phase started at Thu Sep 28 00:58:06 MSK 2017 :debug:patch Executing org.macports.patch (zlib) :notice:patch ---> Applying patches to zlib :info:patch ---> Applying patch-configure-clang.diff :debug:patch Creating patch directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/work/zlib-1.2.8 :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_archivers_zlib/zlib/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_archivers_zlib/zlib/work/zlib-1.2.8" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/archivers/zlib/files/patch-configure-clang.diff' :debug:patch system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/work/zlib-1.2.8" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/archivers/zlib/files/patch-configure-clang.diff' :info:patch can't find file to patch at input line 23 :info:patch Perhaps you used the wrong -p or --strip option? :info:patch The text leading up to this was: :info:patch -------------------------- :info:patch |From 8a4e86305a0ed5cf3b0f0cd7338c77a4b564f486 Mon Sep 17 00:00:00 2001 :info:patch |From: Daniel Dunbar <daniel@zuster.org> :info:patch |Date: Mon, 24 Jun 2013 16:02:55 -0700 :info:patch |Subject: [PATCH] Fix detection of "gcc"-likeness for use with LLVM/Clang. :info:patch | :info:patch | - When CC does not include "gcc" or "clang" explicitly in the name, :info:patch | then configure will check the "$CC -v" output to see if the :info:patch | compiler is gcc-like. In such cases it should also recognize the :info:patch | presence of "clang" as indicating a gcc-like compiler. :info:patch | :info:patch | - This fixes problems when using Clang as the default compiler "/usr/bin/cc" on :info:patch | Darwin, because otherwise the configure logic does not properly compute the :info:patch | shared library extension, etc. :info:patch | :info:patch |--- :info:patch | configure | 1 + :info:patch | 1 file changed, 1 insertion(+) :info:patch | :info:patch |diff --git a/configure b/configure :info:patch |index b77a8a8..54f33f7 100755 :info:patch |--- a/configure :info:patch |+++ b/configure :info:patch -------------------------- :info:patch File to patch: :info:patch Skip this patch? [y] :info:patch Skipping patch. :info:patch 1 out of 1 hunk ignored :info:patch Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/work/zlib-1.2.8" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/archivers/zlib/files/patch-configure-clang.diff' :info:patch Exit code: 1 :error:patch Failed to patch zlib: command execution failed :debug:patch Error code: CHILDSTATUS 55309 1 :debug:patch Backtrace: command execution failed :debug:patch while executing :debug:patch "system {*}$notty {*}$nice $fullcmdstring" :debug:patch invoked from within :debug:patch "command_exec patch "" "< '$patch'"" :debug:patch (procedure "portpatch::patch_main" line 33) :debug:patch invoked from within :debug:patch "$procedure $targetname" :debug:patch could not read "/opt/local/share/man/man1/xzmore.1.gz": no such file or directory :debug:patch while executing :debug:patch "::file type $file" :error:patch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/main.log for details. version:1 :debug:main Executing org.macports.main (zlib) :debug:main Skipping completed org.macports.archivefetch (zlib) :debug:main Skipping completed org.macports.fetch (zlib) :debug:main Skipping completed org.macports.checksum (zlib) :debug:main Skipping completed org.macports.extract (zlib) :debug:patch patch phase started at Thu Sep 28 00:58:37 MSK 2017 :debug:patch Executing org.macports.patch (zlib) :notice:patch ---> Applying patches to zlib :info:patch ---> Applying patch-configure-clang.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_archivers_zlib/zlib/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_archivers_zlib/zlib/work/zlib-1.2.8" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/archivers/zlib/files/patch-configure-clang.diff' :debug:patch system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/work/zlib-1.2.8" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/archivers/zlib/files/patch-configure-clang.diff' :info:patch can't find file to patch at input line 23 :info:patch Perhaps you used the wrong -p or --strip option? :info:patch The text leading up to this was: :info:patch -------------------------- :info:patch |From 8a4e86305a0ed5cf3b0f0cd7338c77a4b564f486 Mon Sep 17 00:00:00 2001 :info:patch |From: Daniel Dunbar <daniel@zuster.org> :info:patch |Date: Mon, 24 Jun 2013 16:02:55 -0700 :info:patch |Subject: [PATCH] Fix detection of "gcc"-likeness for use with LLVM/Clang. :info:patch | :info:patch | - When CC does not include "gcc" or "clang" explicitly in the name, :info:patch | then configure will check the "$CC -v" output to see if the :info:patch | compiler is gcc-like. In such cases it should also recognize the :info:patch | presence of "clang" as indicating a gcc-like compiler. :info:patch | :info:patch | - This fixes problems when using Clang as the default compiler "/usr/bin/cc" on :info:patch | Darwin, because otherwise the configure logic does not properly compute the :info:patch | shared library extension, etc. :info:patch | :info:patch |--- :info:patch | configure | 1 + :info:patch | 1 file changed, 1 insertion(+) :info:patch | :info:patch |diff --git a/configure b/configure :info:patch |index b77a8a8..54f33f7 100755 :info:patch |--- a/configure :info:patch |+++ b/configure :info:patch -------------------------- :info:patch File to patch: :info:patch Skip this patch? [y] :info:patch Skipping patch. :info:patch 1 out of 1 hunk ignored :info:patch Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/work/zlib-1.2.8" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/macports.inn.intel.com/ports/archivers/zlib/files/patch-configure-clang.diff' :info:patch Exit code: 1 :error:patch Failed to patch zlib: command execution failed :debug:patch Error code: CHILDSTATUS 59117 1 :debug:patch Backtrace: command execution failed :debug:patch while executing :debug:patch "system {*}$notty {*}$nice $fullcmdstring" :debug:patch invoked from within :debug:patch "command_exec patch "" "< '$patch'"" :debug:patch (procedure "portpatch::patch_main" line 33) :debug:patch invoked from within :debug:patch "$procedure $targetname" :debug:patch could not read "/opt/local/share/man/man7/editline.7.gz": no such file or directory :debug:patch while executing :debug:patch "::file type $file" :error:patch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/main.log for details.
Attachments (1)
Change History (3)
Changed 7 years ago by shapez0r
Attachment: | zlib_1013_log.txt added |
---|
comment:1 Changed 7 years ago by raimue (Rainer Müller)
Description: | modified (diff) |
---|---|
Port: | zlib added |
comment:2 Changed 7 years ago by raimue (Rainer Müller)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
The extract phase failed. Relevant log messages:
:info:extract Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz' | /usr/bin/tar -xf - :debug:extract system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.inn.intel.com_ports_archivers_zlib/zlib/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/zlib/zlib-1.2.8.tar.xz' | /usr/bin/tar -xf - :info:extract dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib :info:extract Referenced from: /opt/local/lib/libintl.8.dylib :info:extract Reason: Incompatible library version: libintl.8.dylib requires version 9.0.0 or later, but libiconv.2.dylib provides version 8.0.0
Did you upgrade from a previous version of macOS? Please do a full Migration.
Note: See
TracTickets for help on using
tickets.
Please use WikiFormatting in the future.