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

meson configure: options are repeatedly duplicated across sections #8344

Closed
eli-schwartz opened this issue Feb 15, 2021 · 1 comment · Fixed by #8369
Closed

meson configure: options are repeatedly duplicated across sections #8344

eli-schwartz opened this issue Feb 15, 2021 · 1 comment · Fixed by #8369
Assignees
Milestone

Comments

@eli-schwartz
Copy link
Member

Notice that backend options and base options each combine all options found anywhere else and repeat them as a member of that group.

git bisect has fingered commit e81acbd (part of #8080)

$ meson configure builddir
Core properties:
  Source dir /home/eschwartz/git/archlinux/pacman
  Build dir  /home/eschwartz/git/archlinux/pacman/builddir
                                                                                                                    
Main project options:                                                                                               
                                                                                                                    
  Core options            Current Value               Possible Values                                               Description
  ------------            -------------               ---------------                                               -----------
  auto_features           auto                        [enabled, disabled, auto]                                     Override value of all 'auto' features
  backend                 ninja                       [ninja, vs, vs2010, vs2015, vs2017, vs2019, xcode]            Backend to use
  buildtype               debug                       [plain, debug, debugoptimized, release, minsize, custom]      Build type to use
  cmake_prefix_path       []                                                                                        List of additional prefixes for cmake to search
  debug                   true                        [true, false]                                                 Debug
  default_library         both                        [shared, static, both]                                        Default library type
  force_fallback_for      []                                                                                        Force fallback for those subprojects
  install_umask           0022                        [preserve, 0000-0777]                                         Default umask to apply on permissions of installed files
  layout                  mirror                      [mirror, flat]                                                Build directory layout
  optimization            0                           [0, g, 1, 2, 3, s]                                            Optimization level
  pkg_config_path         []                                                                                        List of additional paths for pkg-config to search
  strip                   false                       [true, false]                                                 Strip targets on install
  unity                   off                         [on, off, subprojects]                                        Unity build
  unity_size              4                           >=2                                                           Unity block size
  warning_level           1                           [0, 1, 2, 3]                                                  Compiler warning level to use
  werror                  true                        [true, false]                                                 Treat warnings as errors
  wrap_mode               default                     [default, nofallback, nodownload, forcefallback, nopromote]   Wrap mode
                                                                                                                    
  Backend options         Current Value               Possible Values                                               Description
  ---------------         -------------               ---------------                                               -----------
  auto_features           auto                        [enabled, disabled, auto]                                     Override value of all 'auto' features
  b_asneeded              true                        [true, false]                                                 Use -Wl,--as-needed when linking
  b_colorout              always                      [auto, always, never]                                         Use colored output
  b_coverage              false                       [true, false]                                                 Enable coverage tracking.
  b_lto                   false                       [true, false]                                                 Use link time optimization
  b_lto_threads           0                                                                                         Use multiple threads for Link Time Optimization
  b_lundef                true                        [true, false]                                                 Use -Wl,--no-undefined when linking
  b_ndebug                false                       [true, false, if-release]                                     Disable asserts
  b_pch                   true                        [true, false]                                                 Use precompiled headers
  b_pgo                   off                         [off, generate, use]                                          Use profile guided optimization
  b_pie                   false                       [true, false]                                                 Build executables as position independent
  b_sanitize              none                        [none, address, thread, undefined, memory, address,undefined] Code sanitizer to use
  b_staticpic             true                        [true, false]                                                 Build static libraries as position independent
  backend                 ninja                       [ninja, vs, vs2010, vs2015, vs2017, vs2019, xcode]            Backend to use
  backend_max_links       0                           >=0                                                           Maximum number of linker processes to run or 0 for no limit
  bindir                  bin                                                                                       Executable directory
  build.c_args            []                                                                                        Extra arguments passed to the c compiler
  build.c_link_args       []                                                                                        Extra arguments passed to the c linker
  build.c_std             gnu99                       [none, c89, c99, c11, c17, c18, c2x, gnu89, gnu99, gnu11,     C language standard to use
                                                       gnu17, gnu18, gnu2x]                                         
  build.cmake_prefix_path []                                                                                        List of additional prefixes for cmake to search
  build.pkg_config_path   []                                                                                        List of additional paths for pkg-config to search
  buildscript             PKGBUILD                                                                                  set the build script name used by makepkg
  buildstatic             false                       [true, false]                                                 if true, build statically linked binaries
  buildtype               debug                       [plain, debug, debugoptimized, release, minsize, custom]      Build type to use
  c_args                  []                                                                                        Extra arguments passed to the c compiler
  c_link_args             []                                                                                        Extra arguments passed to the c linker
  c_std                   gnu99                       [none, c89, c99, c11, c17, c18, c2x, gnu89, gnu99, gnu11,     C language standard to use
                                                       gnu17, gnu18, gnu2x]                                         
  cmake_prefix_path       []                                                                                        List of additional prefixes for cmake to search
  crypto                  openssl                     [openssl, nettle]                                             select crypto implementation
  curl                    auto                        [enabled, disabled, auto]                                     use curl to download files
  datadir                 share                                                                                     Data file directory
  datarootdir             share                                                                                     FIXME
  debug                   true                        [true, false]                                                 Debug
  debug-suffix            debug                                                                                     suffix for split debugging symbol packages used by makepkg
  default_library         both                        [shared, static, both]                                        Default library type
  doc                     auto                        [enabled, disabled, auto]                                     generate docs and manpages
  doxygen                 disabled                    [enabled, disabled, auto]                                     generate doxygen manpages and html
  errorlogs               true                        [true, false]                                                 Whether to print the logs from failing tests
  file-seccomp            auto                        [enabled, disabled, auto]                                     determine whether file is seccomp-enabled
  force_fallback_for      []                                                                                        Force fallback for those subprojects
  gpgme                   auto                        [enabled, disabled, auto]                                     use GPGME for PGP signature verification
  i18n                    true                        [true, false]                                                 enable localization of pacman, libalpm and scripts
  includedir              include                                                                                   Header file directory
  infodir                 share/info                                                                                Info page directory
  install_umask           0022                        [preserve, 0000-0777]                                         Default umask to apply on permissions of installed files
  layout                  mirror                      [mirror, flat]                                                Build directory layout
  ldconfig                /sbin/ldconfig                                                                            set the full path to ldconfig
  libdir                  lib                                                                                       Library directory
  libexecdir              libexec                                                                                   Library executable directory
  localedir               share/locale                                                                              Locale data directory
  localstatedir           /var                                                                                      Localstate data directory
  makepkg-template-dir    /usr/share/makepkg-template                                                               template dir used by makepkg-template
  mandir                  share/man                                                                                 Manual page directory
  optimization            0                           [0, g, 1, 2, 3, s]                                            Optimization level
  pkg-ext                 .pkg.tar.gz                                                                               set the file extension used by packages
  pkg_config_path         []                                                                                        List of additional paths for pkg-config to search
  prefix                  /usr                                                                                      Installation prefix
  root-dir                /                                                                                         set the location of the root operating directory
  sbindir                 sbin                                                                                      System executable directory
  scriptlet-shell         /bin/sh                                                                                   The full path of the shell used to run install scriptlets
  sharedstatedir          /var/lib                                                                                  Architecture-independent data directory
  src-ext                 .src.tar.gz                                                                               set the file extension used by source packages
  stdsplit                true                        [true, false]                                                 Split stdout and stderr in test logs
  strip                   false                       [true, false]                                                 Strip targets on install
  sysconfdir              /etc                                                                                      Sysconf data directory
  unity                   off                         [on, off, subprojects]                                        Unity build
  unity_size              4                           >=2                                                           Unity block size
  use-git-version         false                       [true, false]                                                 take version information from git
  warning_level           1                           [0, 1, 2, 3]                                                  Compiler warning level to use
  werror                  true                        [true, false]                                                 Treat warnings as errors
  wrap_mode               default                     [default, nofallback, nodownload, forcefallback, nopromote]   Wrap mode
                                                                                                                    
  Base options            Current Value               Possible Values                                               Description
  ------------            -------------               ---------------                                               -----------
  auto_features           auto                        [enabled, disabled, auto]                                     Override value of all 'auto' features
  b_asneeded              true                        [true, false]                                                 Use -Wl,--as-needed when linking
  b_colorout              always                      [auto, always, never]                                         Use colored output
  b_coverage              false                       [true, false]                                                 Enable coverage tracking.
  b_lto                   false                       [true, false]                                                 Use link time optimization
  b_lto_threads           0                                                                                         Use multiple threads for Link Time Optimization
  b_lundef                true                        [true, false]                                                 Use -Wl,--no-undefined when linking
  b_ndebug                false                       [true, false, if-release]                                     Disable asserts
  b_pch                   true                        [true, false]                                                 Use precompiled headers
  b_pgo                   off                         [off, generate, use]                                          Use profile guided optimization
  b_pie                   false                       [true, false]                                                 Build executables as position independent
  b_sanitize              none                        [none, address, thread, undefined, memory, address,undefined] Code sanitizer to use
  b_staticpic             true                        [true, false]                                                 Build static libraries as position independent
  backend                 ninja                       [ninja, vs, vs2010, vs2015, vs2017, vs2019, xcode]            Backend to use
  backend_max_links       0                           >=0                                                           Maximum number of linker processes to run or 0 for no limit
  bindir                  bin                                                                                       Executable directory
  build.c_args            []                                                                                        Extra arguments passed to the c compiler
  build.c_link_args       []                                                                                        Extra arguments passed to the c linker
  build.c_std             gnu99                       [none, c89, c99, c11, c17, c18, c2x, gnu89, gnu99, gnu11,     C language standard to use
                                                       gnu17, gnu18, gnu2x]                                         
  build.cmake_prefix_path []                                                                                        List of additional prefixes for cmake to search
  build.pkg_config_path   []                                                                                        List of additional paths for pkg-config to search
  buildscript             PKGBUILD                                                                                  set the build script name used by makepkg
  buildstatic             false                       [true, false]                                                 if true, build statically linked binaries
  buildtype               debug                       [plain, debug, debugoptimized, release, minsize, custom]      Build type to use
  c_args                  []                                                                                        Extra arguments passed to the c compiler
  c_link_args             []                                                                                        Extra arguments passed to the c linker
  c_std                   gnu99                       [none, c89, c99, c11, c17, c18, c2x, gnu89, gnu99, gnu11,     C language standard to use
                                                       gnu17, gnu18, gnu2x]                                         
  cmake_prefix_path       []                                                                                        List of additional prefixes for cmake to search
  crypto                  openssl                     [openssl, nettle]                                             select crypto implementation
  curl                    auto                        [enabled, disabled, auto]                                     use curl to download files
  datadir                 share                                                                                     Data file directory
  datarootdir             share                                                                                     FIXME
  debug                   true                        [true, false]                                                 Debug
  debug-suffix            debug                                                                                     suffix for split debugging symbol packages used by makepkg
  default_library         both                        [shared, static, both]                                        Default library type
  doc                     auto                        [enabled, disabled, auto]                                     generate docs and manpages
  doxygen                 disabled                    [enabled, disabled, auto]                                     generate doxygen manpages and html
  errorlogs               true                        [true, false]                                                 Whether to print the logs from failing tests
  file-seccomp            auto                        [enabled, disabled, auto]                                     determine whether file is seccomp-enabled
  force_fallback_for      []                                                                                        Force fallback for those subprojects
  gpgme                   auto                        [enabled, disabled, auto]                                     use GPGME for PGP signature verification
  i18n                    true                        [true, false]                                                 enable localization of pacman, libalpm and scripts
  includedir              include                                                                                   Header file directory
  infodir                 share/info                                                                                Info page directory
  install_umask           0022                        [preserve, 0000-0777]                                         Default umask to apply on permissions of installed files
  layout                  mirror                      [mirror, flat]                                                Build directory layout
  ldconfig                /sbin/ldconfig                                                                            set the full path to ldconfig
  libdir                  lib                                                                                       Library directory
  libexecdir              libexec                                                                                   Library executable directory
  localedir               share/locale                                                                              Locale data directory
  localstatedir           /var                                                                                      Localstate data directory
  makepkg-template-dir    /usr/share/makepkg-template                                                               template dir used by makepkg-template
  mandir                  share/man                                                                                 Manual page directory
  optimization            0                           [0, g, 1, 2, 3, s]                                            Optimization level
  pkg-ext                 .pkg.tar.gz                                                                               set the file extension used by packages
  pkg_config_path         []                                                                                        List of additional paths for pkg-config to search
  prefix                  /usr                                                                                      Installation prefix
  root-dir                /                                                                                         set the location of the root operating directory
  sbindir                 sbin                                                                                      System executable directory
  scriptlet-shell         /bin/sh                                                                                   The full path of the shell used to run install scriptlets
  sharedstatedir          /var/lib                                                                                  Architecture-independent data directory
  src-ext                 .src.tar.gz                                                                               set the file extension used by source packages
  stdsplit                true                        [true, false]                                                 Split stdout and stderr in test logs
  strip                   false                       [true, false]                                                 Strip targets on install
  sysconfdir              /etc                                                                                      Sysconf data directory
  unity                   off                         [on, off, subprojects]                                        Unity build
  unity_size              4                           >=2                                                           Unity block size
  use-git-version         false                       [true, false]                                                 take version information from git
  warning_level           1                           [0, 1, 2, 3]                                                  Compiler warning level to use
  werror                  true                        [true, false]                                                 Treat warnings as errors
  wrap_mode               default                     [default, nofallback, nodownload, forcefallback, nopromote]   Wrap mode
                                                                                                                    
  Compiler options        Current Value               Possible Values                                               Description
  ----------------        -------------               ---------------                                               -----------
  c_args                  []                                                                                        Extra arguments passed to the c compiler
  c_link_args             []                                                                                        Extra arguments passed to the c linker
  c_std                   gnu99                       [none, c89, c99, c11, c17, c18, c2x, gnu89, gnu99, gnu11,     C language standard to use
                                                       gnu17, gnu18, gnu2x]                                         
                                                                                                                    
  Directories             Current Value               Possible Values                                               Description
  -----------             -------------               ---------------                                               -----------
  prefix                  /usr                                                                                      Installation prefix
  bindir                  bin                                                                                       Executable directory
  datadir                 share                                                                                     Data file directory
  includedir              include                                                                                   Header file directory
  infodir                 share/info                                                                                Info page directory
  libdir                  lib                                                                                       Library directory
  libexecdir              libexec                                                                                   Library executable directory
  localedir               share/locale                                                                              Locale data directory
  localstatedir           /var                                                                                      Localstate data directory
  mandir                  share/man                                                                                 Manual page directory
  sbindir                 sbin                                                                                      System executable directory
  sharedstatedir          /var/lib                                                                                  Architecture-independent data directory
  sysconfdir              /etc                                                                                      Sysconf data directory
                                                                                                                    
  Testing options         Current Value               Possible Values                                               Description
  ---------------         -------------               ---------------                                               -----------
  errorlogs               true                        [true, false]                                                 Whether to print the logs from failing tests
  stdsplit                true                        [true, false]                                                 Split stdout and stderr in test logs
                                                                                                                    
  Project options         Current Value               Possible Values                                               Description
  ---------------         -------------               ---------------                                               -----------
  buildscript             PKGBUILD                                                                                  set the build script name used by makepkg
  buildstatic             false                       [true, false]                                                 if true, build statically linked binaries
  crypto                  openssl                     [openssl, nettle]                                             select crypto implementation
  curl                    auto                        [enabled, disabled, auto]                                     use curl to download files
  datarootdir             share                                                                                     FIXME
  debug-suffix            debug                                                                                     suffix for split debugging symbol packages used by makepkg
  doc                     auto                        [enabled, disabled, auto]                                     generate docs and manpages
  doxygen                 disabled                    [enabled, disabled, auto]                                     generate doxygen manpages and html
  file-seccomp            auto                        [enabled, disabled, auto]                                     determine whether file is seccomp-enabled
  gpgme                   auto                        [enabled, disabled, auto]                                     use GPGME for PGP signature verification
  i18n                    true                        [true, false]                                                 enable localization of pacman, libalpm and scripts
  ldconfig                /sbin/ldconfig                                                                            set the full path to ldconfig
  makepkg-template-dir    /usr/share/makepkg-template                                                               template dir used by makepkg-template
  pkg-ext                 .pkg.tar.gz                                                                               set the file extension used by packages
  root-dir                /                                                                                         set the location of the root operating directory
  scriptlet-shell         /bin/sh                                                                                   The full path of the shell used to run install scriptlets
  src-ext                 .src.tar.gz                                                                               set the file extension used by source packages
  use-git-version         false                       [true, false]                                                 take version information from git
@dcbaker
Copy link
Member

dcbaker commented Feb 15, 2021

That is exactly the commit I expected it to point at :/

@dcbaker dcbaker added this to the 0.57.1 milestone Feb 15, 2021
dcbaker added a commit to dcbaker/meson that referenced this issue Feb 16, 2021
A predicate in two comprehensions was dropped, in what looks like a
rebase error on my part. With the predicate added things work correctly.

Fixes: mesonbuild#8344
jpakkane pushed a commit that referenced this issue Feb 17, 2021
A predicate in two comprehensions was dropped, in what looks like a
rebase error on my part. With the predicate added things work correctly.

Fixes: #8344
nirbheek pushed a commit that referenced this issue Feb 20, 2021
A predicate in two comprehensions was dropped, in what looks like a
rebase error on my part. With the predicate added things work correctly.

Fixes: #8344
tristan957 pushed a commit to tristan957/meson that referenced this issue Mar 2, 2021
A predicate in two comprehensions was dropped, in what looks like a
rebase error on my part. With the predicate added things work correctly.

Fixes: mesonbuild#8344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants