Hi,
Updating our tp-note package from v1.19.4 to 1.19.5 and hitting a build failure.
Any hints on what could be causing this? I see that the versions of the crates glib-sys, glib and glib-macros are the same on v1.19.4 and v1.19.5, so that is not the issue.
The following warnings were emitted during compilation:
warning: `"/usr/pkgsrc/wip/tp-note/work/.tools/bin/pkg-config" "--libs" "--cflags" "glib-2.0" "glib-2.0 >= 2.48"` did not exit successfully: exit status: 1
error: failed to run custom build command for `glib-sys v0.15.10`
Caused by:
process didn't exit successfully: `/usr/pkgsrc/wip/tp-note/work/tp-note-v1.19.5-692304815256290b31ae0dcb1679ebad0dd39b9f/target/release/build/glib-sys-6373f97bac89f54f/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=GLIB_2.0_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-netbsd
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_netbsd
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-netbsd
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_netbsd
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-netbsd
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_netbsd
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-netbsd
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_netbsd
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:warning=`"/usr/pkgsrc/wip/tp-note/work/.tools/bin/pkg-config" "--libs" "--cflags" "glib-2.0" "glib-2.0 >= 2.48"` did not exit successfully: exit status: 1
error: could not find system library 'glib-2.0' required by the 'glib-sys' crate
--- stdout
--- stderr
Package libpcre was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre', required by 'glib-2.0', not found
Package 'libpcre', required by 'glib-2.0', not found
warning: build failed, waiting for other jobs to finish...
*** Error code 101
Stop.
For info,
/usr/pkg/lib > ls | grep libpcre
.rw-r--r-- root wheel 366 KB Mon Nov 21 01:08:42 2022 libpcre.a
.rwxr-xr-x root wheel 941 B Mon Nov 21 01:08:38 2022 libpcre.la
lrwxr-xr-x root wheel 17 B Mon Nov 21 01:08:38 2022 libpcre.so ⇒ libpcre.so.1.2.13
lrwxr-xr-x root wheel 17 B Mon Nov 21 01:08:38 2022 libpcre.so.1 ⇒ libpcre.so.1.2.13
.rwxr-xr-x root wheel 270 KB Mon Nov 21 01:08:37 2022 libpcre.so.1.2.13
.rw-r--r-- root wheel 345 KB Mon Nov 21 01:08:42 2022 libpcre16.a
.rwxr-xr-x root wheel 955 B Mon Nov 21 01:08:38 2022 libpcre16.la
lrwxr-xr-x root wheel 19 B Mon Nov 21 01:08:38 2022 libpcre16.so ⇒ libpcre16.so.0.2.13
lrwxr-xr-x root wheel 19 B Mon Nov 21 01:08:38 2022 libpcre16.so.0 ⇒ libpcre16.so.0.2.13
.rwxr-xr-x root wheel 246 KB Mon Nov 21 01:08:38 2022 libpcre16.so.0.2.13
.rw-r--r-- root wheel 467 KB Mon Nov 21 01:44:07 2022 libpcre2-16.a
.rwxr-xr-x root wheel 970 B Mon Nov 21 01:44:05 2022 libpcre2-16.la
lrwxr-xr-x root wheel 21 B Mon Nov 21 01:44:04 2022 libpcre2-16.so ⇒ libpcre2-16.so.0.11.0
lrwxr-xr-x root wheel 21 B Mon Nov 21 01:44:04 2022 libpcre2-16.so.0 ⇒ libpcre2-16.so.0.11.0
.rwxr-xr-x root wheel 346 KB Mon Nov 21 01:44:04 2022 libpcre2-16.so.0.11.0
.rw-r--r-- root wheel 458 KB Mon Nov 21 01:44:07 2022 libpcre2-32.a
.rwxr-xr-x root wheel 970 B Mon Nov 21 01:44:05 2022 libpcre2-32.la
lrwxr-xr-x root wheel 21 B Mon Nov 21 01:44:05 2022 libpcre2-32.so ⇒ libpcre2-32.so.0.11.0
lrwxr-xr-x root wheel 21 B Mon Nov 21 01:44:05 2022 libpcre2-32.so.0 ⇒ libpcre2-32.so.0.11.0
.rwxr-xr-x root wheel 334 KB Mon Nov 21 01:44:05 2022 libpcre2-32.so.0.11.0
.rw-r--r-- root wheel 507 KB Mon Nov 21 01:44:07 2022 libpcre2-8.a
.rwxr-xr-x root wheel 963 B Mon Nov 21 01:44:04 2022 libpcre2-8.la
lrwxr-xr-x root wheel 20 B Mon Nov 21 01:44:04 2022 libpcre2-8.so ⇒ libpcre2-8.so.0.11.0
lrwxr-xr-x root wheel 20 B Mon Nov 21 01:44:04 2022 libpcre2-8.so.0 ⇒ libpcre2-8.so.0.11.0
.rwxr-xr-x root wheel 382 KB Mon Nov 21 01:44:04 2022 libpcre2-8.so.0.11.0
.rw-r--r-- root wheel 5.4 KB Mon Nov 21 01:44:08 2022 libpcre2-posix.a
.rwxr-xr-x root wheel 1.0 KB Mon Nov 21 01:44:07 2022 libpcre2-posix.la
lrwxr-xr-x root wheel 23 B Mon Nov 21 01:44:07 2022 libpcre2-posix.so ⇒ libpcre2-posix.so.3.0.2
lrwxr-xr-x root wheel 23 B Mon Nov 21 01:44:06 2022 libpcre2-posix.so.3 ⇒ libpcre2-posix.so.3.0.2
.rwxr-xr-x root wheel 12 KB Mon Nov 21 01:44:06 2022 libpcre2-posix.so.3.0.2
.rw-r--r-- root wheel 51 KB Mon Nov 21 01:08:43 2022 libpcrecpp.a
.rwxr-xr-x root wheel 1008 B Mon Nov 21 01:08:42 2022 libpcrecpp.la
lrwxr-xr-x root wheel 19 B Mon Nov 21 01:08:42 2022 libpcrecpp.so ⇒ libpcrecpp.so.0.0.2
lrwxr-xr-x root wheel 19 B Mon Nov 21 01:08:42 2022 libpcrecpp.so.0 ⇒ libpcrecpp.so.0.0.2
.rwxr-xr-x root wheel 46 KB Mon Nov 21 01:08:42 2022 libpcrecpp.so.0.0.2
.rw-r--r-- root wheel 5.6 KB Mon Nov 21 01:08:43 2022 libpcreposix.a
.rwxr-xr-x root wheel 1022 B Mon Nov 21 01:08:40 2022 libpcreposix.la
lrwxr-xr-x root wheel 21 B Mon Nov 21 01:08:40 2022 libpcreposix.so ⇒ libpcreposix.so.0.0.7
lrwxr-xr-x root wheel 21 B Mon Nov 21 01:08:40 2022 libpcreposix.so.0 ⇒ libpcreposix.so.0.0.7
.rwxr-xr-x root wheel 12 KB Mon Nov 21 01:08:40 2022 libpcreposix.so.0.0.7
> pkgin list | grep glib2
glib2-2.72.4 Some useful routines for C programming (glib2)
glib2-tools-2.72.4 GLib2/gobject python-dependent tools
OS: NetBSD 9.99.107 (GENERIC) #0: Sat Nov 26 00:25:36 UTC 2022 amd64
Rust: 1.65.0
Hi, Updating our
tp-note
package from v1.19.4 to 1.19.5 and hitting a build failure. Any hints on what could be causing this? I see that the versions of the cratesglib-sys
,glib
andglib-macros
are the same on v1.19.4 and v1.19.5, so that is not the issue.For info,
OS: NetBSD 9.99.107 (GENERIC) #0: Sat Nov 26 00:25:36 UTC 2022 amd64 Rust: 1.65.0