[MacPorts] #29261: ggv @2.12.0_3 +universal build failure
#29261: ggv @2.12.0_3 +universal build failure ------------------------+--------------------------------------------------- Reporter: baf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ggv ------------------------+--------------------------------------------------- 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) -- Ticket URL: <https://trac.macports.org/ticket/29261> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29261: ggv @2.12.0_3 +universal build failure ------------------------+--------------------------------------------------- Reporter: baf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ggv ------------------------+--------------------------------------------------- Old description:
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)
New description: 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) }}} -- Comment(by jmr@…): Attach the full log, please. -- Ticket URL: <https://trac.macports.org/ticket/29261#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29261: ggv @2.12.0_3 +universal build failure ------------------------+--------------------------------------------------- Reporter: baf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ggv ------------------------+--------------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [ticket:29261 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. -- Ticket URL: <https://trac.macports.org/ticket/29261#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29261: ggv @2.12.0_3 +universal build failure ------------------------+--------------------------------------------------- Reporter: baf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ggv ------------------------+--------------------------------------------------- Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/29261#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29261: ggv @2.12.0_3 +universal build failure ------------------------+--------------------------------------------------- Reporter: baf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ggv ------------------------+--------------------------------------------------- Comment(by baf@…): Oh lipo looks ok to. Works as expected on other files. -- Ticket URL: <https://trac.macports.org/ticket/29261#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29261: ggv @2.12.0_3 +universal build failure ------------------------+--------------------------------------------------- Reporter: baf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ggv ------------------------+--------------------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 ryandesign@…]:
Replying to [ticket:29261 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. -- Ticket URL: <https://trac.macports.org/ticket/29261#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29261: ggv @2.12.0_3 +universal build failure ------------------------+--------------------------------------------------- Reporter: baf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ggv ------------------------+--------------------------------------------------- Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/29261#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29261: ggv @2.12.0_3 +universal build failure ---------------------+-------------------------------- Reporter: baf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: ggv | ---------------------+-------------------------------- Comment (by smithsp@…): I second the opinion that this port should be removed. I just installed it fine, but was getting errors when trying to run it: {{{
ggv
(process:88488): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised (process:88488): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised (process:88488): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised (process:88488): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised (ggv:88488): GGV-WARNING **: Could not get GGV control: 'Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'' (ggv:88488): GGV-WARNING **: Failed to create a new window. (ggv:88488): GGV-WARNING **: No windows could be opened. Exiting... }}} I'm not sure if this needs to be raised in a separate ticket... -- Ticket URL: <https://trac.macports.org/ticket/29261#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#29261: ggv @2.12.0_3 +universal build failure ---------------------+-------------------------------- Reporter: baf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: ggv | ---------------------+-------------------------------- Comment (by egall@…): Replying to [comment:6 jmr@…]:
Apparently it's trying to put an archive inside another archive, and ranlib doesn't support that.
I ran into this issue with another port that I was working on, and removing the `--disable-dependency-tracking` flag from `configure.universal_args` and then switching to the muniversal PortGroup allowed it to build correctly. I think the issue is more with putting a '''fat''' archive inside another archive, rather than just trying to put any old archive inside another archive. -- Ticket URL: <https://trac.macports.org/ticket/29261#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#29261: ggv @2.12.0_3 +universal build failure ---------------------+-------------------------------- Reporter: baf@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: ggv | ---------------------+-------------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:7 smithsp@…]:
I second the opinion that this port should be removed. I just installed it fine, but was getting errors when trying to run it:
{{{
ggv
(process:88488): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
(process:88488): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
(process:88488): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
(process:88488): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
(ggv:88488): GGV-WARNING **: Could not get GGV control: 'Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0''
(ggv:88488): GGV-WARNING **: Failed to create a new window.
(ggv:88488): GGV-WARNING **: No windows could be opened. Exiting...
}}}
I'm not sure if this needs to be raised in a separate ticket...
Marked obsolete, replaced by evince in r121622. -- Ticket URL: <https://trac.macports.org/ticket/29261#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts