Skip to contentSkip to conversation

linux-next: build failure after merge of the kunit-fixes tree

DISCUSSION Stephen Rothwell 4 participants 4 messages Jun 25, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the kunit-fixes tree, today's linux-next build (powerpc allyesconfig) failed like this:

lib/kunit/executor.c:26:1: error: expected identifier or '(' before '+' token
26 | +kunit_filter_subsuite(struct kunit_suite * const * const subsuite,

      | ^
lib/kunit/executor.c: At top level:
lib/kunit/executor.c:140:10: fatal error: executor_test.c: No such file or directory
  140 | #include "executor_test.c"
      |          ^~~~~~~~~~~~~~~~~

Caused by commit

c9d80ffc5a0a ("kunit: add unit test for filtering suites by names")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 14 lines · Stephen Rothwell

Hi all,

After merging the kunit-fixes tree, today's linux-next build (powerpc allyesconfig) failed like this:

lib/kunit/executor.c:26:1: error: expected identifier or '(' before '+' token
26 | +kunit_filter_subsuite(struct kunit_suite * const * const subsuite,

      | ^
lib/kunit/executor.c: At top level:
lib/kunit/executor.c:140:10: fatal error: executor_test.c: No such file or directory
  140 | #include "executor_test.c"
      |          ^~~~~~~~~~~~~~~~~
Quoted 3 lines

Caused by commit

c9d80ffc5a0a ("kunit: add unit test for filtering suites by names")

For posterity, David sent out a patch addressing this here:
https://lore.kernel.org/linux-kselftest/[email protected]/

Quoted 4 lines

--
Cheers,
Stephen Rothwell

#2 lore raw
Quoted 15 lines · Daniel Latypov
Quoted 14 lines · Stephen Rothwell

Hi all,

After merging the kunit-fixes tree, today's linux-next build (powerpc allyesconfig) failed like this:

lib/kunit/executor.c:26:1: error: expected identifier or '(' before '+' token
26 | +kunit_filter_subsuite(struct kunit_suite * const * const subsuite,
| ^
lib/kunit/executor.c: At top level:
lib/kunit/executor.c:140:10: fatal error: executor_test.c: No such file or directory
140 | #include "executor_test.c"

       |          ^~~~~~~~~~~~~~~~~
Quoted 7 lines
Quoted 3 lines

Caused by commit

c9d80ffc5a0a ("kunit: add unit test for filtering suites by names")

For posterity, David sent out a patch addressing this here:
https://lore.kernel.org/linux-kselftest/[email protected]/

It is all fixed now. When I applied this patch yesterday, I needed to fix merge conflicts. When I did that the newly added file was left behind.

Build didn't find it since the file was in the repo. Oh well. So much for trying to save you a rebase.

Sorry for the trouble. It should all be squared away now. Build and exec tested it for sanity.

https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/commit/?h=kunit-fixes&id=1d71307a6f94df3750f8f884545a769e227172fe

thanks,
-- Shuah

#3 lore raw
Quoted 29 lines · Shuah Khan
Quoted 15 lines · Daniel Latypov
Quoted 14 lines · Stephen Rothwell

Hi all,

After merging the kunit-fixes tree, today's linux-next build (powerpc allyesconfig) failed like this:

lib/kunit/executor.c:26:1: error: expected identifier or '(' before '+' token
26 | +kunit_filter_subsuite(struct kunit_suite * const * const subsuite,
| ^
lib/kunit/executor.c: At top level:
lib/kunit/executor.c:140:10: fatal error: executor_test.c: No such file or directory
140 | #include "executor_test.c"

       |          ^~~~~~~~~~~~~~~~~
Quoted 7 lines
Quoted 3 lines

Caused by commit

c9d80ffc5a0a ("kunit: add unit test for filtering suites by names")

For posterity, David sent out a patch addressing this here:
https://lore.kernel.org/linux-kselftest/[email protected]/

It is all fixed now. When I applied this patch yesterday, I needed to fix merge conflicts. When I did that the newly added file was left behind.

Quoted 7 lines

Build didn't find it since the file was in the repo. Oh well. So much for trying to save you a rebase.

Sorry for the trouble. It should all be squared away now. Build and exec tested it for sanity.

https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/commit/?h=kunit-fixes&id=1d71307a6f94df3750f8f884545a769e227172fe

I just pulled and tested and can confirm it is working for me now.

Thanks!