qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* "make check" broken with everything but tools disabled
@ 2021-03-16 13:28 Markus Armbruster
  2021-03-17 22:35 ` John Snow
  2021-03-18  9:16 ` Claudio Fontana
  0 siblings, 2 replies; 7+ messages in thread
From: Markus Armbruster @ 2021-03-16 13:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Paolo Bonzini, qemu-block, Max Reitz

Watch this:

    $ mkdir bld-tools
    $ cd bld-tools
    $ ../configure --disable-system --disable-user --enable-tools
    $ make check
    [...]
    make: *** No rule to make target 'tests/qemu-iotests/socket_scm_helper', needed by 'check-block'.  Stop.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "make check" broken with everything but tools disabled
  2021-03-16 13:28 "make check" broken with everything but tools disabled Markus Armbruster
@ 2021-03-17 22:35 ` John Snow
  2021-03-18  8:48   ` Philippe Mathieu-Daudé
  2021-03-18  9:16 ` Claudio Fontana
  1 sibling, 1 reply; 7+ messages in thread
From: John Snow @ 2021-03-17 22:35 UTC (permalink / raw)
  To: Markus Armbruster, qemu-devel
  Cc: Kevin Wolf, Paolo Bonzini, qemu-block, Max Reitz

On 3/16/21 9:28 AM, Markus Armbruster wrote:
> Watch this:
> 
>      $ mkdir bld-tools
>      $ cd bld-tools
>      $ ../configure --disable-system --disable-user --enable-tools
>      $ make check
>      [...]
>      make: *** No rule to make target 'tests/qemu-iotests/socket_scm_helper', needed by 'check-block'.  Stop.
> 
> 

One more thing to add a CI job to check, I suppose.

--js



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "make check" broken with everything but tools disabled
  2021-03-17 22:35 ` John Snow
@ 2021-03-18  8:48   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-03-18  8:48 UTC (permalink / raw)
  To: John Snow, Markus Armbruster, qemu-devel
  Cc: Kevin Wolf, Paolo Bonzini, qemu-block, Max Reitz

On 3/17/21 11:35 PM, John Snow wrote:
> On 3/16/21 9:28 AM, Markus Armbruster wrote:
>> Watch this:
>>
>>      $ mkdir bld-tools
>>      $ cd bld-tools
>>      $ ../configure --disable-system --disable-user --enable-tools
>>      $ make check
>>      [...]
>>      make: *** No rule to make target
>> 'tests/qemu-iotests/socket_scm_helper', needed by 'check-block'.  Stop.
>>
>>
> 
> One more thing to add a CI job to check, I suppose.

We have the 'build-tools-and-docs-debian' job, but
lack the 'check-tools-and-docs-debian' one.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "make check" broken with everything but tools disabled
  2021-03-16 13:28 "make check" broken with everything but tools disabled Markus Armbruster
  2021-03-17 22:35 ` John Snow
@ 2021-03-18  9:16 ` Claudio Fontana
  2021-03-18 10:03   ` Paolo Bonzini
  2021-03-18 15:03   ` Philippe Mathieu-Daudé
  1 sibling, 2 replies; 7+ messages in thread
From: Claudio Fontana @ 2021-03-18  9:16 UTC (permalink / raw)
  To: Markus Armbruster, qemu-devel
  Cc: Kevin Wolf, Paolo Bonzini, qemu-block, Max Reitz

On 3/16/21 2:28 PM, Markus Armbruster wrote:
> Watch this:
> 
>     $ mkdir bld-tools
>     $ cd bld-tools
>     $ ../configure --disable-system --disable-user --enable-tools
>     $ make check
>     [...]
>     make: *** No rule to make target 'tests/qemu-iotests/socket_scm_helper', needed by 'check-block'.  Stop.
> 
> 

Hi Markus,

I can reproduce this error too.

When looking at the sequence of commands I was almost sure it was due to a missing "make" before the "make check",
as my experience with the new build system (meson-based), is that I have to do:

make

first, and then

make check

later, or bugs start happening, build can end up doing the wrong things.
I thought this was a known limitation and I am currently just dealing with it.

But then I tried to apply this to your specific case, and I get the same error nevertheless.

