NetBSD Problem Report #44782

From www@NetBSD.org  Mon Mar 28 20:32:53 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id D879263BC80
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 28 Mar 2011 20:32:52 +0000 (UTC)
Message-Id: <20110328203252.0C69963BB73@www.NetBSD.org>
Date: Mon, 28 Mar 2011 20:32:52 +0000 (UTC)
From: topiarz@post.cz
Reply-To: topiarz@post.cz
To: gnats-bugs@NetBSD.org
Subject: pcmanfm has a wrong dependence: libgamin - should be gamin
X-Send-Pr-Version: www-1.0

>Number:         44782
>Category:       pkg
>Synopsis:       pcmanfm has a wrong dependence: libgamin - should be gamin
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 28 20:35:00 +0000 2011
>Last-Modified:  Sun Oct 16 09:25:00 +0000 2011
>Originator:     Petr Topiarz
>Release:        5.1 with PKGSRC-2010Q4
>Organization:
>Environment:
NetBSD  5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 2010  builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
The Makefile of PCmanFM says it needs "libgamin" as a dependence. So it installs libgamin, but no gamin server, so the PCmanFM crashes a second after start complaining there is no gam_server. And there obviously isn't one.
>How-To-Repeat:
pkg_add -v pcmanfm
>Fix:
change the dependence to "sysutils/gamin" 

A sad thing is, that while it finds the gamin server now, it still crashes with a memory fault, but that is a different bug:

$ pcmanfm
FAMOpen()
Error getting GAM_CLIENT_ID
Reusing socket directory /tmp/fam-beowulf
Asking to launch /usr/pkg/libexec/gam_server with client id 
Reusing socket directory /tmp/fam-beowulf
Connected to socket /tmp/fam-beowulf/fam- : 17
Wrote credential bytes to socket 17
FAMPending(fd = 17)
Checking data available on 17
Client need auth 17
Read pid 9397 on 17
read credential bytes
Credentials: s_uid 501, c_uid 501, c_gid 1111, c_pid 9397
Checking data available on 17
FAMMonitorDirectory(/home/beowulf)
Wrote 23 bytes to socket 17
gamin_send_request 1 for socket 17
Memory fault 
$ 

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44782 CVS commit: pkgsrc/sysutils/pcmanfm
Date: Sat, 30 Apr 2011 23:54:02 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Sat Apr 30 23:54:02 UTC 2011

 Modified Files:
 	pkgsrc/sysutils/pcmanfm: Makefile

 Log Message:
 Depend on gamin as well as libgamin, so the gamin server exists at runtime.
 First part of PR 44782; PKGREVISION -> 9.


 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/sysutils/pcmanfm/Makefile

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

From: Sergey Svishchev <svs@ropnet.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/44782
Date: Sun, 16 Oct 2011 13:15:04 +0400

 The version in pkgsrc is outdated, and there's an update in PR 42451.
 It doesn't build for me, though:

 => Full dependency fam>=2.7.0nb7: NOT found
 pkg_add: Package `fam-2.7.0nb9' conflicts with `gamin-[0-9]*', and `gamin-0.1.10nb3' is installed.

 -- 
 Sergey Svishchev

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.