[MacPorts] #62127: glib2 @2.58.3 extract failure on arm64 (was: Error: Failed to patch glib2: command execution failed)
MacPorts
noreply at macports.org
Sat Jan 23 00:13:03 UTC 2021
#62127: glib2 @2.58.3 extract failure on arm64
-------------------------------+------------------------
Reporter: rshellnet | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: arm64
Port: xz gettext glib2 |
-------------------------------+------------------------
Changes (by jmroot):
* status: new => assigned
* owner: (none) => ryandesign
* keywords: build filed due to missing file in patch command => arm64
* port: glib2 => xz gettext glib2
Old description:
> :info:patch Executing: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.58.3"
> && /usr/bin/patch -p0 <
> '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/glib2/files/libintl.patch'
> :debug:patch system: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.58.3"
> && /usr/bin/patch -p0 <
> '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/glib2/files/libintl.patch'
> :info:patch can't find file to patch at input line 4
New description:
{{{
:info:patch Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.58.3"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/glib2/files/libintl.patch'
:debug:patch system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.58.3"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/glib2/files/libintl.patch'
:info:patch can't find file to patch at input line 4
}}}
--
Comment:
The problem is this:
{{{
:debug:extract system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work"
&& /opt/local/bin/xz -dc
'/opt/local/var/macports/distfiles/glib2/glib-2.58.3.tar.xz' |
/usr/bin/tar -xf -
:info:extract dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
:info:extract Referenced from: /opt/local/bin/xz
:info:extract Reason: no suitable image found. Did find:
:info:extract /opt/local/lib/libintl.8.dylib: mach-o, but wrong
architecture
:info:extract /opt/local/lib/libintl.8.dylib: mach-o, but wrong
architecture
}}}
Did you migrate this MacPorts installation from an older Mac? If so, did
you follow the wiki:Migration instructions?
--
Ticket URL: <https://trac.macports.org/ticket/62127#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list