Opened 2 years ago

Last modified 23 months ago

#66100 closed defect

Asymptote 2.70_3 fails to build on macOS 13.0 — at Initial Version

Reported by: mcmara (Jack McMara) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc:
Port: asymptote

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

Change History (0)

Note: See TracTickets for help on using tickets.