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: error: unrecognized arguments: --fhead #pragma once #13834

Open
jonaski opened this issue Oct 29, 2024 · 11 comments
Open

meson: error: unrecognized arguments: --fhead #pragma once #13834

jonaski opened this issue Oct 29, 2024 · 11 comments
Labels
OS:windows Winodows OS specific issues

Comments

@jonaski
Copy link

jonaski commented Oct 29, 2024

Describe the bug

Building many libraries (libsoup, harfbuzz) on Windows fails with similar error when meson is installed using the official installer (https://github.com/mesonbuild/meson/releases/download/1.6.0/meson-1.6.0-64.msi).

The errors does not occur when installing meson through pip.

From the error message, it looks like it does not properly parse the path when meson is installed to a path with spaces, installing meson to a path without space leads to slightly different error.

meson setup --buildtype="release" --default-library=shared --prefix="c:/strawberry_msvc_x86_64_release" --pkg-config-path="c:/strawberry_msvc_x86_64_release/lib/pkgconfig" --wrap-mode=nodownload -Dtests=false -Dvapi=disabled -Dgssapi=disabled -Dintrospection=disabled -Dtests=false -Dsysprof=disabled -Dtls_check=false build

The Meson build system
Version: 1.6.0
Source dir: C:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0
Build dir: C:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0\build
Build type: native build
Project name: libsoup
Project version: 3.6.0
DEPRECATION: None of the values ['gnu99'] are supported by the c compiler.
However, the deprecated gnu99 std currently falls back to c99.
This will be an error in meson 2.0.
If the project supports both GNU and MSVC compilers, a value such as
"c_std=gnu11,c11" specifies that GNU is preferred but it can safely fallback to plain c11.
C compiler for the host machine: cl (msvc 19.41.34120 "Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64")
C linker for the host machine: link link 14.41.34120.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments /utf-8: YES
Found pkg-config: YES (c:\strawberry_msvc_x86_64_release\bin\pkg-config.EXE) 2.3.0
Run-time dependency glib-2.0 found: YES 2.82.2
Run-time dependency gmodule-no-export-2.0 found: YES 2.82.2
Run-time dependency gobject-2.0 found: YES 2.82.2
Run-time dependency gio-2.0 found: YES 2.82.2
Run-time dependency libnghttp2 found: YES 1.64.0
Run-time dependency sqlite3 found: YES 3.38.1
Run-time dependency libbrotlidec found: YES 1.1.0
Found CMake: C:\Program Files\CMake\bin\cmake.EXE (3.30.5)
Run-time dependency gio-unix-2.0 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gio-unix-2.0
Neither a subproject directory nor a glib.wrap file was found.
Subproject  glib is buildable: NO (disabling)
Dependency gio-unix-2.0 from subproject glib found: NO (subproject failed to configure)
Library ws2_32 found: YES
Run-time dependency libpsl found: YES 0.21.5
Checking for function "gmtime_r" : NO
Dependency sysprof-capture-4 skipped: feature sysprof disabled
Run-time dependency zlib found: YES 1.3.1
Program apachectl /sbin/apachectl /usr/sbin/apachectl found: NO
Program httpd2 httpd apache2 apache /sbin/httpd2 /sbin/httpd /sbin/apache2 /sbin/apache /usr/sbin/httpd2 /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/apache found: NO
Run-time dependency gnutls found: YES 3.8.7
meson.build:296: WARNING: Some regression tests will not be compiled due to missing libraries or modules. Please check the logs for more details.
Library gssapi64 skipped: feature gssapi disabled
Program g-ir-scanner skipped: feature introspection disabled
Compiler for language vala skipped: feature vapi disabled
Configuring config.h using configuration
Program generate-version-header.py found: YES (C:\Program Files\Meson\meson.exe runpython C:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0\libsoup\generate-version-header.py)
Configuring soup-version.h with command
Dependency glib-2.0 found: YES 2.82.2 (cached)
Program c:/strawberry_msvc_x86_64_release/bin/glib-mkenums found: YES (C:\Program Files\Meson\meson.exe c:/strawberry_msvc_x86_64_release/bin\glib-mkenums)
Dependency glib-2.0 found: YES 2.82.2 (cached)
Program c:/strawberry_msvc_x86_64_release/bin/glib-mkenums found: YES (C:\Program Files\Meson\meson.exe c:/strawberry_msvc_x86_64_release/bin\glib-mkenums)
Dependency glib-2.0 found: YES 2.82.2 (cached)
Program c:/strawberry_msvc_x86_64_release/bin/glib-mkenums found: YES (C:\Program Files\Meson\meson.exe c:/strawberry_msvc_x86_64_release/bin\glib-mkenums)
Dependency glib-2.0 found: YES 2.82.2 (cached)
Program c:/strawberry_msvc_x86_64_release/bin/glib-mkenums found: YES (C:\Program Files\Meson\meson.exe c:/strawberry_msvc_x86_64_release/bin\glib-mkenums)
Program xgettext found: YES (C:\Program Files\gettext-iconv\bin\xgettext.EXE)
Program msgfmt found: YES (C:\Program Files\gettext-iconv\bin\msgfmt.EXE)
Program msginit found: YES (C:\Program Files\gettext-iconv\bin\msginit.EXE)
Program msgmerge found: YES (C:\Program Files\gettext-iconv\bin\msgmerge.EXE)
Program xgettext found: YES (C:\Program Files\gettext-iconv\bin\xgettext.EXE)
Compiler for C supports arguments -fsanitize=fuzzer,address,undefined: NO
Found CMake: C:\Program Files\CMake\bin\cmake.EXE (3.30.5)
Build-time dependency gi-docgen found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gi-docgen
Automatic wrap-based subproject downloading is disabled
Subproject  gi-docgen is buildable: NO (disabling)
Dependency gi-docgen from subproject gi-docgen found: NO (subproject failed to configure)
docs\reference\meson.build:23: WARNING: Documentation will not be built as introspection was disabled
Build targets in project: 81

libsoup 3.6.0

  Directories
    prefix                : c:/strawberry_msvc_x86_64_release
    libdir                : lib
    datadir               : share

  Features
    GSSAPI                : false
    NTLM                  : false
    Brotli                : true
    Translations          : true
    GIR                   : false
    VAPI                  : false
    Documentation         : false

  Testing
    All tests             : false
    Tests requiring Apache: false
    Documentation tests   : false
    Fuzzing tests         : false
    Autobahn tests        : false
    PKCS #11 tests        : true
    Install tests         : false
    Unix sockets          : false

  Subprojects
    gi-docgen             : NO Automatic wrap-based subproject downloading is disabled
    glib                  : NO Neither a subproject directory nor a glib.wrap file was found.

  User defined options
    buildtype             : release
    default_library       : shared
    gssapi                : disabled
    introspection         : disabled
    pkg_config_path       : c:/strawberry_msvc_x86_64_release/lib/pkgconfig
    prefix                : c:/strawberry_msvc_x86_64_release
    sysprof               : disabled
    tests                 : false
    tls_check             : false
    vapi                  : disabled
    wrap_mode             : nodownload

Found ninja-1.12.1 at "C:\Program Files\Meson\ninja.EXE"

c:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0>cd build   || goto end

c:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0\build>ninja   || goto end
[70/240] Generating GObject enum file libsoup/soup-enum-types.h (wrapped by meson to capture output)
FAILED: libsoup/soup-enum-types.h
"C:\Program Files\Meson\meson.exe" "--internal" "exe" "--capture" "libsoup\soup-enum-types.h" "--" "C:\Program" "Files/Meson/meson.exe" "c:/strawberry_msvc_x86_64_release/bin/glib-mkenums" "--template" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-enum-types.h.template" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/auth/soup-auth.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/auth/soup-auth-manager.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cache/soup-cache.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/content-decoder/soup-content-decoder.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/content-sniffer/soup-content-sniffer.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar-db.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar-text.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-enforcer.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-enforcer-db.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-policy.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain-basic.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain-digest.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-message-body.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-server.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-server-message.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-connection.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension-deflate.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension-manager.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-date-utils.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-form.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-headers.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-logger.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message-headers.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message-metrics.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-method.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-multipart.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-multipart-input-stream.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-session.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-session-feature.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-status.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-tld.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-types.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-uri-utils.h"
--- stderr ---
usage: meson [-h]
             {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,reprotest,format,fmt,help} ...
meson: error: unrecognized arguments: --template C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-enum-types.h.template C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/auth/soup-auth.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/auth/soup-auth-manager.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cache/soup-cache.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/content-decoder/soup-content-decoder.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/content-sniffer/soup-content-sniffer.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar-db.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar-text.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-enforcer.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-enforcer-db.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-policy.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain-basic.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain-digest.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-message-body.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-server.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-server-message.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-connection.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension-deflate.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension-manager.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-date-utils.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-form.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-headers.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-logger.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message-headers.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message-metrics.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-method.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-multipart.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-multipart-input-stream.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-session.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-session-feature.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-status.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-tld.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-types.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-uri-utils.h

[71/240] Generating GObject enum file libsoup/soup-private-enum-types.h (wrapped by meson because command contains newlines, to capture output)
FAILED: libsoup/soup-private-enum-types.h
"C:\Program Files\Meson\meson.exe" "--internal" "exe" "--unpickle" "C:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0\build\meson-private\meson_exe_Program_11f3337961ed2eacba5d9757ff7b355d05d036b0.dat"
while executing ['C:\\Program', 'Files/Meson/meson.exe', 'c:/strawberry_msvc_x86_64_release/bin/glib-mkenums', '--fhead', '#pragma once\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n', '--fprod', '\n/* enumerations from "@basename@" */\n', '--vhead', '\nGType @enum_name@_get_type (void);\n#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type())', '--ftail', '\nG_END_DECLS', 'C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-connection.h']
--- stderr ---
usage: meson [-h]
             {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,reprotest,format,fmt,help} ...
meson: error: unrecognized arguments: --fhead #pragma once

#include <glib-object.h>

G_BEGIN_DECLS
 --fprod
/* enumerations from "@basename@" */
 --vhead
GType @enum_name@_get_type (void);
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) --ftail
G_END_DECLS C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-connection.h

