Opened 8 years ago
Closed 8 years ago
#52268 closed defect (fixed)
neomutt fails to build documentation
Reported by: | neverpanic (Clemens Lang) | Owned by: | lbschenkel (Leonardo Brondani Schenkel) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.99 |
Keywords: | Cc: | ||
Port: | neomutt |
Description
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.
-
Portfile
5 5 6 6 name neomutt 7 7 version 20160910 8 revision 1 8 9 categories mail 9 10 platforms darwin 10 11 license GPL-2 … … 21 22 homepage https://www.neomutt.org 22 23 23 24 conflicts mutt 25 depends_build port:docbook-xml-4.2 \ 26 port:docbook-xsl \ 27 port:libxslt \ 28 port:w3m 29 24 30 depends_lib port:gettext \ 25 31 port:libiconv \ 26 32 port:ncurses
OK to commit?
Attachments (1)
Change History (6)
comment:1 Changed 8 years ago by lbschenkel (Leonardo Brondani Schenkel)
comment:2 Changed 8 years ago by neverpanic (Clemens Lang)
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.
comment:3 Changed 8 years ago by lbschenkel (Leonardo Brondani 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.
comment:4 Changed 8 years ago by lbschenkel (Leonardo Brondani 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.
Changed 8 years ago by lbschenkel (Leonardo Brondani Schenkel)
Attachment: | neomutt.patch added |
---|
update to 20160916
comment:5 Changed 8 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r152777.
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.