pkgsrc-Bugs archive

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

pkg/37768: devel/gnustep-base does not correctly honour PKG_SYSCONFBASE

>Number:         37768
>Category:       pkg
>Synopsis:       devel/gnustep-base does not correctly honour PKG_SYSCONFBASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 16 10:08:52 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (pkgsrc current as of 5-6 hours ago)
        Prince of Songkla University
System: NetBSD 3.99.15 NetBSD 3.99.15 
(GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 i386
Architecture: i386
Machine: i386
        I use a non standard PKG_SYSCONFBASE in /etc/mk.conf
        (I also have CONFDIR in there set to the same value, but
        I suspect that's irrelevant to pkgsrc).

        With that, the GNUstep.conf file correctly gets
        installed into ${PKG_SYSCONFBASE}/GNUstep.conf

        However, when building devel/gnustep-base GNUstep.conf
        is expected to be fuond in ${LOCALBASE}/etc instead.
        When it isn't found there, compilation (autoconf) fails.

        Set PKG_SYSCONFBASE to something other than LOCALBASE/etc
        (I use /etc/conf but I doubt that's important).

        Attempt to build gnustep-base, expect to see ...

checking for GNUstep configuration file to use at runtime... 
checking whether the GNUstep.conf file path can be set in the environment... yes
checking if we should import an existing configuration file now... yes
checking for default GNUstep configuration file to use... 
fail: file "/usr/pkg/etc/GNUstep.conf" does not exist
configure: error: Please run configure again with the 
--disable-importing-config-file option or specifying an alternative file using 
the --with-default-config=option
*** Error code 1

        At this point, verify that ${PKG_SYSCONFBASE}/GNUstep.conf
        does exist.

        For completeness, I'm actually building packages using pkg_comp
        with NetBSD 3.0 release sets installed, but in this case, I doubt
        that is relevant (the facts above, the config of mk.conf and
        existance of GNUstep.conf in PKG_SYSCONFBASE are all true inside
        the pkg_comp sandbox).


Home | Main Index | Thread Index | Old Index