#65746 closed request (fixed)
zimg @3.0.4_0: requires posix_memalign
Reported by: | xanda-escuyer (xanda) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | leopard | Cc: | |
Port: | zimg |
Description
Please help with building on legacy platform.
Error experienced after running commands:-
sudo port clean installed sudo port -Nt install ReadyMedia --enforce-variants +universal
If we understand correctly,zimg
is a dependency of ffmpeg
which before now has built successfully but without the +universal
variant.
Any assistance appreciated; thank you.
Attachments (1)
Change History (11)
Changed 2 years ago by xanda-escuyer (xanda)
Attachment: | main[zimg].log added |
---|
comment:1 Changed 2 years ago by kencu (Ken)
comment:2 Changed 2 years ago by kencu (Ken)
Summary: | Build failure on G4/PPC with 10.5.8 Leopard → zimg @3.0.4_0: requires posix_memalign |
---|
comment:3 Changed 2 years ago by kencu (Ken)
Keywords: | ffmpeg powerpc removed |
---|---|
Owner: | set to herbygillot |
Status: | new → assigned |
comment:4 Changed 2 years ago by xanda-escuyer (xanda)
Thanks for taking this on. Hopefully a solution will come through in due course.
Just one more side question about the Trac Ticket please: We notice the keywords ffmpeg
and powerpc
have been removed. Are these just superfluous or perhaps unhelpful?
comment:5 Changed 2 years ago by kencu (Ken)
the issue is unrelated to powerpc, and to ffmpeg, so those keywords were removed.
it’s only in zimg, and related to the fact that posix_memalign support came to darwin in 10.6
comment:6 Changed 2 years ago by xanda-escuyer (xanda)
Ok.
The removal of ffmpeg
tag makes sense; originally included here for sake of completeness because that was the preceding build. If it muddies the water then of course it needs to go.
The CPU type is G4/PPC (machine ID: ppc7450/PowerPC 7450). So perhaps the powerpc
tag should be put back?
comment:7 Changed 2 years ago by kencu (Ken)
yes, your machine is powerpc indeed.
but this is a failure caused by the old SDK and capabilities of the 10.5 and less system version, but is not related to powerpc specifically.
comment:8 Changed 2 years ago by Ken <21211439+kencu@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:9 Changed 2 years ago by kencu (Ken)
that should do it. please let us know if any other failures now show up. They might :>
comment:10 Changed 2 years ago by xanda-escuyer (xanda)
The fix does indeed build successfully:-
$: port -v installed zimg The following ports are currently installed: zimg @3.0.4_0 (active) requested_variants='' platform='darwin 9' archs='ppc' date='2022-09-06T00:50:55+0100'
Thank you so much for looking after this.
Will the "Port Health" list on the details page be updated automatically, perhaps via mpstats
?
should be fixable by a small tweak to repair this:
error: 'posix_memalign' was not declared in this scope