pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
text relocations... graphics/ocaml-cairo won't build on 2026Q2
I get text relocation / write protected on a 32bit NetBSD/i386 system
running NetBSD 11.0_STABLE. The 2026Q2 pkgsrc is from 2026-08-07 and
the system is from 2026-08-02.
===> Creating toolchain wrappers for ocaml-cairo-0.6.5nb8
===> Configuring for ocaml-cairo-0.6.5nb8
=> Generating pkg-config file for builtin expat package.
/usr/bin/sed -e "s,.*#define *OCAML_CAIRO_HAS_FT .*,#define OCAML_CAIRO_HAS_FT," /lhome/WORK/graphics/ocaml-cairo/work/ocaml-cairo-0.6.5/src/cairo_ocaml.h.p > /lhome/WORK/graphics/ocaml-cairo/work/ocaml-cairo-0.6.5/src/cairo_ocaml.h
===> Building for ocaml-cairo-0.6.5nb8
(cd _build/default && /lhome/WORK/graphics/ocaml-cairo/work/.buildlink/bin/ocamlopt.opt -w -40 -g -o config/discover.exe /usr/pkg/lib/ocaml/unix.cmxa -I /usr/pkg/lib/ocaml /usr/pkg/lib/ocaml/site-lib/csexp/csexp.cmxa /usr/pkg/lib/ocaml/site-lib/dune-configurator/configurator.cmxa /usr/pkg/lib/ocaml/str.cmxa -I /usr/pkg/lib/ocaml config/.discover.eobjs/native/discover.cmx)
ld: config/.discover.eobjs/native/discover.o: warning: relocation in read-only section `.text'
ld: warning: creating DT_TEXTREL in a PIE
File "src/dune", lines 12-15, characters 0-118:
12 | (rule
13 | (targets c_flags.sexp c_library_flags.sexp)
14 | (deps cairo_ocaml.h.p)
15 | (action (run ../config/discover.exe)))
(cd _build/default/src && ../config/discover.exe)
/lhome/WORK/graphics/ocaml-cairo/work/ocaml-cairo-0.6.5/_build/default/src/../config/discover.exe: text relocations
/lhome/WORK/graphics/ocaml-cairo/work/ocaml-cairo-0.6.5/_build/default/src/../config/discover.exe: Cannot write-enable text segment: Permission denied
*** Error code 1
Stop.
make[4]: stopped making "package-install" in /usr/pkgsrc/graphics/ocaml-cairo
*** Error code 1
Any ideas??
--
Brad Spencer - brad%anduin.eldar.org@localhost
Home |
Main Index |
Thread Index |
Old Index