Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17052 closed defect (fixed)

pidgin-25.2 build error

Reported by: michaelgoerz@… Owned by: simon@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jonathan@…
Port: pidgin

Description (last modified by jmroot (Joshua Root))

bash-3.2$ sudo port clean pidgin
--->  Cleaning pidgin
bash-3.2$ sudo port install pidgin +quartz +no_x11
--->  Fetching pidgin
--->  Verifying checksum(s) for pidgin
--->  Extracting pidgin
--->  Applying patches to pidgin
--->  Configuring pidgin
--->  Building pidgin with target all
§Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_pidgin/work/pidgin-2.5.2" && make all " returned error 2
Command output: eggtrayicon.c:462: error: dereferencing pointer to incomplete type
eggtrayicon.c:464: error: dereferencing pointer to incomplete type
eggtrayicon.c:468: error: dereferencing pointer to incomplete type
eggtrayicon.c: In function 'egg_tray_icon_send_message':
eggtrayicon.c:522: error: dereferencing pointer to incomplete type
eggtrayicon.c:522: error: 'None' undeclared (first use in this function)
eggtrayicon.c:528: error: dereferencing pointer to incomplete type
eggtrayicon.c:532: error: 'Window' undeclared (first use in this function)
eggtrayicon.c:532: error: syntax error before 'gtk_plug_get_id'
eggtrayicon.c:539: error: 'XClientMessageEvent' undeclared (first use in this function)
eggtrayicon.c:539: error: syntax error before 'ev'
eggtrayicon.c:540: error: 'Display' undeclared (first use in this function)
eggtrayicon.c:540: error: 'xdisplay' undeclared (first use in this function)
eggtrayicon.c:547: error: 'ev' undeclared (first use in this function)
eggtrayicon.c:547: error: 'ClientMessage' undeclared (first use in this function)
eggtrayicon.c:548: error: syntax error before 'gtk_plug_get_id'
eggtrayicon.c:551: error: 'False' undeclared (first use in this function)
eggtrayicon.c:565: error: dereferencing pointer to incomplete type
eggtrayicon.c:565: error: 'StructureNotifyMask' undeclared (first use in this function)
eggtrayicon.c:565: error: 'XEvent' undeclared (first use in this function)
eggtrayicon.c:565: error: syntax error before ')' token
eggtrayicon.c: In function 'egg_tray_icon_cancel_message':
eggtrayicon.c:581: error: 'Window' undeclared (first use in this function)
eggtrayicon.c:581: error: syntax error before 'gtk_plug_get_id'
eggtrayicon.c: In function 'egg_tray_icon_get_orientation':
eggtrayicon.c:590: error: dereferencing pointer to incomplete type
make[3]: *** [eggtrayicon.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Other variants fail as well.

Attachments (3)

pidgin.log (28.7 KB) - added by jmroot (Joshua Root) 16 years ago.
complete build log
autogen.sh (5.2 KB) - added by shreevatsa.public@… 16 years ago.
Pidgin's autogen.sh, modified to remove last line
pidgin.diff (1.1 KB) - added by shreevatsa.public@… 16 years ago.
changes to Portfile to make it work

Download all attachments as: .zip

Change History (14)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to simon@…
Port: pidgin added

comment:2 Changed 16 years ago by jonathan@…

Cc: jonathan@… added

Cc Me!

comment:3 in reply to:  description Changed 16 years ago by russianspy237@…

sh-3.2# port -d install pidgin +quartz +no_x11 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/pidgin DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/pidgin 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 powerpc is not provided by port pidgin. DEBUG: Requested variant darwin is not provided by port pidgin. DEBUG: Requested variant macosx is not provided by port pidgin. DEBUG: Executing variant no_x11 provides no_x11 DEBUG: Executing variant quartz provides quartz DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/audiofile DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/audiofile 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 powerpc is not provided by port audiofile. DEBUG: Requested variant darwin is not provided by port audiofile. DEBUG: Requested variant no_x11 is not provided by port audiofile. DEBUG: Requested variant macosx is not provided by port audiofile. DEBUG: Requested variant quartz is not provided by port audiofile. DEBUG: Searching for dependency: audiofile DEBUG: Found Dependency: receipt exists for audiofile DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus 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 powerpc is not provided by port dbus. DEBUG: Requested variant darwin is not provided by port dbus. DEBUG: Requested variant macosx is not provided by port dbus. DEBUG: Requested variant quartz is not provided by port dbus. DEBUG: Executing variant no_x11 provides no_x11 DEBUG: Searching for dependency: dbus DEBUG: Found Dependency: receipt exists for dbus DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus-glib DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus-glib 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 powerpc is not provided by port dbus-glib. DEBUG: Requested variant darwin is not provided by port dbus-glib. DEBUG: Requested variant no_x11 is not provided by port dbus-glib. DEBUG: Requested variant macosx is not provided by port dbus-glib. DEBUG: Requested variant quartz is not provided by port dbus-glib. DEBUG: Searching for dependency: dbus-glib DEBUG: Found Dependency: receipt exists for dbus-glib DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2 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 powerpc is not provided by port gtk2. DEBUG: Requested variant darwin is not provided by port gtk2. DEBUG: Requested variant macosx is not provided by port gtk2. DEBUG: Executing variant no_x11 provides no_x11 DEBUG: Executing variant quartz provides quartz DEBUG: Searching for dependency: gtk2 DEBUG: Found Dependency: receipt exists for gtk2 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libao DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libao 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 powerpc is not provided by port libao. DEBUG: Requested variant no_x11 is not provided by port libao. DEBUG: Requested variant macosx is not provided by port libao. DEBUG: Requested variant quartz is not provided by port libao. DEBUG: Executing variant darwin provides darwin DEBUG: Searching for dependency: libao DEBUG: Found Dependency: receipt exists for libao DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxml2 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxml2 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 powerpc is not provided by port libxml2. DEBUG: Requested variant darwin is not provided by port libxml2. DEBUG: Requested variant no_x11 is not provided by port libxml2. DEBUG: Requested variant macosx is not provided by port libxml2. DEBUG: Requested variant quartz is not provided by port libxml2. DEBUG: Executing variant darwin_9 provides darwin_9 DEBUG: Searching for dependency: libxml2 DEBUG: Found Dependency: receipt exists for libxml2 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/nspr DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/nspr 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 powerpc is not provided by port nspr. DEBUG: Requested variant darwin is not provided by port nspr. DEBUG: Requested variant no_x11 is not provided by port nspr. DEBUG: Requested variant macosx is not provided by port nspr. DEBUG: Requested variant quartz is not provided by port nspr. DEBUG: Searching for dependency: nspr DEBUG: Found Dependency: receipt exists for nspr DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/nss DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/nss 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: not using configure, so not adding the default universal variant DEBUG: Requested variant powerpc is not provided by port nss. DEBUG: Requested variant darwin is not provided by port nss. DEBUG: Requested variant no_x11 is not provided by port nss. DEBUG: Requested variant macosx is not provided by port nss. DEBUG: Requested variant quartz is not provided by port nss. DEBUG: Searching for dependency: nss DEBUG: Found Dependency: receipt exists for nss DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-xml-parser DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-xml-parser 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: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port p5-xml-parser. DEBUG: Requested variant darwin is not provided by port p5-xml-parser. DEBUG: Requested variant no_x11 is not provided by port p5-xml-parser. DEBUG: Requested variant macosx is not provided by port p5-xml-parser. DEBUG: Requested variant quartz is not provided by port p5-xml-parser. DEBUG: Searching for dependency: p5-xml-parser DEBUG: Found Dependency: receipt exists for p5-xml-parser DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/intltool DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/intltool 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: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant powerpc is not provided by port intltool. DEBUG: Requested variant darwin is not provided by port intltool. DEBUG: Requested variant no_x11 is not provided by port intltool. DEBUG: Requested variant macosx is not provided by port intltool. DEBUG: Requested variant quartz is not provided by port intltool. DEBUG: Searching for dependency: intltool DEBUG: Found Dependency: receipt exists for intltool DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/autoconf DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/autoconf 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 powerpc is not provided by port autoconf. DEBUG: Requested variant darwin is not provided by port autoconf. DEBUG: Requested variant no_x11 is not provided by port autoconf. DEBUG: Requested variant macosx is not provided by port autoconf. DEBUG: Requested variant quartz is not provided by port autoconf. DEBUG: Searching for dependency: autoconf DEBUG: Found Dependency: receipt exists for autoconf DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/automake DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/automake 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 powerpc is not provided by port automake. DEBUG: Requested variant darwin is not provided by port automake. DEBUG: Requested variant no_x11 is not provided by port automake. DEBUG: Requested variant macosx is not provided by port automake. DEBUG: Requested variant quartz is not provided by port automake. DEBUG: Searching for dependency: automake DEBUG: Found Dependency: receipt exists for automake DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/intltool DEBUG: Searching for dependency: intltool DEBUG: Found Dependency: receipt exists for intltool DEBUG: Executing org.macports.main (pidgin) DEBUG: Skipping completed org.macports.fetch (pidgin) DEBUG: Skipping completed org.macports.checksum (pidgin) DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Skipping completed org.macports.extract (pidgin) DEBUG: Skipping completed org.macports.patch (pidgin) DEBUG: Skipping completed org.macports.configure (pidgin) ---> Building pidgin DEBUG: Executing org.macports.build (pidgin) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_pidgin/work/pidgin-2.5.2" && make all' make all-recursive Making all in libpurple make all-recursive Making all in plugins Making all in perl Making all in ssl make[5]: Nothing to be done for `all'. Making all in tcl make[5]: Nothing to be done for `all'. cd ../../libpurple && make dbus-types.h make[6]: `dbus-types.h' is up to date. Making all in protocols Making all in gg make[5]: Nothing to be done for `all'. Making all in irc make[5]: Nothing to be done for `all'. Making all in jabber make[5]: Nothing to be done for `all'. Making all in msn make[5]: Nothing to be done for `all'. Making all in myspace make[5]: Nothing to be done for `all'. Making all in novell make[5]: Nothing to be done for `all'. Making all in oscar make[5]: Nothing to be done for `all'. Making all in qq make[5]: Nothing to be done for `all'. Making all in simple make[5]: Nothing to be done for `all'. Making all in yahoo make[5]: Nothing to be done for `all'. Making all in zephyr make[5]: Nothing to be done for `all'. make[5]: Nothing to be done for `all-am'. Making all in tests make[4]: Nothing to be done for `all'. Making all in . make[4]: Nothing to be done for `all-am'. Making all in example make[4]: Nothing to be done for `all'. Making all in doc make[2]: Nothing to be done for `all'. Making all in pidgin Making all in pixmaps Making all in emotes/default/24 make[4]: Nothing to be done for `all'. Making all in emotes/none make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. Making all in plugins Making all in musicmessaging cd ../../../libpurple && make dbus-types.h make[5]: `dbus-types.h' is up to date. Making all in perl Making all in ticker make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DBR_PTHREADS=0 -DDATADIR=\"/opt/local/share\" -DLIBDIR=\"/opt/local/lib/pidgin/\" -DLOCALEDIR=\"/opt/local/share/locale\" -DSYSCONFDIR=\"/opt/local/etc\" -I../libpurple -I../libpurple/ -I.. -I.. -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -Wall -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 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -DUSE_INTERNAL_LIBGADU -I/opt/local/include -no-cpp-precomp -g -O2 -MT eggtrayicon.o -MD -MP -MF ".deps/eggtrayicon.Tpo" -c -o eggtrayicon.o eggtrayicon.c; \

then mv -f ".deps/eggtrayicon.Tpo" ".deps/eggtrayicon.Po"; else rm -f ".deps/eggtrayicon.Tpo"; exit 1; fi

In file included from eggtrayicon.c:24: eggtrayicon.h:26:22: error: gdk/gdkx.h: No such file or directory In file included from eggtrayicon.c:24: eggtrayicon.h:46: error: syntax error before 'Atom' eggtrayicon.h:46: warning: no semicolon at end of struct or union eggtrayicon.h:47: warning: type defaults to 'int' in declaration of 'manager_atom' eggtrayicon.h:47: warning: data definition has no type or storage class eggtrayicon.h:48: error: syntax error before 'system_tray_opcode_atom' eggtrayicon.h:48: warning: type defaults to 'int' in declaration of 'system_tray_opcode_atom' eggtrayicon.h:48: warning: data definition has no type or storage class eggtrayicon.h:49: error: syntax error before 'orientation_atom' eggtrayicon.h:49: warning: type defaults to 'int' in declaration of 'orientation_atom' eggtrayicon.h:49: warning: data definition has no type or storage class eggtrayicon.h:50: error: syntax error before 'manager_window' eggtrayicon.h:50: warning: type defaults to 'int' in declaration of 'manager_window' eggtrayicon.h:50: warning: data definition has no type or storage class eggtrayicon.h:53: error: syntax error before '}' token eggtrayicon.c: In function 'egg_tray_icon_get_type': eggtrayicon.c:82: error: invalid application of 'sizeof' to incomplete type 'EggTrayIcon' eggtrayicon.c: In function 'egg_tray_icon_init': eggtrayicon.c:103: error: dereferencing pointer to incomplete type eggtrayicon.c:104: error: dereferencing pointer to incomplete type eggtrayicon.c: In function 'egg_tray_icon_get_property': eggtrayicon.c:146: error: dereferencing pointer to incomplete type eggtrayicon.c: At top level: eggtrayicon.c:154: error: syntax error before '*' token eggtrayicon.c:156: warning: return type defaults to 'int' eggtrayicon.c: In function 'egg_tray_icon_get_x_display': eggtrayicon.c:157: error: 'Display' undeclared (first use in this function) eggtrayicon.c:157: error: (Each undeclared identifier is reported only once eggtrayicon.c:157: error: for each function it appears in.) eggtrayicon.c:157: error: 'xdisplay' undeclared (first use in this function) eggtrayicon.c:165: warning: implicit declaration of function 'GDK_DISPLAY_XDISPLAY' eggtrayicon.c: In function 'egg_tray_icon_get_orientation_property': eggtrayicon.c:177: error: 'Display' undeclared (first use in this function) eggtrayicon.c:177: error: 'xdisplay' undeclared (first use in this function) eggtrayicon.c:178: error: 'Atom' undeclared (first use in this function) eggtrayicon.c:178: error: syntax error before 'type' eggtrayicon.c:188: error: dereferencing pointer to incomplete type eggtrayicon.c:188: error: 'None' undeclared (first use in this function) eggtrayicon.c:196: error: 'type' undeclared (first use in this function) eggtrayicon.c:197: warning: implicit declaration of function 'XGetWindowProperty' eggtrayicon.c:198: error: dereferencing pointer to incomplete type eggtrayicon.c:199: error: dereferencing pointer to incomplete type eggtrayicon.c:201: error: syntax error before numeric constant eggtrayicon.c:206: error: 'Success' undeclared (first use in this function) eggtrayicon.c:209: error: syntax error before numeric constant eggtrayicon.c:217: error: dereferencing pointer to incomplete type eggtrayicon.c:219: error: dereferencing pointer to incomplete type eggtrayicon.c:226: warning: implicit declaration of function 'XFree' eggtrayicon.c: In function 'egg_tray_icon_manager_filter': eggtrayicon.c:233: error: 'XEvent' undeclared (first use in this function) eggtrayicon.c:233: error: 'xev' undeclared (first use in this function) eggtrayicon.c:233: error: syntax error before ')' token eggtrayicon.c:235: error: 'ClientMessage' undeclared (first use in this function) eggtrayicon.c:236: error: dereferencing pointer to incomplete type eggtrayicon.c:237: error: dereferencing pointer to incomplete type eggtrayicon.c:241: error: dereferencing pointer to incomplete type eggtrayicon.c:243: error: 'PropertyNotify' undeclared (first use in this function) eggtrayicon.c:244: error: dereferencing pointer to incomplete type eggtrayicon.c:248: error: 'DestroyNotify' undeclared (first use in this function) eggtrayicon.c: In function 'egg_tray_icon_unrealize': eggtrayicon.c:263: error: dereferencing pointer to incomplete type eggtrayicon.c:263: error: 'None' undeclared (first use in this function) eggtrayicon.c:269: error: dereferencing pointer to incomplete type eggtrayicon.c: At top level: eggtrayicon.c:292: error: syntax error before 'Window' eggtrayicon.c: In function 'egg_tray_icon_send_manager_message': eggtrayicon.c:297: error: 'XClientMessageEvent' undeclared (first use in this function) eggtrayicon.c:297: error: syntax error before 'ev' eggtrayicon.c:298: error: 'Display' undeclared (first use in this function) eggtrayicon.c:298: error: 'display' undeclared (first use in this function) eggtrayicon.c:300: error: 'ev' undeclared (first use in this function) eggtrayicon.c:300: error: 'ClientMessage' undeclared (first use in this function) eggtrayicon.c:301: error: 'window' undeclared (first use in this function) eggtrayicon.c:302: error: 'icon' undeclared (first use in this function) eggtrayicon.c:304: warning: implicit declaration of function 'gdk_x11_get_server_time' eggtrayicon.c:305: error: 'message' undeclared (first use in this function) eggtrayicon.c:306: error: 'data1' undeclared (first use in this function) eggtrayicon.c:307: error: 'data2' undeclared (first use in this function) eggtrayicon.c:308: error: 'data3' undeclared (first use in this function) eggtrayicon.c:317: warning: implicit declaration of function 'XSendEvent' eggtrayicon.c:318: error: 'False' undeclared (first use in this function) eggtrayicon.c:318: error: 'NoEventMask' undeclared (first use in this function) eggtrayicon.c:318: error: 'XEvent' undeclared (first use in this function) eggtrayicon.c:318: error: syntax error before ')' token eggtrayicon.c:319: warning: implicit declaration of function 'XSync' eggtrayicon.c: In function 'egg_tray_icon_send_dock_request': eggtrayicon.c:328: error: dereferencing pointer to incomplete type eggtrayicon.c: In function 'egg_tray_icon_update_manager_window': eggtrayicon.c:337: error: 'Display' undeclared (first use in this function) eggtrayicon.c:337: error: 'xdisplay' undeclared (first use in this function) eggtrayicon.c:339: error: dereferencing pointer to incomplete type eggtrayicon.c:339: error: 'None' undeclared (first use in this function) eggtrayicon.c:347: warning: implicit declaration of function 'XGrabServer' eggtrayicon.c:349: error: dereferencing pointer to incomplete type eggtrayicon.c:349: warning: implicit declaration of function 'XGetSelectionOwner' eggtrayicon.c:350: error: dereferencing pointer to incomplete type eggtrayicon.c:352: error: dereferencing pointer to incomplete type eggtrayicon.c:353: warning: implicit declaration of function 'XSelectInput' eggtrayicon.c:354: error: dereferencing pointer to incomplete type eggtrayicon.c:354: error: 'StructureNotifyMask' undeclared (first use in this function) eggtrayicon.c:354: error: 'PropertyChangeMask' undeclared (first use in this function) eggtrayicon.c:356: warning: implicit declaration of function 'XUngrabServer' eggtrayicon.c:357: warning: implicit declaration of function 'XFlush' eggtrayicon.c:359: error: dereferencing pointer to incomplete type eggtrayicon.c:365: error: dereferencing pointer to incomplete type eggtrayicon.c: In function 'egg_tray_icon_manager_window_destroyed': eggtrayicon.c:384: error: dereferencing pointer to incomplete type eggtrayicon.c:384: error: 'None' undeclared (first use in this function) eggtrayicon.c:388: error: dereferencing pointer to incomplete type eggtrayicon.c:395: error: dereferencing pointer to incomplete type eggtrayicon.c: In function 'egg_tray_icon_realize': eggtrayicon.c:435: error: 'Display' undeclared (first use in this function) eggtrayicon.c:435: error: 'xdisplay' undeclared (first use in this function) eggtrayicon.c:460: error: dereferencing pointer to incomplete type eggtrayicon.c:460: warning: implicit declaration of function 'XInternAtom' eggtrayicon.c:460: error: 'False' undeclared (first use in this function) eggtrayicon.c:462: error: dereferencing pointer to incomplete type eggtrayicon.c:464: error: dereferencing pointer to incomplete type eggtrayicon.c:468: error: dereferencing pointer to incomplete type eggtrayicon.c: In function 'egg_tray_icon_send_message': eggtrayicon.c:522: error: dereferencing pointer to incomplete type eggtrayicon.c:522: error: 'None' undeclared (first use in this function) eggtrayicon.c:528: error: dereferencing pointer to incomplete type eggtrayicon.c:532: error: 'Window' undeclared (first use in this function) eggtrayicon.c:532: error: syntax error before 'gtk_plug_get_id' eggtrayicon.c:539: error: 'XClientMessageEvent' undeclared (first use in this function) eggtrayicon.c:539: error: syntax error before 'ev' eggtrayicon.c:540: error: 'Display' undeclared (first use in this function) eggtrayicon.c:540: error: 'xdisplay' undeclared (first use in this function) eggtrayicon.c:547: error: 'ev' undeclared (first use in this function) eggtrayicon.c:547: error: 'ClientMessage' undeclared (first use in this function) eggtrayicon.c:548: error: syntax error before 'gtk_plug_get_id' eggtrayicon.c:551: error: 'False' undeclared (first use in this function) eggtrayicon.c:565: error: dereferencing pointer to incomplete type eggtrayicon.c:565: error: 'StructureNotifyMask' undeclared (first use in this function) eggtrayicon.c:565: error: 'XEvent' undeclared (first use in this function) eggtrayicon.c:565: error: syntax error before ')' token eggtrayicon.c: In function 'egg_tray_icon_cancel_message': eggtrayicon.c:581: error: 'Window' undeclared (first use in this function) eggtrayicon.c:581: error: syntax error before 'gtk_plug_get_id' eggtrayicon.c: In function 'egg_tray_icon_get_orientation': eggtrayicon.c:590: error: dereferencing pointer to incomplete type make[3]: * [eggtrayicon.o] Error 1 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/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_pidgin/work/pidgin-2.5.2" && make all " returned error 2 Command output: eggtrayicon.c:462: error: dereferencing pointer to incomplete type eggtrayicon.c:464: error: dereferencing pointer to incomplete type eggtrayicon.c:468: error: dereferencing pointer to incomplete type eggtrayicon.c: In function 'egg_tray_icon_send_message': eggtrayicon.c:522: error: dereferencing pointer to incomplete type eggtrayicon.c:522: error: 'None' undeclared (first use in this function) eggtrayicon.c:528: error: dereferencing pointer to incomplete type eggtrayicon.c:532: error: 'Window' undeclared (first use in this function) eggtrayicon.c:532: error: syntax error before 'gtk_plug_get_id' eggtrayicon.c:539: error: 'XClientMessageEvent' undeclared (first use in this function) eggtrayicon.c:539: error: syntax error before 'ev' eggtrayicon.c:540: error: 'Display' undeclared (first use in this function) eggtrayicon.c:540: error: 'xdisplay' undeclared (first use in this function) eggtrayicon.c:547: error: 'ev' undeclared (first use in this function) eggtrayicon.c:547: error: 'ClientMessage' undeclared (first use in this function) eggtrayicon.c:548: error: syntax error before 'gtk_plug_get_id' eggtrayicon.c:551: error: 'False' undeclared (first use in this function) eggtrayicon.c:565: error: dereferencing pointer to incomplete type eggtrayicon.c:565: error: 'StructureNotifyMask' undeclared (first use in this function) eggtrayicon.c:565: error: 'XEvent' undeclared (first use in this function) eggtrayicon.c:565: error: syntax error before ')' token eggtrayicon.c: In function 'egg_tray_icon_cancel_message': eggtrayicon.c:581: error: 'Window' undeclared (first use in this function) eggtrayicon.c:581: error: syntax error before 'gtk_plug_get_id' eggtrayicon.c: In function 'egg_tray_icon_get_orientation': eggtrayicon.c:590: error: dereferencing pointer to incomplete type make[3]: * [eggtrayicon.o] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 Warning: the following items did not execute (for pidgin): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. sh-3.2#

Same error but with more details.

Changed 16 years ago by jmroot (Joshua Root)

Attachment: pidgin.log added

complete build log

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Upstream ticket with workaround patch: http://developer.pidgin.im/ticket/7322

comment:5 Changed 16 years ago by tobypeterson

Resolution: fixed
Status: newclosed

comment:6 in reply to:  5 Changed 16 years ago by jonathan@…

Replying to toby@…:

r44281

The above error still persists when building +no_x11 +quartz. The default build fails as well, but with a different error.

comment:7 Changed 16 years ago by tobypeterson

Resolution: fixed
Status: closedreopened

rolled back

comment:8 Changed 16 years ago by shreevatsa.public@…

The problem is some Autotools nonsense I will never understand. [It seems that the build phase calls configure again (to generate files currently missing?), and in the process some of the effects of the patches get overwritten.]

Anyway, everything works fine if you first apply the patches, then run autogen.sh (which calls configure and fails, but nevermind), *then* run configure and build. [So you could just add running autogen.sh to the post-patch/pre-configure phase.]

Someone who understands what's actually going on will probably have a simpler way to do this, so I'm not submitting a patch.

Changed 16 years ago by shreevatsa.public@…

Attachment: autogen.sh added

Pidgin's autogen.sh, modified to remove last line

Changed 16 years ago by shreevatsa.public@…

Attachment: pidgin.diff added

changes to Portfile to make it work

comment:9 Changed 16 years ago by shreevatsa.public@…

Just attached a couple of files with which building pidgin +quartz +no_x11 works.

With these changes (putting autogen.sh in net/pidgin/files and patching net/pidgin/Portfile) it works for me and I believe it can be committed, unless someone wants to change

system ${filespath}/autogen.sh

to something better.

comment:10 Changed 16 years ago by simon@…

Resolution: fixed
Status: reopenedclosed

Thanks for your help. Committed in r45337.

Simon

comment:11 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.