[72/240] Generating GObject enum file libsoup/soup-private-enum-types.c (wrapped by meson because command contains newlines, to capture output)
FAILED: libsoup/soup-private-enum-types.c
"C:\Program Files\Meson\meson.exe" "--internal" "exe" "--unpickle" "C:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0\build\meson-private\meson_exe_Program_82167ac7c5348d0b28ff816350ced79bdbea55bf.dat"
while executing ['C:\\Program', 'Files/Meson/meson.exe', 'c:/strawberry_msvc_x86_64_release/bin/glib-mkenums', '--fhead', '#include "soup-private-enum-types.h"\n#include "soup-connection.h"\n\n#define C_ENUM(v) ((gint) v)\n#define C_FLAGS(v) ((guint) v)\n', '--fprod', '\n/* enumerations from "@basename@" */\n', '--vhead', '\nGType\n@enum_name@_get_type (void)\n{\n    static gsize gtype_id = 0;\n    static const G@Type@Value values[] = {', '--vprod', '        { C_@TYPE@ (@VALUENAME@), "@VALUENAME@", "@valuenick@" },', '--vtail', '        { 0, NULL, NULL }\n    };\n    if (g_once_init_enter (&gtype_id)) {\n        GType new_type = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);\n        g_once_init_leave (&gtype_id, new_type);\n    }\n    return (GType) gtype_id;\n}', 'C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-connection.h']
--- stderr ---
usage: meson [-h]
             {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,reprotest,format,fmt,help} ...
