Changes between Version 1 and Version 2 of Ticket #71267


Ignore:
Timestamp:
Nov 9, 2024, 3:55:20 PM (4 days ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

You can follow wiki:howto/InstallingOlderPort to install an older version of a port, but I doubt that will help in this case and don't recommend trying it because I think it will be a waste of time.

If the same problem appears again after cleaning, this line in the log is likely the cause:

:info:build ld: warning: ignoring file '/opt/X11/lib/libX11.6.dylib': fat file missing arch 'arm64', file has 'i386,x86_64'

The MacPorts build of scrcpy appears to be finding X11 libraries in /opt/X11 in preference to the MacPorts prefix, and the libraries you have installed in /opt/X11 are for computers with Intel processors, not Apple Silicon processors. /opt/X11 is where XQuartz gets installed, so I recommend you uninstall XQuartz. You can get newer versions of the same software in MacPorts by running sudo port install xorg-server. If you prefer XQuartz for some reason, install a version of it built for Apple Silicon processors.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #71267

    • Property Summary changed from zvbi @0.2.35_5 build on Mac OS Sequoia 15.1 fails to zvbi @0.2.35_5: undefined X11 symbols due to ignoring file '/opt/X11/lib/libX11.6.dylib': fat file missing arch 'arm64', file has 'i386,x86_64'
  • Ticket #71267 – Description

    v1 v2  
    1 Hi,
     1Hi, \\
    22I am trying to build and setup Scrcpy on Mac OS Sequoia 15.1. I am using MacPorts for this. It seems like zvbi-0.2.35_5.darwin_24.arm64 is not yet available for this mac OS version. Can someone please suggest if an older version can somehow be used in the meantime? I am not very familiar with macports either, so would greatly appreciate it if someone can share the exact instructions as well.
    33
    4 Following is portion of the log from opt/local/var/macports/logs/
    5 _opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_zvbi/
    6 zvbi/main.log -
     4Following is portion of the log from opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.rg_macports_release_tarballs_ports_multimedia_zvbi/zvbi/main.log -
    75{{{
    86version:1
    9 
    107:debug:main Starting logging for zvbi @0.2.35_5
    11 
    128:debug:sysinfo macOS 15.1 (darwin/24.1.0) arch arm
    13 
    149:debug:sysinfo MacPorts 2.10.4
    15 
    1610:debug:sysinfo Xcode 16.1, CLT 16.1.0.0.1.1729049160
    17 
    1811:debug:sysinfo SDK 15
    19 
    2012:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
    21 
    2213:debug:main dropping privileges: euid changed to 502, egid changed to 501.
    23 
    2414:debug:main Executing org.macports.main (zvbi)
    25 
    2615:debug:main Privilege de-escalation not attempted as not running as root.
    27 
    2816:debug:archivefetch archivefetch phase started at Thu Nov  7 23:09:05 PST 2024
    29 
    3017:msg:archivefetch --->  Fetching archive for zvbi
    31 
    3218:debug:archivefetch Executing org.macports.archivefetch (zvbi)
    33 
    3419:debug:archivefetch euid/egid changed to: 0/0
    35 
    3620:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
    37 
    3821:debug:archivefetch euid/egid changed to: 502/501
    39 
    4022:info:archivefetch --->  zvbi-0.2.35_5.darwin_24.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
    41 
    4223:msg:archivefetch --->  Attempting to fetch zvbi-0.2.35_5.darwin_24.arm64.tbz2 from https://packages.macports.org/zvbi
    43 
    4424:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
    45 
    4625:msg:archivefetch --->  Attempting to fetch zvbi-0.2.35_5.darwin_24.arm64.tbz2 from http://mirror.fcix.net/macports/packages/zvbi
    47 
    4826:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
    49 
    5027:msg:archivefetch --->  Attempting to fetch zvbi-0.2.35_5.darwin_24.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/zvbi
    51 
    5228:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
    5329}}}