pkgsrc-Bugs archive

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

pkg/46924: graphics/cairo 1.12.2.nb1 fails to build on MacOS X 10.7.4



>Number:         46924
>Category:       pkg
>Synopsis:       graphics/cairo 1.12.2.nb1 fails to build on MacOS X 10.7.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 08 06:30:01 +0000 2012
>Originator:     Ian McWilliam
>Release:        
>Organization:
>Environment:
Darwin kristamari-w1 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 
PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
>Description:
graphics/cairo 1.12.2nb1 fails to build on MacOS X 10.7.4

=> Fetching cairo-1.12.2.tar.xz
=> Total size: 42051584 bytes
Requesting http://cairographics.org/releases/cairo-1.12.2.tar.xz
100% |***********************************| 41066 KiB  354.92 KiB/s    00:00 ETA
42051584 bytes retrieved in 01:55 (354.92 KiB/s)
=> Checksum SHA1 OK for cairo-1.12.2.tar.xz
=> Checksum RMD160 OK for cairo-1.12.2.tar.xz
===> Installing dependencies for cairo-1.12.2nb1
==========================================================================
The supported build options for cairo are:

        x11 xcb

The currently selected options are:

        x11 xcb

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.cairo (not defined)

==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb8
=> Build dependency nbpatch-[0-9]*: found nbpatch-20100124
=> Build dependency pkg-config>=0.25: found pkg-config-0.27.1
=> Build dependency xz>=4.999.9betanb1: found xz-5.0.4
=> Build dependency x11-links>=0.70: found x11-links-0.70
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency png>=1.5.0: found png-1.5.12
===> Overriding tools for cairo-1.12.2nb1
===> Extracting for cairo-1.12.2nb1
===> Patching for cairo-1.12.2nb1
=> Applying pkgsrc patches for cairo-1.12.2nb1
===> Creating toolchain wrappers for cairo-1.12.2nb1
===> Configuring for cairo-1.12.2nb1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
checking for i386-apple-darwin11-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make supports nested variables... yes
checking build system type... i386-apple-darwin11
checking host system type... i386-apple-darwin11
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... 
/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker 
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i386-apple-darwin11 file names to i386-apple-darwin11 
format... func_convert_file_noop
checking how to convert i386-apple-darwin11 file names to toolchain format... 
func_convert_file_noop
checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option 
to reload object files... -r
checking for i386-apple-darwin11-objdump... no
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for i386-apple-darwin11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i386-apple-darwin11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for i386-apple-darwin11-strip... no
checking for strip... strip
checking for i386-apple-darwin11-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for i386-apple-darwin11-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for i386-apple-darwin11-dsymutil... no
checking for dsymutil... dsymutil
checking for i386-apple-darwin11-nmedit... no
checking for nmedit... nmedit
checking for i386-apple-darwin11-lipo... no
checking for lipo... lipo
checking for i386-apple-darwin11-otool... no
checking for otool... otool
checking for i386-apple-darwin11-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or 
directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker 
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... darwin11 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for find... /usr/bin/find
checking for xargs... 
/Users/ianm/ports/pkgsrc/graphics/cairo/work/.tools/bin/xargs
checking for i386-apple-darwin11-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether gcc and cc understand -c and -o together... yes
checking for inline... inline
checking pkg-config is at least version 0.9.0... yes
checking for supported warning flags... 
checking whether gcc supports -Werror... yes
checking whether gcc supports -errwarn... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wextra... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wdeclaration-after-statement... yes
checking whether gcc supports -Wmissing-declarations... yes
checking whether gcc supports -Werror-implicit-function-declaration... yes
checking whether gcc supports -Wnested-externs... yes
checking whether gcc supports -Wpointer-arith... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wsign-compare... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wpacked... yes
checking whether gcc supports -Wswitch-enum... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wbad-function-cast... yes
checking whether gcc supports -Wvolatile-register-var... yes
checking whether gcc supports -Wstrict-aliasing=2... yes
checking whether gcc supports -Winit-self... yes
checking whether gcc supports -Wunsafe-loop-optimizations... yes
checking whether gcc supports -Wno-missing-field-initializers... yes
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc supports -Wno-attributes... yes
checking whether gcc supports -Wno-long-long... yes
checking whether gcc supports -Winline... yes
checking whether gcc supports -erroff=E_ENUM_TYPE_MISMATCH_ARG... no
checking whether gcc supports -erroff=E_ENUM_TYPE_MISMATCH_OP... no
checking whether gcc supports -fno-strict-aliasing... yes
checking whether gcc supports -fno-common... yes
checking whether gcc supports -Wp,-D_FORTIFY_SOURCE=2... yes
checking whether gcc supports -Wno-unused-but-set-variable... no
checking which warning flags were supported...  -Wall -Wextra 
-Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations 
-Werror-implicit-function-declaration -Wnested-externs -Wpointer-arith 
-Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes 
-Wpacked -Wswitch-enum -Wmissing-format-attribute -Wbad-function-cast 
-Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self 
-Wunsafe-loop-optimizations -Wno-missing-field-initializers 
-Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline 
-fno-strict-aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2
checking how to enable unused result warnings... 
__attribute__((__warn_unused_result__))
checking how to allow undefined symbols in shared libraries used by test 
suite... 
checking for native atomic primitives... Intel
checking whether atomic ops require a memory barrier... no
checking size of void *... 4
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of size_t... 4
checking for native Win32... no
checking for Sun Solaris (non-POSIX ctime_r)... no
checking for sched_yield in -lrt... no
checking for shm_open in -lrt... no
checking for connect in -lsocket... no
checking for __builtin_return_address(0)... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for uint64_t... yes
checking for uint128_t... no
checking for __uint128_t... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sys/stat.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for alarm... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sched_getaffinity... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for clock_gettime... no
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for feenableexcept... no
checking for fedisableexcept... no
checking for feclearexcept... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking for signal.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for fenv.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for ctime_r... yes
checking for drand48... yes
checking for flockfile... yes
checking for funlockfile... yes
checking for getline... yes
checking for link... yes
checking for strndup... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for sys/stat.h... (cached) yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking for mkdir... yes
checking mkdir variant... mkdir(path, mode)
checking for fork... yes
checking for waitpid... yes
checking for raise... yes
checking for VALGRIND... no
no
checking for compress in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for dlsym in -ldl... yes
checking for dlfcn.h... (cached) yes
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking for cairo's Xlib surface backend feature... 
checking for xlib... yes
checking whether cairo's Xlib surface backend feature could be enabled... yes
checking for cairo's Xlib Xrender surface backend feature... 
checking for xlib_xrender... yes
checking for XRenderCreateLinearGradient... yes
checking for XRenderCreateRadialGradient... yes
checking for XRenderCreateConicalGradient... yes
checking whether cairo's Xlib Xrender surface backend feature could be 
enabled... yes
checking for cairo's XCB surface backend feature... 
checking for xcb... yes
checking whether cairo's XCB surface backend feature could be enabled... yes
checking for cairo's XCB/SHM functions feature... 
checking for xcb_shm... yes
checking whether cairo's XCB/SHM functions feature could be enabled... yes
checking for cairo's Quartz surface backend feature... 
checking ApplicationServices/ApplicationServices.h usability... yes
checking ApplicationServices/ApplicationServices.h presence... yes
checking for ApplicationServices/ApplicationServices.h... yes
checking whether cairo's Quartz surface backend feature could be enabled... yes
checking for cairo's Quartz font backend feature... 
checking whether cairo's Quartz font backend feature could be enabled... yes
checking for cairo's Quartz Image surface backend feature... 
checking whether cairo's Quartz Image surface backend feature could be 
enabled... yes
checking for cairo's Microsoft Windows surface backend feature... 
checking whether cairo's Microsoft Windows surface backend feature could be 
enabled... no (requires a Win32 platform)
checking for cairo's Microsoft Windows font backend feature... 
checking whether cairo's Microsoft Windows font backend feature could be 
enabled... no (requires a Win32 platform)
checking for cairo's PNG functions feature... 
checking for png... yes
checking whether cairo's PNG functions feature could be enabled... yes
checking for cairo's OpenGL surface backend feature... 
checking for gl... yes
checking whether cairo's OpenGL surface backend feature could be enabled... yes
checking for cairo's EGL functions feature... 
checking for egl... no
checking EGL/egl.h usability... no
checking EGL/egl.h presence... no
checking for EGL/egl.h... no
checking whether cairo's EGL functions feature could be enabled... no (EGL 
headers not found)
checking for cairo's GLX functions feature... 
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking whether cairo's GLX functions feature could be enabled... yes
checking for cairo's WGL functions feature... 
checking for windows.h... (cached) no
checking whether cairo's WGL functions feature could be enabled... no (WGL 
headers not found)
checking for cairo's script surface backend feature... 
checking whether cairo's script surface backend feature could be enabled... yes
checking for cairo's FreeType font backend feature... 
checking for FREETYPE... yes
checking whether cairo's FreeType font backend feature could be enabled... yes
checking for cairo's Fontconfig font backend feature... 
checking for FONTCONFIG... yes
checking whether cairo's Fontconfig font backend feature could be enabled... yes
checking for FT_Bitmap_Size.y_ppem... yes
checking for FT_GlyphSlot_Embolden... yes
checking for FT_GlyphSlot_Oblique... yes
checking for FT_Load_Sfnt_Table... yes
checking for FT_Library_SetLcdFilter... yes
checking for FcInit... yes
checking for FcFini... yes
checking for cairo's PostScript surface backend feature... 
checking whether cairo's PostScript surface backend feature could be enabled... 
yes
checking for gs... gs
checking for LIBSPECTRE... no
checking for cairo's PDF surface backend feature... 
checking whether cairo's PDF surface backend feature could be enabled... yes
checking for POPPLER... no
configure: WARNING: PDF backend will not be tested since poppler >= 0.17.4 is 
not available
checking for cairo's SVG surface backend feature... 
checking whether cairo's SVG surface backend feature could be enabled... yes
checking for LIBRSVG... no
configure: WARNING: SVG backend will not be tested since librsvg >= 2.15.0 is 
not available
checking for cairo's image surface backend feature... 
checking for pixman... no
no
checking whether cairo's image surface backend feature could be enabled... no 
(requires pixman-1 >= 0.22.0 http://cairographics.org/releases/)
configure: error: mandatory image surface backend feature could not be enabled
*** Error code 1

Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/graphics/cairo
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package 
Makefile.
*** Error code 1


/usr/pkg/etc/mk.conf

.ifdef BSD_PKG_MK       # begin pkgsrc settings

PKG_DEVELOPER?=         yes
PKGSRCDIR=              /Users/ianm/ports/pkgsrc
PKG_DBDIR=              /var/db/pkg
LOCALBASE=              /usr/pkg
VARBASE=                /var
PKG_TOOLS_BIN=          /usr/pkg/sbin
PKGMANDIR=              man
USE_DESTDIR=            yes

TOOLS_PLATFORM.pax?=    /usr/pkg/bin/${NBPAX_PROGRAM_PREFIX}pax
TOOLS_PLATFORM.tar?=    /usr/pkg/bin/${NBPAX_PROGRAM_PREFIX}tar
FETCH_CMD=              /usr/bin/ftp


PKG_OPTIONS.pari=       -x11
PKG_OPTIONS.gd=         -x11
PKG_OPTIONS.graphviz=   -x11 -tcl -gtk -pangocairo

ACCEPTABLE_LICENSES+=   artistic-2.0
ACCEPTABLE_LICENSES+=   php-license
ACCEPTABLE_LICENSES+=   bsd
.endif                  # end pkgsrc settings


>How-To-Repeat:
try building graphics/cairo
>Fix:



Home | Main Index | Thread Index | Old Index