You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a meson.build tries to install a symlink to another file installed by Meson, then meson install --dry-run -C build errors because the pointed-to file doesn't exist, while meson install -C build succeeds because the pointed-to file exists.
$ meson install --dry-run -C buildninja: Entering directory `/tmp/fun/meson-dry-run/build'[2/2] Linking target hello-worldInstalling hello-world to /usr/local/binERROR: Tried to install symlink to missing file /usr/local/bin/hello-world
And a succeeding real install:
$ doas meson install -C buildDropping privileges to 'jan' before running ninja...ninja: Entering directory `/tmp/fun/meson-dry-run/build'ninja: no work to do.Installing hello-world to /usr/local/binInstalling symlink pointing to hello-world to /usr/local/bin/hello-world-link
The text was updated successfully, but these errors were encountered:
If a meson.build tries to install a symlink to another file installed by Meson, then
meson install --dry-run -C build
errors because the pointed-to file doesn't exist, whilemeson install -C build
succeeds because the pointed-to file exists.I've prepared a test Meson project:
meson-dry-run.zip
The contents of the test project are as follows:
meson-dry-run/hello.c
meson-dry-run/meson.build
Here's a failing dry run:
And a succeeding real install:
The text was updated successfully, but these errors were encountered: