To build ulauncher you need "python3-distutils-extra"

Im try install ulauncher but this error occurred
❯ yay -S ulauncher
:: There are 2 providers available for ulauncher:
:: Repository AUR
1) ulauncher 2) ulauncher-git

Enter a number (default=1): 2
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1] ulauncher-git-DEV-1

1 ulauncher-git (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/henriqueutsch/.cache/yay/ulauncher-git
:: Downloaded PKGBUILD (1/1): ulauncher-git
1 ulauncher-git (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: Parsing SRCINFO (1/1): ulauncher-git
==> Making package: ulauncher-git DEV-1 (ter 30 jun 2020 07:46:08)
==> Retrieving sources...
-> Cloning ulauncher git repo...
Cloning into bare repository '/home/henriqueutsch/.cache/yay/ulauncher-git/ulauncher'...
remote: Enumerating objects: 111, done.
remote: Counting objects: 100% (111/111), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 7379 (delta 57), reused 55 (delta 34), pack-reused 7268
Receiving objects: 100% (7379/7379), 2.98 MiB | 1.62 MiB/s, done.
Resolving deltas: 100% (4908/4908), done.
==> Validating source files with sha256sums...
ulauncher ... Skipped
==> Making package: ulauncher-git DEV-1 (ter 30 jun 2020 07:46:12)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating ulauncher git repo...
Fetching origin
==> Validating source files with sha256sums...
ulauncher ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of ulauncher git repo...
Cloning into 'ulauncher'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: ulauncher-git 5.8.0.r0.g4833e77-1
==> Sources are ready.
==> Making package: ulauncher-git 5.8.0.r0.g4833e77-1 (ter 30 jun 2020 07:46:14)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
To build ulauncher you need "python3-distutils-extra"
==> ERROR: A failure occurred in build().
Aborting...
Error making: ulauncher-git

❯ yay -S python3-distutils-extra
==> Error: Could not find all required packages:
python3-distutils-extra (Target)

I forget

1 aur/ulauncher 5.8.0-1 (+34 3.49%) (Installed)
Application launcher for Linux
==> Packages to install (eg: 1 2 3, 1-3 or ^4)

but it worked a month or two back.

3 community/python-distutils-extra 2.39-5 (25.3 KiB 75.4 KiB) (Installed)

try 'yay distutils' - searching simpler sometimes works better.

It's just python-distutils-extra on manjaro/arch
Look at @Strit comment as python-distutils-extra is in the dependencies then it's actually not the problem

And why did you choose the git version and not the normal version.. if you don't really need the git version you will better use the normal version.. it's less prone to problem and bugs

2 Likes

According to a comment on the AUR page:

the build error is due to pyenv (atleast in my system), run pyenv local system in a terminal and proceed to install

2 Likes

Actually I think I gave the git a try first, but rather than sort out the problem, just went for the second version - works a treat.

ulauncher
Love the duckduckgo bangs.

Unfortunately, I try install common ulauncher and appear the same error. I intall pyhtonutils-extra 1 and 2 and canot find 3.

python-utils-extra is actually python3 as it's the default python on manjaro/arch
look at @strit comment.
I don't know much about python so I can't help you

Forum kindly sponsored by