mtree violation check: no files matched glob pattern

Ryan Schmidt ryandesign at macports.org
Tue Aug 14 16:04:35 PDT 2007


On Aug 14, 2007, at 09:47, spambox at neuf.fr wrote:

> Ryan Schmidt-24 wrote:
>
>> I'd say installing into /Applications/MacPorts should not be
>> considered an mtree violation. Check this out:
>
> Hi,
>
> I don't know if it's related but i just got this trying to install
> ghostscript :
>
> --->  Staging ghostscript into destroot
> Error: violation by /opt/local/man
> Error: Target org.macports.destroot returned: mtree violation!
> Error: Status 1 encountered during processing.
>
> I did not get that when I installed gimp of ImageMagick.

Let's keep discussion on the mailing list please. Use the Reply To  
All feature when you reply.

The problem I reported was a problem in the mtree checker. It has  
been fixed in trunk and in the release_1_5 branch and will be  
included in the next version of MacPorts after 1.5.1. At that time,  
mtree violations will also become warnings instead of fatal errors,  
to give us time to clean up the existing ports.

The error you reported in ghostscript is unrelated, but I'm not sure  
how to fix it and need assistance from the list:

The ghostscript port install these items which violate the mtree:

   /opt/local/man/de/man1/dvipdf.1
   /opt/local/man/de/man1/eps2eps.1
   /opt/local/man/de/man1/font2c.1
   /opt/local/man/de/man1/gsnd.1
   /opt/local/man/de/man1/pdf2dsc.1
   /opt/local/man/de/man1/pdf2ps.1
   /opt/local/man/de/man1/pdfopt.1
   /opt/local/man/de/man1/printafm.1
   /opt/local/man/de/man1/ps2ascii.1
   /opt/local/man/de/man1/ps2pdf.1
   /opt/local/man/de/man1/ps2pdf12.1
   /opt/local/man/de/man1/ps2pdf13.1
   /opt/local/man/de/man1/ps2ps.1
   /opt/local/man/de/man1/wftopfa.1
   /opt/local/man/man1/dvipdf.1
   /opt/local/man/man1/eps2eps.1
   /opt/local/man/man1/font2c.1
   /opt/local/man/man1/gs.1
   /opt/local/man/man1/gslp.1
   /opt/local/man/man1/gsnd.1
   /opt/local/man/man1/pdf2dsc.1
   /opt/local/man/man1/pdf2ps.1
   /opt/local/man/man1/pdfopt.1
   /opt/local/man/man1/pf2afm.1
   /opt/local/man/man1/pfbtopfa.1
   /opt/local/man/man1/printafm.1
   /opt/local/man/man1/ps2ascii.1
   /opt/local/man/man1/ps2epsi.1
   /opt/local/man/man1/ps2pdf.1
   /opt/local/man/man1/ps2pdf12.1
   /opt/local/man/man1/ps2pdf13.1
   /opt/local/man/man1/ps2pdfwr.1
   /opt/local/man/man1/ps2ps.1
   /opt/local/man/man1/wftopfa.1

I thought I could fix this by adding this directive:

configure.args      --mandir=${prefix}/share/man

When I do that, the mtree violation disappears, but also all of the  
above files do not get installed. They don't get installed in $ 
{prefix}/share/man; they don't get installed anywhere. Why?

I'm using MacPorts built from the release_1_5 branch r27780 which  
includes the new fixes to the mtree checker.





More information about the macports-dev mailing list