Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 516054

Summary: dev-vcs/subversion-1.8.9 should skip tests if a previous version is installed
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: [OLD] DevelopmentAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: tommy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2014-07-02 09:45:31 UTC
I see this:
WARN: test
The test suite shows errors when there is an older version of
dev-vcs/subversion installed.
ERROR: test
ERROR: dev-vcs/subversion-1.8.9::gentoo failed (test phase):
  Make check failed. See above for details.

Call stack:
           ebuild.sh, line   93:  Called src_test
         environment, line 7410:  Called default
  phase-functions.sh, line  796:  Called __eapi2_src_test
  phase-functions.sh, line  789:  Called __eapi0_src_test
    phase-helpers.sh, line  672:  Called die
The specific snippet of code:
                $emake_cmd ${internal_opts} check || \
                        die "Make check failed. See above for details."

If you need support, post the output of `emerge --info '=dev-vcs/subversion-1.8.9::gentoo'`,
the complete build log and the output of `emerge -pqv '=dev-vcs/subversion-1.8.9::gentoo'`.
The complete build log is located at '/var/log/portage/build/dev-vcs/subversion-1.8.9:20140702-085625.log'.
For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-vcs/subversion-1.8.9/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.8.9/temp/environment'.
Working directory: '/var/tmp/portage/dev-vcs/subversion-1.8.9/work/subversion-1.8.9'
S: '/var/tmp/portage/dev-vcs/subversion-1.8.9/work/subversion-1.8.9'


Since tests will fail anyway, wouldn't be better to skip tests when a previous version is installed to not need to wait for them to test? I would also show the warning at pkg_pretend phase to allow people to uninstall previous version to run the tests

Thanks
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-02 10:50:36 UTC
What errors?
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-08-12 11:08:09 UTC
+*subversion-1.8.10 (12 Aug 2014)
+
+  12 Aug 2014; Lars Wendler <polynomial-c@gentoo.org> -subversion-1.8.8.ebuild,
+  +subversion-1.8.10.ebuild:
+  Security bump (bug #519202). Removed old. Added pkg_pretend which fails if
+  USE=test is set and an old version of this package is installed (bug
+  #516054). Don't run tests with USE=dso.
+