[MacPorts] #71267: 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' (was: zvbi @0.2.35_5 build on Mac OS Sequoia 15.1 fails)
MacPorts
noreply at macports.org
Sat Nov 9 15:55:20 UTC 2024
#71267: 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'
----------------------+---------------------
Reporter: bhatiaa | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: sequoia
Port: zvbi |
----------------------+---------------------
Old description:
> Hi,
> I 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.
>
> Following is portion of the log from opt/local/var/macports/logs/
> _opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_zvbi/
> zvbi/main.log -
> {{{
> version:1
>
> :debug:main Starting logging for zvbi @0.2.35_5
>
> :debug:sysinfo macOS 15.1 (darwin/24.1.0) arch arm
>
> :debug:sysinfo MacPorts 2.10.4
>
> :debug:sysinfo Xcode 16.1, CLT 16.1.0.0.1.1729049160
>
> :debug:sysinfo SDK 15
>
> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
>
> :debug:main dropping privileges: euid changed to 502, egid changed to
> 501.
>
> :debug:main Executing org.macports.main (zvbi)
>
> :debug:main Privilege de-escalation not attempted as not running as root.
>
> :debug:archivefetch archivefetch phase started at Thu Nov 7 23:09:05 PST
> 2024
>
> :msg:archivefetch ---> Fetching archive for zvbi
>
> :debug:archivefetch Executing org.macports.archivefetch (zvbi)
>
> :debug:archivefetch euid/egid changed to: 0/0
>
> :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
>
> :debug:archivefetch euid/egid changed to: 502/501
>
> :info:archivefetch ---> zvbi-0.2.35_5.darwin_24.arm64.tbz2 doesn't seem
> to exist in /opt/local/var/macports/incoming/verified
>
> :msg:archivefetch ---> Attempting to fetch
> zvbi-0.2.35_5.darwin_24.arm64.tbz2 from
> https://packages.macports.org/zvbi
>
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
>
> :msg:archivefetch ---> Attempting to fetch
> zvbi-0.2.35_5.darwin_24.arm64.tbz2 from
> http://mirror.fcix.net/macports/packages/zvbi
>
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
>
> :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
>
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> }}}
New description:
Hi, \\
I 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.
Following 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
-
{{{
version:1
:debug:main Starting logging for zvbi @0.2.35_5
:debug:sysinfo macOS 15.1 (darwin/24.1.0) arch arm
:debug:sysinfo MacPorts 2.10.4
:debug:sysinfo Xcode 16.1, CLT 16.1.0.0.1.1729049160
:debug:sysinfo SDK 15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:main Executing org.macports.main (zvbi)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Thu Nov 7 23:09:05 PST
2024
:msg:archivefetch ---> Fetching archive for zvbi
:debug:archivefetch Executing org.macports.archivefetch (zvbi)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch ---> zvbi-0.2.35_5.darwin_24.arm64.tbz2 doesn't seem
to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch ---> Attempting to fetch
zvbi-0.2.35_5.darwin_24.arm64.tbz2 from https://packages.macports.org/zvbi
:debug:archivefetch Fetching archive failed: The requested URL returned
error: 404
:msg:archivefetch ---> Attempting to fetch
zvbi-0.2.35_5.darwin_24.arm64.tbz2 from
http://mirror.fcix.net/macports/packages/zvbi
:debug:archivefetch Fetching archive failed: The requested URL returned
error: 404
: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
:debug:archivefetch Fetching archive failed: The requested URL returned
error: 404
}}}
--
Comment (by ryandesign):
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 [https://www.xquartz.org/ XQuartz]
gets installed, so I recommend you [https://www.xquartz.org/FAQs.html
#uninstall-xquartz-28-and-later 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.
--
Ticket URL: <https://trac.macports.org/ticket/71267#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list