Error in Makepkg Utility

I’m trying to install Visual Studio - Code on Manjaro using turorial in a web pake that second in search results of how to install vscode on manjaro on Google ( I can’t put links. ). When time comes to execute makepkg -si I get this error:
mad@MadLinux ~/Downloads/visual-studio-code-bin (git)-[master] % makepkg -si
==> ERROR: Cannot find the strip binary required for object file stripping.
And it returns 15 error code.

You mean the PKGBUILD of this one http://aur.archlinux.org/packages/visual-studio-code-bin
or what did you downloaded?
What happens if you run in terminal:
pamac build visual-studio-code-bin

or if you install it trough Pamac UI after you enabled AUR ?

I don’t use GUI, I use Linux consoles more often. I tried from another web page, as I said second in search results of how to install vscode on manjaro on Google ( I can’t put links. ). I’m now trying pamac, I hope it will work. Will report to you the results.

Do you have the base-devel group installed?

Already installed.

The open source build is in the community repo, no need for an AUR package:

pamac install code

or

sudo pacman -S code

Are you sure?

❯ pacman -F strip
core/binutils 2.35-2 (base-devel) [installed: 2.35.1-1]
    usr/bin/strip

You’re missing the base-devel group which is required for building AUR packages. See Arch User Repository - ArchWiki

2 Likes

pamac install code installs the Code - OSS not Visual Studio Code.

This is because you are missing some common build packages.

Please run:
sudo pacman -Syu base-devel --needed

❯ pacman -Si code | grep Description
Description     : The Open Source build of Visual Studio Code (vscode) editor

pamac install visual-studio-code-bin worked! Thank guys!