Hi Dear, the build of gnome-keyring fail on: unit-test-keyring-file.c:70: error: expected declaration specifiers or ‘...’ before ‘CuTest’ Reproducible: Always Steps to Reproduce: 1. emerge -av world 2. 3. Actual Results: unit-test-keyring-file.c:70: error: expected declaration specifiers or ‘...’ before ‘CuTest’ unit-test-keyring-file.c: In function ‘validate_keyring_contents’: unit-test-keyring-file.c:77: warning: implicit declaration of function ‘CuAssert’ unit-test-keyring-file.c:77: warning: nested extern declaration of ‘CuAssert’ unit-test-keyring-file.c:77: error: ‘cu’ undeclared (first use in this function) unit-test-keyring-file.c:77: error: (Each undeclared identifier is reported only once unit-test-keyring-file.c:77: error: for each function it appears in.) unit-test-keyring-file.c: At top level: unit-test-keyring-file.c:118: error: expected ‘)’ before ‘*’ token unit-test-keyring-file.c:166: error: expected ‘)’ before ‘*’ token unit-test-keyring-file.c:196: error: expected ‘)’ before ‘*’ token unit-test-keyring-file.c:217: error: expected ‘)’ before ‘*’ token make[4]: *** [run_auto_test-unit-test-keyring-file.o] Error 1 make[4]: *** Waiting for unfinished jobs.... mv -f .deps/run_auto_test-gkr-daemon-util.Tpo .deps/run_auto_test-gkr-daemon-util.Po mv -f .deps/run_auto_test-unit-test-keyring-login.Tpo .deps/run_auto_test-unit-test-keyring-login.Po make[4]: Leaving directory `/mnt/virtualfs/APPOGGIO/var_tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/work/gnome-keyring-2.26.1/daemon/keyrings/tests' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/mnt/virtualfs/APPOGGIO/var_tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/work/gnome-keyring-2.26.1/daemon/keyrings' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/virtualfs/APPOGGIO/var_tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/work/gnome-keyring-2.26.1/daemon' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/virtualfs/APPOGGIO/var_tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/work/gnome-keyring-2.26.1' make: *** [all] Error 2 * * ERROR: gnome-base/gnome-keyring-2.26.1-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 1563: Called gnome2_src_compile * environment, line 1228: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure
Created attachment 193408 [details] emerge --info
Please attach build.log
Created attachment 193454 [details] build.log
I've solved skipping gnome-keyring and then trying to re-install all works properly.
(In reply to comment #4) > I've solved skipping gnome-keyring and then trying to re-install all works > properly. bad isolation of the test suite maybe ? And do you mean you disabled test USE flag, then built gnome-keyring, then try to rebuild it with tests or just skip it, finish upgrade and then try to build it again ? Btw you have test in your useflags, this is wrong, just put it in FEATURES, it'll be autoenabled in USE.
I mean that I have skipped, in first instance, the build ( emerge --resume --skip-first ) and then when all build correctly I have rebuilded gnome-keyring with success.
Created attachment 198490 [details] build.log Ok I somehow got this today as well. It looks like this could be a parallel make issue.
seems not the parallel make error, I disable the makeopts -j2 option and still build fail, not the feature test either, I did not open it. here is my log: # USE="-doc -hal -pam" ACCEPT_KEYWORDS="~x86" emerge gnome-keyring -1 ... turncated ... make[4]: Entering directory `/var/tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/work/gnome-keyring-2.26.1/gcr' /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPKCS11_MODULE_PATH=\""/usr/lib/gnome-keyring/gnome-keyring-pkcs11.so"\" -DGCR_API_SUBJECT_TO_CHANGE -DUIDIR=\""/usr/share/gcr/ui/"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -march=k8 -O2 -pipe -Wno-strict-aliasing -Wno-sign-compare -MT libgcr_la-gcr-certificate.lo -MD -MP -MF .deps/libgcr_la-gcr-certificate.Tpo -c -o libgcr_la-gcr-certificate.lo `test -f 'gcr-certificate.c' || echo './'`gcr-certificate.c mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPKCS11_MODULE_PATH=\"/usr/lib/gnome-keyring/gnome-keyring-pkcs11.so\" -DGCR_API_SUBJECT_TO_CHANGE -DUIDIR=\"/usr/share/gcr/ui/\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -march=k8 -O2 -pipe -Wno-strict-aliasing -Wno-sign-compare -MT libgcr_la-gcr-certificate.lo -MD -MP -MF .deps/libgcr_la-gcr-certificate.Tpo -c gcr-certificate.c -fPIC -DPIC -o .libs/libgcr_la-gcr-certificate.o In file included from gcr.h:31, from gcr-internal.h:5, from gcr-certificate.c:25: gcr-importer.h:82: error: expected declaration specifiers or ‘...’ before ‘GInputStream’ gcr-importer.h:83: error: expected declaration specifiers or ‘...’ before ‘GCancellable’ gcr-importer.h:87: error: expected declaration specifiers or ‘...’ before ‘GInputStream’ gcr-importer.h:88: error: expected declaration specifiers or ‘...’ before ‘GCancellable’ gcr-importer.h:89: error: expected declaration specifiers or ‘...’ before ‘GAsyncReadyCallback’ gcr-importer.h:93: error: expected declaration specifiers or ‘...’ before ‘GAsyncResult’ make[4]: *** [libgcr_la-gcr-certificate.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/work/gnome-keyring-2.26.1/gcr' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/work/gnome-keyring-2.26.1/gcr' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/work/gnome-keyring-2.26.1/gcr' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/work/gnome-keyring-2.26.1' make: *** [all] Error 2 * * ERROR: gnome-base/gnome-keyring-2.26.1-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3079: Called gnome2_src_compile * environment, line 2356: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/temp/environment'. * >>> Failed to emerge gnome-base/gnome-keyring-2.26.1-r1, Log file: >>> '/var/tmp/portage/gnome-base/gnome-keyring-2.26.1-r1/temp/build.log'
by the way I try the latest gnome-keyring-2.26.3 also same error.
Please attach full build.log, it's easier to find informations that might be missing from a stripped down copy/paste. It is known that gnome-keyring-2.26.3 is still failing with this as nobody tried to work with upstream on this issue yet.
Created attachment 203975 [details] build.log another build.log, just for the sake of it. This is totally a parallel make failure.
Fixed :)