Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694342 - net-libs/nghttp3 explicitly calls make check but the tests/ target should be "test" - make: *** No rule to make target 'check'. Stop.
Summary: net-libs/nghttp3 explicitly calls make check but the tests/ target should be ...
Status: RESOLVED DUPLICATE of bug 694340
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PATCH, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-09-14 08:24 UTC by Jeroen Roovers (RETIRED)
Modified: 2019-09-15 13:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2019-09-14 08:24:32 UTC
>>> Test phase: net-libs/nghttp3-0_pre20190912
 * abi_x86_32.x86: running multilib-minimal_abi_src_test
>>> Working in BUILD_DIR: "/home/jer/portage/net-libs/nghttp3-0_pre20190912/work/nghttp3-51379a041174ad953dc6ad437712f3b279f81919-abi_x86_32.x86"
make -j10 VERBOSE=1 check
make: *** No rule to make target 'check'.  Stop.
 * ERROR: net-libs/nghttp3-0_pre20190912::gentoo failed (test phase):
 *   emake failed

Similar to bug #694340, when I replace "check" with "test", it fails more gracefully:

--- a/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild
+++ b/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild
@@ -36,5 +36,5 @@ multilib_src_configure() {
 }

 multilib_src_test() {
-       cmake-utils_src_make check
+       cmake-utils_src_make test
 }

>>> Test phase: net-libs/nghttp3-0_pre20190912
 * abi_x86_32.x86: running multilib-minimal_abi_src_test
>>> Working in BUILD_DIR: "/home/jer/portage/net-libs/nghttp3-0_pre20190912/work/nghttp3-51379a041174ad953dc6ad437712f3b279f81919-abi_x86_32.x86"
make -j10 VERBOSE=1 test
Running tests...
/usr/bin/ctest --force-new-ctest-process
Test project /home/jer/portage/net-libs/nghttp3-0_pre20190912/work/nghttp3-51379a041174ad953dc6ad437712f3b279f81919-abi_x86_32.x86
No tests were found!!!
 * abi_x86_64.amd64: running multilib-minimal_abi_src_test
>>> Working in BUILD_DIR: "/home/jer/portage/net-libs/nghttp3-0_pre20190912/work/nghttp3-51379a041174ad953dc6ad437712f3b279f81919-abi_x86_64.amd64"
make -j10 VERBOSE=1 test
Running tests...
/usr/bin/ctest --force-new-ctest-process
Test project /home/jer/portage/net-libs/nghttp3-0_pre20190912/work/nghttp3-51379a041174ad953dc6ad437712f3b279f81919-abi_x86_64.amd64
No tests were found!!!
>>> Completed testing net-libs/nghttp3-0_pre20190912
Comment 1 Craig Andrews gentoo-dev 2019-09-15 01:30:38 UTC
Can you please post the full build log?

Also, do you have >=dev-util/cunit-2.1[${MULTILIB_USEDEP}]? I can reproduce this if I don't have cunit, but I cannot reproduce it if cunit is installed.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-15 08:26:24 UTC

*** This bug has been marked as a duplicate of bug 694340 ***
Comment 3 Larry the Git Cow gentoo-dev 2019-09-15 13:33:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ea6e8d213ac21da1e528b0bc650da852c041967

commit 9ea6e8d213ac21da1e528b0bc650da852c041967
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2019-09-15 13:13:48 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2019-09-15 13:33:08 +0000

    net-libs/nghttp3: Disable test phase when test USE flag is disabled
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=694342
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 net-libs/nghttp3/nghttp3-0_pre20190912.ebuild | 1 +
 net-libs/nghttp3/nghttp3-9999.ebuild          | 1 +
 2 files changed, 2 insertions(+)