Created attachment 259352 [details] meson.log Hi, Cannot upgrade devel/gobject-introspection to latest version (ports pulled today) : glib| Run-time dependency intl found: YES glib| Checking for function "ngettext" with dependency intl: YES glib| Checking for function "bind_textdomain_codeset" with dependency intl: YES glib| Checking for function "getxattr" : NO glib| Header "attr/xattr.h" has symbol "getxattr" : NO subprojects/glib/meson.build:2357:4: ERROR: Problem encountered: No getxattr implementation found in C library or libxattr You'll find attached the full build log (/usr/ports/devel/gobject-introspection/work-default/gobject-introspection-1.82.0/_build/meson-logs/meson-log.txt) Regards, Xavier
Please post the exact command you're running and all the log it produces.
[root@numenor ports]# portupgrade -v devel/gobject-introspection ---> Session started at: Tue, 08 Apr 2025 07:56:46 +0200 [Reading data from pkg(8) ... - 1702 packages found - done] ---> Upgrade of devel/gobject-introspection started at: Tue, 08 Apr 2025 07:56:49 +0200 ---> Upgrading 'gobject-introspection-1.78.1_2,1' to 'gobject-introspection-1.82.0_1,1' (devel/gobject-introspection) ---> Build of devel/gobject-introspection started at: Tue, 08 Apr 2025 07:56:49 +0200 ---> Building '/usr/ports/devel/gobject-introspection' ===> Cleaning for gobject-introspection-1.82.0_1,1 ===> License GPLv2+ LGPL20+ accepted by the user ===> gobject-introspection-1.82.0_1,1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by gobject-introspection-1.82.0_1,1 for building ===> Extracting for gobject-introspection-1.82.0_1,1 => SHA256 Checksum OK for gnome/gobject-introspection-1.82.0.tar.xz. ===> Patching for gobject-introspection-1.82.0_1,1 ===> Applying FreeBSD patches for gobject-introspection-1.82.0_1,1 from /usr/ports/devel/gobject-introspection/files ===> gobject-introspection-1.82.0_1,1 depends on executable: bison - found ===> gobject-introspection-1.82.0_1,1 depends on package: gettext-runtime>=0.22_1 - found ===> gobject-introspection-1.82.0_1,1 depends on executable: msgfmt - found ===> gobject-introspection-1.82.0_1,1 depends on executable: meson - found ===> gobject-introspection-1.82.0_1,1 depends on executable: ninja - found ===> gobject-introspection-1.82.0_1,1 depends on package: pkgconf>=1.3.0_1 - found ===> gobject-introspection-1.82.0_1,1 depends on file: /usr/local/bin/python3.11 - found ===> gobject-introspection-1.82.0_1,1 depends on shared library: libffi.so - found (/usr/local/lib/libffi.so) ===> gobject-introspection-1.82.0_1,1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> gobject-introspection-1.82.0_1,1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> Configuring for gobject-introspection-1.82.0_1,1 WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options The Meson build system Version: 1.7.0 Source dir: /usr/ports/devel/gobject-introspection/work-default/gobject-introspection-1.82.0 Build dir: /usr/ports/devel/gobject-introspection/work-default/gobject-introspection-1.82.0/_build Build type: native build Project name: gobject-introspection Project version: 1.82.0 C compiler for the host machine: cc (clang 19.1.7 "FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)") C linker for the host machine: cc ld.lld 19.1.7 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program /usr/local/bin/python3.11 found: YES (/usr/local/bin/python3.11) Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wduplicated-branches: NO Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wimplicit-function-declaration: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wjump-misses-init: NO Compiler for C supports arguments -Wlogical-op: NO Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wnull-dereference: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wrestrict: NO Compiler for C supports arguments -Wreturn-type: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wstrict-aliasing: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -fno-strict-aliasing: YES Checking for size of "char" : 1 Checking for size of "short" : 2 Checking for size of "int" : 4 Checking for size of "long" : 8 Found pkg-config: YES (/usr/local/bin/pkgconf) 2.3.0 Dependency glib-2.0 found: NO. Found 2.80.5 but need: '>=2.82.0' Found CMake: /usr/local/bin/cmake (3.31.6) Run-time dependency glib-2.0 found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency glib-2.0 Cloning into 'glib'... remote: Enumerating objects: 2382, done. remote: Counting objects: 100% (2382/2382), done. remote: Compressing objects: 100% (1990/1990), done. remote: Total 2382 (delta 570), reused 1156 (delta 270), pack-reused 0 (from 0) Receiving objects: 100% (2382/2382), 8.85 MiB | 4.82 MiB/s, done. Resolving deltas: 100% (570/570), done. Executing subproject glib glib| Project name: glib glib| Project version: 2.82.5 glib| C compiler for the host machine: cc (clang 19.1.7 "FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)") glib| C linker for the host machine: cc ld.lld 19.1.7 glib| Compiler for C supports arguments -std=c89: YES glib| Compiler for C supports arguments -std=c99: YES glib| Compiler for C supports arguments -std=c11: YES glib| Compiler for C supports arguments -std=c17: YES glib| C++ compiler for the host machine: c++ (clang 19.1.7 "FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)") glib| C++ linker for the host machine: c++ ld.lld 19.1.7 glib| Compiler for C++ supports arguments -std=c++98: YES glib| Compiler for C++ supports arguments -std=c++03: YES glib| Compiler for C++ supports arguments -std=c++11: YES glib| Compiler for C++ supports arguments -std=c++14: YES glib| Compiler for C++ supports arguments -std=c++17: YES glib| Compiler for C++ supports arguments -std=c++20: YES glib| Compiler for C++ supports arguments -std=c++2b: YES glib| Compiler for C++ supports arguments -std=c++latest: NO glib| Program ./.gitlab-ci/thorough-test-wrapper.sh found: YES (/bin/bash /usr/ports/devel/gobject-introspection/work-default/gobject-introspection-1.82.0/subprojects/glib/./.gitlab-ci/thorough-test-wrapper.sh) glib| Program valgrind found: NO glib| Compiler for C supports arguments -fno-strict-aliasing: YES (cached) glib| Message: Enabling various debug infrastructure glib| Has header "alloca.h" : NO glib| Has header "afunix.h" : NO glib| Has header "crt_externs.h" : NO glib| Has header "dirent.h" : YES glib| Has header "float.h" : YES glib| Has header "fstab.h" : YES glib| Has header "ftw.h" : YES glib| Has header "grp.h" : YES glib| Has header "inttypes.h" : YES glib| Has header "libproc.h" : YES glib| Has header "limits.h" : YES glib| Has header "locale.h" : YES glib| Has header "mach/mach_time.h" : NO glib| Has header "memory.h" : YES glib| Has header "mntent.h" : NO glib| Has header "poll.h" : YES glib| Has header "pwd.h" : YES glib| Has header "sched.h" : YES glib| Has header "spawn.h" : YES glib| Has header "stdatomic.h" : YES glib| Has header "stdint.h" : YES glib| Has header "stdlib.h" : YES glib| Has header "string.h" : YES glib| Has header "strings.h" : YES glib| Has header "sys/auxv.h" : YES glib| Has header "sys/event.h" : YES glib| Has header "sys/filio.h" : YES glib| Has header "sys/inotify.h" : YES glib| Has header "sys/mkdev.h" : NO glib| Has header "sys/mntctl.h" : NO glib| Has header "sys/mnttab.h" : NO glib| Has header "sys/mount.h" : YES glib| Has header "sys/param.h" : YES glib| Has header "sys/prctl.h" : NO glib| Has header "sys/resource.h" : YES glib| Has header "sys/select.h" : YES glib| Has header "sys/statfs.h" : NO glib| Has header "sys/stat.h" : YES glib| Has header "sys/statvfs.h" : YES glib| Has header "sys/sysctl.h" : YES glib| Has header "sys/time.h" : YES glib| Has header "sys/times.h" : YES glib| Has header "sys/types.h" : YES glib| Has header "sys/uio.h" : YES glib| Has header "sys/vfs.h" : NO glib| Has header "sys/vfstab.h" : NO glib| Has header "sys/vmount.h" : NO glib| Has header "sys/wait.h" : YES glib| Has header "syslog.h" : YES glib| Has header "termios.h" : YES glib| Has header "unistd.h" : YES glib| Has header "values.h" : NO glib| Has header "wchar.h" : YES glib| Has header "xlocale.h" : YES glib| Check usable header "malloc.h" : YES glib| Check usable header "linux/netlink.h" : NO glib| Checking if "statx() test" compiles: NO glib| Header "locale.h" has symbol "LC_MESSAGES" : YES glib| Checking if "type "struct stat" has member "st_mtimensec"" compiles: YES glib| Checking if "type "struct stat" has member "st_mtim.tv_nsec"" compiles: YES glib| Checking if "type "struct stat" has member "st_atimensec"" compiles: YES glib| Checking if "type "struct stat" has member "st_atim.tv_nsec"" compiles: YES glib| Checking if "type "struct stat" has member "st_ctimensec"" compiles: YES glib| Checking if "type "struct stat" has member "st_ctim.tv_nsec"" compiles: YES glib| Checking if "type "struct stat" has member "st_birthtime"" compiles: YES glib| Checking if "type "struct stat" has member "st_birthtimensec"" compiles: YES glib| Checking if "type "struct stat" has member "st_birthtim"" compiles: YES glib| Checking if "type "struct stat" has member "st_birthtim.tv_nsec"" compiles: YES glib| Checking if "type "struct stat" has member "st_blksize"" compiles: YES glib| Checking if "type "struct stat" has member "st_blocks"" compiles: YES glib| Checking if "type "struct statfs" has member "f_fstypename"" compiles: YES glib| Checking if "type "struct statfs" has member "f_bavail"" compiles: YES glib| Checking if "type "struct dirent" has member "d_type"" compiles: YES glib| Checking if "type "struct statvfs" has member "f_basetype"" compiles: NO glib| Checking if "type "struct statvfs" has member "f_fstypename"" compiles: NO glib| Checking if "type "struct statvfs" has member "f_type"" compiles: NO glib| Checking if "type "struct tm" has member "tm_gmtoff"" compiles: YES glib| Checking if "type "struct tm" has member "__tm_gmtoff"" compiles: NO glib| Compiler for C supports arguments -Wduplicated-branches: NO (cached) glib| Compiler for C supports arguments -Wimplicit-fallthrough: YES glib| Compiler for C supports arguments -Wmisleading-indentation: YES glib| Compiler for C supports arguments -Wmissing-field-initializers: YES glib| Compiler for C supports arguments -Wnonnull: YES glib| Compiler for C supports arguments -Wnull-dereference: YES (cached) glib| Compiler for C supports arguments -Wunused: YES glib| Compiler for C supports arguments -Wno-unused-parameter: YES glib| Compiler for C supports arguments -Wno-cast-function-type: YES glib| Compiler for C supports arguments -Wno-pedantic: YES glib| Compiler for C supports arguments -Wno-format-zero-length: YES glib| Compiler for C supports arguments -Wno-variadic-macros: YES glib| Compiler for C supports arguments -Werror=format=2: YES glib| Compiler for C supports arguments -Werror=init-self: YES glib| Compiler for C supports arguments -Werror=missing-include-dirs: YES glib| Compiler for C supports arguments -Werror=pointer-arith: YES glib| Compiler for C supports arguments -Werror=unused-result: YES glib| Compiler for C supports arguments -Wstrict-prototypes: YES (cached) glib| Compiler for C supports arguments -Wno-bad-function-cast: YES glib| Compiler for C supports arguments -Werror=implicit-function-declaration: YES glib| Compiler for C supports arguments -Werror=missing-prototypes: YES glib| Compiler for C supports arguments -Werror=pointer-sign: YES glib| Compiler for C supports arguments -Wno-string-plus-int: YES glib| Compiler for C supports arguments -Wno-typedef-redefinition: YES glib| Compiler for C++ supports arguments -Wduplicated-branches: NO glib| Compiler for C++ supports arguments -Wimplicit-fallthrough: YES glib| Compiler for C++ supports arguments -Wmisleading-indentation: YES glib| Compiler for C++ supports arguments -Wmissing-field-initializers: YES glib| Compiler for C++ supports arguments -Wnonnull: YES glib| Compiler for C++ supports arguments -Wnull-dereference: YES glib| Compiler for C++ supports arguments -Wunused: YES glib| Compiler for C++ supports arguments -Wno-unused-parameter: YES glib| Compiler for C++ supports arguments -Wno-cast-function-type: YES glib| Compiler for C++ supports arguments -Wno-pedantic: YES glib| Compiler for C++ supports arguments -Wno-format-zero-length: YES glib| Compiler for C++ supports arguments -Wno-variadic-macros: YES glib| Compiler for C++ supports arguments -Werror=format=2: YES glib| Compiler for C++ supports arguments -Werror=init-self: YES glib| Compiler for C++ supports arguments -Werror=missing-include-dirs: YES glib| Compiler for C++ supports arguments -Werror=pointer-arith: YES glib| Compiler for C++ supports arguments -Werror=unused-result: YES glib| Compiler for C supports link arguments -Wl,-z,nodelete: YES glib| Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES glib| Checking for function "accept4" : YES glib| Checking for function "close_range" : YES glib| Checking for function "copy_file_range" : YES glib| Checking for function "endmntent" : NO glib| Checking for function "endservent" : YES glib| Checking for function "epoll_create1" : NO glib| Checking for function "fallocate" : NO glib| Checking for function "fchmod" : YES glib| Checking for function "fchown" : YES glib| Checking for function "fdwalk" : NO glib| Checking for function "free_aligned_sized" : NO glib| Checking for function "free_sized" : NO glib| Checking for function "fsync" : YES glib| Checking for function "ftruncate64" : NO glib| Checking for function "getauxval" : NO glib| Checking for function "getc_unlocked" : YES glib| Checking for function "getfsstat" : YES glib| Checking for function "getgrgid_r" : YES glib| Checking for function "getmntent_r" : NO glib| Checking for function "getpwuid_r" : YES glib| Checking for function "getresuid" : YES glib| Checking for function "getvfsstat" : NO glib| Checking for function "gmtime_r" : YES glib| Checking for function "hasmntopt" : NO glib| Checking for function "inotify_init1" : NO glib| Checking for function "issetugid" : YES glib| Checking for function "kevent" : YES glib| Checking for function "kqueue" : YES glib| Checking for function "lchmod" : YES glib| Checking for function "lchown" : YES glib| Checking for function "link" : YES glib| Checking for function "localtime_r" : YES glib| Checking for function "lstat" : YES glib| Checking for function "mbrtowc" : YES glib| Checking for function "memalign" : YES glib| Checking for function "memmem" : YES glib| Checking for function "mmap" : YES glib| Checking for function "newlocale" : YES glib| Checking for function "pipe2" : YES glib| Checking for function "poll" : YES glib| Checking for function "prlimit" : NO glib| Checking for function "readlink" : YES glib| Checking for function "recvmmsg" : YES glib| Checking for function "sendmmsg" : YES glib| Checking for function "setenv" : YES glib| Checking for function "setmntent" : NO glib| Checking for function "strerror_r" : YES glib| Checking for function "strnlen" : YES glib| Checking for function "strsignal" : YES glib| Checking for function "strtod_l" : YES glib| Checking for function "strtoll_l" : YES glib| Checking for function "strtoull_l" : YES glib| Checking for function "symlink" : YES glib| Checking for function "timegm" : YES glib| Checking for function "unsetenv" : YES glib| Checking for function "uselocale" : YES glib| Checking for function "utimes" : YES glib| Checking for function "utimensat" : YES glib| Checking for function "valloc" : YES glib| Checking for function "vasprintf" : YES glib| Checking for function "vsnprintf" : YES glib| Checking for function "wcrtomb" : YES glib| Checking for function "wcslen" : YES glib| Checking for function "wcsnlen" : YES glib| Checking for function "sysctlbyname" : YES glib| Checking for function "statvfs" : YES glib| Checking for function "statfs" : YES glib| Checking for function "if_indextoname" : YES glib| Checking for function "if_nametoindex" : YES glib| Checking for function "splice" : NO glib| Checking for function "stpcpy" : YES glib| Checking for function "memalign" : YES glib| Checking if "getservbyname_r()" compiles: YES glib| Checking for function "_aligned_malloc" : NO glib| Checking for function "aligned_alloc" : YES glib| Checking for function "posix_memalign" : YES glib| Checking for function "posix_spawn" : YES glib| Checking if "strerror_r() returns char *" compiles: NO glib| Checking for function "snprintf" : YES glib| Checking for function "strcasecmp" : YES glib| Checking for function "strncasecmp" : YES glib| Header "sys/sysmacros.h" has symbol "major" : NO glib| Header "sys/mkdev.h" has symbol "major" : NO glib| Header "sys/types.h" has symbol "major" : YES glib| Header "dlfcn.h" has symbol "RTLD_LAZY" : YES glib| Header "dlfcn.h" has symbol "RTLD_NOW" : YES glib| Header "dlfcn.h" has symbol "RTLD_GLOBAL" : YES glib| Header "dlfcn.h" has symbol "RTLD_NEXT" : YES glib| Checking for type "loff_t" : NO glib| Message: Checking whether to use statfs or statvfs .. statfs glib| Checking if "futex(2) system call" compiles: NO glib| Checking if "futex_time64(2) system call" compiles: NO glib| Checking if "eventfd(2) system call" links: YES glib| Checking if "ppoll(2) system call" links: YES glib| Checking if "pidfd_open(2) system call" links: NO glib| Checking if "__uint128_t available" compiles: YES glib| Checking if "clock_gettime" links: YES glib| Checking if "dlopen() and dlsym() in system libraries" links: YES glib| Checking if "number of arguments to statfs() (n=2)" compiles: YES glib| Checking if "open() option O_DIRECTORY" compiles: YES glib| Checking if "fcntl() option F_FULLFSYNC" compiles: NO glib| Checking if "C99 vsnprintf" runs: YES glib| Checking if "C99 snprintf" runs: YES glib| Checking if "Unix98 printf positional parameters" runs: YES glib| Checking if "nl_langinfo and CODESET" links: YES glib| Checking if "nl_langinfo (PM_STR)" links: YES glib| Checking if "nl_langinfo (ERA)" links: NO glib| Checking if "nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)" links: NO glib| Checking if "nl_langinfo (ALTMON_n)" links: YES glib| Checking if "nl_langinfo (_NL_ABALTMON_n)" links: NO glib| Checking if "nl_langinfo and _NL_TIME_CODESET" links: NO glib| Checking if "signed" compiles: YES glib| Header "stddef.h" has symbol "ptrdiff_t" : YES glib| Checking if "sig_atomic_t" links: YES glib| Checking if "long long" compiles: YES glib| Checking if "long double" compiles: YES glib| Header "stddef.h" has symbol "wchar_t" : YES glib| Header "wchar.h" has symbol "wint_t" : YES glib| Checking if "uintmax_t in inttypes.h" compiles: YES glib| Checking if "uintmax_t in stdint.h" compiles: YES glib| Checking for size of "char" : 1 (cached) glib| Checking for size of "short" : 2 (cached) glib| Checking for size of "int" : 4 (cached) glib| Checking for size of "void*" : 8 glib| Checking for size of "long" : 8 (cached) glib| Checking for size of "long long" : 8 glib| Checking for size of "size_t" : 8 glib| Checking for size of "ssize_t" : 8 glib| Checking if "int64_t is long" compiles: YES glib| Checking for alignment of "char" : 1 glib| Checking for alignment of "short" : 2 glib| Checking for alignment of "int" : 4 glib| Checking for alignment of "void*" : 8 glib| Checking for alignment of "long" : 8 glib| Checking for alignment of "long long" : 8 glib| Checking for alignment of "size_t" : 8 glib| Checking for size of "wchar_t" : 4 glib| Checking if "GCC size_t typedef is long" compiles: YES glib| Checking if "GCC size_t typedef is long long" compiles: NO glib| Checking if "va_lists can be copied as values" runs: DID NOT COMPILE glib| Checking if "ISO C99 varargs macros in C" compiles: YES glib| Checking if "ISO C99 varargs macros in C++" compiles: YES glib| Checking if "GNUC varargs macros" compiles: YES glib| Has header "alloca.h" : NO (cached) glib| Has header "sys/poll.h" : YES glib| Has header "sys/types.h" : YES (cached) glib| Has header "winsock2.h" : NO glib| Computing int of "POLLIN" : 1 glib| Computing int of "POLLOUT" : 4 glib| Computing int of "POLLPRI" : 2 glib| Computing int of "POLLERR" : 8 glib| Computing int of "POLLHUP" : 16 glib| Computing int of "POLLNVAL" : 32 glib| Computing int of "AF_UNIX" : 1 glib| Computing int of "AF_INET" : 2 glib| Computing int of "AF_INET6" : 28 glib| Computing int of "MSG_OOB" : 1 glib| Computing int of "MSG_PEEK" : 2 glib| Computing int of "MSG_DONTROUTE" : 4 glib| Checking for type "struct in6_addr" : YES glib| Checking if "atomic ops" links: YES glib| Checking if "sync swap" links: YES glib| Run-time dependency threads found: YES glib| Header "pthread.h" has symbol "pthread_attr_setstacksize" : YES glib| Header "pthread.h" has symbol "pthread_attr_setinheritsched" : YES glib| Header "pthread.h" has symbol "pthread_condattr_setclock" : YES glib| Header "pthread.h" has symbol "pthread_cond_timedwait_relative_np" : NO glib| Header "pthread.h" has symbol "pthread_getname_np" : YES glib| Header "pthread.h" has symbol "pthread_getaffinity_np" : NO glib| Checking if "pthread_setname_np(const char*)" with dependency threads links: NO glib| Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads links: YES glib| Checking if "stack grows check" runs: NO (1) glib| Run-time dependency iconv found: YES glib| Run-time dependency libpcre2-8 found: YES 10.45 glib| Using subprojects/glib/subprojects/gvdb.wrap Submodule 'subprojects/gvdb' (https://gitlab.gnome.org/GNOME/gvdb.git) registered for path './' Cloning into '/usr/ports/devel/gobject-introspection/work-default/gobject-introspection-1.82.0/subprojects/glib/subprojects/gvdb'... remote: Enumerating objects: 244, done. remote: Counting objects: 100% (244/244), done. remote: Compressing objects: 100% (93/93), done. remote: Total 234 (delta 149), reused 224 (delta 141), pack-reused 0 (from 0) Receiving objects: 100% (234/234), 36.51 KiB | 3.65 MiB/s, done. Resolving deltas: 100% (149/149), completed with 7 local objects. From https://gitlab.gnome.org/GNOME/gvdb * branch 0854af0fdb6d527a8d1999835ac2c5059976c210 -> FETCH_HEAD Submodule path './': checked out '0854af0fdb6d527a8d1999835ac2c5059976c210' Executing subproject glib:gvdb gvdb| Project name: gvdb gvdb| Project version: 0.0 gvdb| C compiler for the host machine: cc (clang 19.1.7 "FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)") gvdb| C linker for the host machine: cc ld.lld 19.1.7 gvdb| Build targets in project: 0 gvdb| Subproject gvdb finished. glib| Dependency gvdb found: YES 0.0 (overridden) glib| Library m found: YES glib| Run-time dependency libffi found: YES 3.4.6 glib| Run-time dependency zlib found: YES 1.3.1 glib| Checking if "check for -latomic" links: NO glib| Run-time dependency intl found: YES glib| Checking for function "ngettext" with dependency intl: YES glib| Checking for function "bind_textdomain_codeset" with dependency intl: YES glib| Checking for function "getxattr" : NO glib| Header "attr/xattr.h" has symbol "getxattr" : NO subprojects/glib/meson.build:2357:4: ERROR: Problem encountered: No getxattr implementation found in C library or libxattr A full log can be found at /usr/ports/devel/gobject-introspection/work-default/gobject-introspection-1.82.0/_build/meson-logs/meson-log.txt WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. ===> Script "configure" failed unexpectedly. Please report the problem to desktop@FreeBSD.org [maintainer] and attach the "/usr/ports/devel/gobject-introspection/work-default/gobject-introspection-1.82.0/_build/meson-logs/meson-log.txt" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/gobject-introspection *** Error code 1 Stop. make: stopped in /usr/ports/devel/gobject-introspection egrep: empty (sub)expression ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20250408-21781-9ncnp9 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gobject-introspection-1.78.1_2,1 UPGRADE_PORT_VER=1.78.1_2,1 make ** Fix the problem and try again. ---> Build of devel/gobject-introspection ended at: Tue, 08 Apr 2025 07:57:21 +0200 (consumed 00:00:32) ---> Upgrade of devel/gobject-introspection ended at: Tue, 08 Apr 2025 07:57:21 +0200 (consumed 00:00:32) ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! devel/gobject-introspection (gobject-introspection-1.78.1_2,1) (unknown build error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Tue, 08 Apr 2025 07:57:21 +0200 (consumed 00:00:34)
Run pkg remove -f glib gobject-introspection before running portupgrade on them.
No success : ------------------------------------------------------------------------------- [root@numenor ~]# pkg remove -f glib gobject-introspection Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 2 packages (of 0 packages in the universe): Installed packages to be REMOVED: glib: 2.80.5_1,2 gobject-introspection: 1.78.1_2,1 Number of packages to be removed: 2 The operation will free 41 MiB. Proceed with deinstalling packages? [y/N]: y [1/2] Deinstalling gobject-introspection-1.78.1_2,1... [1/2] Deleting files for gobject-introspection-1.78.1_2,1: 100% [2/2] Deinstalling glib-2.80.5_1,2... [2/2] Deleting files for glib-2.80.5_1,2: 100% ==> Cleaning up trigger: gio-modules.ucl ==> Cleaning up trigger: glib-schemas.ucl [root@numenor ~]# cd /usr/ports/ [root@numenor ports]# portinstall -vw devel/glib20/ devel/gobject-introspection/ ---> Session started at: Thu, 10 Apr 2025 06:44:03 +0200 [Reading data from pkg(8) ... - 1700 packages found - done] ---> Fresh installation of devel/glib20 started at: Thu, 10 Apr 2025 06:46:58 +0200 ---> Installing 'glib-2.82.4_1,2' from a port (devel/glib20) ---> Build of devel/glib20 started at: Thu, 10 Apr 2025 06:46:59 +0200 ---> Building '/usr/ports/devel/glib20' ===> License LGPL20 accepted by the user ===> glib-2.82.4_1,2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by glib-2.82.4_1,2 for building ===> Extracting for glib-2.82.4_1,2 => SHA256 Checksum OK for gnome/glib-2.82.4.tar.xz. => SHA256 Checksum OK for gnome/3dcf1ea13d9b2a3371fa35b79e640063de33dc20.patch. ===> glib-2.82.4_1,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found ===> glib-2.82.4_1,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/glib20 *** Error code 1 Stop. make: stopped in /usr/ports/devel/glib20 egrep: empty (sub)expression ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20250410-98820-7k4800 env make ** Fix the problem and try again. ---> Build of devel/glib20 ended at: Thu, 10 Apr 2025 06:47:04 +0200 (consumed 00:00:05) ---> Fresh installation of devel/glib20 ended at: Thu, 10 Apr 2025 06:47:04 +0200 (consumed 00:00:06) ---> ** Install tasks 2: 0 done, 0 ignored, 0 skipped and 1 failed ---> Skipping 'devel/gobject-introspection' because a requisite port 'devel/glib20' failed (specify -k to force) ---> ** Install tasks 2: 0 done, 0 ignored, 1 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! devel/glib20 (unknown build error) * devel/gobject-introspection ---> Packages processed: 0 done, 0 ignored, 1 skipped and 1 failed ---> Session ended at: Thu, 10 Apr 2025 06:49:36 +0200 (consumed 00:05:33) ------------------------------------------------------------------------------ Ended up with reinstalling with pkg, even it is not recommended to mix portupgrade and pkg Xavier
(In reply to Xavier Humbert from comment #4) Now it looks like a bug in portinstall? Why does it simply stop after ===> glib-2.82.4_1,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found rather than installing devel/gobject-introspection@bootstrap ?
Created attachment 259443 [details] build log
(In reply to Gleb Popov from comment #5) Hi Gleb, This seems to be an egg and chicken issue. Each port needs the other to build, but both fail to compile... Tried just "make clean all" to avoid portupgrade issues, with no success. The file "buildlog.txt is attached". I have already reset the options for both ports to defaults (make rmconfig) Xavier
According to this log you still have glib 2.80 installed. Remove it with pkg remove -f glib and retry.
(In reply to Gleb Popov from comment #8) No success : [root@numenor gobject-introspection]# pkg remove -f devel/glib20 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: glib: 2.80.5_1,2 Number of packages to be removed: 1 The operation will free 26 MiB. Proceed with deinstalling packages? [y/N]: y [1/1] Deinstalling glib-2.80.5_1,2... [1/1] Deleting files for glib-2.80.5_1,2: 100% ==> Cleaning up trigger: gio-modules.ucl ==> Cleaning up trigger: glib-schemas.ucl [root@numenor gobject-introspection]# make all ===> License GPLv2+ LGPL20+ accepted by the user ===> gobject-introspection-1.82.0_1,1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by gobject-introspection-1.82.0_1,1 for building ===> Extracting for gobject-introspection-1.82.0_1,1 => SHA256 Checksum OK for gnome/gobject-introspection-1.82.0.tar.xz. ===> Patching for gobject-introspection-1.82.0_1,1 ===> Applying FreeBSD patches for gobject-introspection-1.82.0_1,1 from /usr/ports/devel/gobject-introspection/files ===> gobject-introspection-1.82.0_1,1 depends on executable: bison - found ===> gobject-introspection-1.82.0_1,1 depends on package: gettext-runtime>=0.22_1 - found ===> gobject-introspection-1.82.0_1,1 depends on executable: msgfmt - found ===> gobject-introspection-1.82.0_1,1 depends on executable: meson - found ===> gobject-introspection-1.82.0_1,1 depends on executable: ninja - found ===> gobject-introspection-1.82.0_1,1 depends on package: pkgconf>=1.3.0_1 - found ===> gobject-introspection-1.82.0_1,1 depends on file: /usr/local/bin/python3.11 - found ===> gobject-introspection-1.82.0_1,1 depends on shared library: libffi.so - found (/usr/local/lib/libffi.so) ===> gobject-introspection-1.82.0_1,1 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so) ===> gobject-introspection-1.82.0_1,1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> gobject-introspection-1.82.0_1,1 depends on shared library: libglib-2.0.so - not found ===> License LGPL20 accepted by the user ===> glib-2.82.4_1,2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by glib-2.82.4_1,2 for building ===> Extracting for glib-2.82.4_1,2 => SHA256 Checksum OK for gnome/glib-2.82.4.tar.xz. => SHA256 Checksum OK for gnome/3dcf1ea13d9b2a3371fa35b79e640063de33dc20.patch. ===> glib-2.82.4_1,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found ===> glib-2.82.4_1,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found *** Error code 1 Stop. make[3]: stopped in /usr/ports/devel/glib20 *** Error code 1 Stop. make[2]: stopped in /usr/ports/devel/glib20 *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/gobject-introspection *** Error code 1 Stop. make: stopped in /usr/ports/devel/gobject-introspection Have to reinstall devel/glib20 via pkg now
(In reply to Xavier Humbert from comment #9) What is in your make.conf? Can you run 'make' again with 'cd devel/glib20 && make DEBUG_MK_SCRIPTS_DO_DEPENDS=yes -dl'?
(In reply to John Hein from comment #10) Here is the output, and my make.conf is attached [root@numenor glib20]# make clean ===> Cleaning for gobject-introspection-1.82.0_1,1 ===> Cleaning for glib-2.82.4_1,2 ===> Cleaning for glib-2.82.4_1,2 [root@numenor glib20]# make DEBUG_MK_SCRIPTS_DO_DEPENDS=yes -dl cd /usr/ports/devel/glib20 && make CONFIG_DONE_GLIB=1 /usr/ports/devel/glib20/work-default/.stage_done.glib._usr_local /usr/bin/env dp_ECHO_MSG="echo" dp_PKG_BIN="/usr/local/sbin/pkg-static" dp_PORTNAME="glib" dp_PKGNAME="glib-2.82.4_1,2" dp_SCRIPTSDIR="/usr/ports/Mk/Scripts" /bin/sh /usr/ports/Mk/Scripts/check-vulnerable.sh echo "===> License LGPL20 accepted by the user" ===> License LGPL20 accepted by the user /usr/bin/env dp_RAWDEPENDS="/usr/local/sbin/pkg:ports-mgmt/pkg" dp_DEPTYPE="PKG_DEPENDS" dp_DEPENDS_TARGET="install" dp_DEPENDS_PRECLEAN="" dp_DEPENDS_CLEAN="" dp_DEPENDS_ARGS="" dp_USE_PACKAGE_DEPENDS="" dp_USE_PACKAGE_DEPENDS_ONLY="" dp_PKG_ADD="/usr/local/sbin/pkg-static add" dp_PKG_INFO="/usr/local/sbin/pkg-static info -g" dp_WRKDIR="/usr/ports/devel/glib20/work-default" dp_PKGNAME="glib-2.82.4_1,2" dp_STRICT_DEPENDS="" dp_LOCALBASE="/usr/local" dp_LIB_DIRS="/lib /usr/lib /usr/local/lib" dp_SH="/bin/sh" dp_SCRIPTSDIR="/usr/ports/Mk/Scripts" PORTSDIR="/usr/ports" dp_OVERLAYS="" dp_MAKE="make" dp_MAKEFLAGS=' -d l' /bin/sh /usr/ports/Mk/Scripts/do-depends.sh + set -u + anynotfound=0 + err=0 + unset FLAVOR + myifs=$' \t ' + IFS=: + set -- /usr/local/sbin/pkg ports-mgmt/pkg + IFS=$' \t ' + [ 2 -lt 2 -o 2 -gt 3 ] + pattern=/usr/local/sbin/pkg + origin=ports-mgmt/pkg + last='' + [ -z /usr/local/sbin/pkg ] + [ -z ports-mgmt/pkg ] + subpkg='' + orig=/usr/ports/ports-mgmt/pkg + [ -f /usr/ports/ports-mgmt/pkg/Makefile ] + break + origin=/usr/ports/ports-mgmt/pkg + depends_args='' + target=install + [ -n '' ] + fct=find_file + find_file /usr/local/sbin/pkg + [ -e /usr/local/sbin/pkg ] + echo '===> glib-2.82.4_1,2 depends on file: /usr/local/sbin/pkg - found' ===> glib-2.82.4_1,2 depends on file: /usr/local/sbin/pkg - found + return 0 + continue + [ 0 -eq 1 ] + [ -n '' -a 0 -eq 1 ] /usr/bin/env dp_DISABLE_SIZE='' dp_DISTDIR='/usr/ports/distfiles/gnome' dp_DISTINFO_FILE='/usr/ports/devel/glib20/distinfo' dp_DIST_SUBDIR='gnome' dp_ECHO_MSG='echo' dp_FETCH_AFTER_ARGS='' dp_FETCH_BEFORE_ARGS='' dp_FETCH_CMD='/usr/bin/fetch -Fpr' dp_FETCH_ENV=SSL_NO_VERIFY_PEER=1\ SSL_NO_VERIFY_HOSTNAME=1 dp_FORCE_FETCH_ALL='' dp_FORCE_FETCH_LIST='' dp_MASTER_SITE_BACKUP='http://distcache.FreeBSD.org/ports-distfiles/gnome/' dp_MASTER_SITE_OVERRIDE='http://distcache.FreeBSD.org/ports-distfiles/gnome/' dp_MASTER_SORT_AWK='BEGIN { RS = " "; ORS = " "; IGNORECASE = 1 ; gl = "://[^/]*\\.fr[/.] ://[^/]*/"; } /:\/\/[^\/]*\.fr[\/.]/ { good["://[^/]*\\.fr[/.]"] = good["://[^/]*\\.fr[/.]"] " " $0 ; next; } /:\/\/[^\/]*\// { good["://[^/]*/"] = good["://[^/]*/"] " " $0 ; next; } { rest = rest " " $0; } END { n=split(gl, gla); for(i=1;i<=n;i++) { print good[gla[i]]; } print rest; }' dp_NO_CHECKSUM='' dp_RANDOMIZE_SITES='' dp_SCRIPTSDIR='/usr/ports/Mk/Scripts' dp_TARGET='do-fetch' dp_DEVELOPER=yes _MASTER_SITES_DEFAULT=https://download.gnome.org/sources/glib/2.82/\ https://gitlab.gnome.org/GNOME/glib/-/archive/2.82.4/\ http://ftp.belnet.be/mirror/ftp.gnome.org/gnomeftp/sources/glib/2.82/\ ftp://ftp.belnet.be/mirror/ftp.gnome.org/gnomeftp/sources/glib/2.82/\ https://ftp.acc.umu.se/pub/GNOME/sources/glib/2.82/\ ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/glib/2.82/\ https://fr2.rpmfind.net/linux/gnome.org/sources/glib/2.82/\ ftp://ftp.kddlabs.co.jp/pub/GNOME/sources/glib/2.82/\ ftp://ftp.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/sources/glib/2.82/\ ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/glib/2.82/ dp_SITE_FLAVOR=MASTER /bin/sh /usr/ports/Mk/Scripts/do-fetch.sh 'glib-2.82.4.tar.xz' /usr/bin/env dp_DISABLE_SIZE='' dp_DISTDIR='/usr/ports/distfiles/gnome' dp_DISTINFO_FILE='/usr/ports/devel/glib20/distinfo' dp_DIST_SUBDIR='gnome' dp_ECHO_MSG='echo' dp_FETCH_AFTER_ARGS='' dp_FETCH_BEFORE_ARGS='' dp_FETCH_CMD='/usr/bin/fetch -Fpr' dp_FETCH_ENV=SSL_NO_VERIFY_PEER=1\ SSL_NO_VERIFY_HOSTNAME=1 dp_FORCE_FETCH_ALL='' dp_FORCE_FETCH_LIST='' dp_MASTER_SITE_BACKUP='http://distcache.FreeBSD.org/ports-distfiles/gnome/' dp_MASTER_SITE_OVERRIDE='http://distcache.FreeBSD.org/ports-distfiles/gnome/' dp_MASTER_SORT_AWK='BEGIN { RS = " "; ORS = " "; IGNORECASE = 1 ; gl = "://[^/]*\\.fr[/.] ://[^/]*/"; } /:\/\/[^\/]*\.fr[\/.]/ { good["://[^/]*\\.fr[/.]"] = good["://[^/]*\\.fr[/.]"] " " $0 ; next; } /:\/\/[^\/]*\// { good["://[^/]*/"] = good["://[^/]*/"] " " $0 ; next; } { rest = rest " " $0; } END { n=split(gl, gla); for(i=1;i<=n;i++) { print good[gla[i]]; } print rest; }' dp_NO_CHECKSUM='' dp_RANDOMIZE_SITES='' dp_SCRIPTSDIR='/usr/ports/Mk/Scripts' dp_TARGET='do-fetch' dp_DEVELOPER=yes _PATCH_SITES_DEFAULT=https://gitlab.gnome.org/GNOME/glib/-/commit/ dp_SITE_FLAVOR=PATCH /bin/sh /usr/ports/Mk/Scripts/do-fetch.sh '3dcf1ea13d9b2a3371fa35b79e640063de33dc20.patch' echo "===> Fetching all distfiles required by glib-2.82.4_1,2 for building" ===> Fetching all distfiles required by glib-2.82.4_1,2 for building recursive_cmd="fetch"; recursive_dirs=""; if [ -z "${recursive_cmd}" ]; then echo "_FLAVOR_RECURSIVE_SH requires recursive_cmd to be set to the recursive make target to run." >&2; false; fi; if [ "${recursive_dirs-null}" = "null" ]; then echo "_FLAVOR_RECURSIVE_SH requires recursive_dirs to be set to the directories to recurse." >&2; false; fi; for dir in ${recursive_dirs}; do unset flavor FLAVOR; case ${dir} in *@*/*) ;; *@*) flavor=${dir#*@}; dir=${dir%@*}; ;; esac; case $dir in /*) ;; *) dir=/usr/ports/$dir ;; esac; (cd $dir; /usr/bin/env ${flavor:+FLAVOR=${flavor}} make ${recursive_cmd}); done echo "===> Extracting for glib-2.82.4_1,2" ===> Extracting for glib-2.82.4_1,2 /usr/bin/env dp_SHA256=/sbin/sha256 dp_CHECKSUM_ALGORITHMS='SHA256' dp_CURDIR='/usr/ports/devel/glib20' dp_DISTDIR='/usr/ports/distfiles' dp_DISTINFO_FILE='/usr/ports/devel/glib20/distinfo' dp_DIST_SUBDIR='gnome' dp_ECHO_MSG='echo' dp_FETCH_REGET='1' dp_MAKE='make' dp_MAKEFLAGS=' -d l' dp_SCRIPTSDIR='/usr/ports/Mk/Scripts' dp_DISABLE_SIZE='' dp_NO_CHECKSUM='' /bin/sh /usr/ports/Mk/Scripts/checksum.sh 'gnome/glib-2.82.4.tar.xz' 'gnome/3dcf1ea13d9b2a3371fa35b79e640063de33dc20.patch' => SHA256 Checksum OK for gnome/glib-2.82.4.tar.xz. => SHA256 Checksum OK for gnome/3dcf1ea13d9b2a3371fa35b79e640063de33dc20.patch. /usr/bin/env dp_RAWDEPENDS="/usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner:devel/gobject-introspection@bootstrap" dp_DEPTYPE="EXTRACT_DEPENDS" dp_DEPENDS_TARGET="install" dp_DEPENDS_PRECLEAN="" dp_DEPENDS_CLEAN="" dp_DEPENDS_ARGS="" dp_USE_PACKAGE_DEPENDS="" dp_USE_PACKAGE_DEPENDS_ONLY="" dp_PKG_ADD="/usr/local/sbin/pkg-static add" dp_PKG_INFO="/usr/local/sbin/pkg-static info -g" dp_WRKDIR="/usr/ports/devel/glib20/work-default" dp_PKGNAME="glib-2.82.4_1,2" dp_STRICT_DEPENDS="" dp_LOCALBASE="/usr/local" dp_LIB_DIRS="/lib /usr/lib /usr/local/lib" dp_SH="/bin/sh" dp_SCRIPTSDIR="/usr/ports/Mk/Scripts" PORTSDIR="/usr/ports" dp_OVERLAYS="" dp_MAKE="make" dp_MAKEFLAGS=' -d l' /bin/sh /usr/ports/Mk/Scripts/do-depends.sh + set -u + anynotfound=0 + err=0 + unset FLAVOR + myifs=$' \t ' + IFS=: + set -- /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner devel/gobject-introspection@bootstrap + IFS=$' \t ' + [ 2 -lt 2 -o 2 -gt 3 ] + pattern=/usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner + origin=devel/gobject-introspection@bootstrap + last='' + [ -z /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner ] + [ -z devel/gobject-introspection@bootstrap ] + subpkg='' + export 'FLAVOR=bootstrap' + origin=devel/gobject-introspection + orig=/usr/ports/devel/gobject-introspection + [ -f /usr/ports/devel/gobject-introspection/Makefile ] + break + origin=/usr/ports/devel/gobject-introspection + depends_args='' + target=install + [ -n '' ] + fct=find_file + find_file /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner + [ -e /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner ] + echo '===> glib-2.82.4_1,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found' ===> glib-2.82.4_1,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found + return 1 + [ /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner '=' /nonexistent ] + anynotfound=1 + [ ! -f /usr/ports/devel/gobject-introspection/Makefile ] + install_depends /usr/ports/devel/gobject-introspection install '' '' + origin=/usr/ports/devel/gobject-introspection + target=install + subpkg='' + depends_args='' + [ -z '' -a -z '' ] + INSTALLS_DEPENDS=1 MAKEFLAGS=' -d l' make -C /usr/ports/devel/gobject-introspection install cd /usr/ports/devel/gobject-introspection && make CONFIG_DONE_GOBJECT-INTROSPECTION-BOOTSTRAP=1 /usr/ports/devel/gobject-introspection/work-bootstrap/.install_done.gobject-introspection._usr_local_gobject-introspection-bootstrap if [ ! -e /usr/ports/devel/gobject-introspection/work-bootstrap/.install_done.gobject-introspection._usr_local_gobject-introspection-bootstrap ]; then cd /usr/ports/devel/gobject-introspection && make /usr/ports/devel/gobject-introspection/work-bootstrap/.install_done.gobject-introspection._usr_local_gobject-introspection-bootstrap; fi + return 0 + [ find_file '=' false ] + find_file /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner + [ -e /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner ] + echo '===> glib-2.82.4_1,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found' ===> glib-2.82.4_1,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found + return 1 *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/glib20 *** Error code 1 Stop. make: stopped in /usr/ports/devel/glib20
Created attachment 259489 [details] make.conf
Me too... Freshly-upgraded FreeBSD-13.5 stable/13-64f5a71c1c
It is unclear to me why the build stops after discovering a missing dependency. I can't reproduce it on my side. Try removing glib, gobject-introspection, glib-bootstrap and gobject-introspection-bootstrap packages and then building in the following order: 1. devel/glib20@bootstrap 2. devel/gobject-introspection@bootstrap 3. devel/glib20 4. devel/gobject-introspection
Ok, I didn't realize, a new procedure is required -- I see it UPDATING now. Yes, following these 4 steps works. Previously, I did install glib20@boostrap, and then attempted to build gobject-introspection of the default flavor. Maybe, gobject-introspection should become part of glib20 port now, that there is a circular dependency?
(In reply to Xavier Humbert from comment #11) So here is a part of your build log from comment 11... ============ . . + install_depends /usr/ports/devel/gobject-introspection install '' '' + origin=/usr/ports/devel/gobject-introspection + target=install + subpkg='' + depends_args='' + [ -z '' -a -z '' ] + INSTALLS_DEPENDS=1 MAKEFLAGS=' -d l' make -C /usr/ports/devel/gobject-introspection install cd /usr/ports/devel/gobject-introspection && make CONFIG_DONE_GOBJECT-INTROSPECTION-BOOTSTRAP=1 /usr/ports/devel/gobject-introspection/work-bootstrap/.install_done.gobject-introspection._usr_local_gobject-introspection-bootstrap if [ ! -e /usr/ports/devel/gobject-introspection/work-bootstrap/.install_done.gobject-introspection._usr_local_gobject-introspection-bootstrap ]; then cd /usr/ports/devel/gobject-introspection && make /usr/ports/devel/gobject-introspection/work-bootstrap/.install_done.gobject-introspection._usr_local_gobject-introspection-bootstrap; fi + return 0 . . ============ That means that it detected that a file that is part of gobect-introspection@bootstrap (which is a dependency of glib20) was not that there, so it tried to build and install that dependency. When it tried that, it "succeeded" but did nothing (because it thought that everything that needed to be done has been done) Why? Probably because you have a work directory in devel/gobject-introspection/work-bootstrap that is already there, and it has a .install_done* file in it. So 'make' thinks that the job is already done. You probably DID already to a 'make install' of the bootstrap flavor of gobject-introspection (at one point), but then subsequently de-installed it. But you left the work directory in place (and did not do a 'make clean-depends'). If I read the tea leaves right, that's what is probably happening here. So then after it tried to 'make install' the port (and "succeeded"), when it then checked for the dependency (looked for g-ir-scanner), and it didn't find it, so the build failed. If that analysis is correct, then this is not an indication of any problem with either glib20 or gobjecct-instrospection. Just a local problem due to a build tree that needs cleaning. This problem could cause failure on EVERY other port in the entire ports tree that has a dependency.
(In reply to Mikhail T. from comment #15) "Maybe, gobject-introspection should become part of glib20 port now, that there is a circular dependency?" glib is already somewhat big and required by many ports. A good chunk of what is installed by devel/glib20 is already not needed by most ports that have a run-time dependency (although WITHOUT=DOCS helps a lot there). Adding the gobject-introspection pieces will just add to that. I understand the sentiment, however - namely that jumping through hoops to keep two ports separate might not be worth the effort sometimes. Most other packagers do keep these ports (glib and gobject-introspection) separate. Having these bootstrap flavors might not be the only way to skin the cat, but the work is done now (thanks to the work of everyone who helped solve this issue), so unless the other ways are significantly better, perhaps we can just live with this one.
(In reply to John Hein from comment #16) Bingo ! There were work-bootstrap directories in both ports, which were not delete by "make clean" Removing them manually allowed the build to run successfully Thanks !
(In reply to Xavier Humbert from comment #18) Clicked "save changes" too fast... While devel/glib20 built successfully, devel/gobjectinstrospection still fails : glib| Dependency gvdb found: YES 0.0 (overridden) glib| Library m found: YES glib| Run-time dependency libffi found: YES 3.4.7 glib| Run-time dependency zlib found: YES 1.3.1 glib| Checking if "check for -latomic" links: NO glib| Run-time dependency intl found: YES glib| Checking for function "ngettext" with dependency intl: YES glib| Checking for function "bind_textdomain_codeset" with dependency intl: YES glib| Checking for function "getxattr" : NO glib| Header "attr/xattr.h" has symbol "getxattr" : NO subprojects/glib/meson.build:2357:4: ERROR: Problem encountered: No getxattr implementation found in C library or libxattr
Created attachment 259518 [details] gobjectinstrospetcion-build.log
(In reply to Mikhail T. from comment #15) > Maybe, gobject-introspection should become part of glib20 port now, that there is a circular dependency? Yes, but before the upstream does that. There are talks to merge glib and gobject-introspection, but no real work done yet.
(In reply to Xavier Humbert from comment #19) Your glib is still 2.80.5 for some reason.
(In reply to Gleb Popov from comment #21) > There are talks to merge glib and gobject-introspection, but no real work done yet. Wow, and there I thought, it is we, who split them... If they are separate packages upstream, the circular dependency must be a pain for all packagers, not just FreeBSD...
How to fix? Updated ports. FreeBSD 14.2-RELEASE-p2 amd64 root@site:/usr/ports/devel/glib20 # make install clean ===> License LGPL20 accepted by the user ===> glib-2.84.1_2,2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by glib-2.84.1_2,2 for building ===> Extracting for glib-2.84.1_2,2 => SHA256 Checksum OK for gnome/glib-2.84.1.tar.xz. ===> glib-2.84.1_2,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found ===> glib-2.84.1_2,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/glib20 *** Error code 1 Stop. make: stopped in /usr/ports/devel/glib20
(In reply to bagas from comment #24) I fail to reproduce this. In my case the build proceeds to installing the dependency: ===> glib-2.84.1_2,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found ===> gobject-introspection-bootstrap-1.84.0,1 depends on executable: bison - found ... ===> Fetching all distfiles required by glib-bootstrap-2.84.1_2,2 for building ===> Extracting for glib-bootstrap-2.84.1_2,2 ... Do you have something unusual in /etc/make.conf?
/etc/make.conf CPUTYPE?=nocona MAKE_JOBS_NUMBER=6 NO_GAMES=true NO_INET6=true NO_BLUETOOTH=true NO_SHAREDOCS=true OPTIONS_UNSET=DOCS X11 IPV6 BLUETOOTH GAMES SMB CUPS VULKAN FFMPEG GITWEB EXAMPLES
I deleted the devel/glib20 port and tried to install it again, this is what I get. root@site:/usr/ports/devel/glib20 # make install clean ===> License LGPL20 accepted by the user ===> glib-2.84.1_2,2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by glib-2.84.1_2,2 for building ===> Extracting for glib-2.84.1_2,2 => SHA256 Checksum OK for gnome/glib-2.84.1.tar.xz. ===> glib-2.84.1_2,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found ===> glib-2.84.1_2,2 depends on file: /usr/local/gobject-introspection-bootstrap/bin/g-ir-scanner - not found *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/glib20 *** Error code 1 Stop. make: stopped in /usr/ports/devel/glib20 root@site:/usr/ports/devel/glib20 # pkg remove glib-bootstrap gobject-introspection-bootstrap No packages matched for pattern 'glib-bootstrap' No packages matched for pattern 'gobject-introspection-bootstrap' Checking integrity... done (0 conflicting) 2 packages requested for removal: 0 locked, 2 missing root@site:/usr/ports/devel/glib20 # pkg version -v | egrep 'glib-bootstrap|gobject-introspection-bootstrap|glib' root@site:/usr/ports/devel/glib20 #
On the advice of one person, I did this and everything worked out. # cd /usr/ports/devel/gobject-introspection # make FLAVOR=bootstrap install clean # cd ../glib20 # make install clean
(In reply to bagas from comment #28) Thanks bagas, you method fixed all problems with updating glib20 !