Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945400 - app-misc/anki-24.06.3-r2 - [ncurses-6.5] Failed to run command: runner build -- -j4 -l0 wheels
Summary: app-misc/anki-24.06.3-r2 - [ncurses-6.5] Failed to run command: runner build ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-30 09:02 UTC by Toralf Förster
Modified: 2024-12-01 09:18 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.12 KB, text/plain)
2024-11-30 09:02 UTC, Toralf Förster
Details
app-misc:anki-24.06.3-r2:20241130-044437.log.xz (app-misc:anki-24.06.3-r2:20241130-044437.log.xz,23.46 KB, application/x-xz)
2024-11-30 09:02 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,65.07 KB, application/x-xz)
2024-11-30 09:02 UTC, Toralf Förster
Details
environment.xz (environment.xz,45.12 KB, application/x-xz)
2024-11-30 09:02 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-30 09:02 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.15 KB, application/x-xz)
2024-11-30 09:02 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,73.95 KB, application/x-xz)
2024-11-30 09:02 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,46.35 KB, application/x-xz)
2024-11-30 09:02 UTC, Toralf Förster
Details
Fix that adds dev-libs/protobuf[protoc] to BDEPEND (0001-app-misc-anki-ensure-that-dependencies-provide-the-p.patch,888 bytes, patch)
2024-11-30 21:46 UTC, Lucio Sauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-30 09:02:11 UTC
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.89s
     Running `out/rust/x86_64-unknown-linux-gnu/debug/configure`
ninja: error: '/usr/bin/protoc', needed by '/var/tmp/portage/app-misc/anki-24.06.3-r2/work/anki-24.06.3/out/pylib/anki/_backend_generated.py', missing and no known rule to make it

Build failed.
 * ERROR: app-misc/anki-24.06.3-r2::gentoo failed (compile phase):
 *   Failed to run command: /var/tmp/portage/app-misc/anki-24.06.3-r2/work/anki-24.06.3/out/rust/x86_64-unknown-linux-gnu/release/runner build -- -j4 -l0 wheels
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20241123-221003

  UNMASKED:
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.82.0
  [4]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 713333a208bd624659ab3af4ce63fae3eb714e1d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 30 02:33:39 2024 +0000

    2024-11-30 02:33:39 UTC

emerge -qpvO =app-misc/anki-24.06.3-r2
[ebuild  N    ] app-misc/anki-24.06.3-r2  USE="gui -debug -doc -test" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-11-30 09:02:12 UTC
Created attachment 912786 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-30 09:02:13 UTC
Created attachment 912787 [details]
app-misc:anki-24.06.3-r2:20241130-044437.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-30 09:02:14 UTC
Created attachment 912788 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-11-30 09:02:15 UTC
Created attachment 912789 [details]
environment.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-30 09:02:16 UTC
Created attachment 912790 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-30 09:02:17 UTC
Created attachment 912791 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-30 09:02:18 UTC
The file size of ./files/logs.tar.xz is too big (1.3M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0_desktop_plasma-20241123-221003/var/tmp/tb/issues/20241130-044746-app-misc_anki-24.06.3-r2/files/logs.tar.xz is valid.
Comment 8 Toralf Förster gentoo-dev 2024-11-30 09:02:19 UTC
Created attachment 912792 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-30 09:02:23 UTC
Created attachment 912793 [details]
temp.tar.xz
Comment 10 Lucio Sauer 2024-11-30 21:46:02 UTC
Created attachment 912903 [details, diff]
Fix that adds dev-libs/protobuf[protoc] to BDEPEND

I was missing the explicit dependency on the protoc binary. This patch fixes the issue. If someone could merge it, that'd be nice.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-01 06:46:11 UTC
(In reply to Lucio Sauer from comment #10)
> Created attachment 912903 [details, diff] [details, diff]
> Fix that adds dev-libs/protobuf[protoc] to BDEPEND
> 
> I was missing the explicit dependency on the protoc binary. This patch fixes
> the issue. If someone could merge it, that'd be nice.

app-misc/anki
  MissingUseDepDefault: version 24.06.3-r2: BDEPEND="dev-libs/protobuf[protoc]": USE flag 'protoc' missing from packages: [ dev-libs/protobuf-21.9, dev-libs/protobuf-21.12, dev-libs/protobuf-22.5-r1, dev-libs/protobuf-22.5-r2, dev-libs/protobuf-23.3-r4, dev-libs/protobuf-23.4, dev-libs/protobuf-24.4, dev-libs/protobuf-25.3, dev-libs/protobuf-26.1-r2 ]
  PythonCompatUpdate: version 24.06.3-r2: PYTHON_COMPAT update available: python3_13

I'll fix it.
Comment 12 Larry the Git Cow gentoo-dev 2024-12-01 06:47:30 UTC
The bug has been closed via the following commit(s):

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

commit fc9e04399eb60213083628e79372f04555ad946e
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2024-11-30 21:39:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-01 06:44:59 +0000

    app-misc/anki: ensure that dependencies provide the protoc binary
    
    The build system expects /usr/bin/protoc to be available.
    
    Closes: https://bugs.gentoo.org/945400
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/anki/anki-24.06.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30a176c362ba1f38a4b8d641a24f54235ae796d9

commit 30a176c362ba1f38a4b8d641a24f54235ae796d9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-01 06:46:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-01 06:46:54 +0000

    app-misc/anki: fix MissingUseDepDefault
    
    In older versions, protoc was always installed.
    
    Bug: https://bugs.gentoo.org/945400
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/anki/anki-24.06.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 13 Lucio Sauer 2024-12-01 09:18:41 UTC
Thank you, Sam!