Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948353 - app-containers/netavark-1.12.2-r1 - [gcc-15] [ffmpeg] error: failed to run custom build command for netavark v1.12.2 (/.../netavark-1.12.2)
Summary: app-containers/netavark-1.12.2-r1 - [gcc-15] [ffmpeg] error: failed to run cu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-18 17:03 UTC by Toralf Förster
Modified: 2025-01-27 13:35 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.92 KB, text/plain)
2025-01-18 17:03 UTC, Toralf Förster
Details
app-containers:netavark-1.12.2-r1:20250118-160957.log.xz (app-containers:netavark-1.12.2-r1:20250118-160957.log.xz,23.90 KB, application/x-xz)
2025-01-18 17:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,176.01 KB, text/plain)
2025-01-18 17:03 UTC, Toralf Förster
Details
environment (environment,109.61 KB, text/plain)
2025-01-18 17:03 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2025-01-18 17:03 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.48 KB, application/x-xz)
2025-01-18 17:03 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,321.63 KB, application/x-xz)
2025-01-18 17:03 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,46.89 KB, application/x-xz)
2025-01-18 17:03 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.66 KB, application/x-xz)
2025-01-18 17:03 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 17:03:35 UTC
too long lines were shrinked:

     Running `/usr/lib/rust/1.84.0/bin/rustc --crate-name mozim --edition=2021 /var/tmp/portage/app-containers/netavark-1.12.2-r1/work/vendor/mozim/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -
   Compiling iptables v0.5.2
     Running `/usr/lib/rust/1.84.0/bin/rustc --crate-name iptables --edition=2021 /var/tmp/portage/app-containers/netavark-1.12.2-r1/work/vendor/iptables/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-lev
   Compiling serde-value v0.7.0
     Running `/usr/lib/rust/1.84.0/bin/rustc --crate-name serde_value --edition=2018 /var/tmp/portage/app-containers/netavark-1.12.2-r1/work/vendor/serde-value/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C o
     Running `/var/tmp/portage/app-containers/netavark-1.12.2-r1/work/netavark-1.12.2/target/release/build/netavark-dcd3626dd14dd104/build-script-build`
error: failed to run custom build command for `netavark v1.12.2 (/var/tmp/portage/app-containers/netavark-1.12.2-r1/work/netavark-1.12.2)`

Caused by:

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

  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: 19.1.7
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 f2a5e027bb430d006fd67775155bfd289c1688a9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 18 15:18:30 2025 +0000

    2025-01-18 15:18:29 UTC

emerge -qpvO =app-containers/netavark-1.12.2-r1
[ebuild  N    ] app-containers/netavark-1.12.2-r1  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2025-01-18 17:03:36 UTC
Created attachment 916988 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-18 17:03:37 UTC
Created attachment 916989 [details]
app-containers:netavark-1.12.2-r1:20250118-160957.log.xz
Comment 3 Toralf Förster gentoo-dev 2025-01-18 17:03:38 UTC
Created attachment 916990 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-01-18 17:03:39 UTC
Created attachment 916991 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-01-18 17:03:40 UTC
Created attachment 916992 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-18 17:03:41 UTC
Created attachment 916993 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-18 17:03:43 UTC
Created attachment 916994 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-01-18 17:03:44 UTC
Created attachment 916995 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-18 17:03:46 UTC
Created attachment 916996 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-18 17:09:23 UTC
"""
Caused by:
  process didn't exit successfully: `/var/tmp/portage/app-containers/netavark-1.12.2-r1/work/netavark-1.12.2/target/release/build/netavark-dcd3626dd14dd104/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=src/proto/proxy.proto
  cargo:rerun-if-changed=proto

  --- stderr
  thread 'main' panicked at build.rs:40:29:
  Failed at builder: "Could not find `protoc`. If `protoc` is installed, try setting the `PROTOC` environment variable to the path of the `protoc` binary. To install it on Debian, run `apt-get install protobuf-compiler`. It is also available at https://github.com/protocolbuffers/protobuf/releases  For more information: https://docs.rs/prost-build/#sourcing-protoc"
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
 * ERROR: app-containers/netavark-1.12.2-r1::gentoo failed (compile phase):
"""
Comment 11 Larry the Git Cow gentoo-dev 2025-01-19 02:47:32 UTC
The bug has been closed via the following commit(s):

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

commit bc98becba58b33e3661a75335d002e872e28d3a7
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2025-01-19 02:44:33 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2025-01-19 02:47:25 +0000

    app-containers/netavark: Require protoc
    
    Closes: https://bugs.gentoo.org/948353
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-containers/netavark/netavark-1.12.2-r1.ebuild | 2 +-
 app-containers/netavark/netavark-9999.ebuild      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 12 Krzesimir Nowak 2025-01-27 13:35:06 UTC
This broke pulling in app-containers/netavark with an older version of dev-libs/protobuf (like 21.12), which does not have a protoc USE flag. I filed a PR to fix it: https://github.com/gentoo/gentoo/pull/40333