pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47882: "gtk2+" package doesn't build under NetBSD 6.1



>Number:         47882
>Category:       pkg
>Synopsis:       "gtk2+" package doesn't build under NetBSD 6.1
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 03 08:15:00 +0000 2013
>Originator:     Matthias Scheler
>Release:        NetBSD 6.1 pkgsrc HEAD as of 2013-06-03
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
        
        
System: NetBSD colwyn.zhadum.org.uk 6.1 NetBSD 6.1 (COLWYN.64) #0: Sun May 19 
19:41:19 BST 2013 
tron%colwyn.zhadum.org.uk@localhost:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64
>Description:
The latest version of "pango" in "pkgsrc" requires a very recent version
of "fontconfig", in particular more recent than the version distributed
with NetBSD 6.1's native X11.

An attempt was made to fix this by requiring the appropriate version
in the "fontconfig" package:

http://mail-index.netbsd.org/pkgsrc-changes/2013/06/01/msg090060.html

This fix is however not good enough. If the user attempts to directly
build the "gtk2+" package the native "fontconfig" is used. This decision
is cached (via "MAKEFLAGS") and breaks the build of the "pango" package
which the "gtk2+" package depends on.

Even if the user builds the "pango" package manually first there will
be problems because programs will be linked with two different versions
of the "fontconfig" shared library.

>How-To-Repeat:
cd pkgsrc/x11/gtk2
make

>Fix:
The correct fix is:
1.) Set the global minimal required version of the "fontconfig" package to
    at least 2.10.91
2.) Recursive bump all packages that use "fontconfig".

It might be sensible to do the same for the "freetype2" package at the
same time.



Home | Main Index | Thread Index | Old Index