Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751535 - net-mail/notmuch-0.31-r1 fails to compile
Summary: net-mail/notmuch-0.31-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ralph Seichter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 747643
  Show dependency tree
 
Reported: 2020-10-28 07:40 UTC by Agostino Sarubbo
Modified: 2020-11-03 17:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,61.24 KB, text/plain)
2020-10-28 07:40 UTC, Agostino Sarubbo
Details
Build log 2020-11-01 (build.log,215.87 KB, application/octet-stream)
2020-11-01 07:12 UTC, Ralph Seichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-10-28 07:40:29 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-28 07:40:34 UTC
Created attachment 668870 [details]
build.log

build log and emerge --info
Comment 2 Ralph Seichter 2020-10-28 08:26:51 UTC
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"?
Comment 3 Georgy Yakovlev archtester gentoo-dev 2020-11-01 06:04:54 UTC
manpages are simply not built with USE=-doc, of course it fails.
Comment 4 Georgy Yakovlev archtester gentoo-dev 2020-11-01 06:10:29 UTC
(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.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-01 06:17:36 UTC
(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?
Comment 6 Ralph Seichter 2020-11-01 07:12:36 UTC
Created attachment 669524 [details]
Build log 2020-11-01
Comment 7 Ralph Seichter 2020-11-01 07:15:23 UTC
(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?
Comment 8 Georgy Yakovlev archtester gentoo-dev 2020-11-01 07:35:33 UTC
hint: check unpacked tarball before build, not after.
Comment 9 Ralph Seichter 2020-11-01 10:22:55 UTC
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.
Comment 10 Larry the Git Cow gentoo-dev 2020-11-01 11:51:46 UTC
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(-)
Comment 11 Georgy Yakovlev archtester gentoo-dev 2020-11-01 11:55:49 UTC
(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.
Comment 12 Ralph Seichter 2020-11-01 12:17:41 UTC
(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.
Comment 13 Georgy Yakovlev archtester gentoo-dev 2020-11-01 19:04:16 UTC
(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.
Comment 14 Ralph Seichter 2020-11-01 20:05:34 UTC
(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.
Comment 15 Ralph Seichter 2020-11-03 17:13:08 UTC
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?
Comment 16 Georgy Yakovlev archtester gentoo-dev 2020-11-03 17:43:17 UTC
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.