NetBSD Problem Report #50244

From hf@spg.tu-darmstadt.de  Mon Sep 14 11:50:26 2015
Return-Path: <hf@spg.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6EEFEA5B2E
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 14 Sep 2015 11:50:26 +0000 (UTC)
Message-Id: <201509141150.t8EBoJ6Z017707@nebelstein.nt.e-technik.tu-darmstadt.de>
Date: Mon, 14 Sep 2015 13:50:19 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@gnats.NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: net/tkined version conflict
X-Send-Pr-Version: 3.95

>Number:         50244
>Category:       pkg
>Synopsis:       net/tkined version conflict
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 14 11:55:00 +0000 2015
>Closed-Date:    Mon May 02 16:41:03 +0000 2016
>Last-Modified:  Mon May 02 16:41:03 +0000 2016
>Originator:     Hauke Fath
>Release:        NetBSD 6.1_STABLE
>Organization:

>Environment:


System: NetBSD Nebelstein 6.1_STABLE NetBSD 6.1_STABLE (XEN3_DOMU) #0: Mon Aug 24 16:15:31 CEST 2015 hf@Hochstuhl:/var/obj/netbsd-builds/6/i386/sys/arch/i386/compile/XEN3_DOMU i386
Architecture: i386
Machine: i386
>Description:

	The monitoring tool net/tkined fails early with

% tkined
Error in startup script: version conflict for package "Tcl": have 8.6.4, need exactly 8.6
    while executing
"load /usr/pkg/lib/libtkined.so"
    ("package ifneeded Tkined 1.4.11" script)
    invoked from within
"package require -exact Tkined 1.4.11"
    (file "/usr/pkg/bin/tkined" line 12)
%

	The content of /usr/pkg/bin/tkined doesn't really help, and I
	find the pkgsrc patches (shared with net/tcl-scotty, see
	there) slightly intimidating:

% fgrep VERSION /misc/pkgsrc/net/tcl-scotty/patches/* | wc -l
      48
%

>How-To-Repeat:

	Install net/tkined, invoke 'tkined'

>Fix:
	Left to a person with tcl fu.

	My guess is that there is a teeny version mandated where it
	shouldn't be.

>Release-Note:

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50244 CVS commit: pkgsrc/net/tcl-scotty
Date: Mon, 2 May 2016 04:00:25 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Mon May  2 04:00:25 UTC 2016

 Modified Files:
 	pkgsrc/net/tcl-scotty: distinfo
 Added Files:
 	pkgsrc/net/tcl-scotty/patches: patch-tkined_generic_tkiInit.c

 Log Message:
 Fix handling of tcl and tk versions: don't demand exact version when
 the version we have doesn't include the teeny version number.

 Possibly we should arrange to pass that in and require it exactly; I'm
 not sure exactly what the compatibility semantics of version numbers
 are supposed to be in tcl-land; but it's definitely wrong the way it
 has been.

 Fixes PR 50244 wherein tkined fails to run.


 To generate a diff of this commit:
 cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/tcl-scotty/distinfo
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/net/tcl-scotty/patches/patch-tkined_generic_tkiInit.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50244 CVS commit: pkgsrc/net/tkined
Date: Mon, 2 May 2016 04:01:41 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Mon May  2 04:01:41 UTC 2016

 Modified Files:
 	pkgsrc/net/tkined: Makefile

 Log Message:
 Bump PKGREVISION to 9 for patch. (patches live in net/tcl-scotty)
 PR 50244.


 To generate a diff of this commit:
 cvs rdiff -u -r1.30 -r1.31 pkgsrc/net/tkined/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 02 May 2016 04:09:02 +0000
State-Changed-Why:
It now starts for me, but it spews some other messages that probably warrant
attention from someone who knows what tkined is actually supposed to do.
So please have a look when you get a chance...


From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/50244: net/tkined version conflict
Date: Mon, 2 May 2016 10:43:37 +0000

 tkined seems to work fine on my end with no warnings,
 Perhaps the difference is that I deleted tcl-scotty (and tkined)
 beforehand.

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, pkgsrc-bugs@NetBSD.org, gnats-admin@NetBSD.org,
        dholland@NetBSD.org
Subject: Re: pkg/50244 (net/tkined version conflict)
Date: Mon, 2 May 2016 17:29:31 +0200

 On Mon,  2 May 2016 04:09:02 +0000 (UTC), dholland@NetBSD.org wrote:
 > It now starts for me, but it spews some other messages that probably warr=
 ant
 > attention from someone who knows what tkined is actually supposed to do.
 > So please have a look when you get a chance...

 TKined builds, installs and runs noiselessly here (the man page was a=20
 bit too noiseless ;).

 The PR can be closed from my POV; thanks for the fix!

 Cheerio,
 hauke

 --=20
      The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut f=FCr Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
      Respect for open standards              Ruf +49-6151-16-21344

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 02 May 2016 16:41:03 +0000
State-Changed-Why:
Fixed.

I can't reproduce the other warnings myself either after rebuilding it all,
so: *shrug*


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.