[MacPorts] #66100: asymptote @2.70_3: fails to patch on macOS 13.0
MacPorts
noreply at macports.org
Sat Oct 29 17:32:54 UTC 2022
#66100: asymptote @2.70_3: fails to patch on macOS 13.0
------------------------+----------------------
Reporter: mcmara | Owner: mojca
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords: ventura
Port: asymptote |
------------------------+----------------------
Description changed by mcmara:
Old description:
> First of all, a simpla install hangs on applying patches:
>
> {{{
> $ sudo port install asymptote
> ---> Computing dependencies for asymptote
> ---> Fetching archive for asymptote
> ---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/asymptote
> ---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
> https://mse.uk.packages.macports.org/asymptote
> ---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
> https://ema.uk.packages.macports.org/asymptote
> ---> Fetching distfiles for asymptote
> ---> Verifying checksums for asymptote
> ---> Extracting asymptote
> ---> Applying patches to asymptote
>
> }}}
>
> Adding more verbosity shows the problem:
>
> {{{
> $ sudo port -v install asymptote
> ---> Computing dependencies for asymptote.
> ---> Fetching archive for asymptote
> ---> asymptote-2.70_3.darwin_22.x86_64.tbz2 doesn't seem to exist in
> /opt/local/var/macports/incoming/verified
> ---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/asymptote
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
> 0
> ---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
> https://mse.uk.packages.macports.org/asymptote
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 0 196 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
> 0
> ---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
> https://ema.uk.packages.macports.org/asymptote
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 0 315 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
> 0
> ---> Applying patches to asymptote
> ---> Applying patch-Makefile.diff
> Executing: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70"
> && /usr/bin/patch -p0 <
> '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/asymptote/files
> /patch-Makefile.diff'
> patching file Makefile.in
>
> }}}
>
> The patch command above is somehow failing and silently waiting for use
> input. In fact:
>
> {{{
> $ cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70"
> && /usr/bin/patch -p0 <
> '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/asymptote/files
> /patch-Makefile.diff'
> patching file Makefile.in
> Reversed (or previously applied) patch detected! Assume -R? [y]
> }}}
>
> Hitting enter terminates in an error:
>
> {{{
> $ sudo port -v install asymptote
> ---> Computing dependencies for asymptote.
> ---> Fetching archive for asymptote
> ---> asymptote-2.70_3.darwin_22.x86_64.tbz2 doesn't seem to exist in
> /opt/local/var/macports/incoming/verified
> ---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/asymptote
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
> 0
> ---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
> https://mse.uk.packages.macports.org/asymptote
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 0 196 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
> 0
> ---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
> https://ema.uk.packages.macports.org/asymptote
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 0 315 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
> 0
> ---> Applying patches to asymptote
> ---> Applying patch-Makefile.diff
> Executing: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70"
> && /usr/bin/patch -p0 <
> '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/asymptote/files
> /patch-Makefile.diff'
> patching file Makefile.in
>
>
> Reversed (or previously applied) patch detected! Assume -R? [y] File to
> patch: No file found--skip this patch? [y] 1 out of 1 hunks ignored--
> saving rejects to Oops.rej
> Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70"
> && /usr/bin/patch -p0 <
> '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/asymptote/files
> /patch-Makefile.diff'
> Exit code: 1
> Error: Failed to patch asymptote: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port asymptote failed
> }}}
New description:
First of all, a simple install hangs on applying patches:
{{{
$ sudo port install asymptote
---> Computing dependencies for asymptote
---> Fetching archive for asymptote
---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
https://ywg.ca.packages.macports.org/mirror/macports/packages/asymptote
---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
https://mse.uk.packages.macports.org/asymptote
---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
https://ema.uk.packages.macports.org/asymptote
---> Fetching distfiles for asymptote
---> Verifying checksums for asymptote
---> Extracting asymptote
---> Applying patches to asymptote
}}}
Adding more verbosity shows the problem:
{{{
$ sudo port -v install asymptote
---> Computing dependencies for asymptote.
---> Fetching archive for asymptote
---> asymptote-2.70_3.darwin_22.x86_64.tbz2 doesn't seem to exist in
/opt/local/var/macports/incoming/verified
---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
https://ywg.ca.packages.macports.org/mirror/macports/packages/asymptote
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
https://mse.uk.packages.macports.org/asymptote
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 196 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
https://ema.uk.packages.macports.org/asymptote
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 315 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Applying patches to asymptote
---> Applying patch-Makefile.diff
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/asymptote/files
/patch-Makefile.diff'
patching file Makefile.in
}}}
The patch command above is somehow failing and silently waiting for use
input. In fact:
{{{
$ cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/asymptote/files
/patch-Makefile.diff'
patching file Makefile.in
Reversed (or previously applied) patch detected! Assume -R? [y]
}}}
Hitting enter terminates in an error:
{{{
$ sudo port -v install asymptote
---> Computing dependencies for asymptote.
---> Fetching archive for asymptote
---> asymptote-2.70_3.darwin_22.x86_64.tbz2 doesn't seem to exist in
/opt/local/var/macports/incoming/verified
---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
https://ywg.ca.packages.macports.org/mirror/macports/packages/asymptote
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
https://mse.uk.packages.macports.org/asymptote
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 196 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Attempting to fetch asymptote-2.70_3.darwin_22.x86_64.tbz2 from
https://ema.uk.packages.macports.org/asymptote
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 315 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Applying patches to asymptote
---> Applying patch-Makefile.diff
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/asymptote/files
/patch-Makefile.diff'
patching file Makefile.in
Reversed (or previously applied) patch detected! Assume -R? [y] File to
patch: No file found--skip this patch? [y] 1 out of 1 hunks ignored--
saving rejects to Oops.rej
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/asymptote/files
/patch-Makefile.diff'
Exit code: 1
Error: Failed to patch asymptote: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port asymptote failed
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/66100#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list