[MacPorts] #38656: gnuplot install failing, max OS 10.8.3 Xcode 4.6.1
MacPorts
noreply at macports.org
Wed Apr 3 14:27:34 PDT 2013
#38656: gnuplot install failing, max OS 10.8.3 Xcode 4.6.1
-------------------------------+---------------------
Reporter: orren.saltzman@… | Owner: mojca@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: gnuplot |
-------------------------------+---------------------
Comment (by mojca@…):
Here's what happens:
{{{
:info:destroot Making or updating menus in *doc2texi*...done
:info:destroot Done...updated all the menus. You may save the buffer.
:info:destroot Saving file
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnuplot/gnuplot/work/gnuplot-4.6.2/docs/gnuplot.texi...
:info:destroot Wrote
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnuplot/gnuplot/work/gnuplot-4.6.2/docs/gnuplot.texi
:info:destroot Compiling gnuplot-eldoc.el
:info:destroot End of file during parsing
:info:destroot make[1]: *** [gnuplot-eldoc.el] Error 255
:info:destroot make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnuplot/gnuplot/work/gnuplot-4.6.2/docs'
:info:destroot make: *** [install-recursive] Error 1
}}}
Oh, I think that I saw a similar problem once already, even though it was
in a slightly different context. I think that I had problems when doing an
out-of-source build.
This code comes from {{{docs/Makefile.in}}} which includes:
{{{
gnuplot.texi $(srcdir)/gnuplot-eldoc.el $(srcdir)/gnuplot-eldoc.elc:
$(srcdir)/doc2texi.el $(srcdir)/gnuplot.doc
@echo "Creating texinfo and eldoc strings file"
@if test "$(EMACS)" != no; then \
test "$(top_srcdir)" = "$(top_builddir)" || echo "COPYING
GNUPLOT.DOC" ; \
test "$(top_srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot.doc
. ; \
$(EMACS) -batch -l $(srcdir)/doc2texi.el -f d2t-doc-to-texi ; \
echo "Compiling gnuplot-eldoc.el" ; \
$(EMACS) -batch --eval='(byte-compile-file "gnuplot-eldoc.el")' ; \
else \
echo "No emacs found - cannot create texinfo file" ; \
fi
}}}
First of all, I have no idea why this fails. Second, independent of
whether or not it fails, the code should not be executed as long as
docs/gnuplot.texi is present.
{{{
$(srcdir)/gnuplot-eldoc.el $(srcdir)/gnuplot-eldoc.elc:
$(srcdir)/doc2texi.el $(srcdir)/gnuplot.doc
}}}
But to start with, I believe that one of the problems might be that emacs
is found (the one provided by the system, not the one provided by
macports). Can you please try to set
{{{
export EMACS=no
}}}
then clean and reinstall gnuplot package just to see if this helps?
I once wrote the following patch to assist with out-of-source building
without emacs, but I need to remember what it does and most probably I
need to change it anyway.
{{{
--- a/docs/Makefile.in
+++ b/docs/Makefile.in
@@ -237,8 +237,8 @@ doc2ms.o: doc2ms.c $(BUILT_SOURCES)
html: htmldocs/gnuplot.html
# requires makeinfo (GNU texinfo) 4.0 or better
-# htmldocs/gnuplot.html: $(srcdir)/gnuplot.texi
-# $(MAKEINFO) --html -I$(srcdir) $(srcdir)/gnuplot.texi --no-split
--output=$@
+# htmldocs/gnuplot.html: gnuplot.texi
+# $(MAKEINFO) --html -I$(srcdir) gnuplot.texi --no-split --output=$@
# requires a working latex2html, which is hard to find these days
# htmldocs/gnuplot.html: $(srcdir)/gnuplot.tex
@@ -389,18 +389,20 @@ wxhelp/doc2html: wxhelp/doc2html.o termdoc.o xref.o
../src/version.o
### GNU info format
info: gnuplot.info
-gnuplot.info: $(srcdir)/gnuplot.texi
- $(MAKEINFO) -I$(srcdir) $(srcdir)/gnuplot.texi --no-split
--output=$@
+gnuplot.info: gnuplot.texi
+ $(MAKEINFO) -I$(srcdir) gnuplot.texi --no-split --output=$@
# Thanks to Bruce Ravel for doc2texi.el!
gnuplot.texi $(srcdir)/gnuplot-eldoc.el $(srcdir)/gnuplot-eldoc.elc:
$(srcdir)/doc2texi.el $(srcdir)/gnuplot.doc
@echo "Creating texinfo and eldoc strings file"
@if test "$(EMACS)" != no; then \
- @test "$(top_srcdir)" = "$(top_builddir)" || echo "COPYING
GNUPLOT.DOC" ; \
- @test "$(top_srcdir)" = "$(top_builddir)" || cp
$(srcdir)/gnuplot.doc . ; \
+ test "$(top_srcdir)" = "$(top_builddir)" || echo "COPYING
GNUPLOT.DOC" ; \
+ test "$(top_srcdir)" = "$(top_builddir)" || cp
$(srcdir)/gnuplot.doc . ; \
$(EMACS) -batch -l $(srcdir)/doc2texi.el -f d2t-doc-to-texi ; \
echo "Compiling gnuplot-eldoc.el" ; \
$(EMACS) -batch --eval='(byte-compile-file "gnuplot-eldoc.el")'
; \
+ elif [ "$(top_srcdir)" != "$(top_builddir)" ] && [ -f
$(srcdir)/gnuplot.texi ]; then \
+ cp $(srcdir)/gnuplot.texi . ; \
else \
echo "No emacs found - cannot create texinfo file" ; \
fi
}}}
All-in-all: I'm confused.
--
Ticket URL: <https://trac.macports.org/ticket/38656#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list