pkgsrc-Bugs archive

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

pkg/44444: bacula-5.0.3 fails to build with static option

        Note: There was a bad value `' for the field `Class'.
        It was set to the default value of `sw-bug'.

>Number:         44444
>Category:       pkg
>Synopsis:       bacula-5.0.3 fails to build with static option
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 23 02:40:00 +0000 2011
>Originator:     Dan McMahill
>Release:        NetBSD 5.1
System: NetBSD bondage 5.1 NetBSD 5.1 (GENERIC-$Revision: 1.325.4.1 $) #0: Sat 
Nov 6 13:57:23 UTC 2010
Architecture: alpha
Machine: alpha

in sysutils/bacula/Makefile.common:  kNetBSD: Makefile.common,v 1.56

I set this in /etc/mk.conf:

PKG_OPTIONS.bacula=     bacula-static

Bacula fails to configure complaining that --disable-libtool is needed
for static builds so I added 

CONFIGURE_ARGS+=        --disable-libtool

to the bacula-static part of

But now the build fails because the dynamic tools are trying to still be built 
and they fail because they try and link to .la files which of course were not
built.  This is really an upstream bug but perhaps the static option should
be commented out or set to produce an error right away saying "this feature is
currently broken"


echo "PKG_OPTIONS.bacula=     bacula-static" >> /etc/mk.conf
cd /usr/pkgsrc/sysutils/bacula



Home | Main Index | Thread Index | Old Index