Opened 8 months ago
Closed 8 months ago
#69600 closed defect (fixed)
libdeflate @1.20: fails on 10.7, 10.8, 10.9, 10.10
Reported by: | Dave-Allured (Dave Allured) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | dankamongmen (nick black) | |
Port: | libdeflate |
Description
The recent update to libdeflate @1.20 fails on x86_64 builders for 10.7, 10.8, 10.9, 10.10. These all catch this newly added upstream error:
# if !CLANG_PREREQ(3, 9, 8000000) # error "clang versions older than 3.9 are no longer supported" # endif
Which is not consistent with the four build configurations:
-- The C compiler identification is AppleClang 4.2.0.4250028 -- The C compiler identification is AppleClang 5.1.0.5030040 -- The C compiler identification is AppleClang 6.0.0.6000057 -- The C compiler identification is AppleClang 7.0.2.7000181
For reference, this upstream commit for the 1.20 release:
https://github.com/ebiggers/libdeflate/commit/a83fb24e1cb0ec6b6fd53446c941013edf055192
Attachments (1)
Change History (5)
Changed 8 months ago by Dave-Allured (Dave Allured)
Attachment: | 10.10_x86_64-builder.0325.log added |
---|
comment:1 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | dankamongmen added; @… removed |
---|---|
Owner: | changed from @… to herbygillot |
If the compiler is llvm.org clang, then CLANG_PREREQ(3, 9, 8000000)
checks if the version of clang is 3.9 or later, and if the compiler is Apple clang, then it checks if the version of clang is 8000000 (a.k.a 800 a.k.a 8.0.0) or later. So it's doing what it's programmed to do. Since it's not mentioned in the commit message, you could ask them to clarify if Apple clang 8000000 was indeed the intended version number. If so, we should blacklist {clang < 800}
.
comment:2 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
I guess they did add to the readme in that commit: "clang: v3.9 and later (upstream), Xcode 8 and later (Apple)", so that does seem clear.
comment:3 Changed 8 months ago by Dave-Allured (Dave Allured)
@ryandesign, thanks for the suggestion. Looks good to me. PR submitted:
https://github.com/macports/macports-ports/pull/23239
comment:4 Changed 8 months ago by Dave-Allured (Dave Allured)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Builder log for 10.10 x86_64