Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Cannot emerge flatpak selinux-policy-devel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tipt
n00b
n00b


Joined: 04 Jan 2023
Posts: 15

PostPosted: Thu Feb 06, 2025 8:50 am    Post subject: [SOLVED]Cannot emerge flatpak selinux-policy-devel Reply with quote

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:
 * Package:    sys-apps/flatpak-1.16.0:0
 * Repository: gentoo
 * Maintainer: zmedico@gentoo.org
 * USE:        X abi_x86_64 amd64 elibc_glibc kernel_linux seccomp selinux
 * FEATURES:   ccache network-sandbox preserve-libs sandbox selinux sesandbox userpriv usersandbox
Cannot autolaunch D-Bus without X11 $DISPLAY
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     6.13.0-gentoo
 * Checking for suitable kernel configuration options ...
 [ ok ]
 * Checking whether python3_13 is suitable ...
 *   dev-lang/python:3.13 ...
 [ ok ]
 *   python_check_deps ...
 *     dev-python/pyparsing[python_targets_python3_13(-)] ...
 [ !! ]
 [ !! ]
 * Checking whether python3_12 is suitable ...
 *   dev-lang/python:3.12 ...
 [ ok ]
 *   python_check_deps ...
 *     dev-python/pyparsing[python_targets_python3_12(-)] ...
 [ ok ]
 [ ok ]
 * 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
The Meson build system
Version: 1.7.0
Source dir: /var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0
Build dir: /var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0-build
Build type: native build
Project name: flatpak
Project version: 1.16.0
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (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: x86_64-pc-linux-gnu-gcc ld.bfd 2.43
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Werror=shadow: YES
Compiler for C supports arguments -Werror=empty-body: YES
Compiler for C supports arguments -Werror=strict-prototypes: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C supports arguments -Werror=init-self: YES
Compiler for C supports arguments -Werror=missing-declarations: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=overflow: YES
Compiler for C supports arguments -Werror=int-conversion: YES
Compiler for C supports arguments -Werror=parenthesis: NO
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=misleading-indentation: YES
Compiler for C supports arguments -Werror=missing-include-dirs: YES
Compiler for C supports arguments -Wno-sign-compare: YES
Compiler for C supports arguments -Wno-error=sign-compare: YES
Compiler for C supports arguments -Wno-cast-function-type: YES
Compiler for C supports arguments -Wno-error=cast-function-type: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-error=missing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-error=unused-parameter: YES
Compiler for C supports arguments -Werror=format=2: YES
Compiler for C supports arguments -Werror=format-security: YES
Compiler for C supports arguments -Werror=format-nonliteral: YES
Check usable header "sys/xattr.h" : YES

Executing subproject libglnx

libglnx| Project name: libglnx
libglnx| Project version: undefined
libglnx| C compiler for the host machine: x86_64-pc-linux-gnu-gcc (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: x86_64-pc-linux-gnu-gcc ld.bfd 2.43
libglnx| Checking if "renameat2() is declared" compiles: YES
libglnx| Checking if "memfd_create() is declared" compiles: YES
libglnx| Checking if "copy_file_range() is declared" compiles: YES
libglnx| Checking for function "close_range" : YES
libglnx| Configuring libglnx-config.h using configuration
libglnx| Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.3.0
libglnx| Run-time dependency gio-2.0 found: YES 2.82.4
libglnx| Run-time dependency gio-unix-2.0 found: YES 2.82.4
libglnx| Build targets in project: 2
libglnx| Subproject libglnx finished.

Run-time dependency threads found: YES
Program bison found: YES (/usr/bin/bison)
Run-time dependency libcap found: YES 2.71
Run-time dependency libarchive found: YES 3.7.7
Run-time dependency glib-2.0 found: YES 2.82.4
Dependency gio-2.0 found: YES 2.82.4 (cached)
Dependency gio-unix-2.0 found: YES 2.82.4 (cached)
Run-time dependency libcurl found: YES 8.11.1
Run-time dependency libxml-2.0 found: YES 2.13.5
Run-time dependency libzstd found: YES 1.5.6
Run-time dependency dconf found: YES 0.40.0
Dependency libsystemd skipped: feature systemd disabled
Found CMake: /usr/bin/cmake (3.31.5)
Run-time dependency malcontent-0 found: NO (tried pkgconfig and cmake)
Run-time dependency polkit-agent-1 found: YES 123
Run-time dependency fuse3 found: YES 3.16.2
Program fusermount3 found: YES (/usr/bin/fusermount3)
Run-time dependency xau found: YES 1.0.12
Run-time dependency ostree-1 found: YES 2024.8
Run-time dependency json-glib-1.0 found: YES 1.10.6
Run-time dependency appstream found: YES 1.0.4
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.12
Run-time dependency libseccomp found: YES 2.6.0
Dependency gobject-introspection-1.0 skipped: feature gir disabled
Build-time dependency gtk-doc found: YES 1.34.0
Run-time dependency wayland-client found: NO (tried pkgconfig and cmake)
Found CMake: /usr/bin/cmake (3.31.5)
Build-time dependency wayland-scanner found: NO (tried pkgconfig and cmake)
Run-time dependency wayland-protocols found: NO (tried pkgconfig and cmake)
Run-time dependency gpgme found: YES 1.24.1

meson.build:239:4: ERROR: Problem encountered: selinux-policy-devel needed to build selinux module

A full log can be found at /var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0-build/meson-logs/meson-log.txt
 * ERROR: sys-apps/flatpak-1.16.0::gentoo failed (configure phase):
 *   configure failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3184:  Called meson_src_configure
 *   environment, line 2300:  Called die
 * The specific snippet of code:
 *       [[ ${rv} -eq 0 ]] || die -n "configure failed";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/flatpak-1.16.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/flatpak-1.16.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-apps:flatpak-1.16.0:20250206-083534.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/flatpak-1.16.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/flatpak-1.16.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0'
 * 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
View user's profile Send private message
nicop
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2014
Posts: 126

PostPosted: Thu Feb 06, 2025 12:38 pm    Post subject: Reply with quote

Refresh ::gentoo
selinux is now removed from flatpak :
https://bugs.gentoo.org/949353
Back to top
View user's profile Send private message
tipt
n00b
n00b


Joined: 04 Jan 2023
Posts: 15

PostPosted: Thu Feb 06, 2025 1:14 pm    Post subject: Reply with quote

Thanks!
_________________
tipt
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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