Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822006 - sys-process/criu-3.15-r2: rpc.pb-c.h included from global .h but not installed with criu
Summary: sys-process/criu-3.15-r2: rpc.pb-c.h included from global .h but not installe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 827953 (view as bug list)
Depends on:
Blocks: 811705
  Show dependency tree
 
Reported: 2021-11-05 20:35 UTC by Vasily Pupkin
Modified: 2021-12-01 20:34 UTC (History)
5 users (show)

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


Attachments
crun build log (build.log,73.95 KB, text/x-log)
2021-11-06 06:17 UTC, Vasily Pupkin
Details
criu emerge log (criu-emerge-log.txt,412.69 KB, text/plain)
2021-11-06 06:17 UTC, Vasily Pupkin
Details
emerge info (emerge-info.txt,19.07 KB, text/plain)
2021-11-06 06:17 UTC, Vasily Pupkin
Details
build.log (build.log,54.52 KB, text/x-log)
2021-11-06 13:27 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasily Pupkin 2021-11-05 20:35:04 UTC
make[2]: Entering directory '/tmp/portage/app-emulation/crun-1.2/work/crun-1.2'
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I /tmp/portage/app-emulation/crun-1.2/work/crun-1.2/libocispec/src -I /tmp/portage/app-emulation/crun-1.2/work/crun-1.2/libocispec/src -fvisibility=hidden -O2 -march=native -pipe -ftree-vectorize -flto -fuse-linker-plugin -mfpmath=sse -DNDEBUG -c -o src/libcrun/libcrun_la-criu.lo `test -f 'src/libcrun/criu.c' || echo './'`src/libcrun/criu.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I /tmp/portage/app-emulation/crun-1.2/work/crun-1.2/libocispec/src -I /tmp/portage/app-emulation/crun-1.2/work/crun-1.2/libocispec/src -fvisibility=hidden -O2 -march=native -pipe -ftree-vectorize -flto -fuse-linker-plugin -mfpmath=sse -DNDEBUG -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.

# grep rpc.pb-c.h /usr/include/criu/criu.h
#include "rpc.pb-c.h"

# equery b /usr/include/criu/criu.h
sys-process/criu-3.15-r2 (/usr/include/criu/criu.h)

# equery b rpc.pb-c.h
 * Searching for rpc.pb-c.h ... 
#

