Summary: | >=dev-python/pygobject-2.26.0 tests fail to build tests without USE=introspection | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brant Gurganus <brant> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | DuPol, jeremy.william.murphy, kanelxake, kensington, letharion, levertond, nikoli, python, rhill, tampakrap |
Priority: | High | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://bugzilla.gnome.org/show_bug.cgi?id=642624 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 339225 | ||
Attachments: | This is the build.log file. |
Description
Brant Gurganus
2010-11-06 06:28:33 UTC
There are some test related patches being applied by Gilles Dartiguelongue Created attachment 253371 [details]
This is the build.log file.
(In reply to comment #0) [...] > make[2]: *** No rule to make target `Regress-1.0.typelib', needed by > `check-local'. Stop. [...] Same here. Looking at the Makefile.in, Regress-1.0.typelib is only build with USE=introspection: @ENABLE_INTROSPECTION_TRUE@Regress-1.0.typelib: Regress-1.0.gir Makefile @ENABLE_INTROSPECTION_TRUE@ $(AM_V_GEN) g-ir-compiler $< -o $@ I guess that that 'Regress-1.0.typelib GIMarshallingTests-1.0.typelib' needs to be disable if USE=-introspection Changing check-local rule to the following worked for me to successfully build tests: check-local: $(check_LTLIBRARIES:.la=.so) @ENABLE_INTROSPECTION_TRUE@Regress-1.0.typelib GIMarshallingTests-1.0.typelib Only failing test is then: testQueryWritableNamespaces (test_gio.TestFile) ... ERROR (In reply to comment #3) > (In reply to comment #0) > [...] > > make[2]: *** No rule to make target `Regress-1.0.typelib', needed by > > `check-local'. Stop. > [...] > Same here. Looking at the Makefile.in, Regress-1.0.typelib is only build with > USE=introspection: > @ENABLE_INTROSPECTION_TRUE@Regress-1.0.typelib: Regress-1.0.gir Makefile > @ENABLE_INTROSPECTION_TRUE@ $(AM_V_GEN) g-ir-compiler $< -o $@ > > I guess that that 'Regress-1.0.typelib GIMarshallingTests-1.0.typelib' needs to > be disable if USE=-introspection > > Changing check-local rule to the following worked for me to successfully build > tests: > check-local: $(check_LTLIBRARIES:.la=.so) > @ENABLE_INTROSPECTION_TRUE@Regress-1.0.typelib GIMarshallingTests-1.0.typelib > Maybe something to bring upstream, unless it is already fixed there? (In reply to comment #4) > Maybe something to bring upstream, unless it is already fixed there? I leave this to decide by maintainers as I don't know whether this is the proper fix for it. (In reply to comment #3) > Only failing test is then: > testQueryWritableNamespaces (test_gio.TestFile) ... ERROR Some more details: ERROR: testQueryWritableNamespaces (test_gio.TestFile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pygobject-2.26.0-r1/work/pygobject-2.26.0-2.6/tests/test_gio.py", line 414, in testQueryWritableNamespaces for info in infolist: TypeError: 'NoneType' object is not iterable Please let me know whether you want a new bug for this or whether you want to handle all test failures in this bug. This is due to missing introspection. I'll have to check if testsuite can actually succeed or not without introspection enabled. Just noting that it still happens on dev-python/pygobject-2.28.4 *** Bug 371365 has been marked as a duplicate of this bug. *** *** Bug 374639 has been marked as a duplicate of this bug. *** Looks like upstream is waiting for a reply in their report, if anyone can take a look to it, would be nice :) Thanks this is solved in slot 3 and current slot 2 stable version don't enable tests neither introspection support |