[MacPorts] #52268: neomutt fails to build documentation
#52268: neomutt fails to build documentation --------------------+------------------------ Reporter: cal@… | Owner: leonardo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Keywords: | Port: neomutt --------------------+------------------------ The current neomutt port ships with an empty manual.txt because documentation generation fails due to a number of missing dependencies. The attached patch fixes this. I've chosen w3m over lynx or elinks, because it seems to be the one that has the fewest (or most commonly used) dependencies and is available as a binary archives from our buildbot. {{{ #!patch Index: Portfile =================================================================== --- Portfile (revision 152763) +++ Portfile (working copy) @@ -5,6 +5,7 @@ name neomutt version 20160910 +revision 1 categories mail platforms darwin license GPL-2 @@ -21,6 +22,11 @@ homepage https://www.neomutt.org conflicts mutt +depends_build port:docbook-xml-4.2 \ + port:docbook-xsl \ + port:libxslt \ + port:w3m + depends_lib port:gettext \ port:libiconv \ port:ncurses }}} OK to commit? -- Ticket URL: <https://trac.macports.org/ticket/52268> MacPorts <https://www.macports.org/> Ports system for macOS
#52268: neomutt fails to build documentation ----------------------+------------------------ Reporter: cal@… | Owner: leonardo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: neomutt | ----------------------+------------------------ Comment (by leonardo.schenkel@…): Yes. I haven't noticed that the manual.txt was empty. Interesting that they changed the manual generation in NeoMutt because this doesn't happen with vanilla mutt. -- Ticket URL: <https://trac.macports.org/ticket/52268#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52268: neomutt fails to build documentation ----------------------+------------------------ Reporter: cal@… | Owner: leonardo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: neomutt | ----------------------+------------------------ Comment (by cal@…): I don't think they changed the generation, I think it may be related to the fact that we're running autoreconf or somehow changing timestamps on some files. I think we should look into that rather than adding the dependencies then, maybe we can get away without the additional deps. -- Ticket URL: <https://trac.macports.org/ticket/52268#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
#52268: neomutt fails to build documentation ----------------------+------------------------ Reporter: cal@… | Owner: leonardo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: neomutt | ----------------------+------------------------ Comment (by leonardo.schenkel@…): I use autoreconf because they made a mistake in NeoMutt when building the .tar.gz file and omitted some files which makes the install phase fail. This was reported on https://github.com/neomutt/neomutt/issues/140 and fixed, but I was hoping that by using the sources and autoreconf I could avoid having to patch it locally and be more resilient against packaging mistakes by upstream, but this may have backfired regarding the documentation. I will try to use the .tar.gz with a local patch and see if that works. -- Ticket URL: <https://trac.macports.org/ticket/52268#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS
#52268: neomutt fails to build documentation ----------------------+------------------------ Reporter: cal@… | Owner: leonardo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: neomutt | ----------------------+------------------------ Comment (by leonardo.schenkel@…): There is a new version of neomutt recently released, they fixed the packaging problem so I can build from the tarball now and the documentation is correctly built. I have attached the patch. -- Ticket URL: <https://trac.macports.org/ticket/52268#comment:4> MacPorts <https://www.macports.org/> Ports system for macOS
#52268: neomutt fails to build documentation ----------------------+------------------------ Reporter: cal@… | Owner: leonardo@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: fixed | Keywords: Port: neomutt | ----------------------+------------------------ Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Committed in r152777. -- Ticket URL: <https://trac.macports.org/ticket/52268#comment:5> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts