Opened 15 years ago

Closed 14 years ago

#19695 closed defect (worksforme)

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: jyrkiwahlstedt
Port: py25-gobject

Description (last modified by mf2k (Frank Schima))

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 (6)

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

Cc: Alain.Jorissen@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: Alain.Jorissen@… removed
Description: modified (diff)
Keywords: py25-gobject removed
Port: py25-gobject added

comment:3 Changed 15 years ago by mf2k (Frank Schima)

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 15 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 14 years ago by ryandesign (Ryan Carsten Schmidt)

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

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.