groff 1.20.1 failing to compile
Eamonn Kenny
Eamonn.Kenny at cs.tcd.ie
Thu Nov 12 08:12:34 PST 2009
Dear Mac Ports,
Found the problem and I'd guess that this applies to a small minority of
component.
The problem I guess is a bug in Mac Ports itself. I'd guess it is
performing a system call when moving software to the distroot directory,
but this doesn't always function properly if the Makefile has something
of the form:
"cd dirA && make DESTDIR=$dirB"
because the double-quotes are wrapped (i guessing now) by other
double-quotes which doesn't make a valid system call.
Therefore MacPorts should be using single quotes, or performing some
check before running such a command.
Eamonn Kenny wrote:
> Dear MacPorts,
>
> I'm attempting to install doxygen which requires groff on Snow Leopard.
> It fails with error:
>
> test -d
> /Users/autobuild/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_groff/work/destroot/opt/local/share/groff/site-font
> \
> || /bin/sh
> /Users/autobuild/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_groff/work/groff-1.20.1/mkinstalldirs
> /Users/autobuild/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_groff/work/destroot/opt/local/share/groff/site-font
> mkdir
> /Users/autobuild/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_groff/work/destroot/opt/local/share/groff/site-font
> make: *** [install] Error 2
>
> Error: The following dependencies failed to build: graphviz gd2 xpm
> xorg-libX11 groff xorg-bigreqsproto xorg-inputproto xorg-kbproto
> xorg-libXau xorg-xproto xorg-libXdmcp xorg-util-macros xorg-xcmiscproto
> xorg-xextproto xorg-xf86bigfontproto xorg-xtrans pango Xft2 xrender
> xorg-renderproto cairo libpixman urw-fonts xorg-libXaw xorg-libXext
> xorg-libXmu xorg-libXt xorg-libsm xorg-libice
> Error: Status 1 encountered during processing.
>
> However, if I do the following:
>
> cd
> /Users/autobuild/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_groff/work/
> sudo make install
>
> It will complete the install step without an error. Why then when I run:
>
> sudo port -v install groff
>
> do I still get the errors shown above?
>
>
>
--
_________________
With Best regards,
Eamonn Kenny
+ + +
Email Eamonn.Kenny at cs.tcd.ie Computer Architecture Group,
Tel: 00+353-1-8961536 Dept. of Computer Science,
Fax: 00+353-1-6772204 Room 0.05, Lloyd building,
http://www.cs.tcd.ie/Eamonn.Kenny Trinity College Dublin,
http://www.tcd.ie/Maps/lloyd.html Dublin 2, Ireland.
+ + +
More information about the macports-tickets
mailing list