pkgsrc-Bugs archive

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

pkg/32147: editors/abiword-plugins build failure on MacOS X 10.4.3



>Number:         32147
>Category:       pkg
>Synopsis:       editors/abiword-plugins build failure on MacOS X 10.4.3
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 23 09:45:00 +0000 2005
>Originator:     John D. Baker
>Release:        MacOS X 10.4.3
>Organization:
>Environment:
Darwin pm8500.technoskunk.fur 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct  3 
20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc

>Description:
editors/abiword-plugins fails to build on MacOS X 10.4.3 (and probably
earlier versions) as follows:

[...]
Making all in xp
if /bin/sh ../../../libtool --mode=compile --tag=CXX g++ 
-DPACKAGE_NAME=\"abiword-plugins\" -DPACKAGE_TARNAME=\"abiword-plugins\" 
-DPACKAGE_VERSION=\"2.4.1\" -DPACKAGE_STRING=\"abiword-plugins\ 2.4.1\" 
-DPACKAGE_BUGREPORT=\"http://bugzilla.abisource.com/\"; -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DPACKAGE=\"abiword\" -DVERSION=\"2.4.1\" 
-DHAVE_DLFCN_H=1 -DHAVE_LIBBZ2=1 -DTIME_WITH_SYS_TIME=1  -I. -I.   -DNDEBUG  
-I../../../../abi/src/af/util/xp -I../../../../abi/src/af/util/unix 
-I../../../../abi/src/af/xap/xp -I../../../../abi/src/af/ev/xp 
-I../../../../abi/src/af/gr/xp -I../../../../abi/src/text/fmt/xp 
-I../../../../abi/src/text/ptbl/xp -I../../../../abi/src/wp/impexp/xp 
-I../../../../abi/src/wp/ap/xp -I../../../../abi/src/other/spell/xp 
-I../../../../abi/src/other/fribidi/xp -I../../../../abi/src/other/ttftool
 /unix -I../../../../abi/src/af/xap/cocoa -I../../../../abi/src/af/ev/cocoa 
-I../../../../abi/src/af/gr/cocoa -I../../../../abi/src/wp/ap/cocoa 
-DABI_PLUGIN_VERSION=\"2.4.1\" -DABI_PLUGIN_MAJOR=2 -DABI_PLUGIN_MINOR=4 
-DABI_PLUGIN_MICRO=1 -DABI_PLUGIN_SOURCE=1 -no-cpp-precomp -I/usr/pkg/include 
-DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/X11R6/include  -I/usr/pkg/include/fribidi 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include    -O2 
-I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 
-I/usr/include -I/usr/X11R6/include -MT AbiCommand.lo -MD -MP -MF 
".deps/AbiCommand.Tpo" -c -o AbiCommand.lo AbiCommand.cpp; \
then mv -f ".deps/AbiCommand.Tpo" ".deps/AbiCommand.Plo"; else rm -f 
".deps/AbiCommand.Tpo"; exit 1; fi
mkdir .libs
 g++ -DPACKAGE_NAME=\"abiword-plugins\" -DPACKAGE_TARNAME=\"abiword-plugins\" 
-DPACKAGE_VERSION=\"2.4.1\" "-DPACKAGE_STRING=\"abiword-plugins 2.4.1\"" 
-DPACKAGE_BUGREPORT=\"http://bugzilla.abisource.com/\"; -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DPACKAGE=\"abiword\" -DVERSION=\"2.4.1\" -DHAVE_DLFCN_H=1 
-DHAVE_LIBBZ2=1 -DTIME_WITH_SYS_TIME=1 -I. -DNDEBUG 
-I../../../../abi/src/af/util/xp -I../../../../abi/src/af/util/unix 
-I../../../../abi/src/af/xap/xp -I../../../../abi/src/af/ev/xp 
-I../../../../abi/src/af/gr/xp -I../../../../abi/src/text/fmt/xp 
-I../../../../abi/src/text/ptbl/xp -I../../../../abi/src/wp/impexp/xp 
-I../../../../abi/src/wp/ap/xp -I../../../../abi/src/other/spell/xp 
-I../../../../abi/src/other/fribidi/xp -I../../../../abi/src/other/ttftool/unix 
-I../../../../abi/src/af/xap/cocoa -I../../../../abi/src/af/ev/cocoa -I.
 ./../../../abi/src/af/gr/cocoa -I../../../../abi/src/wp/ap/cocoa 
