https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-mail/notmuch-0.31-r1 fails to compile. Discovered on: amd64 (internal ref: ci)
Created attachment 668870 [details] build.log build log and emerge --info
Comment on attachment 668870 [details] build.log The build log shows the following error: doman: 'doc/_build/man/man?/*.?' is probably not a man page; skipping * ERROR: net-mail/notmuch-0.31-r1::gentoo failed (install phase): * doman failed What files are located there on your build machine which are considered "not a man page"?
manpages are simply not built with USE=-doc, of course it fails.
(In reply to Ralph Seichter from comment #2) > Comment on attachment 668870 [details] > build.log > > The build log shows the following error: > > doman: 'doc/_build/man/man?/*.?' is probably not a man page; skipping > * ERROR: net-mail/notmuch-0.31-r1::gentoo failed (install phase): > * doman failed > > What files are located there on your build machine which are considered "not > a man page"? it's empty. tarball does not ship manpages. hence you can't unconditionally install them.
(In reply to Ralph Seichter from comment #2) > Comment on attachment 668870 [details] > build.log > > The build log shows the following error: > > doman: 'doc/_build/man/man?/*.?' is probably not a man page; skipping > * ERROR: net-mail/notmuch-0.31-r1::gentoo failed (install phase): > * doman failed > > What files are located there on your build machine which are considered "not > a man page"? Did you try building with the same USE flag combination as ago here?
Created attachment 669524 [details] Build log 2020-11-01
(In reply to Georgy Yakovlev from comment #4) > tarball does not ship manpages. hence you can't unconditionally > install them. Actually, it does, and therefore I can. 😉 Please see attached build log (https://bugs.gentoo.org/attachment.cgi?id=669524). I launched this build using USE='-doc emacs mutt python valgrind' \ ebuild /var/db/repos/gentoo/net-mail/notmuch/notmuch-0.31-r1.ebuild \ clean install Sam, I assume this answers your question as well?
hint: check unpacked tarball before build, not after.
Please say what you mean, exactly, if you have an idea how to resolve this issue. My build log shows that I was able to successfully build and install. I don't have the time for guesswork, and to be precise, I don't really have Gentoo issues for the next two weeks. I'd appreciate specific contributions, or this will necessarily remain unprocessed for quite some time.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eea839184e207cb2cf161cae0b5e25085bd33328 commit eea839184e207cb2cf161cae0b5e25085bd33328 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-11-01 11:25:22 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-11-01 11:49:58 +0000 net-mail/notmuch: add myself to metadata.xml, remove proxy-maint this is very high-profile package was in a bad state. Take over from proxy-maint for maintenance. Bug: https://bugs.gentoo.org/751535 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> net-mail/notmuch/metadata.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=539a232d6c9d5faca4e067bcf9c96cccac3acdc7 commit 539a232d6c9d5faca4e067bcf9c96cccac3acdc7 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-11-01 05:59:13 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-11-01 11:49:58 +0000 net-mail/notmuch: QA revbump: fix multiple issues add apidoc flag, which depends on doxygen split doxygen dep under apidoc flag apidoc depends on doc, add required_use add py3.9 and pypy3 support (all tests pass) switch to cffi virtual add missing PYTHON_USEDEP to cffi add desktop file installation for emacs regen desktop database if required add python tests and pytest dep remove mock dep, works fine with stdlib one add perl dep where appropriate for some scripts add missing subslot on zlib use standard python subphase functions instead of bindings() fix makefile target sed use more standard funtion calls instead of hard to read hacks work around a Makefile race emacs doc generation, it needs -j1 add python documentation installation add basic docs, switch to einstalldocs prevent automagic dependency on gnu parallel in tests make tests more verbose prevent automagic dependency on sphinx (bug #751535) fix manpage installation fix manpage compression fix texinfo file installation fix missing manpage symlink fix overly generic manpage name fix nmbug & friends shebangs silence pushd/popd calls move around some deps misc style changes TODO: more cleanup needed. nmbug need python dependencies. TODO: remove old bindings to fix setuptools warning. TODO: crypto tests fail ( probably #749969 ) Bug: https://bugs.gentoo.org/751535 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> net-mail/notmuch/metadata.xml | 1 + net-mail/notmuch/notmuch-0.31-r1.ebuild | 213 ------------------------ net-mail/notmuch/notmuch-0.31-r2.ebuild | 279 ++++++++++++++++++++++++++++++++ 3 files changed, 280 insertions(+), 213 deletions(-)
(In reply to Ralph Seichter from comment #9) > Please say what you mean, exactly, if you have an idea how to resolve this > issue. My build log shows that I was able to successfully build and install. > I don't have the time for guesswork, and to be precise, I don't really have > Gentoo issues for the next two weeks. I'd appreciate specific contributions, > or this will necessarily remain unprocessed for quite some time. I tried to document fix most of the issues I found, I hope this is comprehensive enough answer. but there are some left, will work later on that. in the future please @mention me on github if you are filing pull request. this package is no longer under @proxy-maint project, I will proxy-maintain for you.
(In reply to Georgy Yakovlev from comment #11) > I tried to document fix most of the issues I found, > I hope this is comprehensive enough answer. I will make sure to examine your changes in detail, as soon as life allows me to do so (I estimate in about two weeks). Thank you for your help, I had not been able to even reproduce the manpage-related issue yet. > in the future please @mention me on github if you are filing pull request. > this package is no longer under @proxy-maint project, I will proxy-maintain > for you. Will do, thanks again.
(In reply to Ralph Seichter from comment #12) > (In reply to Georgy Yakovlev from comment #11) > > > I tried to document fix most of the issues I found, > > I hope this is comprehensive enough answer. > I will make sure to examine your changes in detail, as soon as life allows > me to do so (I estimate in about two weeks). Thank you for your help, I had > not been able to even reproduce the manpage-related issue yet. That's because you have sphinx installed and ebuild had automagic dependency on it as ebuild used Makefile targets incorrectly. If you still have old ebuild I replaced and you will remove sphinx, you will be able to reproduce problem this bug reports, because manpages will not be built, but doman will attempt manpage installation and fail. In the build log you have attached to this bug in #6 and it's _clearly_ seen in the log that build system runs sphinx. Btw, Ralph. Why do you think it's acceptable to communicate with people the way you did in #2 and especially #7. With people who are just trying to make gentoo better by reporting and confirming bugs. I consider it condescending, mocking and passive-aggressive.
(In reply to Georgy Yakovlev from comment #13) > Why do you think it's acceptable to communicate with people > the way you did in #2 and especially #7. Comment #2 is a completely netural question. #7 is meant to be humorous, and I thought that obvious, given that I added the smiley deliberately. > I consider it condescending, mocking and passive-aggressive. It is your right to consider it what you wish, given that it is a subjective interpretation of yours. That does not mean your interpretation is "correct", the only possible one, or matches what *I* had meant to express. These are classic shortcomings of nonverbal communication like a ticketing system. We seem to share a wish to do good for Gentoo, so let's leave it at that. I'll get back to you regarding the changes if and when I have the time.
Due to a new contract, I will be unable to contribute to this issue during the month of November. Georgy, would you like to assign this issue to yourself?
It's actually solved so let's just close this. shipping pre-generated man-pages has been proposed previously as a QA policy, I think notmuch users can benefit from it. I'll look into shipping documentation tarball but will track it separately in a different bug.