[MacPorts] #70057: MoltenVK-latest @1.2.9: Command failed: lipo -thin x86_64 libMoltenVK.A -o libMoltenVK.A 2> /dev/null
MacPorts
noreply at macports.org
Fri May 24 20:24:15 UTC 2024
#70057: MoltenVK-latest @1.2.9: Command failed: lipo -thin x86_64 libMoltenVK.A -o
libMoltenVK.A 2> /dev/null
------------------------------+----------------------
Reporter: ryandesign | Owner: Gcenx
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: MoltenVK-latest |
------------------------------+----------------------
Comment (by ryandesign):
Replying to [comment:3 Gcenx]:
> Replying to [comment:2 ryandesign]:
> > One difference between our Buildbot workers and GitHub Actions runners
is that the former use case-sensitive file systems. Are all of your paths
capitalized correctly?
>
> That's the strange part all the paths are correct, I've attached a
screenshot of this being installed locally where it shows as
`libMoltenVK.A`
The screenshot shows what got installed into the destroot and from there
was packaged into the port's binary archive, not what existed in the
original distfile. Certainly if you tell the OS to copy a file and the
case you use is not correct but your file system is case insensitive, then
the copy will succeed and the copied file will have the new ("incorrect")
case:
{{{
% mkdir foo bar
% touch foo/a
% cp foo/A bar
% ls bar
A
}}}
> The only `Big Sur (arm64)` buildbot worked but shows this as
`/opt/local/Library/Frameworks/MoltenVK.xcframework/macos-
arm64_x86_64/libMoltenVK.a`, so should I change the Portfile to instead
just expect that?
It is libMoltenVK.a, with a lowercase "a" (as all static libraries are):
{{{
% sudo port extract MoltenVK-latest
Password:
---> Fetching distfiles for MoltenVK-latest
---> Attempting to fetch MoltenVK-macos.tar from
https://distfiles.macports.org/MoltenVK/1.2.9
---> Verifying checksums for MoltenVK-latest
---> Extracting MoltenVK-latest
% find $(port work MoltenVK-latest) -iname libMoltenVK.A
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_MoltenVK
/MoltenVK-latest/work/MoltenVK/MoltenVK/static/MoltenVK.xcframework/macos-
arm64_x86_64/libMoltenVK.a
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70057#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list