Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12453 closed defect (fixed)

Error installing Wireshark regarding versions

Reported by: goloxc@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: wireshark Cc: goloxc@…, opendarwin.org@…
Port:

Description

I'm running OS X 10.4.10 very recently updated. After a few snags getting all the wireshark dependencies (I didn't have x11 for a few of them), MacPorts finally got through them all and began building wireshark. Then some errors regarding a version file I believe and I can't figure it out.

Activating gtk2 2.10.14_0 ---> Cleaning gtk2 ---> Fetching wireshark ---> 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 -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.

i'd appreciate any help. Also, what happens after I post this? Does someone fix it without saying a word? notification?

Change History (4)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: goloxc@… opendarwin.org@… added
Milestone: Port Bugs
Owner: changed from macports-dev@… to ryandesign@…

Nobody sees the bug unless they happen to search the issue tracker. So it's better to Cc the port's maintainer. Also Cc yourself so that you get emails when the ticket changes.

comment:2 Changed 17 years ago by ghosthound

Owner: changed from ryandesign@… to ricci@…

This 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:3 Changed 17 years ago by ghosthound

Resolution: fixed
Status: newclosed

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

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.