Jump to content
funtoo forums
  • 0
freefog

Flatpak Installation Related Errors

Question

Hi falling asleep in front of the PC while trying to fix this . . .

It is my first time dealing with Overlays, Layman and Flatpak sry in advance if I made some obvious mistakes.

I'm currently trying to install Flatpak thru layman to install Steam from the Flathub

+ What I did so far was:

nano /etc/portage/package.use/app-portage

app-portage/layman git sync-plugin-portage

# ego sync

# emerge -auvDN layman

 

https://github.com/fosero/flatpak-overlay
https://wiki.gentoo.org/wiki/Layman#Adding_custom_repositories

# layman -o https://raw.githubusercontent.com/fosero/flatpak-overlay/master/repositories.xml -f -a flatpak-overlay

 

nano /etc/portage/categories

acct-group
acct-user

 

After all that I get the following errors in the next contexts:

+  When I issue "ego sync" I get:

Updating /etc/portage/repos.conf...
Updating profiles at /etc/portage/make.profile/parent...
Updating non-funtoo repositories...
!!! Repository 'flatpak-overlay' has sync-type attribute set to unsupported value: 'laymansync'
!!! Installed sync-types are: '['cvs', 'git', 'rsync', 'svn', 'webrsync']'

? I searched man layman for that value but found no results, added the sublime-text overlay to test but I could not find how to change that. Or should I just leave it as it is?.

 

 

+ When I issue " equery u flatpak" I get:

Unavailable repository 'gentoo' referenced by masters entry in '/var/lib/layman/flatpak-overlay/metadata/layout.conf'

The contents of layout.conf can be seen here https://github.com/fosero/flatpak-overlay/blob/master/metadata/layout.conf

 

 

+ When I issue " eix xdg-desktop-portal" I get:

[I] kde-plasma/xdg-desktop-portal-kde [2]
     Available versions:  (5) 5.15.5-r1 (~)5.16.1
       {debug test}
     Installed versions:  5.16.1(5)(12:15:03 08/29/19)(-debug -test)
     Homepage:            https://kde.org/
     Description:         Backend implementation for xdg-desktop-portal that is using Qt/KDE Frameworks

[I] sys-apps/xdg-desktop-portal
     Available versions:  1.2.0[1] 1.2.0[3] 1.4.2-r1[3] {doc geolocation screencast}
     Installed versions:  1.4.2-r1[3](06:00:04 11/09/19)(-doc -geolocation -screencast)
     Homepage:            http://flatpak.org/
     Description:         A portal frontend service for Flatpak and possibly other desktop containment frameworks

[I] sys-apps/xdg-desktop-portal-gtk [3]
     Available versions:  1.2.0 1.4.0 {X wayland}
     Installed versions:  1.4.0(06:03:13 11/09/19)(X wayland)
     Homepage:            https://github.com/flatpak/xdg-desktop-portal-gtk
     Description:         GTK/GNOME backend for xdg-desktop-portal

[1] "nokit" /var/git/meta-repo/kits/nokit
[2] "kde-kit" /var/git/meta-repo/kits/kde-kit
[3] "flatpak-overlay" /var/lib/layman/flatpak-overlay

 

 

