Bug 213550 - net/tshark: fails to build on FreeBSD 11.0
Summary: net/tshark: fails to build on FreeBSD 11.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-17 00:40 UTC by Igor Pavlov
Modified: 2016-10-17 13:22 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (marcus)


Attachments
Full build log (121.07 KB, application/x-gzip)
2016-10-17 00:40 UTC, Igor Pavlov
no flags Details
tshark patch (414 bytes, text/plain)
2016-10-17 08:06 UTC, Sergey Akhmatov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 2016-10-17 13:22:31 UTC
Committed patch.  Thanks!
Comment 4 commit-hook freebsd_committer 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