Subject: Re: print/cups regression in 2006Q3: "${datarootdir}/cups/...": ENOENT
To: None <pkgsrc-users@NetBSD.org>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-users
Date: 10/05/2006 02:02:46
Jukka Salmi wrote:
> Hi,
>
> since I upgraded print/cups from pkgsrc-2006Q2 to Q3, error messages
> like the following are logged:
>
> cupsd[607]: LoadBanners: Unable to open banner directory "${datarootdir}/cups/banners": No such file or directory
> [...]
> cupsd[607]: LoadPPDs: Unable to open PPD directory "${datarootdir}/cups/model": No such file or directory
>
> These directories do exist; I assume that ${datarootdir} should be
> expanded but isn't...
>
>
> Any hints what could have caused this regression?
cd $pkgsrcdir/print/cups
make debug | less
Then, look for datarootdir. There you can see that it will be hard-coded
in the C source files. I don't know why, I haven't yet investigated.
Roland