pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/34645: devel/glib2 build failure on MacOS X 10.2.8
>Number: 34645
>Category: pkg
>Synopsis: devel/glib2 build failure on MacOS X 10.2.8
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 28 05:25:01 +0000 2006
>Originator: John D. Baker
>Release: MacOS X 10.2.8, pkgsrc-2006Q2
>Organization:
>Environment:
Darwin pm7500.local. 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT
2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc
>Description:
Attempting to build devel/glib2 on MacOS X 10.2.8 (Jaguar) fails as
follows:
[...]
source='gslice.c' object='gslice.lo' libtool=yes \
depfile='.deps/gslice.Plo' tmpdepfile='.deps/gslice.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H -I. -I. -I.. -I..
-DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION -DPREFIX="\"/usr/pkg\"" -DPKGLOCALEDIR="\"share\""
-DPKG_SYSCONFDIR="\"/usr/pkg/etc\"" -no-cpp-precomp -I/usr/pkg/include
-I/usr/include -D_REENTRANT -O2 -I/usr/pkg/include -I/usr/include -Wall -c -o
gslice.lo `test -f 'gslice.c' || echo './'`gslice.c
gcc -pipe -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION
-DPREFIX=\"/usr/pkg\" -DPKGLOCALEDIR=\"share\"
-DPKG_SYSCONFDIR=\"/usr/pkg/etc\" -no-cpp-precomp
-I/Volumes/NetBSD/tmp/pkgsrc/devel/glib2/work/.buildlink/include -D_REENTRANT
-O2 -Wall -c gslice.c -Wp,-MD,.deps/gslice.TPlo -fno-common -DPIC -o
.libs/gslice.o
gslice.c: In function `g_slice_init_nomessage':
gslice.c:294: `_SC_PAGESIZE' undeclared (first use in this function)
gslice.c:294: (Each undeclared identifier is reported only once
gslice.c:294: for each function it appears in.)
gnumake[4]: *** [gslice.lo] Error 1
gnumake[3]: *** [all-recursive] Error 1
gnumake[2]: *** [all] Error 2
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/devel/glib2
[...]
>How-To-Repeat:
Attempt to build devel/glib2 on MacOS X 10.2.8
>Fix:
MacOS X 10.2.8 does not have "_SC_PAGESIZE" or "_SC_PAGE_SIZE" macros
for use with "sysconf()".
It may be possible to work around this with sysctl(3), to query the
"hw.pagesize" parameter.
Home |
Main Index |
Thread Index |
Old Index