#32257 closed defect (duplicate)
glib2 fails to build as universal
Reported by: | k.polezhaiev@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | glib2 |
Description
Hello. It compiles only as one-arch binary. Here the log:
Attachments (1)
Change History (8)
Changed 13 years ago by k.polezhaiev@…
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | glib2 removed |
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #31459. universal works fine so long as you don't try to mix architectures of different endianness. Log shows you're on Snow Leopard so there's no reason to build for any PowerPC archs; just build libffi (and any of your other universal ports) for i386 and x86_64 and you should be fine.
comment:2 Changed 13 years ago by k.polezhaiev@…
So, is this glib-specific problem? I can mix 3 architectures in other packages. Is there way to fix it?
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
At the moment, because of the aforementioned problem with libffi, this is specific to any port depending on libffi, which as of the most recent update includes glib2.
comment:4 Changed 13 years ago by k.polezhaiev@…
So, temporary I have to replace libffi headers in order to make fat glib binary?
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
I do not know the solution yet; if I knew it I would fix the libffi port. Finding the solution also means I have to sit down at a Leopard/Tiger machine, which I don't do as often these days.
glib2 build log