Bug 129675 - tshark 1.0.5 compilation aborts
tshark 1.0.5 compilation aborts
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: Joe Marcus Clarke
Depends on:
  Show dependency treegraph
Reported: 2008-12-16 12:30 UTC by erwan
Modified: 2008-12-17 05:40 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description erwan 2008-12-16 12:30:02 UTC
When upgrading tshark port from 1.0.4 to 1.0.5 I get the following error :

 cc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../tools/lemon -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/lib/include -I/usr/include -DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/1.0.5\" -DINET6 "-D_U_=__attribute__((unused))" -O -pipe -funit-at-a-time -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -I/usr/local/include -I/usr/local/include/glib12 -I/usr/local/lib/include -I/usr/include -MT libwireshark_la-to_str.lo -MD -MP -MF .deps/libwireshark_la-to_str.Tpo -c to_str.c  -fPIC -DPIC -o .libs/libwireshark_la-to_str.o
to_str.c: In function 'time_secs_to_str_buf':
to_str.c:371: error: 'G_MININT32' undeclared (first use in this function)
to_str.c:371: error: (Each undeclared identifier is reported only once
to_str.c:371: error: for each function it appears in.)
gmake[3]: *** [libwireshark_la-to_str.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/net/tshark/work/wireshark-1.0.5/epan'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/net/tshark/work/wireshark-1.0.5/epan'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/tshark/work/wireshark-1.0.5'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/tshark.
*** Error code 1

How-To-Repeat: portupgrade tshark, with a tshark 1.0.4 port installed
Comment 1 pav freebsd_committer 2008-12-16 13:44:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer 2008-12-17 05:38:56 UTC
State Changed
From-To: open->closed

Fixed.  Thanks for reporting.
Comment 3 dfilter freebsd_committer 2008-12-17 05:39:06 UTC
marcus      2008-12-17 05:38:53 UTC

  FreeBSD ports repository

  Added files:
    net/wireshark/files  patch-epan_to_str.c 
  Fix the build with glib-1.2 (e.g. the tshark build).
  PR:             129675
  Revision  Changes    Path
  1.1       +12 -0     ports/net/wireshark/files/patch-epan_to_str.c (new)
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"