Opened 21 years ago

Closed 19 years ago

#1718 closed defect (worksforme)

BUG: glib2 build failure _wcslen

Reported by: imac@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: namely_void@…
Port:

Description

glib2 fails during build on 10.2.8 OSX with this error:

make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in gobject /bin/sh ../libtool --mode=link gcc -O3 -funroll-loops -fstrict-aliasing -Wall -L/opt/local/lib -o glib-genmarshal glib-genmarshal.o ../glib/libglib-2.0.la -lintl gcc -O3 -funroll-loops -fstrict-aliasing -Wall -o .libs/glib-genmarshal glib-genmarshal.o -L/opt/local/lib ../glib/.libs/libglib-2.0.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libintl.dylib -lc ld: Undefined symbols: _wcslen make[2]: * [glib-genmarshal] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 Warning: the following items did not execute (for glib2): com.apple.install com.apple.build com.apple.destroot

Attachments (2)

glib2.diff (676 bytes) - added by toby@… 21 years ago.
possible fix (patch)
glib2.2.diff (811 bytes) - added by devin@… 21 years ago.
Modified fix (Tested once on 10.2.8)

Download all attachments as: .zip

Change History (13)

comment:1 Changed 21 years ago by toby@…

Sounds like a configure error, it's probably erroneously defining HAVE_WCHAR_T. (Which Jaguar might have, but it doesn't have the accompanying wcs* functions.) Do you see this during configure:

checking for wchar_t... yes

Changed 21 years ago by toby@…

Attachment: glib2.diff added

possible fix (patch)

comment:2 Changed 21 years ago by imac@…

Toby,

I upgraded to Panther which resolved this problem and others.

Thank you for your help.

Changed 21 years ago by devin@…

Attachment: glib2.2.diff added

Modified fix (Tested once on 10.2.8)

comment:3 Changed 21 years ago by devin@…

attachments.isobsolete: 01

comment:4 Changed 20 years ago by mww@…

Owner: changed from darwinports-bugs@… to mij@…

assign to glib2 maintainer

comment:5 Changed 20 years ago by toby@…

Cc: namely_void@… added

comment:6 Changed 20 years ago by toby@…

* Bug 2234 has been marked as a duplicate of this bug. *

comment:7 Changed 20 years ago by snu@…

Summary: glib2 build failure _wcslenBUG: glib2 build failure _wcslen

comment:8 Changed 19 years ago by mww@…

did the most recent update to 2.8.2 resolve this issue?

comment:9 Changed 19 years ago by mij@…

No idea. IMO, I'm not to concerned about it since 10.2.x is a few years old now and if people want to run it, they can deal with the consquences of doing so :-) Also, the original poster replied to some other comments and said he upgrade to Panther (which fixed it), so we can probably just close this and let it die.

comment:10 Changed 19 years ago by jml@…

Original author says -- current setup is 2.8.5 on 10.4.4, which worksforme. I can concede PR historic and close-able.

comment:11 Changed 19 years ago by olegb@…

Resolution: worksforme
Status: newclosed

Closing as requested.

Note: See TracTickets for help on using tickets.