Opened 17 years ago

Closed 17 years ago

#12450 closed defect (fixed)

Error attempting to build Wireshark

Reported by: jlay@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc:
Port:

Description

Here's the information..this is on Tiger 10.4.10, using case-sensitive fs.

---> Attempting to fetch wireshark-0.99.6.tar.bz2 from http://www.wireshark.org/download/src/ ---> 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 -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.

Change History (2)

comment:1 Changed 17 years ago by ghosthound

Owner: changed from macports-dev@… to ricci@…
Status: newassigned

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.

comment:2 Changed 17 years ago by ghosthound

Resolution: fixed
Status: assignedclosed

closing as I believe this is fixed and no response for a month

Note: See TracTickets for help on using tickets.