Bug 213550

Summary: net/tshark: fails to build on FreeBSD 11.0
Product: Ports & Packages Reporter: Igor Pavlov <igor.arabesc.pavlov>
Component: Individual Port(s)Assignee: Joe Marcus Clarke <marcus>
Status: Closed FIXED    
Severity: Affects Only Me CC: sergey
Priority: --- Flags: bugzilla: maintainer-feedback? (marcus)
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Full build log
none
tshark patch none

Description Igor Pavlov 2016-10-17 00:40:04 UTC
Created attachment 175841 [details]
Full build log

===>  Installing for tshark-2.2.1
===>   Registering installation for tshark-2.2.1
pkg-static: Unable to access file /usr/ports/net/tshark/work/stage/usr/local/lib/libwscodecs.so: No such file or directory
pkg-static: Unable to access file /usr/ports/net/tshark/work/stage/usr/local/lib/libwscodecs.so.1: No such file or directory
pkg-static: Unable to access file /usr/ports/net/tshark/work/stage/usr/local/lib/libwscodecs.so.1.0.0: No such file or directory
*** Error code 74

Stop.
make[2]: stopped in /usr/ports/net/tshark
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/tshark
*** Error code 1

Stop.
make: stopped in /usr/ports/net/tshark
Comment 1 Sergey Akhmatov 2016-10-17 08:06:37 UTC
Created attachment 175851 [details]
tshark patch
Comment 2 Sergey Akhmatov 2016-10-17 08:07:50 UTC
I think it's pkg-plist bug - libwscodecs.so doesn't build for GUI-less tshark.
Above patch fixes things for me.
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2016-10-17 13:22:31 UTC
Committed patch.  Thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-10-17 13:22:39 UTC
A commit references this bug:

Author: marcus
Date: Mon Oct 17 13:22:13 UTC 2016
New revision: 424115
URL: https://svnweb.freebsd.org/changeset/ports/424115

Log:
  libwscodecs requires X11.  This fixes the build for tshark[-lite].

  PR:		213550
  Submitted by:	sergey@akhmatov.ru

Changes:
  head/net/wireshark/pkg-plist