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

[bug] Dependency 'intl' not found during build of glib/2.78.3 in conan #24227

Open
ScarletEmanu opened this issue Jun 5, 2024 · 5 comments
Open
Assignees

Comments

@ScarletEmanu
Copy link

Describe the bug

OS: Windows 10
Compiler: mingw 13.2
Conan: v 2.3.2

Mingw and Conan were installed through Chocolatey.

Conan profile (output of conan profile show:

Host profile:
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.threads=posix
compiler.version=13.2
os=Windows
[conf]
tools.build:compiler_executables={'c': 'C:\\ProgramData\\mingw64\\mingw64\\bin\\gcc.exe', 'cpp': 'C:\\ProgramData\\mingw64\\mingw64\\bin\\g++.exe'}
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:powershell=False

Build profile:
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.threads=posix
compiler.version=13.2
os=Windows
[conf]
tools.build:compiler_executables={'c': 'C:\\ProgramData\\mingw64\\mingw64\\bin\\gcc.exe', 'cpp': 'C:\\ProgramData\\mingw64\\mingw64\\bin\\g++.exe'}
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:powershell=False

Output of command conan install . -of build-Conan -b missing:

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.threads=posix
compiler.version=13.2
os=Windows
[conf]
tools.build:compiler_executables={'c': 'C:\\ProgramData\\mingw64\\mingw64\\bin\\gcc.exe', 'cpp': 'C:\\ProgramData\\mingw64\\mingw64\\bin\\g++.exe'}
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:powershell=False

Profile build:
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.threads=posix
compiler.version=13.2
os=Windows
[conf]
tools.build:compiler_executables={'c': 'C:\\ProgramData\\mingw64\\mingw64\\bin\\gcc.exe', 'cpp': 'C:\\ProgramData\\mingw64\\mingw64\\bin\\g++.exe'}
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:powershell=False


======== Computing dependency graph ========
Graph root
    conanfile.txt: c:\Users\archi\progetti_C++\QtTunes_with_conan\conanfile.txt
Requirements
    brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519 - Cache
    bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache
    double-conversion/3.3.0#33321c201741cc32b51169c6d2d05e60 - Cache
    freetype/2.13.2#7934d59c447d72edcd56025dc60e1aeb - Cache
    glib/2.78.3#0cd1865c8603d90b3bc5858065e16d01 - Cache
    harfbuzz/8.3.0#c83405ed297bad6c9e9587e2a19c686a - Cache
    libelf/0.8.13#4f70a3555809ae50cc8add44f0f84288 - Cache
    libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff - Cache
    libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000 - Cache
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache
    libpng/1.6.42#fdba4ebf89df3c55d6db0145a2a66a24 - Cache
    libpq/15.4#cbae5e1ee85bd5e959e039e00307e8b1 - Cache
    md4c/0.4.8#9b5da52e0c0b803bb0d1a4b9fdfe10b1 - Cache
    openssl/3.2.1#c7b554068caae5eda12b735ea6f23d70 - Cache
    pcre2/10.42#a7a2c122056510509a7525c83d6a6695 - Cache
    qt/6.7.1#00594bbd5515a248a8280ee2b3b62b91 - Cache
    sqlite3/3.45.0#3a7911478ffd14e7acc694ac113449b6 - Cache
    taglib/2.0#ba77d110ddd02577d34031c43042f50e - Cache
    utfcpp/4.0.4#6d93b29490c5cba2a9b4c06ae0c89cfd - Cache
    zlib/1.2.11#fca992a7d96a1b92bd956caa8a97d18f - Cache
Build requirements
    bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache
    cmake/3.22.6#32cced101c6df0fab43e8d00bd2483eb - Cache
    glib/2.78.3#0cd1865c8603d90b3bc5858065e16d01 - Cache
    libelf/0.8.13#4f70a3555809ae50cc8add44f0f84288 - Cache
    libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff - Cache
    libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000 - Cache
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache
    meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19 - Cache
    meson/1.3.2#d1125ba555ec1a94f165a3412fdf7f88 - Cache
    meson/1.4.0#024dfac41ea5570cb1aec3ea6fe34d0a - Cache
    msys2/cci.latest#5a31efa2bde593541fd5ac3bcc50c01c - Cache
    nasm/2.15.05#058c93b2214a49ca1cfe9f8f26205568 - Cache
    ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Cache
    pcre2/10.42#a7a2c122056510509a7525c83d6a6695 - Cache
    pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b - Cache
    pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Cache
    strawberryperl/5.32.1.1#707032463aa0620fa17ec0d887f5fe41 - Cache
    zlib/1.2.11#fca992a7d96a1b92bd956caa8a97d18f - Cache
Resolved version ranges
    cmake/[>=3.21.1 <4]: cmake/3.22.6
    openssl/[>=1.1 <4]: openssl/3.2.1
    zlib/[>=1.2.11 <2]: zlib/1.2.11

======== Computing necessary packages ========
harfbuzz/8.3.0: Compatible package ID 138488979e789b7db3e7cc2e26105243a1985a82 equal to the default package ID: Skipping it.
harfbuzz/8.3.0: Checking 11 compatible configurations
harfbuzz/8.3.0: Compatible configurations not found in cache, checking servers
harfbuzz/8.3.0: '00d6d38385982a38b144555adf1296aab71ccc14': compiler.cppstd=98
harfbuzz/8.3.0: '2e1bd49fa16815cae82be9fbcba8e1023e318934': compiler.cppstd=gnu98
harfbuzz/8.3.0: '906796f704ea975591e5716379bbbd70afdfd932': compiler.cppstd=11
harfbuzz/8.3.0: '85dcd05034e8f727babf5cffb40aef5c6bb698c7': compiler.cppstd=gnu11
harfbuzz/8.3.0: '5d0058611207e238012dd6dac1b422cc87aa1f7e': compiler.cppstd=14
harfbuzz/8.3.0: '8693237c2d355638fa15f710a3be0ffdcfe9bae5': compiler.cppstd=gnu14
harfbuzz/8.3.0: '30aee65bd8054fe36621bdb671d1a77624ff51c5': compiler.cppstd=17
harfbuzz/8.3.0: 'ba2dc23bc11d78799badaffc1675378d169be241': compiler.cppstd=20
harfbuzz/8.3.0: '13def55065321190985738cf3b80939958afb919': compiler.cppstd=gnu20
harfbuzz/8.3.0: 'c38299b8c591eee2b81c98b5b9e2d6e32cdaf484': compiler.cppstd=23
harfbuzz/8.3.0: 'b56c0051fedb6b16b734f06dad23309f85c57f14': compiler.cppstd=gnu23
qt/6.7.1: Compatible package ID 0374d974fb6682c02af819dff529df52312ef2d9 equal to the default package ID: Skipping it.
qt/6.7.1: Checking 5 compatible configurations
qt/6.7.1: Compatible configurations not found in cache, checking servers
qt/6.7.1: '4113bd81474d45ab5d7355033da29ffcd9368933': compiler.cppstd=17
qt/6.7.1: 'bcb5f633cf98f4706a8e56c5b085edc6b3d764d1': compiler.cppstd=20
qt/6.7.1: 'aa5f69e233dc60a0b17c6a6a8c6708615a289b86': compiler.cppstd=gnu20
qt/6.7.1: '71559d4d5ead9f05be205eb487c98050e73ebc4a': compiler.cppstd=23
qt/6.7.1: '3dc92cf3f68e4d475dc393693cada5a230ff8aaa': compiler.cppstd=gnu23
Requirements
    brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519:857481b815228f7964a50880572320640a8d2bf8#42fa71c657337504712b74b095cd4edb - Cache
    bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:643f47bf2b0ac201787b19f66b3478ebc395a7dc#cb052b6628b8ffc0114ab8341175bb16 - Cache
    double-conversion/3.3.0#33321c201741cc32b51169c6d2d05e60:39fce58034cd6ae57e3c33dd133a4762e85c7c87#dc20d42f63e20c83711322237a281250 - Cache
    freetype/2.13.2#7934d59c447d72edcd56025dc60e1aeb:736ec70600fdc622c3ac0fb178c529c1556f8888#a276fe63c3ab16835ea50a55317eaa68 - Cache
    glib/2.78.3#0cd1865c8603d90b3bc5858065e16d01:b93f49b9bfdf096a8fda2587bcd69a9acdb00864 - Build
    harfbuzz/8.3.0#c83405ed297bad6c9e9587e2a19c686a:138488979e789b7db3e7cc2e26105243a1985a82 - Build
    libelf/0.8.13#4f70a3555809ae50cc8add44f0f84288:5b8f1a4dc10352dee8f66781663d77a40553a8c8#dfa65cb208988c2614f0f154c511538c - Cache
    libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff:5b8f1a4dc10352dee8f66781663d77a40553a8c8#cd65b570a916828e79101f4b379ebfc2 - Cache
    libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000:7ac8df783f9fadc06551869559d8137f05252f67#5a25bc78703c0e7ea5b6789fd95192ae - Cache
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:5b8f1a4dc10352dee8f66781663d77a40553a8c8#e742fb517991da913958edc32a8c69eb - Cache
    libpng/1.6.42#fdba4ebf89df3c55d6db0145a2a66a24:a1611150296c742e882a3e6f1fc8b21f0ee05bd8#6064f809ef30d2e3f5430536ba2d1c8b - Cache
    libpq/15.4#cbae5e1ee85bd5e959e039e00307e8b1:94ffb61e660b69daeffb58f7b081a9aa91d0ed51#ca877ed8afe4434d06158d74a8106ff8 - Cache
    md4c/0.4.8#9b5da52e0c0b803bb0d1a4b9fdfe10b1:e54bab8c3f214357ec32047ba10cd57b8c7c38c7#c05b50d9f3c6866b38ca701d3eecfb78 - Cache
    openssl/3.2.1#c7b554068caae5eda12b735ea6f23d70:a4c86069a928facd0abfaf24a948e39a4b6e08dc#1314063ae77c9073f0722f4a409990af - Cache
    pcre2/10.42#a7a2c122056510509a7525c83d6a6695:1df9ed9f6a86c7353af30e970b0e57b903a41ba1#88fd60f5a4ffb1b2765d0df4d02c5892 - Cache
    qt/6.7.1#00594bbd5515a248a8280ee2b3b62b91:0374d974fb6682c02af819dff529df52312ef2d9 - Build
    sqlite3/3.45.0#3a7911478ffd14e7acc694ac113449b6:c163f076469e582ebb20427c7e986029fd6c2ea8#76302d6919e088f0c75af5c65dc3b541 - Cache
    taglib/2.0#ba77d110ddd02577d34031c43042f50e:535e03d6e2668df5e5216b81ad9b99393c6232c4#9ff52c395ed9981d6e9f559fe51afad0 - Cache
    zlib/1.2.11#fca992a7d96a1b92bd956caa8a97d18f:5b8f1a4dc10352dee8f66781663d77a40553a8c8#8c61b577ebd261728c2e7b9387f62bcb - Cache
Build requirements
    bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:643f47bf2b0ac201787b19f66b3478ebc395a7dc#cb052b6628b8ffc0114ab8341175bb16 - Cache
    cmake/3.22.6#32cced101c6df0fab43e8d00bd2483eb:522dcea5982a3f8a5b624c16477e47195da2f84f#a9d024f459972755e5a815b775408fff - Cache
    glib/2.78.3#0cd1865c8603d90b3bc5858065e16d01:b93f49b9bfdf096a8fda2587bcd69a9acdb00864 - Build
    libelf/0.8.13#4f70a3555809ae50cc8add44f0f84288:5b8f1a4dc10352dee8f66781663d77a40553a8c8#dfa65cb208988c2614f0f154c511538c - Cache
    libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff:5b8f1a4dc10352dee8f66781663d77a40553a8c8#cd65b570a916828e79101f4b379ebfc2 - Cache
    libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000:7ac8df783f9fadc06551869559d8137f05252f67#5a25bc78703c0e7ea5b6789fd95192ae - Cache
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:5b8f1a4dc10352dee8f66781663d77a40553a8c8#e742fb517991da913958edc32a8c69eb - Cache
    meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19:da39a3ee5e6b4b0d3255bfef95601890afd80709#97f4a23dd2d942f83e5344b1ca496ce7 - Cache
    meson/1.4.0#024dfac41ea5570cb1aec3ea6fe34d0a:da39a3ee5e6b4b0d3255bfef95601890afd80709#91b870cdcf4edb1a302a2ef7a0514791 - Cache
    ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21:e87e09fb175a1b4a35981cd53c3cf142cb86410f#f076017c46f1d8838063911fbb90ebd2 - Cache
    pcre2/10.42#a7a2c122056510509a7525c83d6a6695:1df9ed9f6a86c7353af30e970b0e57b903a41ba1#88fd60f5a4ffb1b2765d0df4d02c5892 - Cache
    pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b:91420cb861614b87d9309a761373a2bdb8bb7530#8c4104decf6c23216a97a69231a642ba - Cache
    pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605:91420cb861614b87d9309a761373a2bdb8bb7530#5f3dad3a296c573c2ab19ca0af2e42dc - Cache
    strawberryperl/5.32.1.1#707032463aa0620fa17ec0d887f5fe41:522dcea5982a3f8a5b624c16477e47195da2f84f#a365b3810f698e2f0a00fbeece022903 - Cache
    zlib/1.2.11#fca992a7d96a1b92bd956caa8a97d18f:5b8f1a4dc10352dee8f66781663d77a40553a8c8#8c61b577ebd261728c2e7b9387f62bcb - Cache
Skipped binaries
    utfcpp/4.0.4, meson/1.3.2, msys2/cci.latest, nasm/2.15.05

======== Installing packages ========
brotli/1.1.0: Already installed! (1 of 26)
bzip2/1.0.8: Already installed! (2 of 26)
cmake/3.22.6: Already installed! (3 of 26)
cmake/3.22.6: Appending PATH environment variable: C:\Users\archi\.conan2\p\cmake1927748c2604b\p\bin
double-conversion/3.3.0: Already installed! (4 of 26)
libelf/0.8.13: Already installed! (5 of 26)
md4c/0.4.8: Already installed! (6 of 26)
ninja/1.11.1: Already installed! (7 of 26)
sqlite3/3.45.0: Already installed! (8 of 26)
strawberryperl/5.32.1.1: Already installed! (9 of 26)
zlib/1.2.11: Already installed! (10 of 26)
libffi/3.4.4: Already installed! (11 of 26)
libiconv/1.17: Already installed! (12 of 26)
libpq/15.4: Already installed! (13 of 26)
pkgconf/2.0.3: Already installed! (14 of 26)
pkgconf/2.0.3: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
pkgconf/2.0.3: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
pkgconf/2.1.0: Already installed! (15 of 26)
pkgconf/2.1.0: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
pkgconf/2.1.0: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
libpng/1.6.42: Already installed! (16 of 26)
meson/1.2.2: Already installed! (17 of 26)
meson/1.4.0: Already installed! (18 of 26)
pcre2/10.42: Already installed! (19 of 26)
pcre2/10.42: Appending PATH environment variable: C:\Users\archi\.conan2\p\b\pcre261303d0d63c70\p\bin
pcre2/10.42: Appending PATH environment variable: C:\Users\archi\.conan2\p\b\pcre261303d0d63c70\p\bin
taglib/2.0: Already installed! (20 of 26)
libgettext/0.22: Already installed! (21 of 26)
openssl/3.2.1: Already installed! (22 of 26)
freetype/2.13.2: Already installed! (23 of 26)

-------- Installing package glib/2.78.3 (24 of 26) --------
glib/2.78.3: Building from source
glib/2.78.3: Package glib/2.78.3:b93f49b9bfdf096a8fda2587bcd69a9acdb00864
glib/2.78.3: Copying sources to build folder
glib/2.78.3: Building your package in C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b
glib/2.78.3: Calling generate()
glib/2.78.3: Generators folder: C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\build-debug\conan
glib/2.78.3: Generating aggregated env files
glib/2.78.3: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
glib/2.78.3: Calling build()
glib/2.78.3: apply_conandata_patches(): No patches defined in conandata
glib/2.78.3: Meson configure cmd: meson setup --native-file "C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\build-debug\conan\conan_meson_native.ini" "C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\build-debug" "C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\src" --prefix=/
glib/2.78.3: RUN: meson setup --native-file "C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\build-debug\conan\conan_meson_native.ini" "C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\build-debug" "C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\src" --prefix=/
The Meson build system
Version: 1.2.2
Source dir: C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\src
Build dir: C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\build-debug
Build type: native build
Project name: glib
Project version: 2.78.3
C compiler for the host machine: C:\ProgramData\mingw64\mingw64\bin\gcc.exe (gcc 13.2.0 "gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-Builds project) 13.2.0")
C linker for the host machine: C:\ProgramData\mingw64\mingw64\bin\gcc.exe ld.bfd 2.39
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -std=c90: YES 
Compiler for C supports arguments -std=c99: YES 
Compiler for C supports arguments -std=c11: YES 
Compiler for C supports arguments -std=c17: YES 
C++ compiler for the host machine: C:\ProgramData\mingw64\mingw64\bin\g++.exe (gcc 13.2.0 "g++.exe (x86_64-posix-seh-rev0, Built by MinGW-Builds project) 13.2.0")
C++ linker for the host machine: C:\ProgramData\mingw64\mingw64\bin\g++.exe ld.bfd 2.39
Compiler for C++ supports arguments -std=c++98: YES 
Compiler for C++ supports arguments -std=c++03: YES 
Compiler for C++ supports arguments -std=c++11: YES 
Compiler for C++ supports arguments -std=c++14: YES 
Compiler for C++ supports arguments -std=c++17: YES 
Compiler for C++ supports arguments -std=c++20: YES 
Compiler for C++ supports arguments -std=c++2b: YES 
Compiler for C++ supports arguments -std=c++latest: NO 
Program valgrind found: NO
Compiler for C supports arguments -fno-strict-aliasing: YES 
Message: Enabling various debug infrastructure
Has header "alloca.h" : NO 
Has header "afunix.h" : YES 
Has header "crt_externs.h" : NO 
Has header "dirent.h" : YES 
Has header "float.h" : YES 
Has header "fstab.h" : NO 
Has header "grp.h" : NO 
Has header "inttypes.h" : YES 
Has header "limits.h" : YES 
Has header "locale.h" : YES 
Has header "mach/mach_time.h" : NO 
Has header "memory.h" : YES 
Has header "mntent.h" : NO 
Has header "poll.h" : NO 
Has header "pwd.h" : NO 
Has header "sched.h" : YES 
Has header "spawn.h" : NO 
Has header "stdatomic.h" : YES 
Has header "stdint.h" : YES 
Has header "stdlib.h" : YES 
Has header "string.h" : YES 
Has header "strings.h" : YES 
Has header "sys/auxv.h" : NO 
Has header "sys/event.h" : NO 
Has header "sys/filio.h" : NO 
Has header "sys/inotify.h" : NO 
Has header "sys/mkdev.h" : NO 
Has header "sys/mntctl.h" : NO 
Has header "sys/mnttab.h" : NO 
Has header "sys/mount.h" : NO 
Has header "sys/param.h" : YES 
Has header "sys/prctl.h" : NO 
Has header "sys/resource.h" : NO 
Has header "sys/select.h" : NO 
Has header "sys/statfs.h" : NO 
Has header "sys/stat.h" : YES 
Has header "sys/statvfs.h" : NO 
Has header "sys/sysctl.h" : NO 
Has header "sys/time.h" : YES 
Has header "sys/times.h" : NO 
Has header "sys/types.h" : YES 
Has header "sys/uio.h" : NO 
Has header "sys/vfs.h" : NO 
Has header "sys/vfstab.h" : NO 
Has header "sys/vmount.h" : NO 
Has header "sys/wait.h" : NO 
Has header "termios.h" : NO 
Has header "unistd.h" : YES 
Has header "values.h" : NO 
Has header "wchar.h" : YES 
Has header "xlocale.h" : NO 
Check usable header "malloc.h" : YES 
Check usable header "linux/netlink.h" : NO 
Checking if "statx() test" compiles: NO 
Header "locale.h" has symbol "LC_MESSAGES" : NO 
Checking whether type "struct stat" has member "st_mtimensec" : NO 
Checking whether type "struct stat" has member "st_mtim.tv_nsec" : NO 
Checking whether type "struct stat" has member "st_atimensec" : NO 
Checking whether type "struct stat" has member "st_atim.tv_nsec" : NO 
Checking whether type "struct stat" has member "st_ctimensec" : NO 
Checking whether type "struct stat" has member "st_ctim.tv_nsec" : NO 
Checking whether type "struct stat" has member "st_birthtime" : NO 
Checking whether type "struct stat" has member "st_birthtimensec" : NO 
Checking whether type "struct stat" has member "st_birthtim" : NO 
Checking whether type "struct stat" has member "st_birthtim.tv_nsec" : NO 
Checking whether type "struct stat" has member "st_blksize" : NO 
Checking whether type "struct stat" has member "st_blocks" : NO 
Checking whether type "struct statfs" has member "f_fstypename" : NO 
Checking whether type "struct statfs" has member "f_bavail" : NO 
Checking whether type "struct dirent" has member "d_type" : NO 
Checking whether type "struct statvfs" has member "f_basetype" : NO 
Checking whether type "struct statvfs" has member "f_fstypename" : NO 
Checking whether type "struct tm" has member "tm_gmtoff" : NO 
Checking whether type "struct tm" has member "__tm_gmtoff" : NO 
Compiler for C supports arguments -Wduplicated-branches: YES 
Compiler for C supports arguments -Wimplicit-fallthrough: YES 
Compiler for C supports arguments -Wmisleading-indentation: YES 
Compiler for C supports arguments -Wmissing-field-initializers: YES 
Compiler for C supports arguments -Wnonnull: YES 
Compiler for C supports arguments -Wunused: YES 
Compiler for C supports arguments -Wno-unused-parameter: YES 
Compiler for C supports arguments -Wno-cast-function-type: YES 
Compiler for C supports arguments -Wno-pedantic: YES 
Compiler for C supports arguments -Wno-format-zero-length: YES 
Compiler for C supports arguments -Wno-variadic-macros: YES 
Compiler for C supports arguments -Werror=format=2: YES 
Compiler for C supports arguments -Werror=init-self: YES 
Compiler for C supports arguments -Werror=missing-include-dirs: YES 
Compiler for C supports arguments -Werror=pointer-arith: YES 
Compiler for C supports arguments -Werror=unused-result: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wno-bad-function-cast: YES 
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Werror=missing-prototypes: YES 
Compiler for C supports arguments -Werror=pointer-sign: YES 
Compiler for C supports arguments -Wno-string-plus-int: NO 
Compiler for C++ supports arguments -Wduplicated-branches: YES 
Compiler for C++ supports arguments -Wimplicit-fallthrough: YES 
Compiler for C++ supports arguments -Wmisleading-indentation: YES 
Compiler for C++ supports arguments -Wmissing-field-initializers: YES 
Compiler for C++ supports arguments -Wnonnull: YES 
Compiler for C++ supports arguments -Wunused: YES 
Compiler for C++ supports arguments -Wno-unused-parameter: YES 
Compiler for C++ supports arguments -Wno-cast-function-type: YES 
Compiler for C++ supports arguments -Wno-pedantic: YES 
Compiler for C++ supports arguments -Wno-format-zero-length: YES 
Compiler for C++ supports arguments -Wno-variadic-macros: YES 
Compiler for C++ supports arguments -Werror=format=2: YES 
Compiler for C++ supports arguments -Werror=init-self: YES 
Compiler for C++ supports arguments -Werror=missing-include-dirs: YES 
Compiler for C++ supports arguments -Werror=pointer-arith: YES 
Compiler for C++ supports arguments -Werror=unused-result: YES 
Compiler for C supports link arguments -Wl,-z,nodelete: NO 
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES 
Checking if "building for UWP" compiles: NO 
Library iphlpapi found: YES
Checking for function "if_nametoindex" with dependency -liphlpapi: YES 
Checking for function "if_indextoname" with dependency -liphlpapi: YES 
Checking for function "accept4" : NO 
Checking for function "close_range" : NO 
Checking for function "copy_file_range" : NO 
Checking for function "endmntent" : NO 
Checking for function "endservent" : NO 
Checking for function "epoll_create" : NO 
Checking for function "fallocate" : NO 
Checking for function "fchmod" : NO 
Checking for function "fchown" : NO 
Checking for function "fdwalk" : NO 
Checking for function "free_aligned_sized" : NO 
Checking for function "free_sized" : NO 
Checking for function "fsync" : NO 
Checking for function "getauxval" : NO 
Checking for function "getc_unlocked" : NO 
Checking for function "getfsstat" : NO 
Checking for function "getgrgid_r" : NO 
Checking for function "getmntent_r" : NO 
Checking for function "getpwuid_r" : NO 
Checking for function "getresuid" : NO 
Checking for function "getvfsstat" : NO 
Checking for function "gmtime_r" : NO 
Checking for function "hasmntopt" : NO 
Checking for function "inotify_init1" : NO 
Checking for function "issetugid" : NO 
Checking for function "kevent" : NO 
Checking for function "kqueue" : NO 
Checking for function "lchmod" : NO 
Checking for function "lchown" : NO 
Checking for function "link" : NO 
Checking for function "localtime_r" : NO 
Checking for function "lstat" : NO 
Checking for function "mbrtowc" : YES 
Checking for function "memalign" : NO 
Checking for function "mmap" : NO 
Checking for function "newlocale" : NO 
Checking for function "pipe2" : NO 
Checking for function "poll" : NO 
Checking for function "prlimit" : NO 
Checking for function "readlink" : NO 
Checking for function "recvmmsg" : NO 
Checking for function "sendmmsg" : NO 
Checking for function "setenv" : NO 
Checking for function "setmntent" : NO 
Checking for function "strerror_r" : NO 
Checking for function "strnlen" : YES 
Checking for function "strsignal" : NO 
Checking for function "strtod_l" : NO 
Checking for function "strtoll_l" : NO 
Checking for function "strtoull_l" : NO 
Checking for function "symlink" : NO 
Checking for function "timegm" : NO 
Checking for function "unsetenv" : NO 
Checking for function "uselocale" : NO 
Checking for function "utimes" : NO 
Checking for function "utimensat" : NO 
Checking for function "valloc" : NO 
Checking for function "vasprintf" : YES 
Checking for function "vsnprintf" : YES 
Checking for function "wcrtomb" : YES 
Checking for function "wcslen" : YES 
Checking for function "wcsnlen" : YES 
Checking for function "sysctlbyname" : NO 
Checking for function "splice" : NO 
Checking for function "stpcpy" : NO 
Checking for function "memalign" : NO 
Checking if "getservbyname_r()" compiles: NO 
Checking for function "_aligned_malloc" : YES 
Checking for function "posix_spawn" : NO 
Checking for function "snprintf" : YES 
Checking for function "strcasecmp" : YES 
Checking for function "strncasecmp" : YES 
Header "sys/sysmacros.h" has symbol "major" : NO 
Header "sys/mkdev.h" has symbol "major" : NO 
Header "sys/types.h" has symbol "major" : NO 
Header "dlfcn.h" has symbol "RTLD_LAZY" : NO 
Header "dlfcn.h" has symbol "RTLD_NOW" : NO 
Header "dlfcn.h" has symbol "RTLD_GLOBAL" : NO 
Header "dlfcn.h" has symbol "RTLD_NEXT" : NO 
Checking for type "loff_t" : NO 
Message: Checking whether to use statfs or statvfs .. neither
Checking if "futex(2) system call" compiles: NO 
Checking if "futex(2) system call" compiles: NO 
Checking if "eventfd(2) system call" : links: NO 
Checking if "pidfd_open(2) system call" : links: NO 
Checking if "__uint128_t available" compiles: YES 
Checking if "clock_gettime" : links: YES 
Checking if "dlopen() and dlsym() in system libraries" : links: NO 
Checking if "dlopen() and dlsym() in libdl" : links: NO 
Checking if "open() option O_DIRECTORY" compiles: NO 
Checking if "fcntl() option F_FULLFSYNC" compiles: NO 
Checking if "C99 vsnprintf" runs: YES
Checking if "C99 snprintf" runs: YES
Checking if "Unix98 printf positional parameters" runs: NO (1)
Checking if "nl_langinfo and CODESET" : links: NO 
Checking if "nl_langinfo (PM_STR)" : links: NO 
Checking if "nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)" : links: NO 
Checking if "nl_langinfo (ALTMON_n)" : links: NO 
Checking if "nl_langinfo (_NL_ABALTMON_n)" : links: NO 
Checking if "nl_langinfo and _NL_TIME_CODESET" : links: NO 
Checking if "signed" compiles: YES 
Header "stddef.h" has symbol "ptrdiff_t" : YES 
Checking if "sig_atomic_t" : links: YES 
Checking if "long long" compiles: YES 
Checking if "long double" compiles: YES 
Header "stddef.h" has symbol "wchar_t" : YES 
Header "wchar.h" has symbol "wint_t" : YES 
Checking if "uintmax_t in inttypes.h" compiles: YES 
Checking if "uintmax_t in stdint.h" compiles: YES 
Checking for size of "char" : 1 
Checking for size of "short" : 2 
Checking for size of "int" : 4 
Checking for size of "void*" : 8 
Checking for size of "long" : 4 
Checking for size of "long long" : 8 
Checking for size of "size_t" : 8 
Checking for size of "ssize_t" : 8 
Checking for alignment of "char" : 1 
Checking for alignment of "short" : 2 
Checking for alignment of "int" : 4 
Checking for alignment of "void*" : 8 
Checking for alignment of "long" : 4 
Checking for alignment of "long long" : 8 
Checking for alignment of "size_t" : 8 
Checking for size of "wchar_t" : 2 
Checking if "GCC size_t typedef is long long" compiles: YES 
Checking if "va_lists can be copied as values" runs: YES
Checking if "ISO C99 varargs macros in C" compiles: YES 
Checking if "ISO C99 varargs macros in C++" compiles: YES 
Checking if "GNUC varargs macros" compiles: YES 
Has header "alloca.h" : NO (cached)
Has header "sys/poll.h" : NO 
Has header "sys/types.h" : YES (cached)
Has header "winsock2.h" : YES 
Computing int of "AF_UNIX" : 1
Computing int of "AF_INET" : 2
Computing int of "AF_INET6" : 23
Computing int of "MSG_OOB" : 1
Computing int of "MSG_PEEK" : 2
Computing int of "MSG_DONTROUTE" : 4
Checking if "atomic ops" : links: YES 
Checking if "atomic ops define" compiles: YES 
Checking if "sync swap" : links: NO 
Checking if "stack grows check" runs: NO (1)
Found pkg-config: C:/Users/archi/.conan2/p/b/pkgco8b51f4eebe560/p/bin/pkgconf.exe (2.0.3)
Run-time dependency libpcre2-8 found: YES 10.42
Checking if "Windows system PCRE2 is a static build" with dependency libpcre2-8: links: YES 

Executing subproject gvdb 

gvdb| Project name: gvdb
gvdb| Project version: 0.0
gvdb| C compiler for the host machine: C:\ProgramData\mingw64\mingw64\bin\gcc.exe (gcc 13.2.0 "gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-Builds project) 13.2.0")
gvdb| C linker for the host machine: C:\ProgramData\mingw64\mingw64\bin\gcc.exe ld.bfd 2.39
gvdb| Build targets in project: 0
gvdb| Subproject gvdb finished.

Dependency gvdb found: YES 0.0 (overridden)
Library m found: YES
Run-time dependency libffi found: YES 3.4.4
Run-time dependency zlib found: YES 1.2.11
Run-time dependency libgettext found: YES 0.22
Checking for function "ngettext" with dependency libgettext: NO 
Library iconv found: YES
Checking for function "ngettext" with dependencies libgettext, -liconv: NO 
Library pthread found: YES
Checking for function "ngettext" with dependencies libgettext, -lpthread: NO 
Run-time dependency intl found: NO (tried builtin and system)
Not looking for a fallback subproject for the dependency intl because:
Use of fallback dependencies is disabled.

..\src\meson.build:2171:12: ERROR: Dependency 'intl' is required but not found.

A full log can be found at C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\build-debug\meson-logs\meson-log.txt

glib/2.78.3: ERROR: 
Package 'b93f49b9bfdf096a8fda2587bcd69a9acdb00864' build failed
glib/2.78.3: WARN: Build folder C:\Users\archi\.conan2\p\b\glib6ecdf5f77f1b4\b\build-debug
ERROR: glib/2.78.3: Error in build() method, line 136
	meson.configure()
	ConanException: Error 1 while executing

How to reproduce it

No response

@franramirez688
Copy link
Contributor

Hi @ScarletEmanu

This looks like a bug in the recipe itself (recipe or even the code upstream). Let me transfer it to conan-center-index repository.

@franramirez688 franramirez688 transferred this issue from conan-io/conan Jun 5, 2024
@memsharded memsharded self-assigned this Jun 5, 2024
@memsharded
Copy link
Member

Also, as a comment: ConanCenter builds and tests packages with msvc in Windows, gcc and clang in Linux, etc. But not mingw in Windows. That means that support for mingw in ConanCenter recipes might be varying, and some packages or even some of the underlying libraries source code might not work correctly with mingw. In general, the recommended compiler in Windows would be msvc one.

The first recommended step would be to try first with the msvc compiler, and see if it works, that is good information to isolate the potential problem.

@ScarletEmanu
Copy link
Author

Thanks for advice @memsharded. Using msvc compiler, building of glib not failed.

@memsharded
Copy link
Member

Thanks for advice @memsharded. Using msvc compiler, building of glib not failed.

That is good feedback, thanks @ScarletEmanu

It seems the combo "glib recipe" + "meson" + "mingw for Windows" is not working fine, something to investigate.

@memsharded
Copy link
Member

Just to make sure, I have just ran:

  • conan new meson_lib -d name=mypkg -d version=0.1
  • Use the profile:
[settings]
os=Windows
build_type=Release
arch=x86_64
compiler=gcc
compiler.version=11
compiler.libcxx=libstdc++11
compiler.cppstd=17
compiler.threads=posix
compiler.exception=seh

[tool_requires]
pkgconf/[*]

[buildenv]
PATH+=(path)C:/ws/msys64/mingw64/bin
  • conan create . -pr=myprofile

And it seems to work fine, so at least the basic Conan + Meson + MinGW works

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

3 participants