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
The following reply was made to PR pkg/52190; it has been noted by GNATS.
From: Frank Wille <frank%phoenix.owl.de@localhost>
To: gnats-bugs%NetBSD.org@localhost,
pkg-manager%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/52190: building graphics/cairo doesn't find ft2build.h
Date: Wed, 21 Feb 2018 11:53:19 +0100
Warning: This is a message in MIME format. Your mail reader does
not support MIME. Some parts of this message will be readable as
plain text. To see the rest, you will need to upgrade your mail
reader. Following are some URLs where you can find MIME-capable
mail programs for common platforms:
AmigaOS...........: http://www.yam.ch/
Unix/MacOS/Windows: http://www.mozilla.com/thunderbird/
General information about MIME can be found at:
http://en.wikipedia.org/wiki/MIME
----=_BOUNDARY.20cef79854acd5a.01
Content-Type: text/plain
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
----=_BOUNDARY.20cef79854acd5a.01
Content-Type: text/plain;
name="x11links-615amd64.txt"
Content-Disposition: inline;
filename="x11links-615amd64.txt"
===> 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
----=_BOUNDARY.20cef79854acd5a.01
Content-Type: text/plain;
name="x11links-71macppc.txt"
Content-Disposition: inline;
filename="x11links-71macppc.txt"
===> 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
----=_BOUNDARY.20cef79854acd5a.01--
Home |
Main Index |
Thread Index |
Old Index