Like a complete dumbass I forgot to save all of the relevant logs. I know that 
the fontconfig build complained about /opt/foss and the permissions on that. 
They were, I believe, root:sys 755 and I had to change them to root:bin 755 
to get fontconfig to install. All the other packages installed without 
checking the permissions on that directory. I think this is because 
fontconfig is the first specfile to go outside of /opt/foss with anything.

On Monday 19 May 2008 17:56, you wrote:
> what's wrong when we will put files into /var, if they files have to go
> there ?

That's not what this is about. /var is good. Having fontconfig fail to build 
because /opt/foss exists and has the wrong permissions is not -- earlier 
specfiles should then set up the permissions properly.


> Some *magic* could be possible directly in 'spec files' like %post or %pre
> actions. But at this time we are creating spec from pspc and I have no clue
> how can we do it (same functionality).

It'd be a specfile along the lines of endian -- trivial tarball, most of the 
work done in the Solaris/ scripts. All this would do is create the 
directories with the right permissions for the prefix (/opt/foss); this also 
makes it clearer *later* if there are permissions clashes. pkgtool will then 
say what the permissions are and who set them that way instead of saying 
that /opt/foss doesn't belong to any package.



Reply via email to