NetBSD Problem Report #42954
From www@NetBSD.org Wed Mar 10 23:50:06 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 36B2263C49E
for <gnats-bugs@gnats.NetBSD.org>; Wed, 10 Mar 2010 23:50:06 +0000 (UTC)
Message-Id: <20100310235005.DA4D763C49C@www.NetBSD.org>
Date: Wed, 10 Mar 2010 23:50:05 +0000 (UTC)
From: dougs@dawnsign.com
Reply-To: dougs@dawnsign.com
To: gnats-bugs@NetBSD.org
Subject: static bacula-clientonly fials to install
X-Send-Pr-Version: www-1.0
>Number: 42954
>Category: pkg
>Synopsis: static bacula-clientonly fials to install
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: adam
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 10 23:55:00 +0000 2010
>Closed-Date: Fri May 12 08:20:27 +0000 2023
>Last-Modified: Fri May 12 08:20:27 +0000 2023
>Originator: Doug Sampson
>Release: 5.0.2
>Organization:
DawnSignPress
>Environment:
NetBSD netbsd.dawnsign.com 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb 6 17:53:27 UTC 2010 builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
bacula-clientonly will not compile correctly if the static-bacula option is chosen. In order to compile bacula-clientonly in static mode, the libtool *must* be disabled.
While trying to install sysutils/bacula-clientonly, an error is posted at end of post-install as follows:
=> Running POST-INSTALL script actions
===========================================================================
The following files should be created for bacula-clientonly-5.0.1:
/usr/pkg/etc/bacula/bconsole.conf (m=0644)
/usr/pkg/etc/bacula/bacula-fd.conf (m=0644)
/etc/rc.d/bacula-fd (m=0755)
[/usr/pkg/share/examples/rc.d/bacula-fd]
===========================================================================
pkg_create: can't stat `/usr/pkg/lib/bpipe-fd.la'
pkg_create: can't stat `/usr/pkg/lib/libbac.la'
pkg_create: can't stat `/usr/pkg/lib/libbaccfg.la'
pkg_create: can't stat `/usr/pkg/lib/libbacfind.la'
pkg_create: can't stat `/usr/pkg/lib/libbacpy.la'
pkg_create: can't stat `/usr/pkg/sbin/bacula-fd'
pkg_create: can't stat `/usr/pkg/sbin/bconsole'
pkg_create: can't stat `/usr/pkg/sbin/static-bacula-fd'
pkg_create: can't stat `/usr/pkg/sbin/static-bconsole'
pkg_create: can't stat `/usr/pkg/share/examples/bacula/bacula-fd.conf'
pkg_create: can't stat `/usr/pkg/share/examples/bacula/bconsole.conf'
=> Registering installation for bacula-clientonly-5.0.1
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/lib/bpipe-fd.la' is in +CONTENTS but not on filesystem!
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/lib/libbac.la' is in +CONTENTS but not on filesystem!
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/lib/libbaccfg.la' is in +CONTENTS but not on filesystem!
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/lib/libbacfind.la' is in +CONTENTS but not on filesystem!
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/lib/libbacpy.la' is in +CONTENTS but not on filesystem!
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/sbin/bacula-fd' is in +CONTENTS but not on filesystem!
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/sbin/bconsole' is in +CONTENTS but not on filesystem!
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/sbin/static-bacula-fd' is in +CONTENTS but not on filesystem!
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/sbin/static-bconsole' is in +CONTENTS but not on filesystem!
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/share/examples/bacula/bacula-fd.conf' is in +CONTENTS but not on filesystem!
pkg_admin: bacula-clientonly-5.0.1: File `/usr/pkg/share/examples/bacula/bconsole.conf' is in +CONTENTS but not on filesystem!
ERROR: CONF_FILE /usr/pkg/share/examples/bacula/bacula-fd.conf does not exist.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/sysutils/bacula-clientonly
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/sysutils/bacula-clientonly
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/sysutils/bacula-clientonly
netbsd#
netbsd# less /etc/mk.conf
WRKOBJDIR=/usr/work
DISTDIR=/usr/distfiles
PKG_OPTIONS.bacula-clientonly=bacula-static
netbsd# less ./options.mk
# $NetBSD: options.mk,v 1.3 2008/09/30 15:20:30 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bacula-clientonly
PKG_SUPPORTED_OPTIONS= bacula-static
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mbacula-static)
CONFIGURE_ARGS+= --enable-static-cons
CONFIGURE_ARGS+= --enable-static-dir
CONFIGURE_ARGS+= --enable-static-fd
CONFIGURE_ARGS+= --enable-static-sd
CONFIGURE_ARGS+= --enable-static-tools
CONFIGURE_ARGS+= --disable-libtool <<<<<------ added
PLIST_SUBST+= STATIC=
.else
PLIST_SUBST+= STATIC="@comment "
.endif
It seems either I need to compile *without* the static-bacula option in order to get a working bacula client-only setup or post this online. Here I am.
~Doug
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: gls@NetBSD.org
Responsible-Changed-When: Thu, 11 Mar 2010 18:26:49 +0000
Responsible-Changed-Why:
Adam, can you have a look at this please ? Thanks!
From: Sergey Svishchev <svs@ropnet.ru>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/42954
Date: Mon, 21 Mar 2011 20:12:59 +0300
Regular bacula package is also affected; and, as noted in PR 44444, the
workaround doesn't actually work.
--
Sergey Svishchev
From: "Sergey Svishchev" <shattered@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42954 CVS commit: pkgsrc/sysutils/bacula-clientonly
Date: Wed, 17 Aug 2011 20:23:11 +0000
Module Name: pkgsrc
Committed By: shattered
Date: Wed Aug 17 20:23:11 UTC 2011
Modified Files:
pkgsrc/sysutils/bacula-clientonly: options.mk
Log Message:
PR/42954 -- disable libtool if static-bacula option is on. Doesn't yet
work though.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/bacula-clientonly/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Sergey Svishchev" <shattered@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42954 CVS commit: pkgsrc/sysutils
Date: Thu, 23 Feb 2012 12:16:32 +0000
Module Name: pkgsrc
Committed By: shattered
Date: Thu Feb 23 12:16:32 UTC 2012
Modified Files:
pkgsrc/sysutils/bacula: options.mk
pkgsrc/sysutils/bacula-clientonly: options.mk
Log Message:
PR/42954: bacula-static option is broken. It requires non-libtool build,
but Makefiles' "all" targets include both dynamic and static targets.
Package PLISTs also don't support static-only build.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/sysutils/bacula/options.mk
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/bacula-clientonly/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 12 May 2023 08:20:27 +0000
State-Changed-Why:
The static-bacula option was withdrawn in 2013; was broken upstream
and apparently upstream wasn't interested in fixing it.
>Unformatted:
(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.