pkgsrc-Users archive

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

Re: net/wireshark looks for wrong python version on 6.0_BETA/i386

On Thu, 29 Mar 2012, Thomas Klausner wrote:

I think you must rebuild from the ground up -- i.e., first rebuild all
of wireshark's dependencies before you build wireshark (perhaps try
out pkg_rolling-replace).

I took a more radical approach.  I deleted everything:

  rm -rf /usr/pkg/*
  rm -rf /var/db/pkg/*
  rm -rf /var/db/pkg.refcount/*

and rebuilt from scratch.  First, security/sudo.  Next, net/wireshark.
Dependencies built automatically according to the target packages' needs.

That'll probably solve your problem.

And it fails in exactly the same place with the exact same complaint.

The problem machine is a Dell Latitude C840 running NetBSD-6.0_BETA/i386.

  NetBSD squash.bozonet.ntc 6.0_BETA NetBSD 6.0_BETA (SQUASH) #15: Mon
  Mar 26 11:13:35 CDT 2012 
  obj/i386/sys/arch/i386/compile/SQUASH i386

The "/etc/mk.conf" file from problem system:
# mk.conf - configure build environment

.ifdef BSD_PKG_MK


#TOOLS_PLATFORM.flex=    ${LOCALBASE}/bin/flex
#TOOLS_PLATFORM.lex=     ${LOCALBASE}/bin/lex

.if exists (/usr/pkg/bin/sudo)
SU_CMD=/usr/pkg/bin/sudo ${SH} -c


PKG_OPTIONS.nmap+=zenmap ndiff
PKG_OPTIONS.irssi=ssl perl
PKG_OPTIONS.unrealircd+=ssl unrealircd-ziplinks UIRCD_HOME=/home/unrealircd
PKG_OPTIONS.thunderbird+=mozilla-enigmail -mozilla-lightning

.if "${PKGPATH}" == "security/sudo"
CONFIGURE_ARGS+= --with-insults --with-all-insults

.endif # BSD_PKG_MK

Another 6.0_BETA/i386 system with essentially the same "mk.conf"
successfully built net/wireshark last night.  It's an HP Pavilion a1235c

  NetBSD skuld.technoskunk.fur 6.0_BETA NetBSD 6.0_BETA (SKULD) #7: Sun
  Mar 25 09:16:40 CDT 2012 sysop%skuld.technoskunk.fur@localhost:/d0/build/
  netbsd-6/obj/i386/sys/arch/i386/compile/SKULD i386

|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Home | Main Index | Thread Index | Old Index