The mtree and man pages

Randall Wood rhwood at mac.com
Mon Aug 13 18:17:00 PDT 2007


I have noticed that almost 1840 ports have configure.args set to  
install man pages in ${prefix}/share/man instead of the default  
location ${prefix}/man and that the mtree-violation code does not  
like ${prefix}/man.

Can we allow ${prefix}/man to be used and perhaps even set it to be  
the preferred location for man pages since it seems to fit more with  
the UNIX default location?


On 13 Aug 2007, at 19:23, susanmackay at optusnet.com.au wrote:

> I'm trying to install gnome-doc-utils and I get the following (just  
> the last output lines - all lines above appeared to be 'normal'  
> operation):
>
> /usr/bin/install -c -m 644 gnome-doc-xslt-C.omf /opt/local/var/ 
> macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_gnome_gnome-doc-utils/work/destroot/opt/local/ 
> share/omf/g
> nome-doc-xslt/gnome-doc-xslt-C.omf
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[2]: Nothing to be done for `install-exec-am'.
> test -z "/opt/local/share/gnome-doc-utils" || /bin/sh ./ 
> mkinstalldirs "/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macport
> s.org_release_ports_gnome_gnome-doc-utils/work/destroot/opt/local/ 
> share/gnom
> e-doc-utils"
>  /usr/bin/install -c -m 644 'template.omf.in'
> '/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macport
> s.org_release_ports_gnome_gnome-doc-utils/work/destroot/opt/local/ 
> share/gnom
> e-doc-utils/template.omf.in'
>  /usr/bin/install -c -m 644 'template.make'
> '/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macport
> s.org_release_ports_gnome_gnome-doc-utils/work/destroot/opt/local/ 
> share/gnom
> e-doc-utils/template.make'
>  /usr/bin/install -c -m 644 'template-document.xml'
> '/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macport
> s.org_release_ports_gnome_gnome-doc-utils/work/destroot/opt/local/ 
> share/gnom
> e-doc-utils/template-document.xml'
> DEBUG: Executing destroot_finish
> DEBUG: checking for mtree violations
> Error: violation by /opt/local/man
> Error: Target org.macports.destroot returned: mtree violation!
> Warning: the following items did not execute (for gnome-doc-utils):
> org.macports.activate org.macports.destroot org.macports.install
> Error: Status 1 encountered during processing.
> Titania:~ susan$ sudo port -dv install gnome-doc-utils
>
> (The last line is there to show the command I used).
>
> I had recently ( as in about 1200UTC 13/8/2007) done a selfupdate  
> and a sync which included several new versions of some packages.  
> These were 'upgraded' beforehand.
>
> Is there something I have to do to get this to work?
>
> Thanks
>
> Susan
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users



Randall Wood
rhwood at mac.com
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."





More information about the macports-dev mailing list