mesonbuild / meson

The Meson Build System
http://mesonbuild.com
Apache License 2.0
5.56k stars 1.61k forks source link

Warning emitted when `--reconfigure`ing project with subprojects #8121

Open dnicolodi opened 3 years ago

dnicolodi commented 3 years ago

In a project that uses subprojects, after upgrading to Meson 0.56, this warning is emitted when running meson --reconfigure build/ twice for each subproject: DEPRECATION: Duplicated values in array option is deprecated. This will become a hard error in the future.. I don't know which option is causing the issue, but printing the value that is problematic I see that at each --reconfigure one more $PROJECT/build/meson-uninstalled instance is appended to the list, where $PROJECT is the root directory of the project.

eli-schwartz commented 3 years ago

Appended to which list?

dnicolodi commented 3 years ago

I attached pdb and walking up the stack this seems to originate in mesonbuild.coredata.CoreData:copy_build_options_from_regular_ones() for the pkg_config_path option. BTW, is there an easier way to check this?