You are not logged in.

#1 2020-01-12 23:31:50

josephhyatt
Member
Registered: 2020-01-12
Posts: 3

Trying to install pamac and getting errors

Hi everyone, I'm new to Arch and was trying to install pamac using

yay -S pamac-aur

but it's not installing and I'm getting these error outputs:

WARNING: Could not detect glib version, assuming 2.54. You may get build errors if your glib
 is older.
Run-time dependency gobject-2.0 found: NO (tried pkgconfig and cmake)
src/meson.build:1:0: ERROR: Dependency "gobject-2.0" not found, tried pkgconfig and cmake
A full log can be found at /home/joe/.cache/yay/pamac-aur/src/pamac-v9.2.2/builddir/meson-lo
gs/meson-log.txt


Here is the whole output:

:: There are 2 providers available for pamac-aur:                                           
:: Repository AUR                                                                           
    1) pamac-aur 2) pamac-classic                                                           
                                                                                            
Enter a number (default=1):                                                                 
:: Checking for conflicts...                                                                
:: Checking for inner conflicts...                                                          
[Aur: 1]  pamac-aur-9.2.2-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)                     
==>                                                                                         
:: 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)
==> 
:: Parsing SRCINFO (1/1): pamac-aur
==> Making package: pamac-aur 9.2.2-1 (Sun 12 Jan 2020 03:23:57 PM PST)
==> Retrieving sources...
  -> Found pamac-9.2.2-1.tar.gz
==> Validating source files with sha256sums... 
    pamac-9.2.2-1.tar.gz ... Passed
==> Making package: pamac-aur 9.2.2-1 (Sun 12 Jan 2020 03:24:01 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found pamac-9.2.2-1.tar.gz
==> Validating source files with sha256sums... 
    pamac-9.2.2-1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting pamac-9.2.2-1.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: pamac-aur 9.2.2-1 (Sun 12 Jan 2020 03:24:05 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
The Meson build system
Version: 0.53.0
Source dir: /home/joe/.cache/yay/pamac-aur/src/pamac-v9.2.2
Build dir: /home/joe/.cache/yay/pamac-aur/src/pamac-v9.2.2/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.0 "cc (GCC) 9.2.0")
C linker for the host machine: cc GNU ld.bfd 2.33.1
Vala compiler for the host machine: valac (valac 0.46.5)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /home/linuxbrew/.linuxbrew/bin/pkg-config (0.29.2)
WARNING: Could not detect glib version, assuming 2.54. You may get build errors if your glib
 is older.
Found pkg-config: /home/linuxbrew/.linuxbrew/bin/pkg-config (0.29.2)
Found CMake: /usr/bin/cmake (3.16.2)
Appending CXXFLAGS 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'
Run-time dependency gobject-2.0 found: NO (tried pkgconfig and cmake)

src/meson.build:1:0: ERROR: Dependency "gobject-2.0" not found, tried pkgconfig and cmake

A full log can be found at /home/joe/.cache/yay/pamac-aur/src/pamac-v9.2.2/builddir/meson-lo
gs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
Error making: pamac-aur 

I tried searching google for answers but after a few days with no luck, I thought I'd ask for your help. Thank you.

Last edited by josephhyatt (2020-01-12 23:32:04)

Offline

#2 2020-01-12 23:44:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: Trying to install pamac and getting errors

josephhyatt wrote:

I tried searching google for answers but after a few days with no luck, I thought I'd ask for your help. Thank you.

I find that hard to believe as there is active discussion on why this will not build on the package's aur page.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2020-01-12 23:48:23

josephhyatt
Member
Registered: 2020-01-12
Posts: 3

Re: Trying to install pamac and getting errors

I was able to figure it out right after I wrote this. I came over from ubuntu and used linux homebrew which wasn't as compatible with arch. Deleted homebrew and everything worked. Sorry for my lack of understanding arch.

Offline

#4 2020-01-12 23:52:52

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Trying to install pamac and getting errors

Welcome to the forum. Please see the warning at the top of this page: https://wiki.archlinux.org/index.php/AUR_helpers

If you consider your topic solved, please remember to mark it by adding [SOLVED] to the title (edit the title of your first post).

How to Post

Offline

Board footer

Powered by FluxBB