+ And onto the main course, when I issue "emerge -av sys-apps/flatpak" I get:

        * ERROR: sys-apps/xdg-desktop-portal-gtk-1.4.0::flatpak-overlay failed (compile phase):
        *   emake failed
        * 
        * If you need support, post the output of `emerge --info '=sys-apps/xdg-desktop-portal-gtk-1.4.0::flatpak-overlay'`,
        * the complete build log and the output of `emerge -pqv '=sys-apps/xdg-desktop-portal-gtk-1.4.0::flatpak-overlay'`.
        * The complete build log is located at '/var/tmp/portage/sys-apps/xdg-desktop-portal-gtk-1.4.0/temp/build.log'.
        * The ebuild environment file is located at '/var/tmp/portage/sys-apps/xdg-desktop-portal-gtk-1.4.0/temp/environment'.
        * Working directory: '/var/tmp/portage/sys-apps/xdg-desktop-portal-gtk-1.4.0/work/xdg-desktop-portal-gtk-1.4.0'
        * S: '/var/tmp/portage/sys-apps/xdg-desktop-portal-gtk-1.4.0/work/xdg-desktop-portal-gtk-1.4.0'
        /var/tmp/portage/sys-apps/xdg-desktop-portal-gtk-1.4.0/temp/environment: line 104: warning: setlocale: LC_TIME: cannot change locale (en_GB.UTF-8)

        >>> Failed to emerge sys-apps/xdg-desktop-portal-gtk-1.4.0, Log file:

        >>>  '/var/tmp/portage/sys-apps/xdg-desktop-portal-gtk-1.4.0/temp/build.log'

        * Messages for package sys-apps/xdg-desktop-portal-gtk-1.4.0:

        * ERROR: sys-apps/xdg-desktop-portal-gtk-1.4.0::flatpak-overlay failed (compile phase):
        *   emake failed
        * 
        * If you need support, post the output of `emerge --info '=sys-apps/xdg-desktop-portal-gtk-1.4.0::flatpak-overlay'`,
        * the complete build log and the output of `emerge -pqv '=sys-apps/xdg-desktop-portal-gtk-1.4.0::flatpak-overlay'`.
        * The complete build log is located at '/var/tmp/portage/sys-apps/xdg-desktop-portal-gtk-1.4.0/temp/build.log'.
        * The ebuild environment file is located at '/var/tmp/portage/sys-apps/xdg-desktop-portal-gtk-1.4.0/temp/environment'.
        * Working directory: '/var/tmp/portage/sys-apps/xdg-desktop-portal-gtk-1.4.0/work/xdg-desktop-portal-gtk-1.4.0'
        * S: '/var/tmp/portage/sys-apps/xdg-desktop-portal-gtk-1.4.0/work/xdg-desktop-portal-gtk-1.4.0'

        * GNU info directory index is up-to-date.

 

 

+ Side questions:

- Do I need to add the Gentoo layman overlay? (layman -a gentoo)
- Is sublime-text layman overlay needed? since I can install it directly thru emerge with out adding the overlay, thou the version is a bit older or I only get updates if I use the overlay?.

 

 

+ Thanks

As always thanks a lot for your time and help.

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

emerge -pqv '=sys-apps/xdg-desktop-portal-gtk-1.4.0::flatpak-overlay'
 

[ebuild   R   ] sys-apps/xdg-desktop-portal-gtk-1.4.0  USE="X wayland"


emerge --info '=sys-apps/xdg-desktop-portal-gtk-1.4.0::flatpak-overlay'
 

