> On Jan 29, 2015, at 3:03 PM, Derek Homeier > <de...@astro.physik.uni-goettingen.de> wrote: > > Hi, > > on a fink installation on Yosemite previously upgraded from Mavericks I am > unable for some > time now to update/rebuild this package due to include errors. > Compilers are as up to date as Xcode tells me they can be, and I’ve rebuilt > and tested > all BuildDependencies, and also force-removed the old atk1-shlibs, all to no > avail. > The (hopefully) relevant part of the build log appended below. > > Thanks for any advice, > Derek > > && rm -f tmp-atk-enum-types.h \ > && echo timestamp > s-enum-types-h > ( cd . && glib-mkenums \ > --fhead "#include <atk.h>" \ > --fprod "\n/* enumerations from \"@filename@\" */" \ > --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType > etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" > \ > --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" > }," \ > --vtail " { 0, NULL, NULL }\n };\n etype = > g_@type@_register_static (\"@EnumName@\", values);\n }\n return > etype;\n}\n" \ > atk.h atkaction.h atkcomponent.h atkdocument.h atkeditabletext.h > atkgobjectaccessible.h atkhyperlink.h atkhyperlinkimpl.h atkhypertext.h > atknoopobject.h atknoopobjectfactory.h atkobject.h atkobjectfactory.h > atkplug.h atkimage.h atkregistry.h atkrelation.h atkrelationtype.h > atkrelationset.h atkselection.h atksocket.h atkstate.h atkstateset.h > atkstreamablecontent.h atktable.h atktext.h atkutil.h atkmisc.h atkvalue.h ) > > tmp-atk-enum-types.c \ > && (cmp -s tmp-atk-enum-types.c atk-enum-types.c || cp tmp-atk-enum-types.c > atk-enum-types.c ) \ > && rm -f tmp-atk-enum-types.c \ > && echo timestamp > s-enum-types-c > make all-am > make[3]: Entering directory > '/scratch.noindex/fink.build/atk1-1.32.0-2/atk-1.32.0/atk' > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. > -I.. -DG_DISABLE_DEPRECATED -DATK_DISABLE_DEPRECATED -DATK_COMPILATION > -DATK_LOCALEDIR="\"/sw/share/locale\"" -I/sw/include/glib-2.0 > -I/sw/lib/glib-2.0/include -D_REENTRANT -I/sw/include > -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -Os -Wall -MT > atkaction.lo -MD -MP -MF .deps/atkaction.Tpo -c -o atkaction.lo atkaction.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_DISABLE_DEPRECATED > -DATK_DISABLE_DEPRECATED -DATK_COMPILATION > -DATK_LOCALEDIR=\"/sw/share/locale\" -I/sw/include/glib-2.0 > -I/sw/lib/glib-2.0/include -D_REENTRANT -I/sw/include > -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -Os -Wall -MT > atkaction.lo -MD -MP -MF .deps/atkaction.Tpo -c atkaction.c -fno-common > -DPIC -o .libs/atkaction.o > In file included from atkaction.c:20: > In file included from ./atkaction.h:27: > In file included from ../atk/atkobject.h:28: > ../atk/atkstate.h:173:1: error: unknown type name 'G_CONST_RETURN' > G_CONST_RETURN gchar* atk_state_type_get_name (AtkStateType type); > ^ > ../atk/atkstate.h:173:21: error: expected ';' after top level declarator > G_CONST_RETURN gchar* atk_state_type_get_name (AtkStateType type); > ^ > ;
<snip> > fatal error: too many errors emitted, stopping now [-ferror-limit=] > 20 errors generated. > Makefile:530: recipe for target 'atkaction.lo' failed > make[3]: *** [atkaction.lo] Error 1 > make[3]: Leaving directory > '/scratch.noindex/fink.build/atk1-1.32.0-2/atk-1.32.0/atk' > Makefile:410: recipe for target 'all' failed > make[2]: *** [all] Error 2 > make[2]: Leaving directory > '/scratch.noindex/fink.build/atk1-1.32.0-2/atk-1.32.0/atk' > Makefile:425: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > '/scratch.noindex/fink.build/atk1-1.32.0-2/atk-1.32.0' > Makefile:326: recipe for target 'all' failed > make: *** [all] Error 2 > ### execution of /tmp/fink.vyqms failed, exit code 2 > ### execution of /tmp/fink.R4aEh failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-atk1-1.32.0-2 > (Reading database ... 309393 files and directories currently installed.) > Removing fink-buildlock-atk1-1.32.0-2 ... > Failed: phase compiling: atk1-1.32.0-2 failed > > > Package manager version: 0.38.3 > Distribution version: selfupdate-rsync Thu Jan 29 22:57:19 2015, 10.10, x86_64 > Trees: stable/main local/main local/injected > Xcode.app: 6.1.1 > Xcode command-line tools: 6.1.1.0.1.1416017670 > Max. Fink build jobs: 1 It works here (also Yosemite via Mavericks). Do you have any third-party headers in /usr/local/include ? The error looks like perhaps an incompatible header got dragged in somehow, and /usr/local/include (or /usr/include, for that matter) doesn’t need an explicit -I declaration. -- Alexander Hansen, Ph.D. Fink User Liaison ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ 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