New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19695 (closed defect: worksforme)

Opened 4 years ago

Last modified 3 years ago

py25-gobject-2.16.1 Build error - duplicate symbol _g_bit_nth_ls

Reported by: Alain.Jorissen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: jwa@…
Port: py25-gobject

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

On a Mac Intel (OSX 10.5.7 and Xcode 3.1), I got the error

ld: duplicate symbol _g_bit_nth_lsf in .libs/_gobject_la-pygboxed.o and .libs/_gobject_la-gobjectmodule.o

while trying to build py25-gobject

I am surprised since this error was reported in relation with glib2 while building pango (ticket #13123) and atk (ticket #13140). All three did compile without any problem prior to making py25-gobject.
So why is it popping up at a later stage while constructing py25-gobject?

Any clue?

Change History

comment:1 Changed 4 years ago by Alain.Jorissen@…

  • Cc Alain.Jorissen@… added

Cc Me!

comment:2 Changed 4 years ago by macsforever2000@…

  • Cc Alain.Jorissen@… removed
  • Keywords py25-gobject removed
  • Port set to py25-gobject
  • Description modified (diff)

comment:3 Changed 4 years ago by macsforever2000@…

It compiles fine for me with Xcode 3.1.2. Please try the following:

sudo port clean py25-gobject
sudo port selfupdate
sudo port upgrade outdated
sudo port install py25-gobject

comment:4 Changed 4 years ago by Alain.Jorissen@…

There must be something wrong somewhere with my system installation, since I can't even upgrade to Macports 1.710

sudo port selfupdate

returns:

MacPorts base version 1.700 installed
Downloaded MacPorts base version 1.710

Installing new MacPorts release in /opt/local as root:admin - TCL-PACKAGE in /Library/Tcl; Permissions: 0755

Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command 
"cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 && make && make install" returned error 2
Command output:                  from objc_encoding.h:44,
                 from tclobjc.m:45:
/usr/include/objc/message.h:47: error: storage class specified for parameter 'objc_msgSend'
/usr/include/objc/message.h:48: error: storage class specified for parameter 'objc_msgSendSuper'
/usr/include/objc/message.h:69: error: storage class specified for parameter 'objc_msgSend_stret'
/usr/include/objc/message.h:70: error: storage class specified for parameter 'objc_msgSendSuper_stret'
/usr/include/objc/message.h:89: error: storage class specified for parameter 'objc_msgSend_fpret'
/usr/include/objc/message.h:108: error: expected declaration specifiers or '...' before 'Method'
/usr/include/objc/message.h:109: error: storage class specified for parameter 'method_invoke'
/usr/include/objc/message.h:110: error: expected declaration specifiers or '...' before 'Method'
/usr/include/objc/message.h:111: error: storage class specified for parameter 'method_invoke_stret'
/usr/include/objc/message.h:127: error: storage class specified for parameter 'marg_list'
/usr/include/objc/message.h:129: error: expected declaration specifiers or '...' before 'marg_list'
/usr/include/objc/message.h:129: error: storage class specified for parameter 'objc_msgSendv'
/usr/include/objc/message.h:130: error: expected declaration specifiers or '...' before 'marg_list'
/usr/include/objc/message.h:130: error: storage class specified for parameter 'objc_msgSendv_stret'
/usr/include/objc/message.h:136: error: expected declaration specifiers or '...' before 'marg_list'
/usr/include/objc/message.h:136: error: storage class specified for parameter 'objc_msgSendv_fpret'
In file included from tclobjc.m:47:
tclobjc_types.h:32: error: expected declaration specifiers before 'Tcl_Obj'
tclobjc_types.h:33: error: expected ')' before '*' token
tclobjc.m:52: error: expected ')' before 'clientData'
tclobjc.m:161: error: expected ')' before 'clientData'
tclobjc.m:183: error: expected ')' before 'clientData'
tclobjc.m:224: error: expected ')' before '*' token
tclobjc.m:239: error: old-style parameter declarations in prototyped function definition
tclobjc.m:239: error: expected '{' at end of input
make[2]: *** [tclobjc.o] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1

comment:5 Changed 3 years ago by ryandesign@…

Are you still having a problem selfupdating MacPorts? Are you still having a problem building the latest py25-gobject?

comment:6 Changed 3 years ago by jmr@…

  • Status changed from new to closed
  • Cc jwa@… added
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.