pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/52190: building graphics/cairo doesn't find ft2build.h
David Holland wrote:
> On Sun, Apr 23, 2017 at 07:45:00PM +0000, frank%phoenix.owl.de@localhost wrote:
>> Links to Freetype and/or Freetype2 are missing. Freetype is also
>> missing in /usr/pkg/share/x11-links/lib/ and pkgconfig.
>
> What is your X11_TYPE?
Nothing. No /etc/mk.conf exists during my pkgsrc builds.
> If you're intending to use native X, make sure
> it's set that way ("native") and make sure you've updated/rebuilt
> x11-links recently.
Yes, I'm always using native X, but I was under the impression that this is
the default, when X11_TYPE is undefined. Also reading doc/pkgsrc.txt makes
me think so.
Nevertheless, I tried with X11_TYPE=native in /etc/mk.conf now, but there is
no difference.
> You ought to get
> /usr/pkg/share/x11-links/include/freetype2/ft2build.h, a link that
> points to /usr/X11R7/include/freetype2/ft2build.h.
It's still missing on my 7.1-stable macppc system.
But... surprisingly it works as you say on a 6.1.5 amd64 system! I made some
tests today, using the same pkgsrc-2017Q1. The freetype2 directory and also
the library links do exist there.
> If the x11-links build fails to find freetype2, or thinks it shouldn't
> be used, that's the problem and we should debug why...
I made a comparison between the output of both systems, building x11-links.
You find the output attached.
Here is the difference. On the amd64 there are two additional lines, which
probably fix something:
=> Fixes wrong module version in freetype2.pc
WARNING: [subst.mk:fx-ft2-pc-version] Ignoring non-existent file
"/usr/pkgsrc/pkgtools/x11-links/work/.x11-buildlink/lib/pkgconfig/freetype2.pc".
Now I don't know whether the different architecture or the different NetBSD
version causes this fix on my iBook G4 to fail.
Thanks in advance!
--
Frank Wille
===> Creating toolchain wrappers for x11-links-1.05
src=/usr/X11R7/lib/pkgconfig/fixesproto.pc dst=/usr/pkgsrc/pkgtools/x11-links/work/.buildlink/lib/pkgconfig/fixesext.pc; /bin/mkdir -p /usr/pkgsrc/pkgtools/x11-links/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi
src=/usr/X11R7/lib/pkgconfig/compositeproto.pc dst=/usr/pkgsrc/pkgtools/x11-links/work/.buildlink/lib/pkgconfig/compositeext.pc; /bin/mkdir -p /usr/pkgsrc/pkgtools/x11-links/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi
=> Fixes wrong module version in freetype2.pc
WARNING: [subst.mk:fx-ft2-pc-version] Ignoring non-existent file "/usr/pkgsrc/pkgtools/x11-links/work/.x11-buildlink/lib/pkgconfig/freetype2.pc".
===> Configuring for x11-links-1.05
===> Creating toolchain wrappers for x11-links-1.05
src=/usr/X11R7/lib/pkgconfig/fixesproto.pc dst=/usr/pkgsrc/pkgtools/x11-links/work/.buildlink/lib/pkgconfig/fixesext.pc; /bin/mkdir -p /usr/pkgsrc/pkgtools/x11-links/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi
src=/usr/X11R7/lib/pkgconfig/compositeproto.pc dst=/usr/pkgsrc/pkgtools/x11-links/work/.buildlink/lib/pkgconfig/compositeext.pc; /bin/mkdir -p /usr/pkgsrc/pkgtools/x11-links/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi
===> Configuring for x11-links-1.05
Home |
Main Index |
Thread Index |
Old Index