Subject: Re: print/cups regression in 2006Q3: "${datarootdir}/cups/...": ENOENT
To: None <pkgsrc-users@NetBSD.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: pkgsrc-users
Date: 10/05/2006 10:10:00
Roland Illig --> pkgsrc-users (2006-10-05 02:02:46 +0200):
> 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.

Thanks, your recent [1]commits fixed the problem.


Regards, Jukka

[1] http://mail-index.netbsd.org/pkgsrc-changes/2006/10/05/0002.html

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~