Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 814056

Summary: app-emulation/crun-0.19.1-r1 - /.../criu.h: fatal error: rpc.pb-c.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: robertgzr <robert>
Status: RESOLVED FIXED    
Severity: normal CC: dschridde+gentoobugs, proxy-maint, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=809092
https://bugs.gentoo.org/show_bug.cgi?id=822006
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 811705    
Attachments: emerge-info.txt
app-emulation:crun-0.19.1-r1:20210920-132229.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-09-20 14:59:37 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I /var/tmp/portage/app-emulation/crun-0.19.1-r1/work/crun-0.19.1/libocispec/src -I /var/tmp/portage/app-emulation/crun-0.19.1-r1/work/crun-0.19.1/libocispec/src -fvisibility=hidden -pipe -march=native -fno-diagnostics-color -O2 -c src/libcrun/criu.c  -fPIC -DPIC -o src/libcrun/.libs/libcrun_la-criu.o
In file included from src/libcrun/criu.c:26:
/usr/include/criu/criu.h:25:10: fatal error: rpc.pb-c.h: No such file or directory
   25 | #include "rpc.pb-c.h"
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1526: src/libcrun/libcrun_la-criu.lo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20210918-110206

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.55.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 84d765f2280de7c89c9fbb6dba9cd77e596d8947
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 20 11:36:28 2021 +0000

    2021-09-20 11:36:27 UTC

emerge -qpvO app-emulation/crun
[ebuild  N    ] app-emulation/crun-0.19.1-r1  USE="bpf caps criu seccomp -static-libs -systemd"
Comment 1 Toralf Förster gentoo-dev 2021-09-20 14:59:38 UTC
Created attachment 740334 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-20 14:59:39 UTC
Created attachment 740337 [details]
app-emulation:crun-0.19.1-r1:20210920-132229.log
Comment 3 Toralf Förster gentoo-dev 2021-09-20 14:59:41 UTC
Created attachment 740340 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-09-20 14:59:43 UTC
Created attachment 740343 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-09-20 14:59:44 UTC
Created attachment 740346 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-09-20 14:59:45 UTC
Created attachment 740349 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-09-20 14:59:46 UTC
Created attachment 740352 [details]
temp.tar.bz2
Comment 8 Georgy Yakovlev archtester gentoo-dev 2021-11-04 18:46:29 UTC
not a crun bug per se - it's a patch criu-3.15-protobuf-c-1.4.0.patch in sys-process/criu added that header.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ba952b3ff906ee79987fcfb100ca495a23675d
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-04 21:06:25 UTC
(In reply to Georgy Yakovlev from comment #8)
> not a crun bug per se - it's a patch criu-3.15-protobuf-c-1.4.0.patch in
> sys-process/criu added that header.
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=24ba952b3ff906ee79987fcfb100ca495a23675d

Yeah, we need https://github.com/checkpoint-restore/criu/commit/6a15dbdefa5c23a75eb3d1137681404588a16efa too.
Comment 10 Larry the Git Cow gentoo-dev 2021-11-04 21:09:59 UTC
The bug has been closed via the following commit(s):

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

commit 582a26d6ebc8a93a086e2117dca3f9e712998832
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-04 21:09:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-04 21:09:38 +0000

    sys-process/criu: add additional protobuf-c patch
    
    Closes: https://bugs.gentoo.org/809092
    Closes: https://bugs.gentoo.org/814056
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/criu/{criu-3.15-r1.ebuild => criu-3.15-r2.ebuild} | 0
 sys-process/criu/files/criu-3.15-protobuf-c-1.4.0.patch       | 2 ++
 2 files changed, 2 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2021-12-01 20:34:33 UTC
The bug has been referenced in the following commit(s):

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

commit 106d32bbb4359104c8b08e5a8f6c55f5830650f1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-01 20:33:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-01 20:34:24 +0000

    sys-process/criu: really add extra protobuf-c hunk
    
    Doh!
    
    Bug: https://bugs.gentoo.org/814056
    Closes: https://bugs.gentoo.org/822006
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{criu-3.15-r2.ebuild => criu-3.15-r3.ebuild}   |  0
 .../criu/files/criu-3.15-protobuf-c-1.4.0.patch    | 24 ++++++++++++++++++++++
 2 files changed, 24 insertions(+)