pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

can not build notmuch (glib2)



Hello,
I'm still on the 2023Q3 branch on Netbsd unpriviliged build.
I want to build notmuch. This build fail while building the dependency glib2

---
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: cc (gcc 7.5.0 "gcc (nb4 20200810) 7.5.0")
gvdb| C linker for the host machine: cc ld.bfd 2.31.1
gvdb| Build targets in project: 0
gvdb| Subproject gvdb finished.

Dependency gvdb found: YES 0.0 (overridden)
Library m found: YES
Run-time dependency libffi found: YES 3.4.4
Run-time dependency zlib found: YES 1.2.13
Run-time dependency intl found: YES
Checking for function "ngettext" with dependency intl: NO
Library pthread found: YES
Checking for function "ngettext" with dependencies intl, -lpthread: NO
Dependency intl found: YES unknown (cached)

meson.build:2119:2: ERROR: Assert failed: libintl.type_name() == 'internal'
---

mesos logfile
---
Command line: `cc -L/sdfeu/arpa/m/??/OS/OS-NetBSD-2023Q3/pkg/lib -L/usr/lib -I/sdfeu/arpa/m/mbauhardt/OS/OS-NetBSD-2023Q3/pkg/include -I/usr/include -I/sdfeu/arpa/m/mbauhardt/OS/OS-NetBSD-2023Q3/pkg/include/python3.11 /sdfeu/arpa/m/mbauhardt/OS/OS-NetBSD-2023Q3/pkg/usr/work/devel/glib2/work/glib-2.76.5/output/meson-private/tmpj3gwba_4/testfile.c -o /sdfeu/arpa/m/mbauhardt/OS/OS-NetBSD-2023Q3/pkg/usr/work/devel/glib2/work/glib-2.76.5/output/meson-private/tmpj3gwba_4/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,--start-group -lintl -lpthread
-Wl,--end-group -Wl,-zrelro -Wl,-R/sdfeu/arpa/m/mbauhardt/OS/OS-NetBSD-2023Q3/pkg/lib -Wl,-R/usr/lib` -> 1
stderr:
/sdfeu/arpa/m/mbauhardt/OS/OS-NetBSD-2023Q3/pkg/usr/work/devel/glib2/work/glib-2.76.5/output/meson-private/tmpj3gwba_4/testfile.c: In function 'main':
/sdfeu/arpa/m/mbauhardt/OS/OS-NetBSD-2023Q3/pkg/usr/work/devel/glib2/work/glib-2.76.5/output/meson-private/tmpj3gwba_4/testfile.c:20:13: error: '__builtin_ngettext' undeclared (first use in this function); did you mean '__builtin_dgettext'?
             __builtin_ngettext;
             ^~~~~~~~~~~~~~~~~~
             __builtin_dgettext
/sdfeu/arpa/m/mbauhardt/OS/OS-NetBSD-2023Q3/pkg/usr/work/devel/glib2/work/glib-2.76.5/output/meson-private/tmpj3gwba_4/testfile.c:20:13: note: each undeclared identifier is reported only once for each function it appears in

Checking for function "ngettext" with dependencies intl, -lpthread: NO
Dependency intl found: YES unknown (cached)

meson.build:2119:2: ERROR: Assert failed: libintl.type_name() == 'internal'
---

Any idea how I can fix this? maybe disabling `intl`?

Thx
Marko


Home | Main Index | Thread Index | Old Index