NetBSD Problem Report #44782

From  Mon Mar 28 20:32:53 2011
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id D879263BC80
	for <>; Mon, 28 Mar 2011 20:32:52 +0000 (UTC)
Message-Id: <>
Date: Mon, 28 Mar 2011 20:32:52 +0000 (UTC)
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
NetBSD  5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 2010 i386

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.
pkg_add -v pcmanfm
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
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
Wrote 23 bytes to socket 17
gamin_send_request 1 for socket 17
Memory fault 

From: "David A. Holland" <>
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 <>
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:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.