NetBSD Problem Report #50663

From www@NetBSD.org  Sat Jan 16 23:13:44 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(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 1DFD57A227
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 16 Jan 2016 23:13:44 +0000 (UTC)
Message-Id: <20160116231342.E014D7ACBC@mollari.NetBSD.org>
Date: Sat, 16 Jan 2016 23:13:42 +0000 (UTC)
From: netbsd.org@yegle.net
Reply-To: netbsd.org@yegle.net
To: gnats-bugs@NetBSD.org
Subject: editors/vim: linked to system Python
X-Send-Pr-Version: www-1.0

>Number:         50663
>Category:       pkg
>Synopsis:       editors/vim: linked to system Python
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 16 23:15:00 +0000 2016
>Originator:     yegle
>Release:        
>Organization:
>Environment:
Darwin yegle-laptop.local 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64
>Description:
It seems like the vim binary was linked to the system Python instead of the ones from pkgsrc.

$ which vim
/Users/yegle/pkg/bin/vim

$ otool -L `which vim`
/Users/yegle/pkg/bin/vim:
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 22.0.0)
	/System/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.10)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
	/Users/yegle/pkg/lib/libncurses.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/Users/yegle/pkg/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0)
	/Users/yegle/pkg/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.4.0)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1404.34.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1256.14.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 728.6.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1256.1.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
>How-To-Repeat:

>Fix:

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.