Opened 6 months ago
Closed 6 months ago
#70057 closed defect (fixed)
MoltenVK-latest @1.2.9: Command failed: lipo -thin x86_64 libMoltenVK.A -o libMoltenVK.A 2> /dev/null
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | Gcenx |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | MoltenVK-latest |
Description
DEBUG: Executing org.macports.destroot (MoltenVK-latest) DEBUG: system -W /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_MoltenVK/MoltenVK-latest/work/destroot/opt/local/Library/Frameworks/MoltenVK.xcframework/macos-arm64_x86_64: lipo -thin x86_64 libMoltenVK.A -o libMoltenVK.A 2> /dev/null Command failed: lipo -thin x86_64 libMoltenVK.A -o libMoltenVK.A 2> /dev/null Exit code: 1
Attachments (3)
Change History (10)
Changed 6 months ago by Gcenx
comment:1 Changed 6 months ago by Gcenx
As GitHub actions both MoltenVK-latest
& MoltenVK-1.1.9
build locally without issue so I'm not sure why MoltenVK-latest
would fail on the builbot.
comment:2 follow-up: 3 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
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?
Changed 6 months ago by Gcenx
Attachment: | Screenshot 2024-05-24 at 3.39.34 PM.png added |
---|
comment:3 follow-up: 5 Changed 6 months ago by Gcenx
Replying to 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 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?
comment:4 follow-up: 6 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Big Sur (arm64) does not exist anymore. Any Big Sur (arm64) logs you see are outdated.
comment:5 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to Gcenx:
Replying to 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
comment:6 Changed 6 months ago by Gcenx
With that being the case it would be resolved with https://github.com/macports/macports-ports/pull/24121
comment:7 Changed 6 months ago by Dean M Greer <38226388+Gcenx@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
MoltenVK-latest