meson: error: unrecognized arguments: --fhead #include "soup-private-enum-types.h"
#include "soup-connection.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)
 --fprod
/* enumerations from "@basename@" */
 --vhead
GType
@enum_name@_get_type (void)
{
    static gsize gtype_id = 0;
    static const G@Type@Value values[] = { --vprod         { C_@TYPE@ (@VALUENAME@), "@VALUENAME@", "@valuenick@" }, --vtail         { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
} C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-connection.h

ninja: build stopped: subcommand failed.

To Reproduce
Please include your meson.build files, preferably as a minimal toy example showing the issue.
You may need to create simple source code files (don't include private/proprietary code).

Expected behavior
A clear and concise description of what you expected to happen.

system parameters

  • Is this a cross build or just a plain native build (for the same computer)?
    Native

  • what operating system:
    Windows 10

  • what Python version are you using:
    3.13.0

  • what meson --version:
    1.6.0

  • what ninja --version if it's a Ninja build
    1.12.1

@jonaski
Copy link
Author

jonaski commented Oct 29, 2024

Error when Meson is installed to c:\meson:

c:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0>if not exist "build\build.ninja" meson setup --buildtype="release" --default-library=shared --prefix="c:/strawberry_msvc_x86_64_release" --pkg-config-path="c:/strawberry_msvc_x86_64_release/lib/pkgconfig" --wrap-mode=nodownload -Dtests=false -Dvapi=disabled -Dgssapi=disabled -Dintrospection=disabled -Dtests=false -Dsysprof=disabled -Dtls_check=false build   || goto end
The Meson build system
Version: 1.6.0
Source dir: C:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0
Build dir: C:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0\build
Build type: native build
Project name: libsoup
Project version: 3.6.0
DEPRECATION: None of the values ['gnu99'] are supported by the c compiler.
However, the deprecated gnu99 std currently falls back to c99.
This will be an error in meson 2.0.
If the project supports both GNU and MSVC compilers, a value such as
"c_std=gnu11,c11" specifies that GNU is preferred but it can safely fallback to plain c11.
C compiler for the host machine: cl (msvc 19.41.34120 "Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64")
C linker for the host machine: link link 14.41.34120.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments /utf-8: YES
Found pkg-config: YES (c:\strawberry_msvc_x86_64_release\bin\pkg-config.EXE) 2.3.0
Run-time dependency glib-2.0 found: YES 2.82.2
Run-time dependency gmodule-no-export-2.0 found: YES 2.82.2
Run-time dependency gobject-2.0 found: YES 2.82.2
Run-time dependency gio-2.0 found: YES 2.82.2
Run-time dependency libnghttp2 found: YES 1.64.0
Run-time dependency sqlite3 found: YES 3.38.1
Run-time dependency libbrotlidec found: YES 1.1.0
Found CMake: C:\Program Files\CMake\bin\cmake.EXE (3.30.5)
Run-time dependency gio-unix-2.0 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gio-unix-2.0
Neither a subproject directory nor a glib.wrap file was found.
Subproject  glib is buildable: NO (disabling)
Dependency gio-unix-2.0 from subproject glib found: NO (subproject failed to configure)
Library ws2_32 found: YES
Run-time dependency libpsl found: YES 0.21.5
Checking for function "gmtime_r" : NO
Dependency sysprof-capture-4 skipped: feature sysprof disabled
Run-time dependency zlib found: YES 1.3.1
Program apachectl /sbin/apachectl /usr/sbin/apachectl found: NO
Program httpd2 httpd apache2 apache /sbin/httpd2 /sbin/httpd /sbin/apache2 /sbin/apache /usr/sbin/httpd2 /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/apache found: NO
Run-time dependency gnutls found: NO (tried pkgconfig and cmake)
meson.build:296: WARNING: Some regression tests will not be compiled due to missing libraries or modules. Please check the logs for more details.
Library gssapi64 skipped: feature gssapi disabled
Program g-ir-scanner skipped: feature introspection disabled
Compiler for language vala skipped: feature vapi disabled
Configuring config.h using configuration
Program generate-version-header.py found: YES (C:\Meson\meson.exe runpython C:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0\libsoup\generate-version-header.py)
Configuring soup-version.h with command
Dependency glib-2.0 found: YES 2.82.2 (cached)
Program c:/strawberry_msvc_x86_64_release/bin/glib-mkenums found: YES (C:\Meson\meson.exe c:/strawberry_msvc_x86_64_release/bin\glib-mkenums)
Dependency glib-2.0 found: YES 2.82.2 (cached)
Program c:/strawberry_msvc_x86_64_release/bin/glib-mkenums found: YES (C:\Meson\meson.exe c:/strawberry_msvc_x86_64_release/bin\glib-mkenums)
Dependency glib-2.0 found: YES 2.82.2 (cached)
Program c:/strawberry_msvc_x86_64_release/bin/glib-mkenums found: YES (C:\Meson\meson.exe c:/strawberry_msvc_x86_64_release/bin\glib-mkenums)
Dependency glib-2.0 found: YES 2.82.2 (cached)
Program c:/strawberry_msvc_x86_64_release/bin/glib-mkenums found: YES (C:\Meson\meson.exe c:/strawberry_msvc_x86_64_release/bin\glib-mkenums)
Program xgettext found: YES (C:\Program Files\gettext-iconv\bin\xgettext.EXE)
Program msgfmt found: YES (C:\Program Files\gettext-iconv\bin\msgfmt.EXE)
Program msginit found: YES (C:\Program Files\gettext-iconv\bin\msginit.EXE)
Program msgmerge found: YES (C:\Program Files\gettext-iconv\bin\msgmerge.EXE)
Program xgettext found: YES (C:\Program Files\gettext-iconv\bin\xgettext.EXE)
Compiler for C supports arguments -fsanitize=fuzzer,address,undefined: NO
Found CMake: C:\Program Files\CMake\bin\cmake.EXE (3.30.5)
Build-time dependency gi-docgen found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gi-docgen
Automatic wrap-based subproject downloading is disabled
Subproject  gi-docgen is buildable: NO (disabling)
Dependency gi-docgen from subproject gi-docgen found: NO (subproject failed to configure)
docs\reference\meson.build:23: WARNING: Documentation will not be built as introspection was disabled
Build targets in project: 81

libsoup 3.6.0

  Directories
    prefix                : c:/strawberry_msvc_x86_64_release
    libdir                : lib
    datadir               : share

  Features
    GSSAPI                : false
    NTLM                  : false
    Brotli                : true
    Translations          : true
    GIR                   : false
    VAPI                  : false
    Documentation         : false

  Testing
    All tests             : false
    Tests requiring Apache: false
    Documentation tests   : false
    Fuzzing tests         : false
    Autobahn tests        : false
    PKCS #11 tests        : false
    Install tests         : false
    Unix sockets          : false

  Subprojects
    gi-docgen             : NO Automatic wrap-based subproject downloading is disabled
    glib                  : NO Neither a subproject directory nor a glib.wrap file was found.

  User defined options
    buildtype             : release
    default_library       : shared
    gssapi                : disabled
    introspection         : disabled
    pkg_config_path       : c:/strawberry_msvc_x86_64_release/lib/pkgconfig
    prefix                : c:/strawberry_msvc_x86_64_release
    sysprof               : disabled
    tests                 : false
    tls_check             : false
    vapi                  : disabled
    wrap_mode             : nodownload

Found ninja-1.12.1 at C:\Meson\ninja.EXE

c:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0>cd build   || goto end

c:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0\build>ninja   || goto end
[70/240] Generating GObject enum file libsoup/soup-private-enum-types.h (wrapped by meson because command contains newlines, to capture output)
FAILED: libsoup/soup-private-enum-types.h
"C:\Meson\meson.exe" "--internal" "exe" "--unpickle" "C:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0\build\meson-private\meson_exe_meson.exe_6d0dd8239376f8b10162a861763c3fcfa649423f.dat"
while executing ['C:\\Meson\\meson.exe', 'c:/strawberry_msvc_x86_64_release/bin/glib-mkenums', '--fhead', '#pragma once\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n', '--fprod', '\n/* enumerations from "@basename@" */\n', '--vhead', '\nGType @enum_name@_get_type (void);\n#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type())', '--ftail', '\nG_END_DECLS', 'C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-connection.h']
--- stderr ---
usage: meson [-h]
             {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,reprotest,format,fmt,help} ...
meson: error: unrecognized arguments: --fhead #pragma once

#include <glib-object.h>

G_BEGIN_DECLS
 --fprod
/* enumerations from "@basename@" */
 --vhead
GType @enum_name@_get_type (void);
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) --ftail
G_END_DECLS C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-connection.h

[71/240] Generating GObject enum file libsoup/soup-private-enum-types.c (wrapped by meson because command contains newlines, to capture output)
FAILED: libsoup/soup-private-enum-types.c
"C:\Meson\meson.exe" "--internal" "exe" "--unpickle" "C:\Data\Projects\strawberry\msvc_\build_release\libsoup-3.6.0\build\meson-private\meson_exe_meson.exe_80e7c17603f3553f00ed538044cd792fd80fd5e1.dat"
while executing ['C:\\Meson\\meson.exe', 'c:/strawberry_msvc_x86_64_release/bin/glib-mkenums', '--fhead', '#include "soup-private-enum-types.h"\n#include "soup-connection.h"\n\n#define C_ENUM(v) ((gint) v)\n#define C_FLAGS(v) ((guint) v)\n', '--fprod', '\n/* enumerations from "@basename@" */\n', '--vhead', '\nGType\n@enum_name@_get_type (void)\n{\n    static gsize gtype_id = 0;\n    static const G@Type@Value values[] = {', '--vprod', '        { C_@TYPE@ (@VALUENAME@), "@VALUENAME@", "@valuenick@" },', '--vtail', '        { 0, NULL, NULL }\n    };\n    if (g_once_init_enter (&gtype_id)) {\n        GType new_type = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);\n        g_once_init_leave (&gtype_id, new_type);\n    }\n    return (GType) gtype_id;\n}', 'C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-connection.h']
--- stderr ---
usage: meson [-h]
             {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,reprotest,format,fmt,help} ...
meson: error: unrecognized arguments: --fhead #include "soup-private-enum-types.h"
#include "soup-connection.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)
 --fprod
/* enumerations from "@basename@" */
 --vhead
GType
@enum_name@_get_type (void)
{
    static gsize gtype_id = 0;
    static const G@Type@Value values[] = { --vprod         { C_@TYPE@ (@VALUENAME@), "@VALUENAME@", "@valuenick@" }, --vtail         { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
} C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-connection.h

[72/240] Generating GObject enum file libsoup/soup-enum-types.h (wrapped by meson to capture output)
FAILED: libsoup/soup-enum-types.h
"C:\Meson\meson.exe" "--internal" "exe" "--capture" "libsoup\soup-enum-types.h" "--" "C:\Meson\meson.exe" "c:/strawberry_msvc_x86_64_release/bin/glib-mkenums" "--template" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-enum-types.h.template" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/auth/soup-auth.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/auth/soup-auth-manager.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cache/soup-cache.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/content-decoder/soup-content-decoder.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/content-sniffer/soup-content-sniffer.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar-db.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar-text.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-enforcer.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-enforcer-db.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-policy.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain-basic.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain-digest.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-message-body.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-server.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-server-message.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-connection.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension-deflate.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension-manager.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-date-utils.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-form.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-headers.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-logger.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message-headers.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message-metrics.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-method.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-multipart.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-multipart-input-stream.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-session.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-session-feature.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-status.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-tld.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-types.h" "C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-uri-utils.h"
--- stderr ---
usage: meson [-h]
             {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,reprotest,format,fmt,help} ...
meson: error: unrecognized arguments: --template C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-enum-types.h.template C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/auth/soup-auth.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/auth/soup-auth-manager.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cache/soup-cache.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/content-decoder/soup-content-decoder.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/content-sniffer/soup-content-sniffer.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar-db.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/cookies/soup-cookie-jar-text.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-enforcer.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-enforcer-db.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/hsts/soup-hsts-policy.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain-basic.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-auth-domain-digest.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-message-body.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-server.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/server/soup-server-message.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-connection.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension-deflate.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/websocket/soup-websocket-extension-manager.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-date-utils.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-form.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-headers.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-logger.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message-headers.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-message-metrics.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-method.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-multipart.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-multipart-input-stream.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-session.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-session-feature.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-status.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-tld.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-types.h C:/Data/Projects/strawberry/msvc_/build_release/libsoup-3.6.0/build/../libsoup/soup-uri-utils.h

ninja: build stopped: subcommand failed.

@dabrain34
Copy link
Contributor

I can experience the same issue building GStreamer.

@dabrain34
Copy link
Contributor

Seems that the issue is the use of glib 2.82.2

@xclaesse
Copy link
Member

while executing ['C:\\Meson\\meson.exe', 'c:/strawberry_msvc_x86_64_release/bin/glib-mkenums', why does it have meson.exe there, that's the problem...

@xclaesse
Copy link
Member

Program c:/strawberry_msvc_x86_64_release/bin/glib-mkenums found: YES (C:\Program Files\Meson\meson.exe c:/strawberry_msvc_x86_64_release/bin\glib-mkenums)

That's wrong...

@nirbheek
Copy link
Member

Yeah it should be meson.exe runpython

@nirbheek nirbheek added this to the 1.6.1 milestone Oct 29, 2024
@nirbheek nirbheek added OS:windows Winodows OS specific issues regression labels Oct 29, 2024
@dabrain34
Copy link
Contributor

Reverting this patch https://gitlab.gnome.org/GNOME/glib/-/commit/013980d8398b1010c0e3414e5d1f06030fa557d2 in glib makes it work.

@dabrain34
Copy link
Contributor

@dabrain34
Copy link
Contributor

dabrain34 commented Oct 30, 2024

I installed meson with pip instead of the meson installer MSI and it works now.

$ python -m pip install meson

Here is the configure of glib:
Program glib-mkenums found: YES (C:\Users\scerveau\AppData\Local\Programs\Python\Python312\python.exe C:\Users\scerveau\Documents\DEV\glib\builddir\gobject\glib-mkenums)

dabrain34 added a commit to dabrain34/meson that referenced this issue Oct 30, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but full_command.

Fixing mesonbuild#13834
dabrain34 added a commit to dabrain34/meson that referenced this issue Oct 30, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but full_command.

Fixing mesonbuild#13834
dabrain34 added a commit to dabrain34/meson that referenced this issue Oct 30, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but full_command.

Fixing mesonbuild#13834
dabrain34 added a commit to dabrain34/meson that referenced this issue Oct 31, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but full_command.

Fixing mesonbuild#13834
dabrain34 added a commit to dabrain34/meson that referenced this issue Oct 31, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but cmd_array.

Fixing mesonbuild#13834
dabrain34 added a commit to dabrain34/meson that referenced this issue Oct 31, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but cmd_array.

Fixing mesonbuild#13834
@lb90
Copy link
Contributor

lb90 commented Nov 1, 2024

This seems to be a duplicate of #13804

dabrain34 added a commit to dabrain34/meson that referenced this issue Nov 4, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but cmd_array.

Fixing mesonbuild#13834
dabrain34 added a commit to dabrain34/meson that referenced this issue Nov 6, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but cmd_array.

Fixing mesonbuild#13834
dabrain34 added a commit to dabrain34/meson that referenced this issue Nov 6, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but cmd_array.

Fixing mesonbuild#13834
dabrain34 added a commit to dabrain34/meson that referenced this issue Nov 7, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but cmd_array.

Fixing mesonbuild#13834
@eli-schwartz
Copy link
Member

This isn't a regression as meson hasn't ever done anything different here -- glib changed something and that change only worked on unix (but failed again on unix if someone built their own PyInstaller distribution of meson).

dabrain34 added a commit to dabrain34/meson that referenced this issue Nov 13, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but cmd_array.

Fixing mesonbuild#13834
dabrain34 added a commit to dabrain34/meson that referenced this issue Nov 13, 2024
In case of python and especially in the case of pyInstaller
where the python command is meson.exe runpython, it should
not be full path to be used but cmd_array.

Fixing mesonbuild#13834
@eli-schwartz eli-schwartz removed this from the 1.6.1 milestone Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS:windows Winodows OS specific issues
Projects
None yet
Development

No branches or pull requests

6 participants