On 2013-3-10 08:42 , Chris Jones wrote:
> Hi,
> 
> 
> On 9 Mar 2013, at 9:22pm, Blair Zajac <[email protected]> wrote:
> 
>> On 03/09/2013 01:18 PM, Chris Jones wrote:
>>> Hi,
>>>
>>> I am working on a new port submission
>>>
>>> https://trac.macports.org/ticket/38343
>>>
>>> that is giving me the warnings
>>>
>>> --->  Staging xrootd into destroot
>>> Warning: violation by /opt/local/man
>>> Warning: xrootd violates the layout of the ports-filesystems!
>>> Warning: Please fix or indicate this misbehavior (if it is intended), it 
>>> will be an error in future releases!
>>>
>>> Unfortunately the above doesn't really tell me exactly whats wrong, or how 
>>> to fix it. Any pointers ?
>>
>> $prefix/man is a symlink to share/man, so you need to update the port to put 
>> the man pages into $prefix/share/man.
> 
> Thanks. I tried adding
> 
>  -DCMAKE_INSTALL_MANDIR="${prefix}/share/man"
> 
> to the configure options, but it does not help. Is there anyway I can get 
> more info on exactly what is causing the warning above, as as it is it is 
> pretty vague…

The warning is caused by a file being installed into /opt/local/man. At
the end of the destroot phase, the installed files are checked against
${prefix}/share/macports/install/prefix.mtree.

- Josh
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to