New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #29261 (new defect)

Opened 2 years ago

Last modified 14 months ago

ggv @2.12.0_3 +universal build failure

Reported by: baf@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign@…
Port: ggv

Description (last modified by jmr@…) (diff)

building ggv@2.12.0_3 as universal fails

from log:
:info:build ar cru .libs/libgtkgs.a .libs/Ggv-common.o .libs/Ggv-stubs.o .libs/Ggv-skels.o .libs/gtkgs.o .libs/ps.o .libs/ggvutils.o .libs/gsdefaults.o .libs/gsio.o .libs/ggv-msg-window.o .libs/ggv-prefs.o .libs/ggv-prefs-ui.o .libs/gtkchecklist.o .libs/cursors.o recent-files/librecent.a
:info:build /usr/bin/ranlib: archive member: .libs/libgtkgs.a(librecent.a) fat file for cputype (16777223) cpusubtype (3) is not an object file (bad magic number)

Attachments

ggv.log (209.4 KB) - added by baf@… 2 years ago.
Full build log

Change History

comment:1 Changed 2 years ago by jmr@…

  • Description modified (diff)

Attach the full log, please.

Changed 2 years ago by baf@…

Full build log

comment:2 in reply to: ↑ description ; follow-up: ↓ 5 Changed 2 years ago by ryandesign@…

  • Cc ryandesign@… added

Replying to baf@…:

:info:build /usr/bin/ranlib: archive member: .libs/libgtkgs.a(librecent.a) fat file for cputype (16777223) cpusubtype (3) is not an object file (bad magic number)

This looks like your lipo command is not the correct one for your operating system. See comment:ticket:23343:14 and comment:ticket:24825:3.

comment:3 Changed 2 years ago by baf@…

No ar and ranlib seems ok. but removing recent/librecent.a from the link on the line above lets it compile to the end and seems to work.

so using:

/bin/sh ../libtool --mode=link /usr/bin/gcc-4.2  -O2 -arch x86_64 -arch i386 -L/opt/local/lib -arch x86_64 -arch i386 -o libgtkgs.la   Ggv-common.lo Ggv-stubs.lo Ggv-skels.lo gtkgs.lo ps.lo ggvutils.lo gsdefaults.lo gsio.lo ggv-msg-window.lo ggv-prefs.lo ggv-prefs-ui.lo gtkchecklist.lo cursors.lo -L/opt/local/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lpng14 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -lpopt  -L/opt/local/lib -lX11  -L/opt/local/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lpng14 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -lpopt  -L/opt/local/lib -lX11

instead of:

/bin/sh ../libtool --mode=link /usr/bin/gcc-4.2  -O2 -arch x86_64 -arch i386 -L/opt/local/lib -arch x86_64 -arch i386 -o libgtkgs.la   Ggv-common.lo Ggv-stubs.lo Ggv-skels.lo gtkgs.lo ps.lo ggvutils.lo gsdefaults.lo gsio.lo ggv-msg-window.lo ggv-prefs.lo ggv-prefs-ui.lo gtkchecklist.lo cursors.lo -L/opt/local/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lpng14 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -lpopt  -L/opt/local/lib -lX11  -L/opt/local/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lpng14 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -lpopt  -L/opt/local/lib -lX11 recent-files/librecent.a 

Lets it compile to the end and everything looks to work after that.

comment:4 Changed 2 years ago by baf@…

Oh lipo looks ok to. Works as expected on other files.

comment:5 in reply to: ↑ 2 Changed 2 years ago by ryandesign@…

Replying to ryandesign@…:

Replying to baf@…:

:info:build /usr/bin/ranlib: archive member: .libs/libgtkgs.a(librecent.a) fat file for cputype (16777223) cpusubtype (3) is not an object file (bad magic number)

This looks like your lipo command is not the correct one for your operating system. See comment:ticket:23343:14 and comment:ticket:24825:3.

I take it back, I get the same error on my system.

comment:6 Changed 14 months ago by jmr@…

Apparently it's trying to put an archive inside another archive, and ranlib doesn't support that.

This software appears to be dead upstream since 2005, and even the long_description suggests it is obsolete. We should probably just remove it.

Note: See TracTickets for help on using tickets.