#12460 closed defect (fixed)
glib2 2.14.0_0 breaks wireshark (works with 2.12.13_0)
Reported by: | ooburai@… | Owned by: | ghosthound |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.1 |
Keywords: | Cc: | ||
Port: |
Description
I'm not sure of the specific cause, but I suspect it is a minor incompatibility between wireshark 0.99.6 and the new 2.14 glib2 stream. In any case when I revert the glib2 port to the previous version (2.12.13) everything builds without issue. As the new glib2 claims to be compatible with the 2.12 stream the port maintainer may want to consider opening a bug report with the gtk+ maintainers since this a a .0 release that has only been in the wild since 2007-08-11.
System is MacOS X 10.4.10 (Intel) Darwin vega.lan 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386
MacPorts v1.5.10
Details follow.
Failed wireshark build (glib2 2.14.0)
vega:~ go$ sudo port install wireshark ---> Fetching wireshark ---> Verifying checksum(s) for wireshark ---> Extracting wireshark ---> Configuring wireshark ---> Building wireshark 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_wireshark/work/wireshark-0.99.6" && make all " returned error 2 Command output: gcc -no-cpp-precomp -D_U_="__attribute__((unused))" -O2 -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -DPNG_NO_MMX_CODE -DXTHREADS -D_REENTRANT -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/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include -I/opt/local/include -I/usr/include -o rdps ./rdps.c ./rdps ./print.ps ps.c /opt/local/bin/perl ./make-version.pl . Version configuration file version.conf not found. Using defaults. This is not a SVN build. svnversion.h has been updated. make all-recursive Making all in tools Making all in lemon gcc -D_U_="" -o lemon lemon.c make[3]: Nothing to be done for `all-am'. Making all in wiretap make all-am if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -Werror -no-cpp-precomp -D_U_="__attribute__((unused))" -O2 -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wwrite-strings -Wshorten-64-to-32 -Wstrict-prototypes -Wmissing-declarations -Wno-pointer-sign -Wcast-align -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -MT libwiretap_la-5views.lo -MD -MP -MF ".deps/libwiretap_la-5views.Tpo" -c -o libwiretap_la-5views.lo `test -f '5views.c' || echo './'`5views.c; \ then mv -f ".deps/libwiretap_la-5views.Tpo" ".deps/libwiretap_la-5views.Plo"; else rm -f ".deps/libwiretap_la-5views.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -Werror -no-cpp-precomp "-D_U_=__attribute__((unused))" -O2 -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wwrite-strings -Wshorten-64-to-32 -Wstrict-prototypes -Wmissing-declarations -Wno-pointer-sign -Wcast-align -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -MT libwiretap_la-5views.lo -MD -MP -MF .deps/libwiretap_la-5views.Tpo -c 5views.c -fno-common -DPIC -o .libs/libwiretap_la-5views.o cc1: warnings being treated as errors In file included from /opt/local/include/glib-2.0/glib/gasyncqueue.h:30, from /opt/local/include/glib-2.0/glib.h:32, from wtap-int.h:30, from 5views.c:30: /opt/local/include/glib-2.0/glib/gthread.h: In function 'g_once_init_enter': /opt/local/include/glib-2.0/glib/gthread.h:335: warning: cast discards qualifiers from pointer target type make[3]: *** [libwiretap_la-5views.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
Successful wireshark build (glib2 2.12.13)
vega:~ go$ sudo port install wireshark ---> Fetching atk ---> Verifying checksum(s) for atk ---> Extracting atk ---> Configuring atk ---> Building atk with target all ---> Staging atk into destroot ---> Installing atk 1.18.0_0 ---> Activating atk 1.18.0_0 ---> Cleaning atk ---> Fetching gzip ---> Attempting to fetch gzip-1.3.12.tar.gz from http://ftp.gnu.org/gnu/gzip ---> Verifying checksum(s) for gzip ---> Extracting gzip ---> Configuring gzip ---> Building gzip with target all ---> Staging gzip into destroot ---> Installing gzip 1.3.12_0+darwin_8 ---> Activating gzip 1.3.12_0+darwin_8 ---> Cleaning gzip ---> Fetching pango ---> Verifying checksum(s) for pango ---> Extracting pango ---> Applying patches to pango ---> Configuring pango ---> Building pango with target all ---> Staging pango into destroot ---> Installing pango 1.16.5_0 ---> Activating pango 1.16.5_0 ---> Cleaning pango ---> Fetching gtk2 ---> Attempting to fetch gtk+-2.10.14.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gtk+/2.10 ---> Verifying checksum(s) for gtk2 ---> Extracting gtk2 ---> Configuring gtk2 ---> Building gtk2 with target all ---> Staging gtk2 into destroot ---> Installing gtk2 2.10.14_0 ---> Activating gtk2 2.10.14_0 ---> Cleaning gtk2 ---> Building wireshark with target all ---> Staging wireshark into destroot ---> Installing wireshark 0.99.6_0+darwin_8 ---> Activating wireshark 0.99.6_0+darwin_8 ---> Cleaning wireshark
If you need any further info or help testing let me know. Not sure if this is in any way connected to bug 12256 or bug 12450.
Change History (4)
comment:1 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|
comment:2 Changed 17 years ago by ghosthound
Owner: | changed from macports-dev@… to ricci@… |
---|---|
Status: | new → assigned |
comment:3 Changed 17 years ago by ghosthound
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
closing as I believe it is fixed and no response from originator
The wireshark problem should be resolved as of:
# $Id: Portfile 27770 2007-08-14 04:21:59Z
If you haven't updated since 12 hours after that timestamp, please run 'port sync' (with sudo as needed) and try again.