NetBSD Problem Report #50358

From www@NetBSD.org  Thu Oct 22 19:13:54 2015
Return-Path: <www@NetBSD.org>
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 B9BBBA5B2E
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 22 Oct 2015 19:13:54 +0000 (UTC)
Message-Id: <20151022191353.C089FA6531@mollari.NetBSD.org>
Date: Thu, 22 Oct 2015 19:13:53 +0000 (UTC)
From: netbsd.org@yegle.net
Reply-To: netbsd.org@yegle.net
To: gnats-bugs@NetBSD.org
Subject: chat/weechat-1.2nb: failed to load any python plugin
X-Send-Pr-Version: www-1.0

>Number:         50358
>Category:       pkg
>Synopsis:       chat/weechat-1.2nb: failed to load any python plugin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tonio
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 22 19:15:00 +0000 2015
>Last-Modified:  Sun Feb 14 12:55:00 +0000 2016
>Originator:     yegle
>Release:        
>Organization:
>Environment:
>Description:
I'm using pkgsrc on Ubuntu 14.04 LTS. I can install chat/weechat without problem, but running weechat against a profile which loads at least one python plugin failed.

12:10 =!= Error: unable to load plugin "/usr/local/google/home/ych/pkg/lib/weechat/plugins/python.so": /usr/local/google/home/ych/pkg/lib/weechat/plugins/python.so: undefined symbol: forkpty

Strace of running weechat available if it helps: http://paste.ubuntu.com/12896352/
>How-To-Repeat:
1. Find an Ubuntu 14.04 installation
2. bmake install in pkgsrc/chat/weechat directory
3. prepare a weechat configs that loads a Python script (e.g. run weechat from APT, install on python script, setup to load it on weechat startup)
4. run weechat from pkgsrc, there will be an error:
12:10 =!= Error: unable to load plugin "/usr/local/google/home/ych/pkg/lib/weechat/plugins/python.so": /usr/local/google/home/ych/pkg/lib/weechat/plugins/python.so: undefined symbol: forkpty
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tonio
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Sun, 25 Oct 2015 19:45:35 +0000
Responsible-Changed-Why:
Over to maintainer.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/50358: chat/weechat-1.2nb: failed to load any python plugin
Date: Sun, 27 Dec 2015 03:10:56 +0000

 On Thu, Oct 22, 2015 at 07:15:00PM +0000, netbsd.org@yegle.net wrote:
  > 4. run weechat from pkgsrc, there will be an error:
  > 12:10 =!= Error: unable to load plugin "/usr/local/google/home/ych/pkg/lib/weechat/plugins/python.so": /usr/local/google/home/ych/pkg/lib/weechat/plugins/python.so: undefined symbol: forkpty

 This suggests that the plugin is not linked against libutil, but needs
 to be; what do you get if you run ldd on it?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Yuchen Ying <me@yegle.net>
To: gnats-bugs@netbsd.org
Cc: tonio@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org, 
	netbsd.org@yegle.net
Subject: Re: pkg/50358: chat/weechat-1.2nb: failed to load any python plugin
Date: Sat, 26 Dec 2015 21:44:02 -0800

 This is what I get from that .so file:
 $ ldd /usr/local/google/home/ych/pkg/lib/weechat/plugins/python.so
         linux-vdso.so.1 =>  (0x00007ffc47342000)
         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f630c294000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f630cab2000)

 On Sat, Dec 26, 2015 at 7:15 PM, David Holland
 <dholland-pbugs@netbsd.org> wrote:
 > The following reply was made to PR pkg/50358; it has been noted by GNATS.
 >
 > From: David Holland <dholland-pbugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: pkg/50358: chat/weechat-1.2nb: failed to load any python plugin
 > Date: Sun, 27 Dec 2015 03:10:56 +0000
 >
 >  On Thu, Oct 22, 2015 at 07:15:00PM +0000, netbsd.org@yegle.net wrote:
 >   > 4. run weechat from pkgsrc, there will be an error:
 >   > 12:10 =!= Error: unable to load plugin "/usr/local/google/home/ych/pkg/lib/weechat/plugins/python.so": /usr/local/google/home/ych/pkg/lib/weechat/plugins/python.so: undefined symbol: forkpty
 >
 >  This suggests that the plugin is not linked against libutil, but needs
 >  to be; what do you get if you run ldd on it?
 >
 >  --
 >  David A. Holland
 >  dholland@netbsd.org
 >

From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50358 CVS commit: pkgsrc/chat/weechat
Date: Sun, 14 Feb 2016 12:52:13 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Sun Feb 14 12:52:13 UTC 2016

 Modified Files:
 	pkgsrc/chat/weechat: Makefile PLIST distinfo options.mk

 Log Message:
 Update to 1.4

 * Fix PR pkg/50358 partially using dynamic python library.
   However if your system has python in /usr/bin and your current
   working directory is not your home directory, your weechat
   reads its library files and dies.

 Changelog:
 Among the new features:

 - add a parent name in options, display inherited values if null in /set output
 - add option weechat.look.paste_auto_add_newline
 - add /fifo command
 - track real names using extended-join and WHO (IRC)
 - add support of SNI (Server Name Indication) in SSL connection to IRC server
 - add support of IRC "cap-notify" capability
 - add IRC command /cap
 - add hex dump of messages in raw buffer when debug is enabled for irc plugin
 - add option relay.irc.backlog_since_last_message
 - add option script.scripts.download_timeout
 - add scripts to build Debian packages
 - many bugs fixed.


 To generate a diff of this commit:
 cvs rdiff -u -r1.59 -r1.60 pkgsrc/chat/weechat/Makefile
 cvs rdiff -u -r1.21 -r1.22 pkgsrc/chat/weechat/PLIST
 cvs rdiff -u -r1.35 -r1.36 pkgsrc/chat/weechat/distinfo
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/chat/weechat/options.mk

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

>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.