pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: travails of the pixman upgrade [Was: Is pango still broken? (vim-gtk2 won't build)]
(I'm not subscribed to pkgsrc-users, and replying by cut&paste from the
mail archive. Apologies in advance for any threading breakage which
results. Please CC me on replies.)
Robert Elz wrote:
What I still don't know is from where pkgsrc (and it must be pkgsrc,
somewhere) gets the value for the LDFLAGS it puts in the environment when
it runs configure.
These values come from each package's BUILDLINK_LIBDIRS.<pkg> and
BUILDLINK_RPATHDIRS.<pkg> variables, which are autogenerated to sensible
things for the vast majority of packages.
They are then concatenated in the order that the packages appear in
BUILDLINK_TREE, although x11-links comes first if it is present.
BUILDLINK_TREE is built in each buildlink3.mk file, and simply tracks
the ordering of inclusion of each buildlink3.mk file.
Duplicates are removed. Only the first occurrence remains.
The full list for x11/gtk2 is below, with duplicates still included,
with annotations showing which package each came from.
libX11 is pulled in from x11/gtk2/options.mk, before any other
buildlink3.mk files.
A possible workaround to this is to move the inclusion of options.mk to
the end of x11/gtk2/Makefile, and that gets the build past the configure
stage on my box. This feels too flaky to be a proper fix, though.
I hope this helps.
Anyway, the flags:
-L/usr/pkg/lib (x11-links)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (libX11)
-L/usr/X11R7/lib (kbproto)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (libXau)
-L/usr/X11R7/lib (xproto)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (libXdmcp)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (xcursor)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (Xfixes)
-L/usr/X11R7/lib (fixesproto)
-L/usr/X11R7/lib (xextproto)
-L/usr/X11R7/lib (inputproto)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (libXrender)
-L/usr/X11R7/lib (renderproto)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (Xft2)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (fontconfig)
-L/usr/lib -Wl,-R/usr/lib (iconv)
-L/usr/lib -Wl,-R/usr/lib (zlib)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (freetype2)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (expat)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (libXinerama)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (libXext)
-L/usr/X11R7/lib (xineramaproto)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (libXrandr)
-L/usr/X11R7/lib (randrproto)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (libXt)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (libSM)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (libICE)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (shared-mime-info)
-L/usr/lib -Wl,-R/usr/lib (gettext)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (glib2)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (pcre)
-pthread -L/usr/lib -Wl,-R/usr/lib (pthread)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (libxml2)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (atk)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (pango)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (cairo)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (libxcb)
-L/usr/pkg/lib (xcb-proto)
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib (MesaLib)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (png)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (pixman)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (jpeg)
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib (tiff)
-L/usr/pkg/lib/python2.6/config -Wl,-R/usr/pkg/lib/python2.6/config
(python26)
-L/usr/lib -Wl,-R/usr/lib (dl)
-Wl,-R/usr/pkg/lib
-Wl,-R/usr/pkg/lib/python2.6/config
-L/usr/X11R7/lib
-Wl,-R/usr/X11R7/lib
BUILDLINK_TREE is:
libX11 kbproto -kbproto libXau xproto -xproto -libXau libXdmcp -libXdmcp
xproto -xproto -libX11 xcursor Xfixes x11-links -x11-links fixesproto
xextproto inputproto -inputproto -xextproto xproto -xproto -fixesproto
-Xfixes libXrender renderproto -renderproto libX11 -libX11 -libXrender
-xcursor Xft2 fontconfig iconv -iconv zlib -zlib freetype2 zlib -zlib
-freetype2 expat -expat -fontconfig libXrender -libXrender -Xft2 Xfixes
-Xfixes libXinerama libX11 -libX11 libXext libX11 -libX11 -libXext
xextproto -xextproto xineramaproto libX11 -libX11 -xineramaproto
-libXinerama x11-links -x11-links libXrandr libX11 -libX11 libXext
-libXext libXrender -libXrender randrproto -randrproto -libXrandr
libXrender -libXrender libXt libSM libICE -libICE -libSM libX11 -libX11
xproto -xproto -libXt xextproto -xextproto libXext -libXext
shared-mime-info gettext iconv -iconv -gettext glib2 iconv -iconv
gettext -gettext pcre -pcre zlib -zlib pthread -pthread -glib2 libxml2
iconv -iconv zlib -zlib -libxml2 -shared-mime-info atk gettext -gettext
glib2 -glib2 -atk gettext -gettext glib2 -glib2 pango Xft2 -Xft2
libXrender -libXrender glib2 -glib2 zlib -zlib fontconfig -fontconfig
cairo libxcb xcb-proto -xcb-proto libXdmcp -libXdmcp libXau -libXau
-libxcb libXrender -libXrender fontconfig -fontconfig freetype2
-freetype2 MesaLib libXext -libXext -MesaLib png zlib -zlib -png pixman
-pixman -cairo freetype2 -freetype2 -pango fontconfig -fontconfig cairo
-cairo freetype2 -freetype2 jpeg -jpeg png -png tiff zlib -zlib jpeg
-jpeg -tiff pthread -pthread python26 dl -dl pthread -pthread gettext
-gettext -python26 x11-links -x11-links x11-links -x11-links x11-links
-x11-links x11-links -x11-links x11-links -x11-links x11-links
-x11-links x11-links -x11-links x11-links -x11-links x11-links
-x11-links x11-links -x11-links x11-links -x11-links x11-links
-x11-links x11-links -x11-links x11-links -x11-links x11-links
-x11-links x11-links -x11-links x11-links -x11-links x11-links
-x11-links x11-links -x11-links x11-links -x11-links x11-links
-x11-links x11-links -x11-links x11-links -x11-links x11-links
-x11-links x11-links -x11-links pthread -pthread
--
Gillette - the best a man can forget
Home |
Main Index |
Thread Index |
Old Index