Issue building new changes with meld; ninja: no work to do

To do a first test build I did

meson -Dprefix=$PWD/_install _build
cd _build
ninja
ninja install

I then made a simple change to the help output such as added gibberish to the description and the --diff help text.

I then execute ninja in _build and I get: ninja: no work to do. I execute ninja install and running _install/bin/meld --help does not yield the changes made to the help text.

I execute meson compile in _build and I get the following:

Found runner: ['/usr/bin/ninja']
ninja: Entering directory `.'
ninja: no work to do.

Any guidance on this issue would be appreciated.

What was the diff of the changes you tried? Maybe there’s a bug in the build config and meson isn’t tracking the specific files for changes.

Here is the pastebin of the diff: https://pastebin.com/UrdBbinx

I am not exactly sure how development in meld is expected to work, but you could try running the bin/meld binary from the repo directly and it should work, the installed one will try to import the meld module which my guess is ends up opening your system install.

Alternatively you can use GNOME Builder, with flatpak, and everything should work out of the box.

It looks like bin/meld has the changes. Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.