Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948351 - net-mail/notmuch-0.38.3 - [gcc-15] [ffmpeg] No module named notmuch2 [autodoc.import_object]
Summary: net-mail/notmuch-0.38.3 - [gcc-15] [ffmpeg] No module named notmuch2 [autodoc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 953475
Blocks:
  Show dependency tree
 
Reported: 2025-01-18 14:37 UTC by Toralf Förster
Modified: 2025-04-09 13:44 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.74 KB, text/plain)
2025-01-18 14:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,166.09 KB, text/plain)
2025-01-18 14:37 UTC, Toralf Förster
Details
environment (environment,195.11 KB, text/plain)
2025-01-18 14:37 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2025-01-18 14:37 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.44 KB, application/x-xz)
2025-01-18 14:37 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.57 KB, application/x-xz)
2025-01-18 14:37 UTC, Toralf Förster
Details
net-mail:notmuch-0.38.3:20250118-114217.log (net-mail:notmuch-0.38.3:20250118-114217.log,85.82 KB, text/plain)
2025-01-18 14:37 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,44.88 KB, application/x-xz)
2025-01-18 14:37 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,42.08 KB, application/x-xz)
2025-01-18 14:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-01-18 14:37:15 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -c -DNOTMUCH_VERSION=0.38.3 -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I.  -I/usr/include/gmime-3.0 -D_LARGEFILE64_SOURCE -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/includ
x86_64-pc-linux-gnu-gcc command-line-arguments.o debugger.o status.o gmime-filter-reply.o hooks.o notmuch.o notmuch-client-init.o notmuch-compact.o notmuch-config.o notmuch-count.o notmuch-dump.o notmuch-insert.o notmuch-new.o notmuch-reindex.o notmuch-reply.o notmuch-restore.o notmuch-search.o notm
x86_64-pc-linux-gnu-g++ command-line-arguments.o debugger.o status.o gmime-filter-reply.o hooks.o notmuch.o notmuch-client-init.o notmuch-compact.o notmuch-config.o notmuch-count.o notmuch-dump.o notmuch-insert.o notmuch-new.o notmuch-reindex.o notmuch-reply.o notmuch-restore.o notmuch-search.o notm
env LD_LIBRARY_PATH=/var/tmp/portage/net-mail/notmuch-0.38.3/work/notmuch-0.38.3/lib sphinx-build -b man -d doc/_build/man_doctrees -q ./doc doc/_build/man
/var/tmp/portage/net-mail/notmuch-0.38.3/work/notmuch-0.38.3/doc/index.rst:8: WARNING: toctree contains reference to excluded document 'notmuch-emacs' [toc.excluded]
WARNING: autodoc: failed to import module 'notmuch2'; the following exception was raised:
No module named 'notmuch2' [autodoc.import_object]
/var/tmp/portage/net-mail/notmuch-0.38.3/work/notmuch-0.38.3/doc/man1/notmuch.rst:163: WARNING: 'any' reference target not found: emacs-show-duplicates [ref.any]
/var/tmp/portage/net-mail/notmuch-0.38.3/work/notmuch-0.38.3/doc/man1/notmuch.rst:163: WARNING: 'any' reference target not found: emacs-show-duplicates [ref.any]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd-20250116-044007

  UNMASKED:

    n/a
  >=media-video/ffmpeg-7.0

    n/a
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
llvm-config: Python 3.12.8
go version go1.23.5 linux/amd64
  [1]   php8.2 *
  [2]   php8.3
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.84.0
  [3]   rust-1.84.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 60926e21416cd94351b4ef3cc4b823b91867173f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 18 11:05:08 2025 +0000

    2025-01-18 11:05:08 UTC

emerge -qpvO =net-mail/notmuch-0.38.3
[ebuild  N    ] net-mail/notmuch-0.38.3  USE="apidoc doc nmbug python -crypt -debug -emacs -mutt -test" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2025-01-18 14:37:16 UTC
Created attachment 916978 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-18 14:37:18 UTC
Created attachment 916979 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-18 14:37:19 UTC
Created attachment 916980 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-18 14:37:20 UTC
Created attachment 916981 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-18 14:37:21 UTC
Created attachment 916982 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-18 14:37:22 UTC
Created attachment 916983 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-18 14:37:23 UTC
Created attachment 916984 [details]
net-mail:notmuch-0.38.3:20250118-114217.log
Comment 8 Toralf Förster gentoo-dev 2025-01-18 14:37:24 UTC
Created attachment 916985 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-18 14:37:25 UTC
Created attachment 916986 [details]
temp.tar.xz
Comment 10 Vit 2025-01-19 17:09:56 UTC
I have "No module named notmuch2" when I build with USE=doc.
Without doc error dissapear. USE=emacs python - working without hitch.
Comment 11 Larry the Git Cow gentoo-dev 2025-03-22 21:14:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cdbd9df0773979ca57319490c97ee84a959bdec

commit 4cdbd9df0773979ca57319490c97ee84a959bdec
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-22 20:55:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-22 21:13:59 +0000

    net-mail/notmuch: add 0.39
    
    * Switch to PEP517
    * Use `die -n` with epytest so we don't ignore Python bindings failures
    * Drop legacy Python bindings (just keep cffi ones); 0.39 upstream finally
      dropped these
    * Install man pages and info pages unconditionally per QA policy
    
    Bug: https://bugs.gentoo.org/948351
    Closes: https://bugs.gentoo.org/751517
    Closes: https://bugs.gentoo.org/910004
    Closes: https://bugs.gentoo.org/951046
    Signed-off-by: Sam James <sam@gentoo.org>

 net-mail/notmuch/Manifest                          |   1 +
 .../files/notmuch-0.39-no-compress-man-pages.patch |  67 ++++++
 net-mail/notmuch/notmuch-0.39.ebuild               | 262 +++++++++++++++++++++
 3 files changed, 330 insertions(+)