ports/108194: ports/lang/gauche doesn't install docs properly

clemens fischer ino-qc at spotteswoode.de.eu.org
Sun Jan 21 22:20:16 UTC 2007


>Number:         108194
>Category:       ports
>Synopsis:       ports/lang/gauche doesn't install docs properly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 21 22:20:14 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     clemens fischer <ino-qc at spotteswoode.de.eu.org>
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD spotteswoode.dnsalias.org 6.2-PRERELEASE
FreeBSD 6.2-PRERELEASE #14: Sat Jan 6 17:32:43 CET 2007
root at spotteswoode.dnsalias.org:/usr/obj/usr/src/sys/spott i386

>Description:

ports/lang/gauche (scheme interpreter) contains TEXI docs.  the
"Makefile" runs them through the necessary machinery to have it
installed in local/info.  if the port specified a dependance on
ports/textproc/texi2html, we would even get HTML output.  support for
this is included in the upstream sources.  the *.info files generated
amount to more than one MB worth, but the port installs only two files
of 13kB each for english and japanese, containing no "Top" node and
generally not working, because the "rest" of the files named
"local/info/gauche-ref[ej].info{,-[123456]}" (bash glob) are missing.
this may be due to a compatibility issue between some linux/emacs
version of makeinfo(1), because the test immediately preceeding the
"install" actions in the Makefile test for the presence of compressed
info files:

  install: all
      if test ! -d $(DESTDIR)$(mandir)/man1; then $(MKINSTDIR) $(DESTDIR)$(mandir)/man1; fi
      $(INSTALL) -m 444 $(MANPAGES) $(DESTDIR)$(mandir)/man1
      if test ! -d $(DESTDIR)$(infodir); then $(MKINSTDIR) $(DESTDIR)$(infodir); fi
      if test -f gauche-refe.info.gz -o -f gauche-refj.info.gz; then \
        for info in *.info*; do \
          $(INSTALL) -m 444 $$info $(DESTDIR)$(infodir)/; \
        done; \
      fi

the line

  "if test -f gauche-refe.info.gz -o -f gauche-refj.info.gz; then \"

should rather be: 

  "if test -f gauche-refe.info -o -f gauche-refj.info; then \"

interestingly the "uninstall" target does not suffer from this bug, it
might be an upstream issue.

>How-To-Repeat:

install ports/lang/gauche and try "info gauche-refe".

>Fix:

workaround:

after installation, but before doing "make clean", chdir into
"ports/lang/gauche/work/Gauche-0.8.9/doc" and do

  install -m0444 gauche-ref?.info /l/info/

after installing texi2html(1), the original sources also provide HTML
documentation, which don't get installed.

regards, clemens
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list