You are not logged in.

#1 2017-05-09 05:06:16

Don Coyote
Member
From: Great Lakes Region
Registered: 2010-09-06
Posts: 110

[SOLVED]makepkg exits with unknown error

I am trying to install qgis out of the AUR.

[coyote@slave qgis]$ sudo makepkg

gives:

==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.

==> ERROR: An unknown error has occurred. Exiting...

The -s flag does not change anything.

sudo -ll shows:

User coyote may run the following commands on slave:

Sudoers entry:
    RunAsUsers: ALL
    Commands:
	ALL

The PKGBUILD comes from:

git clone https://aur.archlinux.org/qgis.git

This was executed as the user so i have permissions in the resulting file.

The system was updated earlier today. I've seen a number of old threads with similar error messages, but the fixes did not help me. Any hints at what i have messed up?

Last edited by Don Coyote (2017-05-09 06:08:40)

Offline

#2 2017-05-09 05:15:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]makepkg exits with unknown error

Don't run it as root.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-05-09 05:17:57

Don Coyote
Member
From: Great Lakes Region
Registered: 2010-09-06
Posts: 110

Re: [SOLVED]makepkg exits with unknown error

? I'm running it as user with sudo:

[coyote@slave qgis]$ sudo makepkg

Offline

#4 2017-05-09 05:26:29

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED]makepkg exits with unknown error

What do you think 'sudo' does..?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2017-05-09 06:06:46

Don Coyote
Member
From: Great Lakes Region
Registered: 2010-09-06
Posts: 110

Re: [SOLVED]makepkg exits with unknown error

I wasted my mental energy tracking down the file privilege problem, didn't get the whole makepkg/sudo relation. So the makepkg command calls sudo itself just where needed?

[coyote@slave qgis]$ makepkg -s

gives:

==> Making package: qgis 2.18.6-1 (Tue May  9 00:39:54 CDT 2017)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for coyote: 
error: target not found: qwtpolar
error: target not found: spatialindex
==> ERROR: 'pacman' failed to install missing dependencies.

I'll work out these dependencies in the AUR...

Last edited by Don Coyote (2017-05-09 06:15:26)

Offline

#6 2017-05-09 06:16:06

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED]makepkg exits with unknown error

There's no need to comment on the AUR page, you just need to build and install those AUR packages first.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB