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,

thank you!

Greg Troxel wrote:
Riccardo Mottola <riccardo.mottola%libero.it@localhost> writes:

find /usr/pkg/ -name cairo.h
/usr/pkg/include/cairo/cairo.h

this looks identical to what I see on a "working" 10.0 system

In the command line I see:
-I/usr/pkg/include/cairo

which looks correct and mathing to the file I found!
two things to check/try:

   - look in work/.buildlink* (understand that first from the guide if
     not already) and see if cario.h is buildlink'd in

Yes, it is there.
I see:
/home/pkg-workdir/devel/pango/work/.buildlink/include/cairo

and inside:
/home/pkg-workdir/devel/pango/work/.buildlink/include/cairo
bash-5.2$ file cairo.h
cairo.h: symbolic link to /usr/pkg/include/cairo/cairo.h

and the symlink is valid.


   - remove the old pango before building the new one.  Many gtk-ish
     programs have bugs where their build systems pick up libs/files from
     the installed system ahead of the build tree

Did so, I did a forced pkg_delete (and clean in pango), restarted, pango gets in the build clean.

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>
          ^~~~~~~~~
compilation terminated.


I see the symlinks in .buildink seem complete

bash-5.2$ ls -l include/cairo/
total 0
lrwxr-xr-x  1 root  wheel  41 Jul 23 14:38 cairo-deprecated.h -> /usr/pkg/include/cairo/cairo-deprecated.h lrwxr-xr-x  1 root  wheel  39 Jul 23 14:38 cairo-features.h -> /usr/pkg/include/cairo/cairo-features.h lrwxr-xr-x  1 root  wheel  33 Jul 23 14:38 cairo-ft.h -> /usr/pkg/include/cairo/cairo-ft.h lrwxr-xr-x  1 root  wheel  38 Jul 23 14:38 cairo-gobject.h -> /usr/pkg/include/cairo/cairo-gobject.h lrwxr-xr-x  1 root  wheel  34 Jul 23 14:38 cairo-pdf.h -> /usr/pkg/include/cairo/cairo-pdf.h lrwxr-xr-x  1 root  wheel  33 Jul 23 14:38 cairo-ps.h -> /usr/pkg/include/cairo/cairo-ps.h lrwxr-xr-x  1 root  wheel  49 Jul 23 14:38 cairo-script-interpreter.h -> /usr/pkg/include/cairo/cairo-script-interpreter.h lrwxr-xr-x  1 root  wheel  37 Jul 23 14:38 cairo-script.h -> /usr/pkg/include/cairo/cairo-script.h lrwxr-xr-x  1 root  wheel  34 Jul 23 14:38 cairo-svg.h -> /usr/pkg/include/cairo/cairo-svg.h lrwxr-xr-x  1 root  wheel  34 Jul 23 14:38 cairo-tee.h -> /usr/pkg/include/cairo/cairo-tee.h lrwxr-xr-x  1 root  wheel  38 Jul 23 14:38 cairo-version.h -> /usr/pkg/include/cairo/cairo-version.h lrwxr-xr-x  1 root  wheel  34 Jul 23 14:38 cairo-xcb.h -> /usr/pkg/include/cairo/cairo-xcb.h lrwxr-xr-x  1 root  wheel  43 Jul 23 14:38 cairo-xlib-xrender.h -> /usr/pkg/include/cairo/cairo-xlib-xrender.h lrwxr-xr-x  1 root  wheel  35 Jul 23 14:38 cairo-xlib.h -> /usr/pkg/include/cairo/cairo-xlib.h lrwxr-xr-x  1 root  wheel  30 Jul 23 14:38 cairo.h -> /usr/pkg/include/cairo/cairo.h

so.. more mystery.

Riccardo


Home | Main Index | Thread Index | Old Index