Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18096 closed defect (worksforme)

xchat2 failed to the build because don't apply the patch.

Reported by: mcklaren@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Patch failure Cc:
Port: xchat2

Description

Failed to the build because the patch-xtext.h patch isn't applied. I see the Portfile and files dir and the patch exist but i don't know because isn't applied.

Change History (5)

comment:1 Changed 15 years ago by afb@…

What is the error ? (port -d patch xchat2)

comment:2 Changed 15 years ago by mcklaren@…

This is the sudo port -d patch xchat2:

sudo port -d patch xchat2
DEBUG: Found port in file:///Users/mcklaren/ports/irc/xchat2
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/irc/xchat2
DEBUG: Changing to port directory: /Users/mcklaren/ports/irc/xchat2
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port xchat2.
DEBUG: Requested variant i386 is not provided by port xchat2.
DEBUG: Requested variant macosx is not provided by port xchat2.
DEBUG: Requested variant bash_completion is not provided by port xchat2.
DEBUG: Executing org.macports.main (xchat2)
--->  Fetching xchat2
DEBUG: Executing org.macports.fetch (xchat2)
--->  Verifying checksum(s) for xchat2
DEBUG: Executing org.macports.checksum (xchat2)
--->  Checksumming xc284-improvescrollback.diff
DEBUG: Correct (md5) checksum for xc284-improvescrollback.diff
DEBUG: Correct (sha1) checksum for xc284-improvescrollback.diff
DEBUG: Correct (rmd160) checksum for xc284-improvescrollback.diff
--->  Checksumming xc284-scrollbmkdir.diff
DEBUG: Correct (md5) checksum for xc284-scrollbmkdir.diff
DEBUG: Correct (sha1) checksum for xc284-scrollbmkdir.diff
DEBUG: Correct (rmd160) checksum for xc284-scrollbmkdir.diff
--->  Checksumming xchat-2.8.4.tar.bz2
DEBUG: Correct (md5) checksum for xchat-2.8.4.tar.bz2
DEBUG: Correct (sha1) checksum for xchat-2.8.4.tar.bz2
DEBUG: Correct (rmd160) checksum for xchat-2.8.4.tar.bz2
DEBUG: setting option extract.cmd to /usr/bin/bzip2
--->  Extracting xchat2
DEBUG: Executing org.macports.extract (xchat2)
--->  Extracting xchat-2.8.4.tar.bz2
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/xchat2/xchat-2.8.4.tar.bz2
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_mcklaren_ports_irc_xchat2/work" && /usr/bin/bzip2 -dc /opt/local/var/macports/distfiles/xchat2/xchat-2.8.4.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (xchat2)
--->  Applying patches to xchat2
--->  Applying /opt/local/var/macports/distfiles/xchat2/xc284-improvescrollback.diff
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_mcklaren_ports_irc_xchat2/work/xchat-2.8.4" && patch -p0 -p1'
patching file src/common/text.c
Hunk #1 succeeded at 280 (offset -5 lines).
patching file src/fe-gtk/setup.c
--->  Applying /opt/local/var/macports/distfiles/xchat2/xc284-scrollbmkdir.diff
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_mcklaren_ports_irc_xchat2/work/xchat-2.8.4" && patch -p0 -p1'
patching file src/common/text.c

comment:3 Changed 15 years ago 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.

comment:4 Changed 15 years ago by afb@…

Resolution: worksforme
Status: newclosed

Please update your tree (port sync)

xchat2 @2.8.6_1 has the patch applied.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.