[Bug 214892] [PATCH] lang/guile2: fix missing dependency on makeinfo

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 27 22:39:23 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214892

            Bug ID: 214892
           Summary: [PATCH] lang/guile2: fix missing dependency on
                    makeinfo
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh at freebsd.org
          Reporter: freebsd at skinc.ru
          Keywords: patch
             Flags: maintainer-feedback?(bofh at freebsd.org)
          Assignee: bofh at freebsd.org

Created attachment 177466
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=177466&action=edit
Patch to fixes missing dependency on makeinfo and portlint warnings

Currently, building of this port fails with messages:

gmake[5]: Entering directory
'/usr/obj/usr/ports/lang/guile2/work/guile-2.0.11/doc'
Making install in ref
gmake[6]: Entering directory
'/usr/obj/usr/ports/lang/guile2/work/guile-2.0.11/doc/ref'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /usr/obj/usr/ports/lang/guile2/work/guile-2.0.11/build-aux/missing
makeinfo --version) >/dev/null 2>&1; then \
  for f in guile.info guile.info-[0-9] guile.info-[0-9][0-9] guile.i[0-9]
guile.i[0-9][0-9]; do \
    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /usr/obj/usr/ports/lang/guile2/work/guile-2.0.11/build-aux/missing
makeinfo   -I . \
 -o guile.info guile.texi; \
then \
  rc=0; \
  CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
  rc=$?; \
  CDPATH="${ZSH_VERSION+.}:" && cd . && \
  $restore $backupdir/* `echo "./guile.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
/usr/obj/usr/ports/lang/guile2/work/guile-2.0.11/build-aux/missing: makeinfo:
not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <http://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <http://www.gnu.org/software/make/>
gmake[6]: *** [Makefile:1726: guile.info] Error 127
gmake[6]: Leaving directory
'/usr/obj/usr/ports/lang/guile2/work/guile-2.0.11/doc/ref'
gmake[5]: *** [Makefile:1694: install-recursive] Error 1
gmake[5]: Leaving directory
'/usr/obj/usr/ports/lang/guile2/work/guile-2.0.11/doc'
gmake[4]: *** [Makefile:1821: install-recursive] Error 1
gmake[4]: Leaving directory '/usr/obj/usr/ports/lang/guile2/work/guile-2.0.11'
gmake[3]: *** [Makefile:2214: install] Error 2
gmake[3]: Leaving directory '/usr/obj/usr/ports/lang/guile2/work/guile-2.0.11'
gmake[2]: *** [Makefile:2224: install-strip] Error 2
gmake[2]: Leaving directory '/usr/obj/usr/ports/lang/guile2/work/guile-2.0.11'
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/lang/guile2
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/guile2

===>>> make stage failed for lang/guile2
===>>> Aborting update

This problem occurs due to the missing dependency on makeinfo.
My patch fixes not only missing dependency, but also portlint warnings in
Makefile.

How to use:
1. Use patch in ports/lang
2. Remove all *.orig from guile2/ and guile2/files/
3. Remove guile2/files/patch-libguile___scm.h (it will has zero size)
4. Use portlint in ports/lang/guile2 to see "looks fine" output

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list