You are not logged in.
Pages: 1
Hi
I'm trying to install pamac on my latest arch installation, tried with manual install and yay as well but get into same error
$ yay -S pamac
:: There are 5 providers available for pamac:
:: Repository AUR
1) pamac-aur 2) pamac-aur-git 3) pamac-aur-tray-appindicator-git 4) pamac-classic 5) pamac-cli
Enter a number (default=1): 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1] pamac-aur-9.5.6-1
:: Downloaded PKGBUILD (1/1): pamac-aur
1 pamac-aur (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: pamac-aur
==> Making package: pamac-aur 9.5.6-1 (Sat Jul 18 09:55:36 2020)
==> Retrieving sources...
-> Downloading pamac-9.5.6-1.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 697k 100 697k 0 0 113k 0 0:00:06 0:00:06 --:--:-- 167k
==> Validating source files with sha256sums...
pamac-9.5.6-1.tar.gz ... Passed
==> Making package: pamac-aur 9.5.6-1 (Sat Jul 18 09:55:45 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found pamac-9.5.6-1.tar.gz
==> Validating source files with sha256sums...
pamac-9.5.6-1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting pamac-9.5.6-1.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: pamac-aur 9.5.6-1 (Sat Jul 18 09:55:51 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
The Meson build system
Version: 0.53.2
Source dir: /home/knight/.cache/yay/pamac-aur/src/pamac-ba16075d617e3bfe356b28da03a3343f5f3d993c
Build dir: /home/knight/.cache/yay/pamac-aur/src/pamac-ba16075d617e3bfe356b28da03a3343f5f3d993c/builddir
Build type: native build
Project name: pamac
Project version: 9.0
Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Appending LDFLAGS from environment: ['-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now']
Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2'
Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Appending LDFLAGS from environment: ['-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now']
Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2'
C compiler for the host machine: cc (gcc 9.2.1 "cc (Arch Linux 9.2.1+20200130-2) 9.2.1 20200130")
C linker for the host machine: cc ld.bfd 2.34
Vala compiler for the host machine: valac (valac 0.46.6)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Run-time dependency gobject-2.0 found: YES 2.64.0
Run-time dependency gio-2.0 found: YES 2.64.0
Run-time dependency gthread-2.0 found: YES 2.64.0
Run-time dependency libalpm found: YES 12.0.1
Run-time dependency json-glib-1.0 found: YES 1.4.4
Run-time dependency libsoup-2.4 found: YES 2.68.4
Run-time dependency polkit-gobject-1 found: YES 0.116
Run-time dependency libnotify found: YES 0.7.9
Run-time dependency appstream-glib found: YES 0.7.17
Run-time dependency gio-unix-2.0 found: YES 2.64.0
Run-time dependency gtk+-3.0 found: YES 3.24.14
Run-time dependency gdk-3.0 found: YES 3.24.14
Run-time dependency gdk-pixbuf-2.0 found: YES 2.40.0
Library posix found: YES
Library m found: YES
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Configuring org.manjaro.pamac.manager.service using configuration
Configuring org.manjaro.pamac.daemon.service using configuration
Configuring pamac-daemon.service using configuration
Configuring pamac-cleancache.service using configuration
Program pacman-mirrors found: NO
Build targets in project: 20
Found ninja-1.10.0 at /usr/bin/ninja
[7/75] Compiling Vala source ../src/alpm_config.vala ../src/outdated_checker.vala.
FAILED: src/25a6634@@outdated-checker@exe/alpm_config.c src/25a6634@@outdated-checker@exe/outdated_checker.c
valac -C --pkg posix --pkg posix --pkg gio-2.0 --pkg libalpm --pkg gobject-2.0 --color=always --directory src/25a6634@@outdated-checker@exe --basedir ../src --pkg=posix --target-glib=2.38 --vapidir=/home/knight/.cache/yay/pamac-aur/src/pamac-ba16075d617e3bfe356b28da03a3343f5f3d993c/vapi ../src/alpm_config.vala ../src/outdated_checker.vala
../src/outdated_checker.vala:33.7-33.20: error: The name `try_parse' does not exist in the context of `uint'
if (uint.try_parse (args[1], out nb)) {
^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
[8/75] Compiling Vala source ../src/alpm_config.vala ../src/dependency_checker.vala.
../src/alpm_config.vala:350.2-350.18: warning: method `AlpmConfig.write' never used
public void write (HashTable<string,Variant> new_conf) {
^^^^^^^^^^^^^^^^^
Compilation succeeded - 1 warning(s)
[9/75] Compiling Vala source ../src/version.vala ../src/package...._config.vala ../src/pamac_config_daemon.vala ../src/daemon.vala.
../src/alpm_package.vala:51.3-51.26: warning: method `Pamac.AlpmPackage.dup' never used
internal AlpmPackage dup () {
^^^^^^^^^^^^^^^^^^^^^^^^
../src/alpm_utils.vala:894.3-894.33: warning: method `Pamac.AlpmUtils.trans_check_prepare' never used
public bool trans_check_prepare (bool sysupgrade,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 2 warning(s)
[11/75] Compiling Vala source ../src/package.vala ../src/alpm_pa..../src/transaction_interface_daemon.vala ../src/transaction.vala.
../src/alpm_config.vala:350.2-350.18: warning: method `AlpmConfig.write' never used
public void write (HashTable<string,Variant> new_conf) {
^^^^^^^^^^^^^^^^^
../src/database.vala:2893.1-2893.27: warning: method `pkg_search_name' never used
private int pkg_search_name (Pamac.Package pkg, string name) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^
../src/alpm_utils.vala:654.3-654.28: warning: method `Pamac.AlpmUtils.download_pkg' never used
public string download_pkg (string sender, string url) {
^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 3 warning(s)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
error making: %!s(func() string=0x55800a5e2b90)
I cleaned the build directory using command "yay -Sc" and "yay -S --afterclean", still getting same error.
Any help will be greatly appreciated.
Last edited by baljeethakur (2020-07-19 09:55:04)
Offline
... Configuring org.manjaro.pamac.manager.service using configuration Configuring org.manjaro.pamac.daemon.service using configuration...
I thought you said this was an Arch install. And if it is, why would you want a broken package manager?
Offline
baljeethakur wrote:... Configuring org.manjaro.pamac.manager.service using configuration Configuring org.manjaro.pamac.daemon.service using configuration...
I thought you said this was an Arch install. And if it is, why would you want a broken package manager?
I'm new to Arch, so it's easy for me to manage it that way, but in any case it should install at least.
Offline
jasonwryan wrote:baljeethakur wrote:... Configuring org.manjaro.pamac.manager.service using configuration Configuring org.manjaro.pamac.daemon.service using configuration...
I thought you said this was an Arch install. And if it is, why would you want a broken package manager?
I'm new to Arch, so it's easy for me to manage it that way, but in any case it should install at least.
Learn how pacman works before you start installing crappy front ends on it.
Offline
FAILED: src/25a6634@@outdated-checker@exe/alpm_config.c src/25a6634@@outdated-checker@exe/outdated_checker.c
valac -C --pkg posix --pkg posix --pkg gio-2.0 --pkg libalpm --pkg gobject-2.0 --color=always --directory src/25a6634@@outdated-checker@exe --basedir ../src --pkg=posix --target-glib=2.38 --vapidir=/home/knight/.cache/yay/pamac-aur/src/pamac-ba16075d617e3bfe356b28da03a3343f5f3d993c/vapi ../src/alpm_config.vala ../src/outdated_checker.vala
../src/outdated_checker.vala:33.7-33.20: error: The name `try_parse' does not exist in the context of `uint'
if (uint.try_parse (args[1], out nb)) {
^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
Vala compiler for the host machine: valac (valac 0.46.6)
Why is your vala version more than 4 months dated?
C compiler for the host machine: cc (gcc 9.2.1 "cc (Arch Linux 9.2.1+20200130-2) 9.2.1 20200130"
You gcc is equally old…
What kind of "latest arch installation" is this?
Last edited by seth (2020-07-18 06:00:32)
Online
FAILED: src/25a6634@@outdated-checker@exe/alpm_config.c src/25a6634@@outdated-checker@exe/outdated_checker.c valac -C --pkg posix --pkg posix --pkg gio-2.0 --pkg libalpm --pkg gobject-2.0 --color=always --directory src/25a6634@@outdated-checker@exe --basedir ../src --pkg=posix --target-glib=2.38 --vapidir=/home/knight/.cache/yay/pamac-aur/src/pamac-ba16075d617e3bfe356b28da03a3343f5f3d993c/vapi ../src/alpm_config.vala ../src/outdated_checker.vala ../src/outdated_checker.vala:33.7-33.20: error: The name `try_parse' does not exist in the context of `uint' if (uint.try_parse (args[1], out nb)) { ^^^^^^^^^^^^^^ Compilation failed: 1 error(s), 0 warning(s)
Vala compiler for the host machine: valac (valac 0.46.6)
Why is your vala version more than 4 months dated?
C compiler for the host machine: cc (gcc 9.2.1 "cc (Arch Linux 9.2.1+20200130-2) 9.2.1 20200130"
You gcc is equally old…
What kind of "latest arch installation" is this?
This is what I get when I'm installing it.
warning: vala-0.46.6-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) vala-0.46.6-1
Total Installed Size: 12.90 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
Also
sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
GCC
sudo pacman -S gcc
warning: gcc-9.2.1+20200130-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) gcc-9.2.1+20200130-2
Total Installed Size: 139.32 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
I'm using Arch Linux 2020-07-01 release installed yesterday.
Offline
Current gcc is:
$ pacman -Qs gcc
local/gcc 10.1.0-2 (base-devel)
Are you using some outdated mirror?
Offline
Contents of /etc/pacman.conf?
Offline
Current gcc is:
$ pacman -Qs gcc local/gcc 10.1.0-2 (base-devel)
Are you using some outdated mirror?
I believe yes, I generated latest and updated and got update for GCC 10.x
I'll try re-insatlling.
Offline
Contents of /etc/pacman.conf?
Here:
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
#[multilib]
#Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
Offline
Is the issue resolved after you updated to current packages?
Offline
Is the issue resolved after you updated to current packages?
I updated my GCC package as well but still same error.
sudo pacman -S gcc
warning: gcc-10.1.0-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) gcc-10.1.0-2
Total Installed Size: 147.19 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
Still same error
yay -S pamac
:: There are 5 providers available for pamac:
:: Repository AUR
1) pamac-aur 2) pamac-aur-git 3) pamac-aur-tray-appindicator-git 4) pamac-classic 5) pamac-cli
Enter a number (default=1): 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1] pamac-aur-9.5.6-1
1 pamac-aur (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: PKGBUILD up to date, Skipping (1/1): pamac-aur
1 pamac-aur (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: pamac-aur
==> Making package: pamac-aur 9.5.6-1 (Sun Jul 19 17:56:37 2020)
==> Retrieving sources...
-> Found pamac-9.5.6-1.tar.gz
==> Validating source files with sha256sums...
pamac-9.5.6-1.tar.gz ... Passed
==> Making package: pamac-aur 9.5.6-1 (Sun Jul 19 17:56:39 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found pamac-9.5.6-1.tar.gz
==> Validating source files with sha256sums...
pamac-9.5.6-1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting pamac-9.5.6-1.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: pamac-aur 9.5.6-1 (Sun Jul 19 17:56:43 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
The Meson build system
Version: 0.53.2
Source dir: /home/knight/.cache/yay/pamac-aur/src/pamac-ba16075d617e3bfe356b28da03a3343f5f3d993c
Build dir: /home/knight/.cache/yay/pamac-aur/src/pamac-ba16075d617e3bfe356b28da03a3343f5f3d993c/builddir
Build type: native build
Project name: pamac
Project version: 9.0
Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Appending LDFLAGS from environment: ['-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now']
Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2'
Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Appending LDFLAGS from environment: ['-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now']
Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2'
C compiler for the host machine: cc (gcc 10.1.0 "cc (GCC) 10.1.0")
C linker for the host machine: cc ld.bfd 2.34
Vala compiler for the host machine: valac (valac 0.46.6)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Run-time dependency gobject-2.0 found: YES 2.64.0
Run-time dependency gio-2.0 found: YES 2.64.0
Run-time dependency gthread-2.0 found: YES 2.64.0
Run-time dependency libalpm found: YES 12.0.1
Run-time dependency json-glib-1.0 found: YES 1.4.4
Run-time dependency libsoup-2.4 found: YES 2.68.4
Run-time dependency polkit-gobject-1 found: YES 0.116
Run-time dependency libnotify found: YES 0.7.9
Run-time dependency appstream-glib found: YES 0.7.17
Run-time dependency gio-unix-2.0 found: YES 2.64.0
Run-time dependency gtk+-3.0 found: YES 3.24.14
Run-time dependency gdk-3.0 found: YES 3.24.14
Run-time dependency gdk-pixbuf-2.0 found: YES 2.40.0
Library posix found: YES
Library m found: YES
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Configuring org.manjaro.pamac.manager.service using configuration
Configuring org.manjaro.pamac.daemon.service using configuration
Configuring pamac-daemon.service using configuration
Configuring pamac-cleancache.service using configuration
Program pacman-mirrors found: NO
Build targets in project: 20
Found ninja-1.10.0 at /usr/bin/ninja
[7/75] Compiling Vala source ../src/alpm_config.vala ../src/outdated_checker.vala.
FAILED: src/25a6634@@outdated-checker@exe/alpm_config.c src/25a6634@@outdated-checker@exe/outdated_checker.c
valac -C --pkg posix --pkg posix --pkg gio-2.0 --pkg libalpm --pkg gobject-2.0 --color=always --directory src/25a6634@@outdated-checker@exe --basedir ../src --pkg=posix --target-glib=2.38 --vapidir=/home/knight/.cache/yay/pamac-aur/src/pamac-ba16075d617e3bfe356b28da03a3343f5f3d993c/vapi ../src/alpm_config.vala ../src/outdated_checker.vala
../src/outdated_checker.vala:33.7-33.20: error: The name `try_parse' does not exist in the context of `uint'
if (uint.try_parse (args[1], out nb)) {
^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
[8/75] Compiling Vala source ../src/alpm_config.vala ../src/dependency_checker.vala.
../src/alpm_config.vala:350.2-350.18: warning: method `AlpmConfig.write' never used
public void write (HashTable<string,Variant> new_conf) {
^^^^^^^^^^^^^^^^^
Compilation succeeded - 1 warning(s)
[9/75] Compiling Vala source ../src/version.vala ../src/package...._config.vala ../src/pamac_config_daemon.vala ../src/daemon.vala.
../src/alpm_package.vala:51.3-51.26: warning: method `Pamac.AlpmPackage.dup' never used
internal AlpmPackage dup () {
^^^^^^^^^^^^^^^^^^^^^^^^
../src/alpm_utils.vala:894.3-894.33: warning: method `Pamac.AlpmUtils.trans_check_prepare' never used
public bool trans_check_prepare (bool sysupgrade,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 2 warning(s)
[10/75] Compiling Vala source ../src/package.vala ../src/alpm_pa..../src/transaction_interface_daemon.vala ../src/transaction.vala.
../src/alpm_config.vala:350.2-350.18: warning: method `AlpmConfig.write' never used
public void write (HashTable<string,Variant> new_conf) {
^^^^^^^^^^^^^^^^^
../src/database.vala:2893.1-2893.27: warning: method `pkg_search_name' never used
private int pkg_search_name (Pamac.Package pkg, string name) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^
../src/alpm_utils.vala:654.3-654.28: warning: method `Pamac.AlpmUtils.download_pkg' never used
public string download_pkg (string sender, string url) {
^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 3 warning(s)
[11/75] Generating org.manjaro.pamac.policy_data@polkit_merge with a custom command.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Edit:
I ran full system upgrade, and tried again, now it got installed.
Thank you everyone for your help. I mark it as solved.
Last edited by baljeethakur (2020-07-19 07:15:55)
Offline
Please paste the full output of `pacman -Syu --debug`
Offline
Your system is still no up to date, at least vala compiler is old.
Offline
baljeethakur: please go to your first post, click edit and prepend [SOLVED] in title
Offline
Your system is still no up to date, at least vala compiler is old.
It's up-to date, but smh during pamac installation it's showing older version. I checked installed version and it is vala-0.48.7-1
Offline
Pages: 1