[MacPorts] #18096: xchat2 failed to the build because don't apply the patch.

MacPorts noreply at macports.org
Mon Jan 19 05:04:37 PST 2009


#18096: xchat2 failed to the build because don't apply the patch.
--------------------------------+-------------------------------------------
 Reporter:  mcklaren@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  Port Bugs                            
Component:  ports               |     Version:  1.7.0                                
 Keywords:  Patch failure       |        Port:  xchat2                               
--------------------------------+-------------------------------------------

Comment(by mcklaren@…):

 In a second install the dependence pango work fine but xchat failed of
 new. This is the error:

 {{{
         mv -f $depbase.Tpo $depbase.Po
 In file included from fe-gtk.c:48:
 xtext.h:273: error: syntax error before 'gtk_xtext_get_type'
 xtext.h:273: warning: type defaults to 'int' in declaration of
 'gtk_xtext_get_type'
 xtext.h:273: warning: data definition has no type or storage class
 depbase=`echo gtkutil.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12   -DG_DISABLE_CAST_CHECKS
 -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include
 -I/usr/X11R6/include -no-cpp-precomp -I/opt/local/include    -O2
 -I/opt/local/include -Wall -g -I/opt/local/include -I/usr/X11R6/include
 -no-cpp-precomp -I/opt/local/include   -MT gtkutil.o -MD -MP -MF
 $depbase.Tpo -c -o gtkutil.o gtkutil.c &&\
         mv -f $depbase.Tpo $depbase.Po
 fe-gtk.c: In function 'fe_ctrl_gui':
 fe-gtk.c:785: warning: implicit declaration of function 'setup_apply_real'
 fe-gtk.c: In function 'try_browser':
 fe-gtk.c:924: warning: passing argument 1 of 'xchat_execv' from
 incompatible pointer type
 make[3]: *** [fe-gtk.o] Error 1
 make[3]: *** Waiting for unfinished jobs....
 fkeys.c: In function 'key_print_text':
 fkeys.c:514: warning: pointer targets in passing argument 2 of
 'PrintTextRaw' differ in signedness
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_Users_mcklaren_ports_irc_xchat2/work/xchat-2.8.4"
 && make -j3 all " returned error 2
 Command output: depbase=`echo dccgui.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12   -DG_DISABLE_CAST_CHECKS
 -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include
 -I/usr/X11R6/include -no-cpp-precomp -I/opt/local/include    -O2
 -I/opt/local/include -Wall -g -I/opt/local/include -I/usr/X11R6/include
 -no-cpp-precomp -I/opt/local/include   -MT dccgui.o -MD -MP -MF
 $depbase.Tpo -c -o dccgui.o dccgui.c &&\
         mv -f $depbase.Tpo $depbase.Po
 depbase=`echo editlist.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12   -DG_DISABLE_CAST_CHECKS
 -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include
 -I/usr/X11R6/include -no-cpp-precomp -I/opt/local/include    -O2
 -I/opt/local/include -Wall -g -I/opt/local/include -I/usr/X11R6/include
 -no-cpp-precomp -I/opt/local/include   -MT editlist.o -MD -MP -MF
 $depbase.Tpo -c -o editlist.o editlist.c &&\
         mv -f $depbase.Tpo $depbase.Po
 depbase=`echo fe-gtk.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12   -DG_DISABLE_CAST_CHECKS
 -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include
 -I/usr/X11R6/include -no-cpp-precomp -I/opt/local/include    -O2
 -I/opt/local/include -Wall -g -I/opt/local/include -I/usr/X11R6/include
 -no-cpp-precomp -I/opt/local/include   -MT fe-gtk.o -MD -MP -MF
 $depbase.Tpo -c -o fe-gtk.o fe-gtk.c &&\
         mv -f $depbase.Tpo $depbase.Po
 depbase=`echo fkeys.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12   -DG_DISABLE_CAST_CHECKS
 -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include
 -I/usr/X11R6/include -no-cpp-precomp -I/opt/local/include    -O2
 -I/opt/local/include -Wall -g -I/opt/local/include -I/usr/X11R6/include
 -no-cpp-precomp -I/opt/local/include   -MT fkeys.o -MD -MP -MF
 $depbase.Tpo -c -o fkeys.o fkeys.c &&\
         mv -f $depbase.Tpo $depbase.Po
 In file included from fe-gtk.c:48:
 xtext.h:273: error: syntax error before 'gtk_xtext_get_type'
 xtext.h:273: warning: type defaults to 'int' in declaration of
 'gtk_xtext_get_type'
 xtext.h:273: warning: data definition has no type or storage class
 depbase=`echo gtkutil.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12   -DG_DISABLE_CAST_CHECKS
 -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include
 -I/usr/X11R6/include -no-cpp-precomp -I/opt/local/include    -O2
 -I/opt/local/include -Wall -g -I/opt/local/include -I/usr/X11R6/include
 -no-cpp-precomp -I/opt/local/include   -MT gtkutil.o -MD -MP -MF
 $depbase.Tpo -c -o gtkutil.o gtkutil.c &&\
         mv -f $depbase.Tpo $depbase.Po
 fe-gtk.c: In function 'fe_ctrl_gui':
 fe-gtk.c:785: warning: implicit declaration of function 'setup_apply_real'
 fe-gtk.c: In function 'try_browser':
 fe-gtk.c:924: warning: passing argument 1 of 'xchat_execv' from
 incompatible pointer type
 make[3]: *** [fe-gtk.o] Error 1
 make[3]: *** Waiting for unfinished jobs....
 fkeys.c: In function 'key_print_text':
 fkeys.c:514: warning: pointer targets in passing argument 2 of
 'PrintTextRaw' differ in signedness
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Warning: the following items did not execute (for xchat2):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/18096#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list