Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ninja no longer accepts dupbuild=err #13176

Closed
gruenich opened this issue May 2, 2024 · 2 comments
Closed

Ninja no longer accepts dupbuild=err #13176

gruenich opened this issue May 2, 2024 · 2 comments

Comments

@gruenich
Copy link

gruenich commented May 2, 2024

Describe the bug
With the release 1.12, Ninja no longer accepts dupbuild=err, see ninja-build/ninja#2356
It gives a hard error.

@gruenich
Copy link
Author

gruenich commented May 2, 2024

Example:

[   52s] The Meson build system
[   52s] Version: 1.4.0
[   52s] Source dir: /home/abuild/rpmbuild/BUILD/meson-1.4.0/test cases/unit/16 prebuilt static
[   52s] Build dir: /home/abuild/rpmbuild/BUILD/meson-1.4.0/tmpbz6aylpq
[   52s] Build type: native build
[   52s] Project name: prebuilt static lib
[   52s] Project version: undefined
[   52s] C compiler for the host machine: cc (gcc 13.2.1 "cc (SUSE Linux) 13.2.1 20240206 [revision 67ac78caf31f7cb3202177e6428a46d829b70f23]")
[   52s] C linker for the host machine: cc ld.bfd 2.42.0.20240130-4
[   52s] Host machine cpu family: x86_64
[   52s] Host machine cpu: x86_64
[   52s] Library best found: YES
[   52s] Build targets in project: 1
[   52s] 
[   52s] prebuilt static lib undefined
[   52s] 
[   52s]   User defined options
[   52s]     backend: ninja
[   52s]     libdir : lib
[   52s]     prefix : /usr
[   52s] 
[   52s] Found ninja-1.12.0 at /usr/bin/ninja
[   52s] 
[   52s] $ /usr/bin/ninja -w dupbuild=err -d explain
[   52s] stdout:
[   52s] ninja: error: unknown warning flag 'dupbuild=err'

@eli-schwartz
Copy link
Member

Duplicate of #13087

@eli-schwartz eli-schwartz marked this as a duplicate of #13087 May 2, 2024
@eli-schwartz eli-schwartz closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants