pkgsrc-Bugs archive

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

pkg/46747: x11/fltk fails to build on Darwin Mac OS X 10.7.x



>Number:         46747
>Category:       pkg
>Synopsis:       x11/fltk fails to build on Darwin Mac OS X 10.7.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 26 14:15:00 +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:
x11/fltk fails to build on Darwin Mac OS X 10.7


[kristamari-w1:pkgsrc/x11/fltk] root# bmake
=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg 
fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for fltk-1.1.10-source.tar.bz2
=> Checksum RMD160 OK for fltk-1.1.10-source.tar.bz2
===> Installing dependencies for fltk-1.1.10nb3
==========================================================================
The following variables will affect the build process of this package,
fltk-1.1.10nb3.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb8
=> Build dependency nbpatch-[0-9]*: found nbpatch-20100124
=> Build dependency x11-links>=0.70: found x11-links-0.70
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency jpeg>=8nb1: found jpeg-8d
=> Full dependency png>=1.5.0: found png-1.5.12
===> Overriding tools for fltk-1.1.10nb3
===> Extracting for fltk-1.1.10nb3
===> Patching for fltk-1.1.10nb3
=> Applying pkgsrc patches for fltk-1.1.10nb3
===> Creating toolchain wrappers for fltk-1.1.10nb3
===> Configuring for fltk-1.1.10nb3
=> 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
=> Checking for portability problems in extracted files
checking for i386-apple-darwin11-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for nroff... /usr/bin/nroff
checking for htmldoc... /usr/pkg/bin/htmldoc
checking for i386-apple-darwin11-ranlib... no
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
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 whether byte ordering is bigendian... no
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking whether the compiler recognizes bool as a built-in type... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/stdtypes.h usability... no
checking sys/stdtypes.h presence... no
checking for sys/stdtypes.h... no
checking for scandir... yes
checking whether we have the POSIX compatible scandir() prototype... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for strings.h... (cached) yes
checking for strcasecmp... yes
checking for strlcat... yes
checking for strlcpy... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for localeconv... yes
checking for library containing pow... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long int... yes
checking for strtoll... yes
checking for library containing dlsym... none required
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for jpeg_CreateCompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for gzgets in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_read_info in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking libpng/png.h usability... no
checking libpng/png.h presence... no
checking for libpng/png.h... no
checking for png_get_valid in -lpng... yes
checking for png_set_tRNS_to_alpha in -lpng... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
checking if GCC supports -fno-exceptions... yes
checking if GCC supports -fno-strict-aliasing... yes

Configuration Summary
-------------------------------------------------------------------------
    Directories: prefix=/usr/pkg
                 bindir=${exec_prefix}/bin
                 datadir=${datarootdir}
                 datarootdir=${prefix}/share
                 exec_prefix=${prefix}
                 includedir=${prefix}/include
                 libdir=${exec_prefix}/lib
                 mandir=/usr/pkg/man
       Graphics: Quickdraw
Image Libraries: JPEG=System
                 PNG=System
                 ZLIB=System
    Large Files: NO
         OpenGL: YES
        Threads: YES
configure: creating ./config.status
config.status: creating makeinclude
config.status: creating fltk.list
config.status: creating fltk-config
config.status: creating fltk.spec
config.status: creating FL/Makefile
config.status: creating config.h
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for fltk-1.1.10nb3
=== making src ===
Compiling Fl.cxx...
libtool: compile:  g++ -I.. -Os -Wno-deprecated-declarations -Wall -Wunused 
-Wno-format-y2k -fno-exceptions -fno-strict-aliasing -D_THREAD_SAFE 
-D_REENTRANT -no-cpp-precomp -isystem /usr/include 
-I/Users/ianm/ports/pkgsrc/x11/fltk/work/.buildlink/include 
-I/Users/ianm/ports/pkgsrc/x11/fltk/work/.x11-buildlink/include -pipe -O2 -arch 
i386 -c Fl.cxx  -fno-common -DPIC -o .libs/Fl.o
In file included from ../FL/x.H:41,
                 from Fl.cxx:35:
../FL/mac.H: In function 'OpaqueRgnHandle* XRectangleRegion(int, int, int, 
int)':
../FL/mac.H:49: error: 'NewRgn' was not declared in this scope
../FL/mac.H:50: error: 'SetRectRgn' was not declared in this scope
../FL/mac.H: In function 'void XDestroyRegion(OpaqueRgnHandle*)':
../FL/mac.H:54: error: 'DisposeRgn' was not declared in this scope
In file included from ../FL/x.H:41,
                 from Fl.cxx:35:
