pkgsrc-Bugs archive

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

pkg/48989: x11/modular-xorg-server PKG_OPTIONS.freetype2 = png needed for X11_TYPE=modular

>Number:         48989
>Category:       pkg
>Synopsis:       x11/modular-xorg-server PKG_OPTIONS.freetype2 = png needed for 
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 12 18:55:00 +0000 2014
>Originator:     David Shao
>Release:        NetBSD 6.99.47 amd64
NetBSD 6.99.47 NetBSD 6.99.47 (GENERIC) #5: Sat Jul 12 07:51:37 PDT 2014 
xxxxx@/usr/obj/sys/arch/amd64/compile/GENERIC amd64

For both NetBSD 6.99.47 amd64 and DragonFly 3.9-DEVELOPMENT x86_64, systems 
running pkgsrc with X11_TYPE=modular and without in mk.conf

PKG_OPTIONS.freetype2 = png

have packages such as x11/modular-xorg-server fail to build with error messages 
such as:

sdksyms.c:1681:5: warning: cast discards '__attribute__((noreturn))' qualifier 
from pointer target type [-Wcast-qual]
  CCLD     Xorg
/usr/libexec/binutils224/elf/ld.bfd: cannot find -lpng16
Makefile:644: recipe for target 'Xorg' failed
gmake[4]: *** [Xorg] Error 1
gmake[4]: Leaving directory 
Makefile:689: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
Makefile:563: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
Makefile:520: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
Makefile:676: recipe for target 'all-recursive' failed
gmake: *** [all-recursive] Error 1


Setting in mk.conf

PKG_OPTIONS.freetype2 = png

and rebuilding graphics/freetype2 and perhaps some other dependencies allows 
x11/modular-xorg-server to be built.  I have not actually verified the minimal 
number of dependencies that need to be rebuilt.

Home | Main Index | Thread Index | Old Index