Bug 233858 - net/wireshark: Building package for wireshark-2.6.5 fails
Summary: net/wireshark: Building package for wireshark-2.6.5 fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-08 01:46 UTC by p5B2E9A8F
Modified: 2018-12-08 16:11 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2E9A8F 2018-12-08 01:46:31 UTC
=======================<phase: package        >============================
===>  Building package for wireshark-2.6.5
pkg-static: Unable to access file /wrkdirs/usr/ports/net/wireshark/work/stage/usr/local/lib/wireshark/extcap/ciscodump:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net/wireshark/work/stage/usr/local/lib/wireshark/extcap/sshdump:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net/wireshark/work/stage/usr/local/man/man1/ciscodump.1.gz:No such file or directory
Poudriere build fails (see attachment):

pkg-static: Unable to access file /wrkdirs/usr/ports/net/wireshark/work/stage/usr/local/man/man1/sshdump.1.gz:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/net/wireshark
=>> Cleaning up wrkdir
===>  Cleaning for wireshark-2.6.5
build of net/wireshark | wireshark-2.6.5 ended at Sat Dec  8 02:34:31 CET 2018
build time: 00:04:34
!!! build failure encountered !!!
Comment 1 Nathan 2018-12-08 02:39:02 UTC
(In reply to p5B2E9A8F from comment #0)
Is this when certain OPTIONS are enabled/disabled?
Comment 2 Raphael Kubo da Costa freebsd_committer 2018-12-08 10:02:37 UTC
Nope, that's because ciscodump and sshdump seem to depend on libssh, which the port does not depend on.

From `make configure' in Poudriere:

checking whether to use the libssh library if available... yes
checking for ssh_new in -lssh... no
checking whether libssh >= 0.6.0 for sshdump, ciscodump... no
[...]
checking whether to build sshdump... no, libssh >= 0.6.0 not installed for development
checking whether to build ciscodump... no, libssh >= 0.6.0 not installed for development
[...]
                      Build sshdump : no
                    Build ciscodump : no
Comment 3 commit-hook freebsd_committer 2018-12-08 16:10:54 UTC
A commit references this bug:

Author: marcus
Date: Sat Dec  8 16:10:31 UTC 2018
New revision: 486960
URL: https://svnweb.freebsd.org/changeset/ports/486960

Log:
  Fix packaging.

  Conditionalize sshdump and ciscodump as they need libssh.

  PR:		233858

Changes:
  head/net/wireshark/Makefile
Comment 4 Joe Marcus Clarke freebsd_committer 2018-12-08 16:11:33 UTC
Fixed in 2.6.5_1.  Sorry about that.