../FL/mac.H: At global scope:
../FL/mac.H:72: error: 'CursHandle' does not name a type
../FL/mac.H:99: error: 'CursHandle' does not name a type
Fl.cxx: In static member function 'static void Fl::flush()':
Fl.cxx:491: error: 'GetPort' was not declared in this scope
Fl.cxx:493: error: 'QDFlushPortBuffer' was not declared in this scope
Fl.cxx: In member function 'void Fl_Widget::damage(uchar, int, int, int, int)':
Fl.cxx:1183: error: 'NewRgn' was not declared in this scope
Fl.cxx:1184: error: 'SetRectRgn' was not declared in this scope
Fl.cxx:1185: error: 'UnionRgn' was not declared in this scope
Fl.cxx:1186: error: 'DisposeRgn' was not declared in this scope
In file included from Fl.cxx:1218:
Fl_mac.cxx: At global scope:
Fl_mac.cxx:91: error: 'CursHandle' does not name a type
Fl_mac.cxx:106: error: 'CursPtr' does not name a type
Fl_mac.cxx:107: error: 'Cursor' does not name a type
Fl_mac.cxx: In function 'double do_queued_events(double)':
Fl_mac.cxx:676: error: 'NewRgn' was not declared in this scope
Fl_mac.cxx:679: error: 'SetRectRgn' was not declared in this scope
Fl_mac.cxx: In function 'OSStatus 
carbonMouseHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)':
Fl_mac.cxx:1041: error: 'GetPort' was not declared in this scope
Fl_mac.cxx:1042: error: 'SetPort' was not declared in this scope
Fl_mac.cxx:1043: error: 'SetOrigin' was not declared in this scope
Fl_mac.cxx:1046: error: 'GlobalToLocal' was not declared in this scope
Fl_mac.cxx: In function 'void fl_open_display()':
Fl_mac.cxx:1313: error: 'default_cursor' was not declared in this scope
Fl_mac.cxx:1313: error: 'GetQDGlobalsArrow' was not declared in this scope
Fl_mac.cxx:1314: error: 'default_cursor_ptr' was not declared in this scope
Fl_mac.cxx:1315: error: 'fl_default_cursor' was not declared in this scope
Fl_mac.cxx: In static member function 'static int Fl::x()':
Fl_mac.cxx:1380: error: 'GetQDGlobalsScreenBits' was not declared in this scope
Fl_mac.cxx: In static member function 'static int Fl::y()':
Fl_mac.cxx:1390: error: 'GetQDGlobalsScreenBits' was not declared in this scope
Fl_mac.cxx: In static member function 'static int Fl::w()':
Fl_mac.cxx:1400: error: 'GetQDGlobalsScreenBits' was not declared in this scope
Fl_mac.cxx: In static member function 'static int Fl::h()':
Fl_mac.cxx:1410: error: 'GetQDGlobalsScreenBits' was not declared in this scope
Fl_mac.cxx: In static member function 'static void Fl::get_mouse(int&, int&)':
Fl_mac.cxx:1423: error: 'LocalToGlobal' was not declared in this scope
Fl_mac.cxx: In member function 'void Fl_X::flush()':
Fl_mac.cxx:1448: error: 'GetPort' was not declared in this scope
Fl_mac.cxx:1450: error: 'QDFlushPortBuffer' was not declared in this scope
Fl_mac.cxx:1455: error: 'SetOrigin' was not declared in this scope
Fl_mac.cxx: In function 'void handleUpdateEvent(OpaqueWindowPtr*)':
Fl_mac.cxx:1470: error: 'GetPort' was not declared in this scope
Fl_mac.cxx:1471: error: 'SetPort' was not declared in this scope
Fl_mac.cxx:1480: error: 'DisposeRgn' was not declared in this scope
Fl_mac.cxx: In static member function 'static int Fl_X::fake_X_wm(const 
Fl_Window*, int&, int&, int&, int&, int&)':
Fl_mac.cxx:1536: error: 'GetDeviceList' was not declared in this scope
Fl_mac.cxx:1536: error: 'GetNextDevice' was not declared in this scope
Fl_mac.cxx:1544: error: 'GetNextDevice' was not declared in this scope
Fl_mac.cxx:1553: error: 'GetNextDevice' was not declared in this scope
Fl_mac.cxx:1562: error: 'GetNextDevice' was not declared in this scope
Fl_mac.cxx:1571: error: 'GetNextDevice' was not declared in this scope
Fl_mac.cxx:1580: error: 'GetMainDevice' was not declared in this scope
In file included from Fl.cxx:1218:
Fl_mac.cxx: In static member function 'static void Fl_X::make(Fl_Window*)':
Fl_mac.cxx:1817: error: 'class Fl_X' has no member named 'cursor'
Fl_mac.cxx:1817: error: 'fl_default_cursor' was not declared in this scope
Fl_mac.cxx:1919: error: 'class Fl_X' has no member named 'cursor'
Fl_mac.cxx:1919: error: 'fl_default_cursor' was not declared in this scope
Fl_mac.cxx: In member function 'void Fl_Window::make_current()':
Fl_mac.cxx:2151: error: 'NewRgn' was not declared in this scope
Fl_mac.cxx:2155: error: 'SetPort' was not declared in this scope
Fl_mac.cxx:2167: error: 'SetOrigin' was not declared in this scope
Fl_mac.cxx:2169: error: 'SetRectRgn' was not declared in this scope
Fl_mac.cxx:2176: error: 'NewRgn' was not declared in this scope
Fl_mac.cxx:2179: error: 'DiffRgn' was not declared in this scope
Fl_mac.cxx:2180: error: 'DisposeRgn' was not declared in this scope
Fl_mac.cxx:2192: error: 'SetPortClipRegion' was not declared in this scope
gnumake[1]: *** [Fl.o] Error 1
gnumake: *** [all] Error 1
*** Error code 2

Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/x11/fltk
*** Error code 1


While I don't use fltk is is a dependency for math/pari hence math/pari won't 
build without
disabling x11 support. PKG_OPTIONS.pari=        -x11



>How-To-Repeat:
try building x11/fltk
>Fix:



Home | Main Index | Thread Index | Old Index