Portage 2.3.68 (python 2.7.15-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-9.2.0, glibc-2.29-r3, 4.19.27-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.27-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-1.4
KiB Mem:    12281744 total,   3360456 free
KiB Swap:   18874364 total,  18874364 free
sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p7::core-kit
dev-lang/perl:            5.28.2-r1::perl-kit
dev-lang/python:          2.7.15::python-kit, 3.6.8::python-kit, 3.7.3::python-kit
dev-util/cmake:           3.14.5::core-kit
sys-apps/baselayout:      2.6.1-r1::core-kit
sys-apps/openrc:          0.41.2-r2::core-kit
sys-apps/sandbox:         2.17::core-kit
sys-devel/autoconf:       2.13-r1::core-kit, 2.69-r4::core-kit
sys-devel/automake:       1.11.6-r3::core-kit, 1.16.1-r1::core-kit
sys-devel/binutils:       2.32-r1::core-kit
sys-devel/gcc:            9.2.0::core-kit
sys-devel/gcc-config:     2.0::core-kit
sys-devel/libtool:        2.4.6-r5::core-kit
sys-devel/make:           4.2.1-r4::core-kit
sys-kernel/linux-headers: 4.14::core-kit (virtual/os-headers)
sys-libs/glibc:           2.29-r3::core-kit
Repositories:

nokit
    location: /var/git/meta-repo/kits/nokit
    masters: core-kit
    priority: -500

core-gl-kit
    location: /var/git/meta-repo/kits/core-gl-kit
    masters: core-kit
    priority: 1

core-hw-kit
    location: /var/git/meta-repo/kits/core-hw-kit
    masters: core-kit
    priority: 1

core-kit
    location: /var/git/meta-repo/kits/core-kit
    masters: core-kit
    priority: 1
    aliases: gentoo

core-server-kit
    location: /var/git/meta-repo/kits/core-server-kit
    masters: core-kit
    priority: 1

core-ui-kit
    location: /var/git/meta-repo/kits/core-ui-kit
    masters: core-kit
    priority: 1

desktop-kit
    location: /var/git/meta-repo/kits/desktop-kit
    masters: core-kit
    priority: 1

dev-kit
    location: /var/git/meta-repo/kits/dev-kit
    masters: core-kit
    priority: 1

editors-kit
    location: /var/git/meta-repo/kits/editors-kit
    masters: core-kit
    priority: 1

games-kit
    location: /var/git/meta-repo/kits/games-kit
    masters: core-kit
    priority: 1

gnome-kit
    location: /var/git/meta-repo/kits/gnome-kit
    masters: core-kit
    priority: 1

haskell-kit
    location: /var/git/meta-repo/kits/haskell-kit
    masters: core-kit
    priority: 1

java-kit
    location: /var/git/meta-repo/kits/java-kit
    masters: core-kit
    priority: 1

kde-kit
    location: /var/git/meta-repo/kits/kde-kit
    masters: core-kit
    priority: 1

lang-kit
    location: /var/git/meta-repo/kits/lang-kit
    masters: core-kit
    priority: 1

lisp-scheme-kit
    location: /var/git/meta-repo/kits/lisp-scheme-kit
    masters: core-kit
    priority: 1

llvm-kit
    location: /var/git/meta-repo/kits/llvm-kit
    masters: core-kit
    priority: 1

media-kit
    location: /var/git/meta-repo/kits/media-kit
    masters: core-kit
    priority: 1

ml-lang-kit
    location: /var/git/meta-repo/kits/ml-lang-kit
    masters: core-kit
    priority: 1

net-kit
    location: /var/git/meta-repo/kits/net-kit
    masters: core-kit
    priority: 1

perl-kit
    location: /var/git/meta-repo/kits/perl-kit
    masters: core-kit
    priority: 1

python-kit
    location: /var/git/meta-repo/kits/python-kit
    masters: core-kit
    priority: 1

python-modules-kit
    location: /var/git/meta-repo/kits/python-modules-kit
    masters: core-kit
    priority: 1

ruby-kit
    location: /var/git/meta-repo/kits/ruby-kit
    masters: core-kit
    priority: 1

rust-kit
    location: /var/git/meta-repo/kits/rust-kit
    masters: core-kit
    priority: 1

science-kit
    location: /var/git/meta-repo/kits/science-kit
    masters: core-kit
    priority: 1

security-kit
    location: /var/git/meta-repo/kits/security-kit
    masters: core-kit
    priority: 1

text-kit
    location: /var/git/meta-repo/kits/text-kit
    masters: core-kit
    priority: 1

xfce-kit
    location: /var/git/meta-repo/kits/xfce-kit
    masters: core-kit
    priority: 1

xorg-kit
    location: /var/git/meta-repo/kits/xorg-kit
    masters: core-kit
    priority: 1

flatpak-overlay
    location: /var/lib/layman/flatpak-overlay
    sync-type: laymansync
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: core-kit
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nehalem -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nehalem -O2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=nehalem -O2 -pipe"
GENTOO_MIRRORS="https://fastpull-us.funtoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en_US"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr colord consolekit cracklib crypt curl cxx dbus declarative dnssd dri dts dvd dvdread eds egl elogind encode evo exif faac faad ffmpeg flac gdbm gif glamor glvnd gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle ico iconv icu ieee1394 introspection ios ipod ipv6 jpeg jpeg2k kde kipi lame libass libguess libmpeg2 libnotify mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap nautilus ncurses networkmanager nls nptl nsplugin ogg opengl openmp openrc-force pam pcre pdf phonon plasma png policykit postproc pppd pulseaudio python qml qt5 quicktime readline resolvconf sdl sdl1 semantic-desktop sndfile sse sse2 ssl startup-notification svg taglib tcpd theora tiff tracker truetype twolame udev udisks unicode v4l vaapi vdpau vorbis vpx vulkan wav wavpack wayland webp widgets win32codecs wmf x264 x265 xa xattr xcomposite xml xscreensaver xvid xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" L10N="en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="xa xvmc vaapi vdpau fbdev amdgpu gallium-radeonsi osmesa radeon radeonsi swrast vulkan-amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

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

sys-apps/xdg-desktop-portal-gtk-1.4.0::flatpak-overlay was built with the following:
USE="X wayland"

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...