On 9/1/12 1:02 PM, Zhu, Jianxin wrote: > Dear Fink users and maintainers, > > After I finished the "fink selfupdate" successfully on my MacPro under > OSX 10.6.8, I went ahead to do "fink update-all". > The update failed at the stage of update gtk+2 as follows. I believe the > failure is with gtk+2shlibs. > > sudo fink update-all
(Don't use "sudo" before "fink") > Password: > Information about 11428 packages read in 0 seconds. > The following 5 packages will be installed or updated: > gtk+2-shlibs libgsf1.114-dev libgsf1.114-shlibs librsvg2 > librsvg2-shlibs > The following 2 additional packages will be installed: > gtk+2 gtk+2-dev > Do you want to continue? [Y/n]Y > > > …. > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. > -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/sw/lib\" > -DGTK_DATADIR=\"/sw/share\" -DGTK_DATA_PREFIX=\"/sw\" > -DGTK_SYSCONFDIR=\"/sw/etc\" -DGTK_VERSION=\"2.18.9\" > -DGTK_BINARY_VERSION=\"2.10.0\" > -DGTK_HOST=\"x86_64-apple-darwin10.8.0\" -DGTK_COMPILATION > -DGTK_PRINT_BACKENDS=\"file,cups\" > "-DGTK_PRINT_PREVIEW_COMMAND=\"evince --unlink-tempfile --preview > --print-settings %s %f\"" -I.. -I../gtk -I.. -I../gdk -I../gdk > -I../gdk-pixbuf -I../gdk-pixbuf -DGDK_DISABLE_DEPRECATED > -DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED > -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS > -DDISABLE_VISIBILITY -I/sw/include/glib-2.0 > -I/sw/lib/glib-2.0/include -I/sw/include -I/sw/include/pango-1.0 > -I/sw/include/cairo -I/sw/include/freetype2 -I/sw/include/atk-1.0 > -I/usr/X11R6/include -I/usr/X11/include -DX_LOCALE > -I/sw/lib/fontconfig2/include -D_IPP_PRIVATE_STRUCTURES=1 > -I/sw/include -DG_DISABLE_SINGLE_INCLUDES > -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES > -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11/include > -DGDK_PIXBUF_DISABLE_DEPRECATED -Os -Wall -MT gtkimmulticontext.lo > -MD -MP -MF .deps/gtkimmulticontext.Tpo -c gtkimmulticontext.c > -fno-common -DPIC -o .libs/gtkimmulticontext.o > In file included from /sw/include/glib-2.0/glib/gi18n-lib.h:25, > from gtkintl.h:4, > from gtkimmulticontext.c:33: > /sw/include/libintl.h:440: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'libintl_newlocale' > make[4]: *** [gtkimmulticontext.lo] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > ### execution of /tmp/fink.7qEsX failed, exit code 2 > ### execution of /tmp/fink.Y_tI3 failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-gtk+2-2.18.9-10 > (Reading database ... 59895 files and directories currently installed.) > Removing fink-buildlock-gtk+2-2.18.9-10 ... > Failed: phase compiling: gtk+2-2.18.9-10 failed > > Before reporting any errors, please run "fink selfupdate" and try again. > > If you continue to have issues, please check to see if the FAQ on > Fink's > website solves the problem. If not, ask on one (not both, please) of > these mailing lists: > > The Fink Users List <fink-users@lists.sourceforge.net> > The Fink Beginners List <fink-beginn...@lists.sourceforge.net>. > > Please try to include the complete error message in your report. This > generally consists of a compiler line starting with e.g. "gcc" or "g++" > followed by the actual error output from the compiler. > > Also include the following system information: > Package manager version: 0.34.3 > Distribution version: selfupdate-rsync Sat Sep 1 13:49:07 2012, > 10.6, x86_64 > Trees: local/main stable/main stable/crypto unstable/main > unstable/crypto > Xcode.app: 3.2.6 > Xcode command-line tools: 3.2.6 > Max. Fink build jobs: 1 > > > I took a look at the line 440 of /sw/include/libintl.h file, which reads > > extern locale_t newlocale (int, const char *, locale_t); > > and couldn't figure out what's wrong with it. > > Your help is appreciated. > > Jianxin > > > > Sorry for the delay: I was hoping to be able to see whether I could reproduce your results, but my 10.6 disk has apparently become so corrupt that I can't even back it up. I didn't see the same thing on either 10.5 or 10.8, though. For a little more context, here are some additional lines from libintl.h from around line 440: #if 1 #undef newlocale #define newlocale libintl_newlocale extern locale_t newlocale (int, const char *, locale_t); #endif -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users