Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272450 - [FEATURES=test failure] gnome-base/gnome-keyring-2.26.1-r1 fails to build tests
Summary: [FEATURES=test failure] gnome-base/gnome-keyring-2.26.1-r1 fails to build tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-tests gnome2.26
  Show dependency tree
 
Reported: 2009-06-03 16:03 UTC by Alessandro Surace
Modified: 2009-09-13 21:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,5.20 KB, text/plain)
2009-06-03 16:04 UTC, Alessandro Surace
Details
build.log (build.log,320.52 KB, text/plain)
2009-06-03 21:58 UTC, Alessandro Surace
Details
build.log (parallel-make-failure.log,299.87 KB, text/plain)
2009-07-19 17:49 UTC, Gilles Dartiguelongue (RETIRED)
Details
build.log (build.log,130.42 KB, text/plain)
2009-09-13 20:46 UTC, Gilles Dartiguelongue (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Surace 2009-06-03 16:03:20 UTC
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
Comment 1 Alessandro Surace 2009-06-03 16:04:57 UTC
Created attachment 193408 [details]
emerge --info
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-06-03 16:35:47 UTC
Please attach build.log
Comment 3 Alessandro Surace 2009-06-03 21:58:39 UTC
Created attachment 193454 [details]
build.log
Comment 4 Alessandro Surace 2009-06-04 10:17:25 UTC
I've solved skipping gnome-keyring and then trying to re-install all works properly.

Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-05 11:50:51 UTC
(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.


Comment 6 Alessandro Surace 2009-06-16 15:06:07 UTC
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.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-19 17:49:05 UTC
Created attachment 198490 [details]
build.log

Ok I somehow got this today as well. It looks like this could be a parallel make issue.
Comment 8 Muzi Lee 2009-07-21 07:39:52 UTC
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'
Comment 9 Muzi Lee 2009-07-21 07:40:48 UTC
by the way I try the latest gnome-keyring-2.26.3 also same error.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-21 08:29:48 UTC
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.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-13 20:46:22 UTC
Created attachment 203975 [details]
build.log

another build.log, just for the sake of it. This is totally a parallel make failure.
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-13 21:33:17 UTC
Fixed :)