NetBSD Problem Report #43312

From www@NetBSD.org  Sun May 16 06:33:59 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 32BE163C425
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 16 May 2010 06:33:59 +0000 (UTC)
Message-Id: <20100516063358.DF90D63BC69@www.NetBSD.org>
Date: Sun, 16 May 2010 06:33:58 +0000 (UTC)
From: Jan.Lentfer@web.de
Reply-To: Jan.Lentfer@web.de
To: gnats-bugs@NetBSD.org
Subject: bacula 5 does not build on DragonFly BSD
X-Send-Pr-Version: www-1.0

>Number:         43312
>Category:       pkg
>Synopsis:       bacula 5 does not build on DragonFly BSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wiz
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 16 06:35:00 +0000 2010
>Closed-Date:    Mon May 17 00:18:32 +0000 2010
>Last-Modified:  Mon May 17 00:18:32 +0000 2010
>Originator:     Jan Lentfer
>Release:        DragonFly BSD 2.7
>Organization:
DragonFly BSD
>Environment:
>Description:
configure from bacula 5 (correctly) determines that DragonFly support extattr. Unfortunatley we do not have the full set of extattr functions implemented, so comiling src/filed/xattr.c wil fille.
As we do not have any filesystem that really implements extattr it is safe to disable extattr on DragonFly, thus unbreaking the build on DragonFly.

For us it would be particulary interesting to have this in 2010Q1 also, as this is what we are shipping with with our current release.
>How-To-Repeat:
bmake all ind sysutils/bacula or sysutils/bacula-client-only
>Fix:
--- sysutils/bacula/Makefile.common     2010-05-16 08:42:03 +0200
+++ sysutils/bacula/Makefile.common@@0x00000001207b8a49 2010-05-09 21:07:29 +0200
@@ -64,6 +64,9 @@
 .if ${OPSYS} == "Linux"
 CONFIGURE_ARGS+=       --enable-smartalloc
 .endif
+.if ${OPSYS} == "DragonFly"
+# CONFIGURE_ARGS+=     --disable-xattr
+.endif

 PTHREAD_OPTS+=         require
 PTHREAD_AUTO_VARS=     yes

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 16 May 2010 13:09:12 +0000
State-Changed-Why:
The description didn't match the patch (which includes an extra '#').
I committed what I think is the correct patch, please check and give feedback.
If it's ok, I can request a pullup to 2010Q1.


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43312 CVS commit: pkgsrc/sysutils/bacula
Date: Sun, 16 May 2010 13:08:11 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Sun May 16 13:08:11 UTC 2010

 Modified Files:
 	pkgsrc/sysutils/bacula: Makefile.common

 Log Message:
 Disable extattr on DragonFly. From Jan Lentfer in PR 43312.


 To generate a diff of this commit:
 cvs rdiff -u -r1.54 -r1.55 pkgsrc/sysutils/bacula/Makefile.common

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

From: Jan Lentfer <Jan.Lentfer@web.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, 
 gnats-admin@netbsd.org, wiz@NetBSD.org
Subject: Re: pkg/43312 (bacula 5 does not build on DragonFly BSD)
Date: Sun, 16 May 2010 16:14:18 +0200

 wiz@NetBSD.org schrieb:
 > Synopsis: bacula 5 does not build on DragonFly BSD
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: wiz@NetBSD.org
 > State-Changed-When: Sun, 16 May 2010 13:09:12 +0000
 > State-Changed-Why:
 > The description didn't match the patch (which includes an extra '#').
 > I committed what I think is the correct patch, please check and give feedback.
 > If it's ok, I can request a pullup to 2010Q1. 
 >   
 Thanks for having that extra eye open. Wrong version slipped into the 
 PR. What you commited is what I wanted. I just made a fresh build and 
 can confirm that it works. Please do a pullup to to 2010Q1. Thanks!

Responsible-Changed-From-To: pkg-manager->wiz
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 16 May 2010 14:51:22 +0000
Responsible-Changed-Why:
I committed it.


State-Changed-From-To: feedback->pending-pullups
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 16 May 2010 14:51:22 +0000
State-Changed-Why:
pullup requested.


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43312 CVS commit: [pkgsrc-2010Q1] pkgsrc/sysutils/bacula
Date: Sun, 16 May 2010 23:10:15 +0000

 Module Name:	pkgsrc
 Committed By:	tron
 Date:		Sun May 16 23:10:15 UTC 2010

 Modified Files:
 	pkgsrc/sysutils/bacula [pkgsrc-2010Q1]: Makefile.common

 Log Message:
 Pullup ticket #3116 - requested by wiz
 sysutils/bacula: portability fix

 Revisions pulled up:
 - sysutils/bacula/Makefile.common		1.55
 ---
 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Sun May 16 13:08:11 UTC 2010

 Modified Files:
 	pkgsrc/sysutils/bacula: Makefile.common

 Log Message:
 Disable extattr on DragonFly. From Jan Lentfer in PR 43312.


 To generate a diff of this commit:
 cvs rdiff -u -r1.53 -r1.53.2.1 pkgsrc/sysutils/bacula/Makefile.common

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

State-Changed-From-To: pending-pullups->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 17 May 2010 00:18:32 +0000
State-Changed-Why:
Pulled up.


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