pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42954: static bacula-clientonly fials to install



>Number:         42954
>Category:       pkg
>Synopsis:       static bacula-clientonly fials to install
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 10 23:55:00 +0000 2010
>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@localhost:/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:



Home | Main Index | Thread Index | Old Index