NetBSD Problem Report #43369

From www@NetBSD.org  Thu May 27 10:52:02 2010
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 3B71763B8BA
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 27 May 2010 10:52:02 +0000 (UTC)
Message-Id: <20100527105201.DF62563B8A8@www.NetBSD.org>
Date: Thu, 27 May 2010 10:52:01 +0000 (UTC)
From: cheusov@tut.by
Reply-To: cheusov@tut.by
To: gnats-bugs@NetBSD.org
Subject: sysutils/dbus fails to build on Linux CentOS 5.5 [patch]
X-Send-Pr-Version: www-1.0

>Number:         43369
>Category:       pkg
>Synopsis:       sysutils/dbus fails to build on Linux CentOS 5.5 [patch]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    obache
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 27 10:55:00 +0000 2010
>Closed-Date:    Thu May 27 12:37:49 +0000 2010
>Last-Modified:  Thu May 27 12:40:02 +0000 2010
>Originator:     Aleksey Cheusov
>Release:        Linux
>Organization:
home
>Environment:
CentOS 5.5

>Description:
sysutils/dbus packages fails to build like this

=> Checking file-check results for dbus-1.2.4.6
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /tmp/obj-pkgsrc/sysutils/dbus/work/.destdir/usr/pkg/etc/rc.d/init.d/messagebus
*** Error code 1

Solution is below.

>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/dbus/Makefile,v
retrieving revision 1.47
diff -u -r1.47 Makefile
--- Makefile    24 Jan 2010 17:11:18 -0000      1.47
+++ Makefile    27 May 2010 10:43:27 -0000
@@ -44,6 +44,7 @@
 CONFIGURE_ARGS.Linux=  abstract-sockets dnotify selinux
 CONFIGURE_ARGS.docs=   doxygen-docs xml-docs

+CONFIGURE_ARGS.without+=       init-scripts
 CONFIGURE_ARGS.disable=                ansi gcov
 CONFIGURE_ARGS.disable+=       console-owner-file
 CONFIGURE_ARGS.disable+=       ${CONFIGURE_ARGS.docs}

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 27 May 2010 12:37:49 +0000
Responsible-Changed-Why:
I've commited the fix.


State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Thu, 27 May 2010 12:37:49 +0000
State-Changed-Why:
commited the patch.  Thanks!


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43369 CVS commit: pkgsrc/sysutils/dbus
Date: Thu, 27 May 2010 12:36:02 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Thu May 27 12:36:02 UTC 2010

 Modified Files:
 	pkgsrc/sysutils/dbus: Makefile

 Log Message:
 Exactly disable installation of init scripts.
 Fixes PLIST mismatch for RedHat and Slackware like distributions
 as reported by Aleksey Cheusov via PR#43369.


 To generate a diff of this commit:
 cvs rdiff -u -r1.47 -r1.48 pkgsrc/sysutils/dbus/Makefile

 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.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.