NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: issues on 9.4 while upgrading pango - missing cairo
Hi Greg,
Greg Troxel wrote:
Fails again though:In file included from
/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/g-ir-cpp-nucj60fk.c:4:0:
/home/pkg-workdir/devel/pango/work/pango-1.52.1/pango/pangocairo.h:26:10:
fatal error: cairo.h: No such file or directory
#include <cairo.h>
This is cairo.h, not cairo/cairo.h, so the build needs an -I for the
cairo dir.
make ssense, at first I thought pangocairo.h was wrong, but then I
checked elsewhere and it is so.
this is a crappy meson buiild, so how do I fix that?
As a check:
$ pkgconf cairo -cflags
-I/usr/pkg/include/cairo -I/usr/pkg/include/freetype2
-I/usr/X11R7/include -D_REENTRANT -I/usr/pkg/include
-I/usr/pkg/include/libpng16 -I/usr/pkg/include/pixman-1
Indeed in the build command (check below) I see this:
-I/usr/pkg/include/cairo
which contains cairo.h
If I check, the directory is fresh from the reinstall you suggested:
drwxr-xr-x 2 root wheel 512 Jul 5 03:55 cairo
A lamp turned on! past error! Look at this thread:
https://mail-index.netbsd.org/port-sparc/2023/04/15/msg002574.html
we discussed about this more than a year ago, when I was still running
8.2. So same issue appears. New kernel, noew packages, same setup.
I wonder if
lrwxr-xr-x 1 root wheel 10 May 8 2020 pkg -> /disk2/pkg
this could be an issue? I hope not. Before turning again to dirty trick
of copying headers... let's see if we can pinpoint the issue.
Riccardo
env
PKG_CONFIG_PATH=/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/meson-uninstalled
PKG_CONFIG=/home/pkg-workdir/devel/pango/work/.tools/bin/pkg-config
CC=gcc /usr/pkg/bin/g-ir-scanner --quiet --no-libtool
--namespace=PangoCairo --nsversion=1.0 --warn-all --output
pango/PangoCairo-1.0.gir --c-include=pango/pangocairo.h --quiet
-I/home/pkg-workdir/devel/pango/work/pango-1.52.1/pango
-I/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/pango
-I/home/pkg-workdir/devel/pango/work/pango-1.52.1/.
-I/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/.
-I/home/pkg-workdir/devel/pango/work/pango-1.52.1/pango/.
-I/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/pango/.
--filelist=/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/pango/libpangocairo-1.0.so.0.5200.1.p/PangoCairo_1.0_gir_filelist
--include-uninstalled=pango/Pango-1.0.gir --include=GObject-2.0
--include=cairo-1.0 --symbol-prefix=pango_cairo
--identifier-prefix=PangoCairo --pkg-export=pangocairo --cflags-begin
-D_POSIX_C_SOURCE=200809L -D_POSIX_THREAD_SAFE_FUNCTIONS -D_GNU_SOURCE
-I/home/pkg-workdir/devel/pango/work/pango-1.52.1/.
-I/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/.
-I/home/pkg-workdir/devel/pango/work/pango-1.52.1/pango/.
-I/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/pango/.
-I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include -I/usr/pkg/include/fribidi
-I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2
-I/usr/pkg/include/libpng16 -I/usr/X11R7/include -D_REENTRANT
-I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1
-I/usr/pkg/include/gobject-introspection-1.0 -I/usr/pkg/include
-I/usr/X11R7/include -I/usr/include -I/usr/pkg/include/freetype2
-I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz
-DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/X11R7/include
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0
-I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/harfbuzz --cflags-end
--add-include-path=/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/pango
--add-include-path=/usr/pkg/share/gir-1.0
--add-include-path=/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/pango
-L/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/pango
--extra-library=pango-1.0 --extra-library=pangoft2-1.0
-L/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/pango --library
pangocairo-1.0
-L/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/pango
-L/usr/pkg/lib -L/usr/X11R7/lib -L/usr/lib --extra-library=m
-L/usr/pkg/lib --extra-library=glib-2.0 --extra-library=intl
--extra-library=gobject-2.0 --extra-library=gio-2.0
--extra-library=fribidi --extra-library=harfbuzz -L/usr/X11R7/lib
--extra-library=fontconfig --extra-library=freetype
--extra-library=Xrender --extra-library=X11 --extra-library=Xft
--extra-library=cairo --extra-library=harfbuzz-gobject
--extra-library=girepository-1.0 --sources-top-dirs
/home/pkg-workdir/devel/pango/work/pango-1.52.1/ --sources-top-dirs
/home/pkg-workdir/devel/pango/work/pango-1.52.1/output/
Home |
Main Index |
Thread Index |
Old Index