a2ps fails to install (compressed log attached)

Kenneth Wolcott kennethwolcott at gmail.com
Tue Dec 20 00:27:17 UTC 2022


Hi;

  I modified the portfile using 'sudo edit a2ps' simply replacing
'/usr/bin/makeinfo' with '/opt/local/bin/makeinfo' and tried to
install again.

  I see one thing in the new log:

/bin/sh: /usr/bin/makeinfo: No such file or directory

  I wonder why that is?  I also see some failed attempts to test
syntax/usage of makeinfo (?) showing some kind of incompatibility.

  I have attached the new log file (bzip2 compressed).

Thanks,
Ken


On Mon, Dec 19, 2022 at 3:16 PM Bill Cole
<macportsusers-20171215 at billmail.scconsult.com> wrote:
>
> On 2022-12-19 at 16:47:41 UTC-0500 (Mon, 19 Dec 2022 13:47:41 -0800)
> Kenneth Wolcott <kennethwolcott at gmail.com>
> is rumored to have said:
>
> > Hi Bill;
> >
> > Here is some more information:
> >
> > ls -ld /opt/local/bin/makeinfo
> > lrwxr-xr-x  1 root  admin  8 Dec  9 19:36 /opt/local/bin/makeinfo ->
> > texi2any
> >
> > port list texinfo
> > texinfo                        @7.0.1          textproc/texinfo
> >
> > ls -ld /opt/local/bin/texi2any
> > -rwxr-xr-x  1 root  admin  68708 Dec  9 19:36 /opt/local/bin/texi2any
> >
> > port contents texinfo | grep texi2any
> >   /opt/local/bin/texi2any
> >   /opt/local/share/info/texi2any_api.info
> >   /opt/local/share/info/texi2any_internals.info
> >   /opt/local/share/man/man1/texi2any.1.gz
> >
> > I've never created a MacPorts bug report before; guess it is time to
> > learn how to do that :-)
>
> Looks like a simple fix. The Portfile for a2ps includes this definition:
>
> MAKEINFO=/usr/bin/makeinfo
>
> Which would explain why the build failed and why the config didn't
> bother looking for a working makeinfo.
>
>
> >
> > Thanks,
> > Ken
> >
> > On Mon, Dec 19, 2022 at 1:28 PM Bill Cole
> > <macportsusers-20171215 at billmail.scconsult.com> wrote:
> >>
> >> On 2022-12-19 at 15:03:35 UTC-0500 (Mon, 19 Dec 2022 12:03:35 -0800)
> >> Kenneth Wolcott <kennethwolcott at gmail.com>
> >> is rumored to have said:
> >>
> >>> Hi;
> >>>
> >>>   a2ps fails to install (compressed log attached).
> >>>
> >>> one item I noticed (several instances:
> >>> :info:destroot /bin/sh: /usr/bin/makeinfo: No such file or directory
> >>>
> >>> Does this mean that there is a missing dependency?
> >>
> >> It looks like it's saying that the version of 'makeinfo' that has
> >> historically been included in macOS is not present.
> >>
> >> That seems like something Apple might have done in a recent version,
> >> as
> >> they have been removing GNU tools pretty aggressively. It was still
> >> there in Catalina (which is as far as I've ventured...)
> >>
> >> If it really is gone, you can get a version by installing the
> >> 'texinfo'
> >> port, but it won't be at that path and it won't be whatever version
> >> Apple last had in the base system. However, it might be noticed and
> >> used
> >> by the a2ps configure stage and if so, should work. I expect that the
> >> proper solution will be to add texinfo as a dependency.
> >>
> >>
> >> --
> >> Bill Cole
> >> bill at scconsult.com or billcole at apache.org
> >> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> >> Not Currently Available For Hire
>
>
> --
> Bill Cole
> bill at scconsult.com or billcole at apache.org
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> Not Currently Available For Hire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a2ps_try2_main.log.bz2
Type: application/x-bzip2
Size: 30289 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20221219/755e47e7/attachment.bin>


More information about the macports-users mailing list