Re: mtree violation check: no files matched glob pattern
On Aug 14, 2007, at 09:47, spambox@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.
Hi Ryan,
The ghostscript port install these items which violate the mtree:
<snip />
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?
My guess is that ghostscript's handwritten Makefiles don't deal with mandir properly. I'll have a look at it more closely and see what we can do about it. Kind regards, Maun Suang -- Boey Maun Suang (Boey is my surname) Email: boeyms at macports dot org
On Aug 17, 2007, at 03:32, Boey Maun Suang wrote:
The ghostscript port install these items which violate the mtree:
<snip />
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?
My guess is that ghostscript's handwritten Makefiles don't deal with mandir properly. I'll have a look at it more closely and see what we can do about it.
Thanks. This is the bug report: http://trac.macosforge.org/projects/macports/ticket/12496
participants (2)
-
Boey Maun Suang
-
Ryan Schmidt