# find /usr/include -name rpc.pb-c.h
# 


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-05 20:40:00 UTC
Please include the full build.log and emerge --info as I thought I'd fixed this yesterday.
Comment 2 Vasily Pupkin 2021-11-06 06:17:19 UTC
Created attachment 748908 [details]
crun build log
Comment 3 Vasily Pupkin 2021-11-06 06:17:31 UTC
Created attachment 748911 [details]
criu emerge log
Comment 4 Vasily Pupkin 2021-11-06 06:17:46 UTC
Created attachment 748914 [details]
emerge info
Comment 5 Dennis Schridde 2021-11-06 13:27:57 UTC
Created attachment 749061 [details]
build.log
Comment 6 Dennis Schridde 2021-11-06 13:28:38 UTC
Portage 3.0.28 (python 3.9.8-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.0, glibc-2.33-r7, 5.14.16 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.14.16-x86_64-AMD_Ryzen_5_2400G_with_Radeon_Vega_Graphics-with-glibc2.33
KiB Mem:    14120356 total,    350540 free
KiB Swap:    7059452 total,   6798332 free
Timestamp of repository gentoo: Sat, 06 Nov 2021 08:45:01 +0000
Head commit of repository gentoo: 36a32916344a11fe12f6fc9f0f0c2ce0e7bb8685
Timestamp of repository haskell: Fri, 05 Nov 2021 11:06:23 +0000
Head commit of repository haskell: ddd405d996fffd2ee6f3f0c731c402dd0d507415

Head commit of repository local: 2d87deda70a5e0167d8ba10d68067821a1ce73ae

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
ccache version 4.4.2 [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r5::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.9.8::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:            1.56.1::gentoo
dev-util/ccache:          4.4.2::gentoo
dev-util/cmake:           3.21.4::gentoo
sys-apps/baselayout:      2.8::gentoo
sys-apps/sandbox:         2.29::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /var/cache/portage/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --new-compress
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo

crossdev
    location: /var/cache/portage/crossdev
    masters: gentoo
    priority: 100

local
    location: /var/cache/portage/local
    sync-type: git
    sync-uri: https://github.com/devurandom/gentoo-overlay.git
    masters: gentoo
    priority: 1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=znver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=znver1"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildsyspkg cgroup compressdebug config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.fau.de/gentoo http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6 -l4"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--new-compress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="7z 7zip X a52 aac aacplus aacs acl acpi activities aio alsa amd64 amr appindicator appstream aptx archive audit avahi avif ayatana bdplus blake2 blas bluetooth bluray bpf branding brotli bs2b btrfs bzip2 cairo caps cdda cddb cdio cdr celt cet chromaprint cjk cli clipboard color-management colord conntrack crypt cups curl d3d9 dav1d dbus declarative device-mapper dirac djvu dmabuf dri drm dts dvb dvd dvdr ed25519 editorconfig egl elf emboss emoji encode epub evdev exif faudio fax fdk ffmpeg fftw filecaps firefox firewalld fish-completion fits flac fontconfig fontforge fortran fribidi gamepad gbm gdal gdbm geoclue geolocation gif git gles2 gles3 gmp gnome-online-accounts gnupg google googledrive gpg gps graphicsmagick gstreamer gtk gtk3 gui gzip harfbuzz hdf5 heif http2 hugepages ibus iconv icu id3tag idn imlib inotify introspection ipv6 iwd jemalloc jpeg jpeg2k json kde kipi kms kwallet lapack latex lcms ldac libatomic libglvnd libidn2 libinput libnotify libproxy libsecret libsoxr libtirpc libvirt lm-sensors lrz lto lv2 lvm lz4 lzma lzo mad magic man mariadb markdown mbim mercurial mjpeg mng mobi modemmanager modplug mp3 mp4 mpeg mplayer mpris mtp multilib mysql ncurses netlink networkmanager nftables nls nptl numa office ofono ofx ogg openal opencl opencv openexr opengl openh264 openmax openmp opus otf pam pango pcap pch pcre pcre2 pdf pgo pipewire pixman pkcs11 pkcs7 plasma pm-utils png policykit postscript ppds prison pulseaudio python qml qrcode qt5 rav1e raw rdp readline rtmp rubberband samba sasl scanner schroedinger screencast sctp sdl sdl2 seatd seccomp semantic-desktop share smartcard snappy sparse speech speex spell spice srt ssl startup-notification steamruntime stemmer svg systemd tbb teamd telemetry telepathy tga theora threads thunderbolt tiff timezone tmux tpm truetype udev udisks uinput unicode unwind upnp upnp-av upower usb utempter v4l v4l2 vaapi vamp vdpau vkd3d vorbis vpx vtk vulkan wasm wavpack wayland webchannel webengine webp widgets wireguard wmf woff2 wps x264 x265 xattr xcb xinerama xkb xml xmp xrandr xscreensaver xv xvid xwayland xxhash xz yaml zeroconf zeromq zimg zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2019" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="joystick libinput" KERNEL="linux" L10N="de de-DE en en-GB ar fa tr ja ko zh zh-CN zh-TW" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript wiki-publisher" LLVM_TARGETS="AMDGPU BPF RISCV WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1 lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 pypy pypy3" QEMU_SOFTMMU_TARGETS="riscv32 riscv64 x86_64" QEMU_USER_TARGETS="riscv32 riscv64" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

app-emulation/crun-0.19.1-r1::gentoo was built with the following:
USE="bpf caps criu seccomp systemd -static-libs" ABI_X86="(64)"


sys-process/criu-3.15-r2::gentoo was built with the following:
USE="-doc (-selinux) -setproctitle -static-libs" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -python3_8"
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-06 18:44:12 UTC
Thanks!
Comment 8 Alexey Zapparov 2021-12-01 18:25:56 UTC
For the record, on my machine:

$ emerge -pv glibc gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-devel/gcc-11.2.0:11::gentoo  USE="(cxx) fortran graphite (multilib) nls nptl openmp pch (pie) sanitize ssp (-ada) (-cet) -custom-cflags -d -debug -doc (-fixed-point) -go (-hardened) -jit (-libssp) -lto -objc -objc++ -objc-gc -pgo -systemtap -test -valgrind -vanilla -vtv -zstd" 3 KiB
[ebuild   R    ] sys-libs/glibc-2.33-r7:2.2::gentoo  USE="multiarch (multilib) ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt) -custom-cflags -doc -gd -headers-only -multilib-bootstrap -nscd -profile (-selinux) -static-pie -suid -systemd -systemtap -test (-vanilla)" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 3 KiB
Comment 9 Alexey Zapparov 2021-12-01 18:28:31 UTC
See-Also: https://github.com/gentoo/gentoo/pull/23105
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-01 20:26:46 UTC
*** Bug 827953 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2021-12-01 20:34:32 UTC
The bug has been closed via 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(+)