Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

main.log (20.5 KB) - added by k.polezhaiev@… 12 years ago.
glib2 build log

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by k.polezhaiev@…

Attachment: main.log added

glib2 build log

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: glib2 removed
Resolution: duplicate
Status: newclosed

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 12 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 12 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 12 years ago by k.polezhaiev@…

So, temporary I have to replace libffi headers in order to make fat glib binary?

comment:5 Changed 12 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.

comment:6 Changed 12 years ago by k.polezhaiev@…

Can I help?

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Fixed now. See #31459.

Note: See TracTickets for help on using tickets.