make: *** No rule to make target 'tests/qemu-iotests/socket_scm_helper', needed by 'check-block'.  Stop.

Ciao,

CLaudio


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "make check" broken with everything but tools disabled
  2021-03-18  9:16 ` Claudio Fontana
@ 2021-03-18 10:03   ` Paolo Bonzini
  2021-03-23 12:44     ` Claudio Fontana
  2021-03-18 15:03   ` Philippe Mathieu-Daudé
  1 sibling, 1 reply; 7+ messages in thread
From: Paolo Bonzini @ 2021-03-18 10:03 UTC (permalink / raw)
  To: Claudio Fontana, Markus Armbruster, qemu-devel
  Cc: Kevin Wolf, qemu-block, Max Reitz

On 18/03/21 10:16, Claudio Fontana wrote:
> my experience with the new build system (meson-based), is that I have to do:
> 
> make
> 
> first, and then
> 
> make check
> 
> later, or bugs start happening

This shouldn't be needed.

Paolo



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "make check" broken with everything but tools disabled
  2021-03-18  9:16 ` Claudio Fontana
  2021-03-18 10:03   ` Paolo Bonzini
@ 2021-03-18 15:03   ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-03-18 15:03 UTC (permalink / raw)
  To: Claudio Fontana, Markus Armbruster, qemu-devel
  Cc: Kevin Wolf, Paolo Bonzini, qemu-block, Max Reitz

On 3/18/21 10:16 AM, Claudio Fontana wrote:
> On 3/16/21 2:28 PM, Markus Armbruster wrote:
>> Watch this:
>>
>>     $ mkdir bld-tools
>>     $ cd bld-tools
>>     $ ../configure --disable-system --disable-user --enable-tools
>>     $ make check
>>     [...]
>>     make: *** No rule to make target 'tests/qemu-iotests/socket_scm_helper', needed by 'check-block'.  Stop.
>>
>>
> 
> Hi Markus,
> 
> I can reproduce this error too.

I'm having a slightly different one:

$ make check-block
/home/phil/.local/bin/meson introspect --targets --tests --benchmarks |
/usr/bin/python3 -B scripts/mtest2make.py > Makefile.mtest
  GIT     ui/keycodemapdb tests/fp/berkeley-testfloat-3
tests/fp/berkeley-softfloat-3 dtc capstone slirp
No such file: tests/qemu-iotests/../../qemu-img
make: *** [/home/phil/source/qemu/tests/Makefile.include:148:
check-block] Error 1

Apparently I was luckier because still having an old socket_scm_helper
built, not sure this is a good thing or not...

$ ls -l tests/qemu-iotests/socket_scm_helper
-rwxr-xr-x. 1 phil root   28824 Mar  3 15:50
tests/qemu-iotests/socket_scm_helper



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "make check" broken with everything but tools disabled
  2021-03-18 10:03   ` Paolo Bonzini
@ 2021-03-23 12:44     ` Claudio Fontana
  0 siblings, 0 replies; 7+ messages in thread
From: Claudio Fontana @ 2021-03-23 12:44 UTC (permalink / raw)
  To: Paolo Bonzini, Markus Armbruster, qemu-devel
  Cc: Kevin Wolf, qemu-block, Max Reitz

On 3/18/21 11:03 AM, Paolo Bonzini wrote:
> On 18/03/21 10:16, Claudio Fontana wrote:
>> my experience with the new build system (meson-based), is that I have to do:
>>
>> make
>>
>> first, and then
>>
>> make check
>>
>> later, or bugs start happening
> 
> This shouldn't be needed.
> 
> Paolo
> 

I am pretty sure it didn't work in some cases, maybe with check-tcg only.. will keep an eye on this.

Ciao,

Claudio


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-03-23 12:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 13:28 "make check" broken with everything but tools disabled Markus Armbruster
2021-03-17 22:35 ` John Snow
2021-03-18  8:48   ` Philippe Mathieu-Daudé
2021-03-18  9:16 ` Claudio Fontana
2021-03-18 10:03   ` Paolo Bonzini
2021-03-23 12:44     ` Claudio Fontana
2021-03-18 15:03   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).