-DABI_PLUGIN_VERSION=\"2.4.1\" -DABI_PLUGIN_MAJOR=2 -DABI_PLUGIN_MINOR=4 
-DABI_PLUGIN_MICRO=1 -DABI_PLUGIN_SOURCE=1 -no-cpp-precomp 
-I/Volumes/NetBSD/tmp/pkgsrc/editors/abiword-plugins/work/.buildlink/include 
-DGLX_GLXEXT_LEGACY 
-I/Volumes/NetBSD/tmp/pkgsrc/editors/abiword-plugins/work/.buildlink/include/freetype2
 
-I/Volumes/NetBSD/tmp/pkgsrc/editors/abiword-plugins/work/.x11-buildlink/include
 
-I/Volumes/NetBSD/tmp/pkgsrc/editors/abiword-plugins/work/.buildlink/include/fribidi
 
-I/Volumes/NetBSD/tmp/pkgsrc/editors/abiword-plugins/work/.buildlink/include/glib/glib-2.0
 
-I/Volumes/NetBSD/tmp/pkgsrc/editors/abiword-plugins/work/.buildlink/lib/glib-2.0/include
 -O2 -MT AbiCommand.lo -MD -MP -MF .deps/AbiCommand.Tpo -c AbiCommand.cpp  
-fno-common -DPIC -o .libs/AbiCommand.o
AbiCommand.cpp:45:24: error: ap_UnixApp.h: No such file or directory
AbiCommand.cpp:62:34: error: xap_UnixNullGraphics.h: No such file or directory
AbiCommand.cpp:63:32: error: xap_UnixPSGraphics.h: No such file or directory
AbiCommand.cpp:64:26: error: ap_UnixFrame.h: No such file or directory
AbiCommand.cpp: In member function 'void AbiCommand::deleteCurrentDoc()':
AbiCommand.cpp:211: error: no matching function for call to 
'XAP_App::forgetFrame(AP_UnixFrame*&)'
../../../../abi/src/af/xap/xp/xap_App.h:112: note: candidates are: virtual bool 
XAP_App::forgetFrame(XAP_Frame*)
AbiCommand.cpp:216: warning: possible problem detected in invocation of delete 
operator:
AbiCommand.cpp:216: warning: invalid use of undefined type 'struct AP_UnixFrame'
AbiCommand.h:25: warning: forward declaration of 'struct AP_UnixFrame'
AbiCommand.cpp:216: note: neither the destructor nor the class-specific 
operator delete will be called, even if they are declared when the class is 
defined.
AbiCommand.cpp: In member function 'UT_sint32 
AbiCommand::parseTokens(UT_Vector*)':
AbiCommand.cpp:780: error: 'AP_UnixApp' was not declared in this scope
AbiCommand.cpp:780: error: 'pUnixApp' was not declared in this scope
AbiCommand.cpp:780: error: expected type-specifier before 'AP_UnixApp'
AbiCommand.cpp:780: error: expected `>' before 'AP_UnixApp'
AbiCommand.cpp:780: error: expected `(' before 'AP_UnixApp'
AbiCommand.cpp:780: error: expected primary-expression before '>' token
AbiCommand.cpp:780: error: expected `)' before ';' token
AbiCommand.cpp: In member function 'bool AbiCommand::viewDoc()':
AbiCommand.cpp:867: error: invalid use of undefined type 'struct AP_UnixFrame'
AbiCommand.h:25: error: forward declaration of 'struct AP_UnixFrame'
AbiCommand.cpp: In member function 'bool AbiCommand::printFiles(UT_Vector*)':
AbiCommand.cpp:1098: error: 'PS_GraphicsAllocInfo' was not declared in this 
scope
AbiCommand.cpp:1098: error: expected `;' before 'ai'
AbiCommand.cpp:1105: error: 'PS_Graphics' was not declared in this scope
AbiCommand.cpp:1105: error: 'pG' was not declared in this scope
AbiCommand.cpp:1105: error: expected primary-expression before ')' token
AbiCommand.cpp:1105: error: expected `;' before 'm_pApp'
AbiCommand.cpp:1108: error: no matching function for call to 
'FL_DocLayout::FL_DocLayout(PD_Document*&, <type error>)'
../../../../abi/src/text/fmt/xp/fl_DocLayout.h:94: note: candidates are: 
FL_DocLayout::FL_DocLayout(PD_Document*, GR_Graphics*)
../../../../abi/src/text/fmt/xp/fl_DocLayout.h:90: note:                 
FL_DocLayout::FL_DocLayout(const FL_DocLayout&)
AbiCommand.cpp:1141: error: type '<type error>' argument given to 'delete', 
expected pointer
AbiCommand.cpp: In member function 'void AbiCommand::nullUpdate()':
AbiCommand.cpp:1153: error: 'gtk_main_iteration' was not declared in this scope
AbiCommand.cpp: In member function 'bool 
AbiCommand::replaceDocument(PD_Document*)':
AbiCommand.cpp:1170: error: 'XAP_UnixApp' was not declared in this scope
AbiCommand.cpp:1170: error: 'pUnixApp' was not declared in this scope
AbiCommand.cpp:1170: error: expected type-specifier before 'XAP_UnixApp'
AbiCommand.cpp:1170: error: expected `>' before 'XAP_UnixApp'
AbiCommand.cpp:1170: error: expected `(' before 'XAP_UnixApp'
AbiCommand.cpp:1170: error: expected primary-expression before '>' token
AbiCommand.cpp:1170: error: expected `)' before ';' token
AbiCommand.cpp:1171: error: invalid use of undefined type 'struct AP_UnixFrame'
AbiCommand.h:25: error: forward declaration of 'struct AP_UnixFrame'
AbiCommand.cpp:1173: error: invalid use of undefined type 'struct AP_UnixFrame'
AbiCommand.h:25: error: forward declaration of 'struct AP_UnixFrame'
AbiCommand.cpp:1174: error: 'XAP_UnixNullGraphicsAllocInfo' was not declared in 
this scope
AbiCommand.cpp:1174: error: expected `;' before 'ai'
AbiCommand.cpp:1175: error: 'ai' was not declared in this scope
AbiCommand.cpp:1178: error: invalid static_cast from type 'UnixNull_Graphics*' 
to type 'GR_Graphics*'
AbiCommand.cpp:1180: error: invalid use of undefined type 'struct AP_UnixFrame'
AbiCommand.h:25: error: forward declaration of 'struct AP_UnixFrame'
AbiCommand.cpp:1181: error: invalid use of undefined type 'struct AP_UnixFrame'
AbiCommand.h:25: error: forward declaration of 'struct AP_UnixFrame'
gnumake[3]: *** [AbiCommand.lo] Error 1
gnumake[2]: *** [all-recursive] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all-recursive] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/editors/abiword-plugins
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /Volumes/NetBSD/tmp/pkgsrc/editors/abiword-plugins/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/editors/abiword-plugins

>How-To-Repeat:
On MacOS X 10.4.3 (with XCode Tools 2.2):

cd .../editors/abiword-plugins
bmake

>Fix:
It looks like the package is self-configuring for a Cocoa/MacOS build
instead of an X11 build.  Perhaps additional pkgsrc patches are needed
to encourage it to configure for X11 on MacOS X/Darwin?




Home | Main Index | Thread Index | Old Index