pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51970: Ethernet (libpcap) support not compiled in emulators/simh (4.0.0.20161218)



>Number:         51970
>Category:       pkg
>Synopsis:       Ethernet (libpcap) support not compiled in emulators/simh (4.0.0.20161218)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 14 23:35:00 +0000 2017
>Originator:     Rin Okuyama
>Release:        7.99.59 + pkgsrc-current
>Organization:
Faculty of Science and Technology, Keio University
>Environment:
NetBSD latipes 7.99.59 NetBSD 7.99.59 (LATIPES) #0: Thu Feb  9 04:05:21 JST 2017  rin@latipes:/var/build/src/sys/arch/amd64/compile/LATIPES amd64
>Description:
Ethernet support of simh-4.0.0.20161218 does not work:

  % /usr/pkg/bin/simh-vax
  MicroVAX 3900 simulator V4.0-0 Beta        git commit id: 7964e2b7        Build: Unsupported=include+lib
  sim> show eth
  ETH devices:
    network support not available in simulator
  sim> attach xq tap:tap0
  Command not allowed
  sim> q
  Goodbye

It seems that libpcap support is lacking:

  % strings /usr/pkg/bin/simh-vax | grep libpcap
  on the local LAN, the libpcap development package must be installed on

Strangely enough, if gmake manually in the working directory created by
pkgsrc, the resulting binary works just fine:

  % BIN/vax
  MicroVAX 3900 simulator V4.0-0 Beta        git commit id: 7964e2b7
  sim> show eth
  ETH devices:
   eth0   tap:tapN                             (Integrated Tun/Tap support)
   eth1   nat:{optional-nat-parameters}        (Integrated NAT (SLiRP) support)
   eth2   udp:sourceport:remotehost:remoteport (Integrated UDP bridge support)
  libpcap version 1.6.2
  sim> attach xq tap:tap0
  Eth: opened OS device tap0
  sim> q
  Goodbye
  Eth: closed tap0
>How-To-Repeat:
Compile and run emulators/simh from pkgsrc-current or 2016Q4.
The binary package also does not work on amd64.
>Fix:
n/a



Home | Main Index | Thread Index | Old Index