В системе Debian 12 у меня есть файл conan, который вызывает сборку и установку множества подпакетов.
[requires]
libpq/15.4
libpqxx/7.8.1
pistache/cci.20240107
nlohmann_json/3.11.3
libzippp/7.1-1.10.1
poco/1.13.3
log4cplus/2.1.1
libxmlpp/5.2.0
[options]
libpq/15.4:with_openssl=True
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
Похоже, он находит 41 подпакет, в зависимости от них.
Среди них glib вызывает проблему и не собирает .
В очень длинном файле журнала, полученном этой командой, выдается:
BUILD_TYPE=Debug
CONAN_PRESET=conan_debug
CMAKE_PRESET=conan-debug
COMPILER_VERSION=gnu17
conan install . -b=missing -s compiler.cppstd=$COMPILER_VERSION --settings=build_type=$BUILD_TYPE --profile:build=$CONAN_PRESET
На каких важных моментах в большом журнале ниже мне нужно сосредоточиться?
[*]checking if "va_lists can be copied as values" runs: DID NOT COMPILE
[*]Found bash-completion but the .pc file did not set 'completionsdir', fallback to a predefined path
[*]или PermissionError: [Errno 13] Разрешение отклонено: '/share/glib-2.0/schemas' ?
Что они означают?
С уважением.
Вот весь журнал:
-------- Installing package glib/2.78.0 (36 of 41) --------
glib/2.78.0: Building from source
glib/2.78.0: Package glib/2.78.0:e5bb2dd537a55b6bcaac7f4fbd5f5329e321a7a3
glib/2.78.0: Copying sources to build folder
glib/2.78.0: Building your package in /home/dev/.conan2/p/b/glib6e1d77085930a/b
glib/2.78.0: Calling generate()
glib/2.78.0: Generators folder: /home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/conan
glib/2.78.0: Generating aggregated env files
glib/2.78.0: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
glib/2.78.0: Calling build()
glib/2.78.0: apply_conandata_patches(): No patches defined in conandata
glib/2.78.0: Meson configure cmd: meson setup --native-file "/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/conan/conan_meson_native.ini" "/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug" "/home/dev/.conan2/p/b/glib6e1d77085930a/b/src" --prefix=/
glib/2.78.0: RUN: meson setup --native-file "/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/conan/conan_meson_native.ini" "/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug" "/home/dev/.conan2/p/b/glib6e1d77085930a/b/src" --prefix=/
The Meson build system
Version: 1.2.2
Source dir: /home/dev/.conan2/p/b/glib6e1d77085930a/b/src
Build dir: /home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug
Build type: native build
Project name: glib
Project version: 2.78.0
C compiler for the host machine: gcc (gcc 12.2.0 "gcc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: gcc ld.bfd 2.40
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: g++ (gcc 12.2.0 "g++ (Debian 12.2.0-14) 12.2.0")
C++ linker for the host machine: g++ ld.bfd 2.40
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" : YES
Has header "afunix.h" : NO
Has header "crt_externs.h" : NO
Has header "dirent.h" : YES
Has header "float.h" : YES
Has header "fstab.h" : YES
Has header "grp.h" : YES
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" : YES
Has header "poll.h" : YES
Has header "pwd.h" : YES
Has header "sched.h" : YES
Has header "spawn.h" : YES
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" : YES
Has header "sys/event.h" : NO
Has header "sys/filio.h" : NO
Has header "sys/inotify.h" : YES
Has header "sys/mkdev.h" : NO
Has header "sys/mntctl.h" : NO
Has header "sys/mnttab.h" : NO
Has header "sys/mount.h" : YES
Has header "sys/param.h" : YES
Has header "sys/prctl.h" : YES
Has header "sys/resource.h" : YES
Has header "sys/select.h" : YES
Has header "sys/statfs.h" : YES
Has header "sys/stat.h" : YES
Has header "sys/statvfs.h" : YES
Has header "sys/sysctl.h" : NO
Has header "sys/time.h" : YES
Has header "sys/times.h" : YES
Has header "sys/types.h" : YES
Has header "sys/uio.h" : YES
Has header "sys/vfs.h" : YES
Has header "sys/vfstab.h" : NO
Has header "sys/vmount.h" : NO
Has header "sys/wait.h" : YES
Has header "termios.h" : YES
Has header "unistd.h" : YES
Has header "values.h" : YES
Has header "wchar.h" : YES
Has header "xlocale.h" : NO
Check usable header "malloc.h" : YES
Check usable header "linux/netlink.h" : YES
Checking if "statx() test" compiles: YES
Header "locale.h" has symbol "LC_MESSAGES" : YES
Checking whether type "struct stat" has member "st_mtimensec" : NO
Checking whether type "struct stat" has member "st_mtim.tv_nsec" : YES
Checking whether type "struct stat" has member "st_atimensec" : NO
Checking whether type "struct stat" has member "st_atim.tv_nsec" : YES
Checking whether type "struct stat" has member "st_ctimensec" : NO
Checking whether type "struct stat" has member "st_ctim.tv_nsec" : YES
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" : YES
Checking whether type "struct stat" has member "st_blocks" : YES
Checking whether type "struct statfs" has member "f_fstypename" : NO
Checking whether type "struct statfs" has member "f_bavail" : YES
Checking whether type "struct dirent" has member "d_type" : YES
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" : YES
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: YES
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES
Checking for function "accept4" : YES
Checking for function "close_range" : YES
Checking for function "copy_file_range" : YES
Checking for function "endmntent" : YES
Checking for function "endservent" : YES
Checking for function "epoll_create" : YES
Checking for function "fallocate" : YES
Checking for function "fchmod" : YES
Checking for function "fchown" : YES
Checking for function "fdwalk" : NO
Checking for function "free_aligned_sized" : NO
Checking for function "free_sized" : NO
Checking for function "fsync" : YES
Checking for function "getauxval" : YES
Checking for function "getc_unlocked" : YES
Checking for function "getfsstat" : NO
Checking for function "getgrgid_r" : YES
Checking for function "getmntent_r" : YES
Checking for function "getpwuid_r" : YES
Checking for function "getresuid" : YES
Checking for function "getvfsstat" : NO
Checking for function "gmtime_r" : YES
Checking for function "hasmntopt" : YES
Checking for function "inotify_init1" : YES
Checking for function "issetugid" : NO
Checking for function "kevent" : NO
Checking for function "kqueue" : NO
Checking for function "lchmod" : YES
Checking for function "lchown" : YES
Checking for function "link" : YES
Checking for function "localtime_r" : YES
Checking for function "lstat" : YES
Checking for function "mbrtowc" : YES
Checking for function "memalign" : YES
Checking for function "mmap" : YES
Checking for function "newlocale" : YES
Checking for function "pipe2" : YES
Checking for function "poll" : YES
Checking for function "prlimit" : YES
Checking for function "readlink" : YES
Checking for function "recvmmsg" : YES
Checking for function "sendmmsg" : YES
Checking for function "setenv" : YES
Checking for function "setmntent" : YES
Checking for function "strerror_r" : YES
Checking for function "strnlen" : YES
Checking for function "strsignal" : YES
Checking for function "strtod_l" : YES
Checking for function "strtoll_l" : YES
Checking for function "strtoull_l" : YES
Checking for function "symlink" : YES
Checking for function "timegm" : YES
Checking for function "unsetenv" : YES
Checking for function "uselocale" : YES
Checking for function "utimes" : YES
Checking for function "utimensat" : YES
Checking for function "valloc" : YES
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 "statvfs" : YES
Checking for function "statfs" : YES
Checking for function "prctl" : YES
Checking for function "if_indextoname" : YES
Checking for function "if_nametoindex" : YES
Checking for function "splice" : YES
Checking for function "stpcpy" : YES
Checking for function "memalign" : YES
Checking if "getservbyname_r()" compiles: YES
Checking for function "_aligned_malloc" : NO
Checking for function "aligned_alloc" : NO
Checking for function "posix_memalign" : YES
Checking for function "posix_spawn" : YES
Checking if "strerror_r() returns char *" compiles: YES
Checking for function "snprintf" : YES
Checking for function "strcasecmp" : YES
Checking for function "strncasecmp" : YES
Header "sys/sysmacros.h" has symbol "major" : YES
Header "dlfcn.h" has symbol "RTLD_LAZY" : YES
Header "dlfcn.h" has symbol "RTLD_NOW" : YES
Header "dlfcn.h" has symbol "RTLD_GLOBAL" : YES
Header "dlfcn.h" has symbol "RTLD_NEXT" : YES
Checking for type "loff_t" : YES
Message: Checking whether to use statfs or statvfs .. statfs
Checking for function "mkostemp" : YES
Checking if "futex(2) system call" compiles: YES
Checking if "futex(2) system call" compiles: NO
Checking if "eventfd(2) system call" : links: YES
Checking if "pidfd_open(2) system call" : links: YES
Checking if "__uint128_t available" compiles: YES
Checking if "clock_gettime" : links: YES
Checking if "dlopen() and dlsym() in system libraries" : links: YES
Checking if "number of arguments to statfs() (n=2)" compiles: YES
Checking if "open() option O_DIRECTORY" compiles: YES
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: YES
Checking if "nl_langinfo and CODESET" : links: YES
Checking if "nl_langinfo (PM_STR)" : links: YES
Checking if "nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)" : links: YES
Checking if "nl_langinfo (ALTMON_n)" : links: YES
Checking if "nl_langinfo (_NL_ABALTMON_n)" : links: YES
Checking if "nl_langinfo and _NL_TIME_CODESET" : links: YES
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" : 8
Checking for size of "long long" : 8
Checking for size of "size_t" : 8
Checking for size of "ssize_t" : 8
Checking if "int64_t is long" compiles: YES
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" : 8
Checking for alignment of "long long" : 8
Checking for alignment of "size_t" : 8
Checking for size of "wchar_t" : 4
Checking if "GCC size_t typedef is long" compiles: YES
Checking if "GCC size_t typedef is long long" compiles: NO
Checking if "va_lists can be copied as values" runs: DID NOT COMPILE
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" : YES (cached)
Has header "sys/poll.h" : YES
Has header "sys/types.h" : YES (cached)
Has header "winsock2.h" : NO
Computing int of "POLLIN" : 1
Computing int of "POLLOUT" : 4
Computing int of "POLLPRI" : 2
Computing int of "POLLERR" : 8
Computing int of "POLLHUP" : 16
Computing int of "POLLNVAL" : 32
Computing int of "AF_UNIX" : 1
Computing int of "AF_INET" : 2
Computing int of "AF_INET6" : 10
Computing int of "MSG_OOB" : 1
Computing int of "MSG_PEEK" : 2
Computing int of "MSG_DONTROUTE" : 4
Checking for type "struct in6_addr" : YES
Checking if "atomic ops" : links: YES
Checking if "atomic ops define" compiles: YES
Checking if "sync swap" : links: NO
Run-time dependency threads found: YES
Header "pthread.h" has symbol "pthread_attr_setstacksize" : YES
Header "pthread.h" has symbol "pthread_attr_setinheritsched" : YES
Header "pthread.h" has symbol "pthread_condattr_setclock" : YES
Header "pthread.h" has symbol "pthread_cond_timedwait_relative_np" : NO
Header "pthread.h" has symbol "pthread_getname_np" : YES
Checking if "pthread_setname_np(const char*)" with dependency threads: links: NO
Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads: links: YES
Checking if "stack grows check" runs: NO (1)
Run-time dependency iconv found: YES
Found pkg-config: /home/dev/.conan2/p/b/pkgco8ffcc05bcb9f3/p/bin/pkgconf (2.0.3)
Run-time dependency libpcre2-8 found: YES 10.42
Executing subproject gvdb
gvdb| Project name: gvdb
gvdb| Project version: 0.0
gvdb| C compiler for the host machine: gcc (gcc 12.2.0 "gcc (Debian 12.2.0-14) 12.2.0")
gvdb| C linker for the host machine: gcc ld.bfd 2.40
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.3.1
Run-time dependency intl found: YES
Checking for function "ngettext" with dependency intl: YES
Checking for function "bind_textdomain_codeset" with dependency intl: YES
Run-time dependency mount found: YES 2.39
Run-time dependency libselinux found: YES 3.5
Checking for function "getxattr" : YES
Has header "sys/xattr.h" : YES
Checking if "XATTR_NOFOLLOW" compiles: NO
Checking for function "strlcpy" : NO
Checking if "/proc/self/cmdline" runs: YES
Program python3 found: YES (/usr/local/bin/python3)
Program bash found: YES (/usr/bin/bash)
Found CMake: /home/dev/.local/bin/cmake (3.29.6)
Run-time dependency bash-completion found: NO (tried pkgconfig)
Program sh found: YES (/usr/bin/sh)
Program pkg-config found: YES
Program env found: YES (/usr/bin/env)
Configuring glib-gettextize using configuration
Program gen-visibility-macros.py found: YES (/home/dev/.conan2/p/b/glib6e1d77085930a/b/src/tools/gen-visibility-macros.py)
Configuring glibconfig.h using configuration
Dependency sysprof-capture-4 skipped: feature sysprof disabled
Configuring gtester-report using configuration
Configuring libglib-2.0.so.0.7800.0-gdb.py using configuration
Configuring glib-genmarshal using configuration
Program glib-genmarshal found: YES (/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/gobject/glib-genmarshal)
Configuring glib-mkenums using configuration
Program glib-mkenums found: YES (/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/gobject/glib-mkenums)
Configuring libgobject-2.0.so.0.7800.0-gdb.py using configuration
Checking if "dlsym() preceding underscores" runs: YES
Checking for function "dlerror" : YES
Configuring gmoduleconf.h using configuration
Checking if "C_IN in public headers (no arpa/nameser_compat.h needed)" compiles: YES
Checking if "res_query()" : links: YES
Checking if "socket()" : links: YES
Checking if "dn_comp()" : links: YES
Checking if "res_nclose()" : links: YES
Checking if "res_ndestroy()" : links: NO
Checking if "res_ninit()" : links: YES
Checking if "res_nquery()" : links: YES
Checking for type "struct ip_mreqn" : YES
Checking if "ioctl with request SIOCGIFADDR" compiles: YES
Configuring gnetworking.h using configuration
Configuring gdbus-codegen using configuration
Program gdbus-codegen found: YES (/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/gio/gdbus-2.0/codegen/gdbus-codegen)
Configuring config.py using configuration
Message: Found bash-completion but the .pc file did not set 'completionsdir', fallback to a predefined path
Traceback (most recent call last):
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/mesonmain.py", line 194, in run
return options.run_func(options)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/msetup.py", line 358, in run
app.generate()
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/msetup.py", line 183, in generate
return self._generate(env, capture, vslite_ctx)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/msetup.py", line 228, in _generate
intr.run()
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreter/interpreter.py", line 3002, in run
super().run()
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 164, in run
self.evaluate_codeblock(self.ast, start=1)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 190, in evaluate_codeblock
raise e
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 182, in evaluate_codeblock
self.evaluate_statement(cur)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 196, in evaluate_statement
return self.function_call(cur)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 521, in function_call
res = func(node, func_args, kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/decorators.py", line 277, in wrapper
return f(*nargs, **wrapped_kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/decorators.py", line 596, in wrapper
return f(*wrapped_args, **wrapped_kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreter/interpreter.py", line 2414, in func_subdir
self.evaluate_codeblock(codeblock)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 190, in evaluate_codeblock
raise e
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 182, in evaluate_codeblock
self.evaluate_statement(cur)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 198, in evaluate_statement
self.assignment(cur)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 635, in assignment
value = self.evaluate_statement(node.value)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 196, in evaluate_statement
return self.function_call(cur)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 521, in function_call
res = func(node, func_args, kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/decorators.py", line 64, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/decorators.py", line 596, in wrapper
return f(*wrapped_args, **wrapped_kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreter/interpreter.py", line 726, in func_declare_dependency
if p.is_absolute() and p.is_dir() and srcdir / self.root_subdir in [p] + list(Path(os.path.abspath(p)).parents):
File "/usr/local/lib/python3.9/pathlib.py", line 1422, in is_dir
return S_ISDIR(self.stat().st_mode)
File "/usr/local/lib/python3.9/pathlib.py", line 1221, in stat
return self._accessor.stat(self)
PermissionError: [Errno 13] Permission denied: '/share/glib-2.0/schemas'
ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment.
glib/2.78.0: ERROR:
Package 'e5bb2dd537a55b6bcaac7f4fbd5f5329e321a7a3' build failed
glib/2.78.0: WARN: Build folder /home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug
ERROR: glib/2.78.0: Error in build() method, line 136
meson.configure()
ConanException: Error 13 while executing
Подробнее здесь: https://stackoverflow.com/questions/786 ... with-conan
Как мне понять эту ошибку компиляции и установки glib с помощью conan? ⇐ C++
Программы на C++. Форум разработчиков
1719916396
Anonymous
В системе Debian 12 у меня есть файл conan, который вызывает сборку и установку множества подпакетов.
[requires]
libpq/15.4
libpqxx/7.8.1
pistache/cci.20240107
nlohmann_json/3.11.3
libzippp/7.1-1.10.1
poco/1.13.3
log4cplus/2.1.1
libxmlpp/5.2.0
[options]
libpq/15.4:with_openssl=True
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
Похоже, он находит 41 подпакет, в зависимости от них.
Среди них glib вызывает проблему и не собирает .
В очень длинном файле журнала, полученном этой командой, выдается:
BUILD_TYPE=Debug
CONAN_PRESET=conan_debug
CMAKE_PRESET=conan-debug
COMPILER_VERSION=gnu17
conan install . -b=missing -s compiler.cppstd=$COMPILER_VERSION --settings=build_type=$BUILD_TYPE --profile:build=$CONAN_PRESET
На каких важных моментах в большом журнале ниже мне нужно сосредоточиться?
[*]checking if "va_lists can be copied as values" runs: DID NOT COMPILE
[*]Found bash-completion but the .pc file did not set 'completionsdir', fallback to a predefined path
[*]или PermissionError: [Errno 13] Разрешение отклонено: '/share/glib-2.0/schemas' ?
Что они означают?
С уважением.
Вот весь журнал:
-------- Installing package glib/2.78.0 (36 of 41) --------
glib/2.78.0: Building from source
glib/2.78.0: Package glib/2.78.0:e5bb2dd537a55b6bcaac7f4fbd5f5329e321a7a3
glib/2.78.0: Copying sources to build folder
glib/2.78.0: Building your package in /home/dev/.conan2/p/b/glib6e1d77085930a/b
glib/2.78.0: Calling generate()
glib/2.78.0: Generators folder: /home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/conan
glib/2.78.0: Generating aggregated env files
glib/2.78.0: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
glib/2.78.0: Calling build()
glib/2.78.0: apply_conandata_patches(): No patches defined in conandata
glib/2.78.0: Meson configure cmd: meson setup --native-file "/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/conan/conan_meson_native.ini" "/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug" "/home/dev/.conan2/p/b/glib6e1d77085930a/b/src" --prefix=/
glib/2.78.0: RUN: meson setup --native-file "/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/conan/conan_meson_native.ini" "/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug" "/home/dev/.conan2/p/b/glib6e1d77085930a/b/src" --prefix=/
The Meson build system
Version: 1.2.2
Source dir: /home/dev/.conan2/p/b/glib6e1d77085930a/b/src
Build dir: /home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug
Build type: native build
Project name: glib
Project version: 2.78.0
C compiler for the host machine: gcc (gcc 12.2.0 "gcc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: gcc ld.bfd 2.40
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: g++ (gcc 12.2.0 "g++ (Debian 12.2.0-14) 12.2.0")
C++ linker for the host machine: g++ ld.bfd 2.40
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" : YES
Has header "afunix.h" : NO
Has header "crt_externs.h" : NO
Has header "dirent.h" : YES
Has header "float.h" : YES
Has header "fstab.h" : YES
Has header "grp.h" : YES
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" : YES
Has header "poll.h" : YES
Has header "pwd.h" : YES
Has header "sched.h" : YES
Has header "spawn.h" : YES
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" : YES
Has header "sys/event.h" : NO
Has header "sys/filio.h" : NO
Has header "sys/inotify.h" : YES
Has header "sys/mkdev.h" : NO
Has header "sys/mntctl.h" : NO
Has header "sys/mnttab.h" : NO
Has header "sys/mount.h" : YES
Has header "sys/param.h" : YES
Has header "sys/prctl.h" : YES
Has header "sys/resource.h" : YES
Has header "sys/select.h" : YES
Has header "sys/statfs.h" : YES
Has header "sys/stat.h" : YES
Has header "sys/statvfs.h" : YES
Has header "sys/sysctl.h" : NO
Has header "sys/time.h" : YES
Has header "sys/times.h" : YES
Has header "sys/types.h" : YES
Has header "sys/uio.h" : YES
Has header "sys/vfs.h" : YES
Has header "sys/vfstab.h" : NO
Has header "sys/vmount.h" : NO
Has header "sys/wait.h" : YES
Has header "termios.h" : YES
Has header "unistd.h" : YES
Has header "values.h" : YES
Has header "wchar.h" : YES
Has header "xlocale.h" : NO
Check usable header "malloc.h" : YES
Check usable header "linux/netlink.h" : YES
Checking if "statx() test" compiles: YES
Header "locale.h" has symbol "LC_MESSAGES" : YES
Checking whether type "struct stat" has member "st_mtimensec" : NO
Checking whether type "struct stat" has member "st_mtim.tv_nsec" : YES
Checking whether type "struct stat" has member "st_atimensec" : NO
Checking whether type "struct stat" has member "st_atim.tv_nsec" : YES
Checking whether type "struct stat" has member "st_ctimensec" : NO
Checking whether type "struct stat" has member "st_ctim.tv_nsec" : YES
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" : YES
Checking whether type "struct stat" has member "st_blocks" : YES
Checking whether type "struct statfs" has member "f_fstypename" : NO
Checking whether type "struct statfs" has member "f_bavail" : YES
Checking whether type "struct dirent" has member "d_type" : YES
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" : YES
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: YES
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES
Checking for function "accept4" : YES
Checking for function "close_range" : YES
Checking for function "copy_file_range" : YES
Checking for function "endmntent" : YES
Checking for function "endservent" : YES
Checking for function "epoll_create" : YES
Checking for function "fallocate" : YES
Checking for function "fchmod" : YES
Checking for function "fchown" : YES
Checking for function "fdwalk" : NO
Checking for function "free_aligned_sized" : NO
Checking for function "free_sized" : NO
Checking for function "fsync" : YES
Checking for function "getauxval" : YES
Checking for function "getc_unlocked" : YES
Checking for function "getfsstat" : NO
Checking for function "getgrgid_r" : YES
Checking for function "getmntent_r" : YES
Checking for function "getpwuid_r" : YES
Checking for function "getresuid" : YES
Checking for function "getvfsstat" : NO
Checking for function "gmtime_r" : YES
Checking for function "hasmntopt" : YES
Checking for function "inotify_init1" : YES
Checking for function "issetugid" : NO
Checking for function "kevent" : NO
Checking for function "kqueue" : NO
Checking for function "lchmod" : YES
Checking for function "lchown" : YES
Checking for function "link" : YES
Checking for function "localtime_r" : YES
Checking for function "lstat" : YES
Checking for function "mbrtowc" : YES
Checking for function "memalign" : YES
Checking for function "mmap" : YES
Checking for function "newlocale" : YES
Checking for function "pipe2" : YES
Checking for function "poll" : YES
Checking for function "prlimit" : YES
Checking for function "readlink" : YES
Checking for function "recvmmsg" : YES
Checking for function "sendmmsg" : YES
Checking for function "setenv" : YES
Checking for function "setmntent" : YES
Checking for function "strerror_r" : YES
Checking for function "strnlen" : YES
Checking for function "strsignal" : YES
Checking for function "strtod_l" : YES
Checking for function "strtoll_l" : YES
Checking for function "strtoull_l" : YES
Checking for function "symlink" : YES
Checking for function "timegm" : YES
Checking for function "unsetenv" : YES
Checking for function "uselocale" : YES
Checking for function "utimes" : YES
Checking for function "utimensat" : YES
Checking for function "valloc" : YES
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 "statvfs" : YES
Checking for function "statfs" : YES
Checking for function "prctl" : YES
Checking for function "if_indextoname" : YES
Checking for function "if_nametoindex" : YES
Checking for function "splice" : YES
Checking for function "stpcpy" : YES
Checking for function "memalign" : YES
Checking if "getservbyname_r()" compiles: YES
Checking for function "_aligned_malloc" : NO
Checking for function "aligned_alloc" : NO
Checking for function "posix_memalign" : YES
Checking for function "posix_spawn" : YES
Checking if "strerror_r() returns char *" compiles: YES
Checking for function "snprintf" : YES
Checking for function "strcasecmp" : YES
Checking for function "strncasecmp" : YES
Header "sys/sysmacros.h" has symbol "major" : YES
Header "dlfcn.h" has symbol "RTLD_LAZY" : YES
Header "dlfcn.h" has symbol "RTLD_NOW" : YES
Header "dlfcn.h" has symbol "RTLD_GLOBAL" : YES
Header "dlfcn.h" has symbol "RTLD_NEXT" : YES
Checking for type "loff_t" : YES
Message: Checking whether to use statfs or statvfs .. statfs
Checking for function "mkostemp" : YES
Checking if "futex(2) system call" compiles: YES
Checking if "futex(2) system call" compiles: NO
Checking if "eventfd(2) system call" : links: YES
Checking if "pidfd_open(2) system call" : links: YES
Checking if "__uint128_t available" compiles: YES
Checking if "clock_gettime" : links: YES
Checking if "dlopen() and dlsym() in system libraries" : links: YES
Checking if "number of arguments to statfs() (n=2)" compiles: YES
Checking if "open() option O_DIRECTORY" compiles: YES
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: YES
Checking if "nl_langinfo and CODESET" : links: YES
Checking if "nl_langinfo (PM_STR)" : links: YES
Checking if "nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)" : links: YES
Checking if "nl_langinfo (ALTMON_n)" : links: YES
Checking if "nl_langinfo (_NL_ABALTMON_n)" : links: YES
Checking if "nl_langinfo and _NL_TIME_CODESET" : links: YES
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" : 8
Checking for size of "long long" : 8
Checking for size of "size_t" : 8
Checking for size of "ssize_t" : 8
Checking if "int64_t is long" compiles: YES
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" : 8
Checking for alignment of "long long" : 8
Checking for alignment of "size_t" : 8
Checking for size of "wchar_t" : 4
Checking if "GCC size_t typedef is long" compiles: YES
Checking if "GCC size_t typedef is long long" compiles: NO
Checking if "va_lists can be copied as values" runs: DID NOT COMPILE
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" : YES (cached)
Has header "sys/poll.h" : YES
Has header "sys/types.h" : YES (cached)
Has header "winsock2.h" : NO
Computing int of "POLLIN" : 1
Computing int of "POLLOUT" : 4
Computing int of "POLLPRI" : 2
Computing int of "POLLERR" : 8
Computing int of "POLLHUP" : 16
Computing int of "POLLNVAL" : 32
Computing int of "AF_UNIX" : 1
Computing int of "AF_INET" : 2
Computing int of "AF_INET6" : 10
Computing int of "MSG_OOB" : 1
Computing int of "MSG_PEEK" : 2
Computing int of "MSG_DONTROUTE" : 4
Checking for type "struct in6_addr" : YES
Checking if "atomic ops" : links: YES
Checking if "atomic ops define" compiles: YES
Checking if "sync swap" : links: NO
Run-time dependency threads found: YES
Header "pthread.h" has symbol "pthread_attr_setstacksize" : YES
Header "pthread.h" has symbol "pthread_attr_setinheritsched" : YES
Header "pthread.h" has symbol "pthread_condattr_setclock" : YES
Header "pthread.h" has symbol "pthread_cond_timedwait_relative_np" : NO
Header "pthread.h" has symbol "pthread_getname_np" : YES
Checking if "pthread_setname_np(const char*)" with dependency threads: links: NO
Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads: links: YES
Checking if "stack grows check" runs: NO (1)
Run-time dependency iconv found: YES
Found pkg-config: /home/dev/.conan2/p/b/pkgco8ffcc05bcb9f3/p/bin/pkgconf (2.0.3)
Run-time dependency libpcre2-8 found: YES 10.42
Executing subproject gvdb
gvdb| Project name: gvdb
gvdb| Project version: 0.0
gvdb| C compiler for the host machine: gcc (gcc 12.2.0 "gcc (Debian 12.2.0-14) 12.2.0")
gvdb| C linker for the host machine: gcc ld.bfd 2.40
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.3.1
Run-time dependency intl found: YES
Checking for function "ngettext" with dependency intl: YES
Checking for function "bind_textdomain_codeset" with dependency intl: YES
Run-time dependency mount found: YES 2.39
Run-time dependency libselinux found: YES 3.5
Checking for function "getxattr" : YES
Has header "sys/xattr.h" : YES
Checking if "XATTR_NOFOLLOW" compiles: NO
Checking for function "strlcpy" : NO
Checking if "/proc/self/cmdline" runs: YES
Program python3 found: YES (/usr/local/bin/python3)
Program bash found: YES (/usr/bin/bash)
Found CMake: /home/dev/.local/bin/cmake (3.29.6)
Run-time dependency bash-completion found: NO (tried pkgconfig)
Program sh found: YES (/usr/bin/sh)
Program pkg-config found: YES
Program env found: YES (/usr/bin/env)
Configuring glib-gettextize using configuration
Program gen-visibility-macros.py found: YES (/home/dev/.conan2/p/b/glib6e1d77085930a/b/src/tools/gen-visibility-macros.py)
Configuring glibconfig.h using configuration
Dependency sysprof-capture-4 skipped: feature sysprof disabled
Configuring gtester-report using configuration
Configuring libglib-2.0.so.0.7800.0-gdb.py using configuration
Configuring glib-genmarshal using configuration
Program glib-genmarshal found: YES (/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/gobject/glib-genmarshal)
Configuring glib-mkenums using configuration
Program glib-mkenums found: YES (/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/gobject/glib-mkenums)
Configuring libgobject-2.0.so.0.7800.0-gdb.py using configuration
Checking if "dlsym() preceding underscores" runs: YES
Checking for function "dlerror" : YES
Configuring gmoduleconf.h using configuration
Checking if "C_IN in public headers (no arpa/nameser_compat.h needed)" compiles: YES
Checking if "res_query()" : links: YES
Checking if "socket()" : links: YES
Checking if "dn_comp()" : links: YES
Checking if "res_nclose()" : links: YES
Checking if "res_ndestroy()" : links: NO
Checking if "res_ninit()" : links: YES
Checking if "res_nquery()" : links: YES
Checking for type "struct ip_mreqn" : YES
Checking if "ioctl with request SIOCGIFADDR" compiles: YES
Configuring gnetworking.h using configuration
Configuring gdbus-codegen using configuration
Program gdbus-codegen found: YES (/home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug/gio/gdbus-2.0/codegen/gdbus-codegen)
Configuring config.py using configuration
Message: Found bash-completion but the .pc file did not set 'completionsdir', fallback to a predefined path
Traceback (most recent call last):
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/mesonmain.py", line 194, in run
return options.run_func(options)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/msetup.py", line 358, in run
app.generate()
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/msetup.py", line 183, in generate
return self._generate(env, capture, vslite_ctx)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/msetup.py", line 228, in _generate
intr.run()
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreter/interpreter.py", line 3002, in run
super().run()
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 164, in run
self.evaluate_codeblock(self.ast, start=1)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 190, in evaluate_codeblock
raise e
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 182, in evaluate_codeblock
self.evaluate_statement(cur)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 196, in evaluate_statement
return self.function_call(cur)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 521, in function_call
res = func(node, func_args, kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/decorators.py", line 277, in wrapper
return f(*nargs, **wrapped_kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/decorators.py", line 596, in wrapper
return f(*wrapped_args, **wrapped_kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreter/interpreter.py", line 2414, in func_subdir
self.evaluate_codeblock(codeblock)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 190, in evaluate_codeblock
raise e
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 182, in evaluate_codeblock
self.evaluate_statement(cur)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 198, in evaluate_statement
self.assignment(cur)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 635, in assignment
value = self.evaluate_statement(node.value)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 196, in evaluate_statement
return self.function_call(cur)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/interpreterbase.py", line 521, in function_call
res = func(node, func_args, kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/decorators.py", line 64, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreterbase/decorators.py", line 596, in wrapper
return f(*wrapped_args, **wrapped_kwargs)
File "/home/dev/.conan2/p/meson2ea42c05e452b/p/bin/mesonbuild/interpreter/interpreter.py", line 726, in func_declare_dependency
if p.is_absolute() and p.is_dir() and srcdir / self.root_subdir in [p] + list(Path(os.path.abspath(p)).parents):
File "/usr/local/lib/python3.9/pathlib.py", line 1422, in is_dir
return S_ISDIR(self.stat().st_mode)
File "/usr/local/lib/python3.9/pathlib.py", line 1221, in stat
return self._accessor.stat(self)
PermissionError: [Errno 13] Permission denied: '/share/glib-2.0/schemas'
ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment.
glib/2.78.0: ERROR:
Package 'e5bb2dd537a55b6bcaac7f4fbd5f5329e321a7a3' build failed
glib/2.78.0: WARN: Build folder /home/dev/.conan2/p/b/glib6e1d77085930a/b/build-debug
ERROR: glib/2.78.0: Error in build() method, line 136
meson.configure()
ConanException: Error 13 while executing
Подробнее здесь: [url]https://stackoverflow.com/questions/78696464/how-shall-i-understand-that-glib-compilation-and-installation-error-with-conan[/url]
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Как мне понять эту ошибку компиляции и установки glib с помощью conan?
Anonymous » » в форуме LinuxВ системе Debian 12 у меня есть файл conan, который вызывает сборку и установку множества подпакетов.
libpq/15.4
libpqxx/7.8.1
pistache/cci.20240107
nlohmann_json/3.11.3
libzippp/7.1-1.10.1
poco/1.13.3
log4cplus/2.1.1
libxmlpp/5.2.0... - 0 Ответы
- 31 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Как мне понять эту ошибку компиляции и установки glib с помощью conan?
Anonymous » » в форуме C++В системе Debian 12 у меня есть файл conan, который вызывает сборку и установку множества подпакетов.
libpq/15.4
libpqxx/7.8.1
pistache/cci.20240107
nlohmann_json/3.11.3
libzippp/7.1-1.10.1
poco/1.13.3
log4cplus/2.1.1
libxmlpp/5.2.0... - 0 Ответы
- 26 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Что может быть не так, если ручная установка conan onnxruntime завершается без проблем, но генерация conan cmake заверша
Anonymous » » в форуме C++В моем проекте есть следующий файл conanfile.py, в котором я запускаю команду conan install . --output-folder=build --build=missing -v.
import os
from conan import ConanFile
class ProjectRecipe(ConanFile):
settings = os , compiler , build_type ,... - 0 Ответы
- 23 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Неопределенная ссылка для компиляции и связывания XML++ и GLIB
Anonymous » » в форуме C++Я хотел бы создать проект в CodeBlocks IDE для C++ в Windows, который будет использовать библиотеку XML++. Библиотеку можно найти здесь:
Для нее требуются библиотеки libxml2 и glibmm-2.4. Я загрузил исходный код каждой из этих библиотек и включил... - 0 Ответы
- 16 Просмотры
-
Последнее сообщение Anonymous
-
-
-
«Неопределенная ссылка на ошибку g_idle_add_once» произошла, когда я компилировал glib 2.74.7
Anonymous » » в форуме LinuxЯ получил ошибку, описанную в заголовке, после того, как скомпилировал glib 2.74.7
Все было нормально, когда я компилировал glib 2.74.7. Однако, когда я пытался связать glib 2.74.7 для создания исполняемого файла. Я получил эту ошибку.
Это эльф... - 0 Ответы
- 23 Просмотры
-
Последнее сообщение Anonymous
-
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...