View previous topic :: View next topic |
Author |
Message |
tipt n00b

Joined: 04 Jan 2023 Posts: 15
|
Posted: Thu Feb 06, 2025 8:50 am Post subject: [SOLVED]Cannot emerge flatpak selinux-policy-devel |
|
|
Hello,
I'm trying to emerge flatpak, but running into this error.
Output of emerge --info '=sys-apps/flatpak-1.16.0::gentoo:
Code: | Portage 3.0.67 (python 3.12.8-final-0, default/linux/amd64/23.0/hardened/selinux, gcc-14, glibc-2.40-r8, 6.12.11-gentoo-dist-hardened x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.12.11-gentoo-dist-hardened-x86_64-Intel-R-_Core-TM-_i5-7200U_CPU_@_2.50GHz-with-glibc2.40
KiB Mem: 8002216 total, 1381892 free
KiB Swap: 21224440 total, 21224440 free
Timestamp of repository gentoo: Tue, 04 Feb 2025 14:30:00 +0000
Head commit of repository gentoo: 495ad9055c654e54b8375c1ce37920e449a94ced
Timestamp of repository guru: Tue, 04 Feb 2025 13:48:19 +0000
Head commit of repository guru: 19083886e96a0ccb7d42fd55fb47733455421613
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
ccache version 4.10.2 [enabled]
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.72-r1::gentoo
dev-build/automake: 1.17-r1::gentoo
dev-build/cmake: 3.31.5::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.0::gentoo
dev-lang/perl: 5.40.0-r1::gentoo
dev-lang/python: 3.12.8_p1::gentoo, 3.13.1_p1::gentoo
dev-lang/rust-bin: 1.84.0::gentoo
dev-util/ccache: 4.10.2-r1::gentoo
llvm-core/clang: 19.1.7::gentoo
llvm-core/llvm: 19.1.7::gentoo
sec-policy/selinux-base: 2.20240916-r1::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.56::gentoo
sys-apps/sandbox: 2.43::gentoo
sys-devel/binutils: 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.2.1_p20241221::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r8::gentoo
sys-libs/libselinux: 3.7-r1::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-max-age: 3
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d"
CXXFLAGS="-O3 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=7 --load-average=7"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O3 -pipe -march=native -mtune=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -march=native -mtune=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1"
LEX="flex"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
SHELL="/bin/bash"
USE="X acl alsa amd64 audit btrfs bzip2 caps cet contrib contribdnn crypt cups dbus dev-qt/qtprintsupport-5.15.8 dist-kernel efi eigen examples features2d gdbm hardened iconv ipv6 jpeg libass libtirpc mount multilib ncurses net-wireless/wpa_supplicant-2.10-r1 nls opengl openmp pam pcre pic pie png policykit postproc pulseaudio python readline rpc seccomp selinux ssl ssp test-rust tiff udev unicode vim-syntax wamd64 webengine x11-base/xorg-server xattr xinerama xtpax zlib" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
Output of emerge -pqv '=sys-apps/flatpak-1.16.0::gentoo':
Code: | [ebuild N ] sys-apps/flatpak-1.16.0 USE="X seccomp (selinux) -doc -introspection -systemd"
* IMPORTANT: 27 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items. |
Complete build log:
Code: | [32m * [39;49;00mPackage: sys-apps/flatpak-1.16.0:0
[32m * [39;49;00mRepository: gentoo
[32m * [39;49;00mMaintainer: zmedico@gentoo.org
[32m * [39;49;00mUSE: X abi_x86_64 amd64 elibc_glibc kernel_linux seccomp selinux
[32m * [39;49;00mFEATURES: ccache network-sandbox preserve-libs sandbox selinux sesandbox userpriv usersandbox
Cannot autolaunch D-Bus without X11 $DISPLAY
[32m*[0m Determining the location of the kernel source code
[32m*[0m Found kernel source directory:
[32m*[0m /usr/src/linux
[32m*[0m Found sources for kernel version:
[32m*[0m 6.13.0-gentoo
[32m*[0m Checking for suitable kernel configuration options ...
[A[143C [34;01m[ [32;01mok[34;01m ][0m
[32m*[0m Checking whether python3_13 is suitable ...
[32m*[0m dev-lang/python:3.13 ...
[A[143C [34;01m[ [32;01mok[34;01m ][0m
[32m*[0m python_check_deps ...
[32m*[0m dev-python/pyparsing[python_targets_python3_13(-)] ...
[A[143C [34;01m[ [31;01m!![34;01m ][0m
[A[143C [34;01m[ [31;01m!![34;01m ][0m
[32m*[0m Checking whether python3_12 is suitable ...
[32m*[0m dev-lang/python:3.12 ...
[A[143C [34;01m[ [32;01mok[34;01m ][0m
[32m*[0m python_check_deps ...
[32m*[0m dev-python/pyparsing[python_targets_python3_12(-)] ...
[A[143C [34;01m[ [32;01mok[34;01m ][0m
[A[143C [34;01m[ [32;01mok[34;01m ][0m
[32m*[0m Using python3.12 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
>>> Unpacking flatpak-1.16.0.tar.xz to /var/tmp/portage/sys-apps/flatpak-1.16.0/work
>>> Source unpacked in /var/tmp/portage/sys-apps/flatpak-1.16.0/work
>>> Preparing source in /var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0 ...
meson setup -Db_lto=false --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/sys-apps/flatpak-1.16.0/temp/python3.12/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/sys-apps/flatpak-1.16.0/temp/python3.12/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/sys-apps/flatpak-1.16.0/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain --localstatedir=/var -Ddbus_config_dir=/usr/share/dbus-1/system.d -Dsystem_bubblewrap=bwrap -Dsystem_dbus_proxy=xdg-dbus-proxy -Dtmpfilesdir=/usr/lib/tmpfiles.d -Dgir=disabled -Dselinux_module=enabled -Dxauth=enabled -Ddocbook_docs=disabled -Dseccomp=enabled -Dsystemd=disabled /var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0 /var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0-build
[1mThe Meson build system[0m
Version: 1.7.0
Source dir: [1m/var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0[0m
Build dir: [1m/var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0-build[0m
Build type: [1mnative build[0m
Project name: [1mflatpak[0m
Project version: [1m1.16.0[0m
C compiler for the host machine: [1mx86_64-pc-linux-gnu-gcc[0m (gcc 14.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo Hardened 14.2.1_p20241221 p7) 14.2.1 20241221")
C linker for the host machine: [1mx86_64-pc-linux-gnu-gcc[0m ld.bfd 2.43
Host machine cpu family: [1mx86_64[0m
Host machine cpu: [1mx86_64[0m
Compiler for C supports arguments -Werror=shadow: [1;32mYES[0m
Compiler for C supports arguments -Werror=empty-body: [1;32mYES[0m
Compiler for C supports arguments -Werror=strict-prototypes: [1;32mYES[0m
Compiler for C supports arguments -Werror=missing-prototypes: [1;32mYES[0m
Compiler for C supports arguments -Werror=implicit-function-declaration: [1;32mYES[0m
Compiler for C supports arguments -Werror=pointer-arith: [1;32mYES[0m
Compiler for C supports arguments -Werror=init-self: [1;32mYES[0m
Compiler for C supports arguments -Werror=missing-declarations: [1;32mYES[0m
Compiler for C supports arguments -Werror=return-type: [1;32mYES[0m
Compiler for C supports arguments -Werror=overflow: [1;32mYES[0m
Compiler for C supports arguments -Werror=int-conversion: [1;32mYES[0m
Compiler for C supports arguments -Werror=parenthesis: [1;31mNO[0m
Compiler for C supports arguments -Werror=incompatible-pointer-types: [1;32mYES[0m
Compiler for C supports arguments -Werror=misleading-indentation: [1;32mYES[0m
Compiler for C supports arguments -Werror=missing-include-dirs: [1;32mYES[0m
Compiler for C supports arguments -Wno-sign-compare: [1;32mYES[0m
Compiler for C supports arguments -Wno-error=sign-compare: [1;32mYES[0m
Compiler for C supports arguments -Wno-cast-function-type: [1;32mYES[0m
Compiler for C supports arguments -Wno-error=cast-function-type: [1;32mYES[0m
Compiler for C supports arguments -Wno-missing-field-initializers: [1;32mYES[0m
Compiler for C supports arguments -Wno-error=missing-field-initializers: [1;32mYES[0m
Compiler for C supports arguments -Wno-unused-parameter: [1;32mYES[0m
Compiler for C supports arguments -Wno-error=unused-parameter: [1;32mYES[0m
Compiler for C supports arguments -Werror=format=2: [1;32mYES[0m
Compiler for C supports arguments -Werror=format-security: [1;32mYES[0m
Compiler for C supports arguments -Werror=format-nonliteral: [1;32mYES[0m
Check usable header "[1msys/xattr.h[0m" : [1;32mYES[0m
Executing subproject [1mlibglnx[0m
libglnx| Project name: [1mlibglnx[0m
libglnx| Project version: [1mundefined[0m
libglnx| C compiler for the host machine: [1mx86_64-pc-linux-gnu-gcc[0m (gcc 14.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo Hardened 14.2.1_p20241221 p7) 14.2.1 20241221")
libglnx| C linker for the host machine: [1mx86_64-pc-linux-gnu-gcc[0m ld.bfd 2.43
libglnx| Checking if "[1mrenameat2() is declared[0m" compiles: [1;32mYES[0m
libglnx| Checking if "[1mmemfd_create() is declared[0m" compiles: [1;32mYES[0m
libglnx| Checking if "[1mcopy_file_range() is declared[0m" compiles: [1;32mYES[0m
libglnx| Checking for function "[1mclose_range[0m" : [1;32mYES[0m
libglnx| Configuring [1mlibglnx-config.h[0m using configuration
libglnx| Found pkg-config: [1;32mYES[0m [1m(/usr/bin/x86_64-pc-linux-gnu-pkg-config)[0m [1;34m2.3.0[0m
libglnx| Run-time dependency [1mgio-2.0[0m found: [1;32mYES[0m [36m2.82.4[0m
libglnx| Run-time dependency [1mgio-unix-2.0[0m found: [1;32mYES[0m [36m2.82.4[0m
libglnx| Build targets in project: [1m2[0m
libglnx| Subproject [1mlibglnx[0m finished.
Run-time dependency [1mthreads[0m found: [1;32mYES[0m
Program [1mbison[0m found: [1;32mYES[0m (/usr/bin/bison)
Run-time dependency [1mlibcap[0m found: [1;32mYES[0m [36m2.71[0m
Run-time dependency [1mlibarchive[0m found: [1;32mYES[0m [36m3.7.7[0m
Run-time dependency [1mglib-2.0[0m found: [1;32mYES[0m [36m2.82.4[0m
Dependency [1mgio-2.0[0m found: [1;32mYES[0m [36m2.82.4[0m [1;34m(cached)[0m
Dependency [1mgio-unix-2.0[0m found: [1;32mYES[0m [36m2.82.4[0m [1;34m(cached)[0m
Run-time dependency [1mlibcurl[0m found: [1;32mYES[0m [36m8.11.1[0m
Run-time dependency [1mlibxml-2.0[0m found: [1;32mYES[0m [36m2.13.5[0m
Run-time dependency [1mlibzstd[0m found: [1;32mYES[0m [36m1.5.6[0m
Run-time dependency [1mdconf[0m found: [1;32mYES[0m [36m0.40.0[0m
Dependency [1mlibsystemd[0m skipped: feature [1msystemd[0m disabled
Found CMake: [1m/usr/bin/cmake[0m (3.31.5)
Run-time dependency [1mmalcontent-0[0m found: [1;31mNO[0m (tried pkgconfig and cmake)
Run-time dependency [1mpolkit-agent-1[0m found: [1;32mYES[0m [36m123[0m
Run-time dependency [1mfuse3[0m found: [1;32mYES[0m [36m3.16.2[0m
Program [1mfusermount3[0m found: [1;32mYES[0m (/usr/bin/fusermount3)
Run-time dependency [1mxau[0m found: [1;32mYES[0m [36m1.0.12[0m
Run-time dependency [1mostree-1[0m found: [1;32mYES[0m [36m2024.8[0m
Run-time dependency [1mjson-glib-1.0[0m found: [1;32mYES[0m [36m1.10.6[0m
Run-time dependency [1mappstream[0m found: [1;32mYES[0m [36m1.0.4[0m
Run-time dependency [1mgdk-pixbuf-2.0[0m found: [1;32mYES[0m [36m2.42.12[0m
Run-time dependency [1mlibseccomp[0m found: [1;32mYES[0m [36m2.6.0[0m
Dependency [1mgobject-introspection-1.0[0m skipped: feature [1mgir[0m disabled
Build-time dependency [1mgtk-doc[0m found: [1;32mYES[0m [36m1.34.0[0m
Run-time dependency [1mwayland-client[0m found: [1;31mNO[0m (tried pkgconfig and cmake)
Found CMake: [1m/usr/bin/cmake[0m (3.31.5)
Build-time dependency [1mwayland-scanner[0m found: [1;31mNO[0m (tried pkgconfig and cmake)
Run-time dependency [1mwayland-protocols[0m found: [1;31mNO[0m (tried pkgconfig and cmake)
Run-time dependency [1mgpgme[0m found: [1;32mYES[0m [36m1.24.1[0m
meson.build:239:4: [1;31mERROR:[0m Problem encountered: selinux-policy-devel needed to build selinux module
A full log can be found at [1m/var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0-build/meson-logs/meson-log.txt[0m
[31;01m*[0m ERROR: sys-apps/flatpak-1.16.0::gentoo failed (configure phase):
[31;01m*[0m configure failed
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 136: Called src_configure
[31;01m*[0m environment, line 3184: Called meson_src_configure
[31;01m*[0m environment, line 2300: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m [[ ${rv} -eq 0 ]] || die -n "configure failed";
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=sys-apps/flatpak-1.16.0::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-apps/flatpak-1.16.0::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/log/portage/sys-apps:flatpak-1.16.0:20250206-083534.log'.
[31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/flatpak-1.16.0/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-apps/flatpak-1.16.0/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0'
[31;01m*[0m S: '/var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0' |
Thanks.
Last edited by tipt on Thu Feb 06, 2025 1:16 pm; edited 1 time in total |
|
Back to top |
|
 |
nicop Tux's lil' helper

Joined: 10 Apr 2014 Posts: 126
|
|
Back to top |
|
 |
tipt n00b

Joined: 04 Jan 2023 Posts: 15
|
Posted: Thu Feb 06, 2025 1:14 pm Post subject: |
|
|
Thanks! _________________ tipt |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|