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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 28 20:35:00 +0000 2011
>Closed-Date:    Sun May 15 04:11:51 +0000 2022
>Last-Modified:  Sun May 15 04:11:51 +0000 2022
>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 
$ 

>Release-Note:

>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

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 15 May 2022 04:11:51 +0000
State-Changed-Why:
42451 got handled (some years back now) so I think this is now presumptively
fixed.

If it still doesn't work, please file a new PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.