Bug 214892 - [PATCH] lang/guile2: fix missing dependency on makeinfo
Summary: [PATCH] lang/guile2: fix missing dependency on makeinfo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-11-27 22:39 UTC by Ilia Skalozubov
Modified: 2017-02-25 23:34 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments
Patch to fixes missing dependency on makeinfo and portlint warnings (4.58 KB, patch)
2016-11-27 22:39 UTC, Ilia Skalozubov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ilia Skalozubov 2016-11-27 22:39:22 UTC
Created attachment 177466 [details]
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