pkgsrc-Bugs archive

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

pkg/47761: devel/pkg-config fails to build

>Number:         47761
>Category:       pkg
>Synopsis:       devel/pkg-config fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 23 15:55:00 +0000 2013
>Originator:     Robert Swindells
>Release:        NetBSD 6.99.19
System: NetBSD 6.99.19 NetBSD 6.99.19 (PULSAR) #15: Mon Apr 
22 11:48:07 BST 2013 sparc64
Architecture: sparc64
Machine: sparc64
Attempting to build devel/pkg-config on a system containing the recent
locale changes fails with the 

  CCLD     pkg-config
  ./glib/glib/.libs/libglib-2.0.a(gstrfuncs.o): In function `g_ascii_strtod':
  gstrfuncs.c:(.text+0x300): undefined reference to `get_C_locale'
  ./glib/glib/.libs/libglib-2.0.a(gstrfuncs.o): In function `g_ascii_strtoull':
  gstrfuncs.c:(.text+0x824): undefined reference to `get_C_locale'
  ./glib/glib/.libs/libglib-2.0.a(gstrfuncs.o): In function `g_ascii_strtoll':
  gstrfuncs.c:(.text+0x844): undefined reference to `get_C_locale'
  *** Error code 1

  make: stopped in /u1/pkgsrc/devel/pkg-config/work/pkg-config-0.28
  *** Error code 1


The definition of get_C_locale() in gstrfuncs.c is conditional on configure
finding an implementation of newlocale() which doesn't exist in NetBSD.


Try to build the package.


Either add newlocale() to NetBSD or modify the package.


Home | Main Index | Thread Index | Old Index