Failed at src_configure with: Requested 'atk >= 2.1.0' but version of Atk is 1.32.0 I don't know if this is a dependency issue or a parallel build issue. The merge order seems correct: [ebuild U ~] dev-libs/atk-2.2.0 [1.32.0-r1] USE="introspection nls -doc" 587 kB [0] [ebuild N ~] dev-python/pyatspi-2.2.1 USE="-test" 260 kB [0] However when actually merging in parallel: >>> Emerging (23 of 145) dev-libs/atk-2.2.0 >>> Emerging (56 of 145) dev-python/pyatspi-2.2.1 >>> Failed to emerge dev-python/pyatspi-2.2.1 >>> Installing (23 of 145) dev-libs/atk-2.2.0 I was trying to merge gnome-3.2.1 with autounmask enabled. The build log for pyatspi as well as the output of emerge --info is attached. Reproducible: Always
Created attachment 300221 [details] build log
Created attachment 300223 [details] emerge --info
The dep looks like this: DEPEND="test? ( >=dev-libs/atk-2.1.0 )" Your build log shows this: USE: elibc_glibc kernel_linux userland_GNU x86 Since you don't have USE=test enabled, according to DEPEND, you don't need dev-libs/atk. So, either the dependency is wrong, or src_configure needs to be fixed to handle it correctly.
Looks like tests are always enabled :O checking pkg-config is at least version 0.9.0... yes checking whether tests are enabled... yes
pkg_setup() { G2CONF="${G2CONF} $(use_enable test tests)" python_pkg_setup } Could this be the reason?
what happens with FEATURES=-test or conversely -test listed in FEATURES in /etc/make.conf ?
(In reply to comment #6) > what happens with FEATURES=-test or conversely -test listed in FEATURES in > /etc/make.conf ? $ FEATURES="-test" ebuild /usr/portage/dev-python/pyatspi/pyatspi-2.2.1.ebuild configure [...] ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-tests [...] checking whether tests are enabled... yes [...] configure: error: Package requirements (atk >= 2.1.0) were not met: Requested 'atk >= 2.1.0' but version of Atk is 1.32.0 The configure.ac entry for tests is as follows: AC_ARG_ENABLE(tests, [AS_HELP_STRING([--enable-tests], [Build with testing enabled])], enable_tests=yes, enable_tests=no) According to [0], "If the user gave configure the option --enable-feature or --disable-feature, run shell commands action-if-given". So, '--disable-tests' triggers action-if-given, which then does 'enable_tests=yes'. Not specifying '--disable-tests' actually disables tests. I've also attached a patch for configure.ac that seems to fix the problem. [0] http://www.gnu.org/software/autoconf/manual/autoconf.html#index-AC_005fARG_005fENABLE-1869
Created attachment 301619 [details, diff] Patch for configure.ac to disable tests properly
+ 26 Feb 2012; Pacho Ramos <pacho@gentoo.org> + +files/pyatspi-2.2.1-configure-check.patch, -pyatspi-2.0.2.ebuild, + pyatspi-2.2.1.ebuild: + Fix configure to disable tests properly, upstream bug #670823 by gokturk. Drop + old. +
*** Bug 404947 has been marked as a duplicate of this bug. ***