LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Arch Linux: Can't install Conkeror from AUR, GitHub (https://www.linuxquestions.org/questions/linux-software-2/arch-linux-cant-install-conkeror-from-aur-github-4175718940/)

AKM512 11-19-2022 04:30 PM

Arch Linux: Can't install Conkeror from AUR, GitHub
 
I've been trying to install the Conkeror browser on my Arch system. After upgrading my system with
Code:

sudo pacman -Syu
, I first tried using the AUR, using the Pale Moon package, but I wasn't able to get the python2 dependency to install manually, so this failed. I seemed to succeed using pacaur to install python2-bin. However, python2-bin was flawed and so was useless in installing Conkeror. Since the AUR package for Conkeror has palemoon as dependency, I couldn't install Conkeror.

I went to Conkeror's website and tried following the instructions. For the XULRunner dependency, I installed the Seamonkey package from the official Arch repo, because the ArchWiki says it includes XULRunner support. I then cloned the URL on the Conkeror website and it seemed to work, but when I tried to makepkg -si, I got an error message saying "PKGBUILD does not exist." After I did a search and found this on StackExchange, I browsed through the files in my new conkeror directory in Thunar, looking for a .asc file, but I didn't see anything.

I visited the official Conkeror GitHub page, and ran the make install command with conkeror (see output at bottom); when I tried to open Conkeror using i3 as a usual application by typing "conkeror" after win+d, the program appeared, but it would not load. So I tried opening it via the terminal, but this too failed, with a lengthy but repetitive error message (displayed at bottom.)

Here is the relevant terminal interaction:

Quote:

[austin@archlinux ~]$ sudo pacman -S seamonkey
resolving dependencies...
looking for conflicting packages...

Packages (1) seamonkey-2.53.14-2

Total Download Size: 38.51 MiB
Total Installed Size: 145.54 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
seamonkey-2.53.14-2-x86_64 38.5 MiB 14.1 MiB/s 00:03 [##############################################] 100%
(1/1) checking keys in keyring [##############################################] 100%
(1/1) checking package integrity [##############################################] 100%
(1/1) loading package files [##############################################] 100%
(1/1) checking for file conflicts [##############################################] 100%
(1/1) checking available disk space [##############################################] 100%
:: Processing package changes...
(1/1) installing seamonkey [##############################################] 100%
Optional dependencies for seamonkey
networkmanager: Location detection via available WiFi networks [installed]
libnotify: Notification integration [installed]
pulseaudio: Audio support [installed]
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the desktop file MIME type cache...
[austin@archlinux ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
dev 8005748 0 8005748 0% /dev
run 8016932 1252 8015680 1% /run
/dev/nvme0n1p2 20380672 16854308 3526364 83% /
tmpfs 8016932 0 8016932 0% /dev/shm
tmpfs 8016936 144 8016792 1% /tmp
/dev/nvme0n1p3 955323644 39652196 915671448 5% /home
/dev/nvme0n1p1 522224 61592 460632 12% /boot
tmpfs 1603384 20 1603364 1% /run/user/1000
[austin@archlinux ~]$ git clone git://repo.or.cz/conkeror.git
Cloning into 'conkeror'...
remote: Counting objects: 14785, done.
remote: Total 14785 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (14785/14785), 2.30 MiB | 1.92 MiB/s, done.
Resolving deltas: 100% (10755/10755), done.
[austin@archlinux ~]$ cd conkeror
[austin@archlinux conkeror]$ makepkg -si
==> ERROR: PKGBUILD does not exist.
[austin@archlinux conkeror]$ makepkg -s
==> ERROR: PKGBUILD does not exist.
[austin@archlinux conkeror]$ man makepkg
[austin@archlinux conkeror]$ man makepkg
[austin@archlinux conkeror]$ makepkg -e
==> ERROR: PKGBUILD does not exist.
[austin@archlinux conkeror]$ make install
sed 's:@datadir@:/home/austin/conkeror:g' conkeror.in > conkeror
chmod +x conkeror
sed 's:@datadir@:/usr/local/share/conkeror:g' conkeror.in > conkeror-bin
cc -O2 -g conkeror-spawn-helper.c -o conkeror-spawn-helper
install -D -m644 contrib/man/conkeror.1 \
"//usr/local/share/man/man1/conkeror.1"
install: cannot create directory '//usr/local/share/man/man1': Permission denied
make: *** [Makefile:45: install] Error 1
[austin@archlinux conkeror]$ sudo make install
[sudo] password for austin:
install -D -m644 contrib/man/conkeror.1 \
"//usr/local/share/man/man1/conkeror.1"
install -D -m644 contrib/conkeror.desktop \
"//usr/local/share/applications/conkeror.desktop"
install -D -m755 conkeror-bin "//usr/local/bin/conkeror"
install -D -m755 conkeror-spawn-helper \
"//usr/local/bin/conkeror-spawn-helper"
mkdir -p "//usr/local/share/conkeror/contrib"
cp -a branding chrome components content defaults help locale modules search-engines style application.ini chrome.manifest content-policy.manifest Info.plist "//usr/local/share/conkeror"
cp -a contrib/art contrib/list-xulrunner-versions contrib/modules contrib/run-conkeror contrib/xrev "//usr/local/share/conkeror/contrib"
mkdir -p "//usr/local/share/doc/conkeror"
cp -a COPYING CREDITS contrib/config "//usr/local/share/doc/conkeror"
[austin@archlinux conkeror]$ conkeror
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
JavaScript error: , line 0: Error: Failed to load resource:///modules/DevToolsStartup.sys.mjs
JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 717: Error: Phase "IOUtils: waiting for profileBeforeChange IO to complete" is finished, it is too late to register completion condition "Flush WebExtension StartupCache"
WARNING: A blocker encountered an error while we were waiting.
Blocker: Waiting for ping task
Phase: TelemetryController: Waiting for pending ping activity
State: (none)
WARNING: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
WARNING: addBlocker@resource://gre/modules/AsyncShutdown.jsm:717:15
addBlocker@resource://gre/modules/AsyncShutdown.jsm:525:26
addBlocker@resource://gre/modules/AsyncShutdown.jsm:464:15
setupShutdown@resource://gre/modules...sync_front.jsm:1563:28
@resource://gre/modules/osfile/osfile_async_front.jsm:1583:16
@resource://gre/modules/osfile.jsm:12:30
@resource://gre/modules/TelemetryStorage.jsm:19:28
savePing@resource://gre/modules/TelemetrySend.jsm:162:3
submitPing@resource://gre/modules/TelemetrySend.jsm:1099:14
submitPing@resource://gre/modules/TelemetrySend.jsm:301:30
_submitPingLogic@resource://gre/modu...llerParent.jsm:565:26
send@resource://gre/modules/Telemetr...llerParent.jsm:642:24
submitExternalPing@resource://gre/mo...llerParent.jsm:182:17
saveShutdownPings@resource://gre/mod...trySession.jsm:988:34
shutdownChromeProcess/cleanup/<@resource://gre/modules/TelemetrySession.jsm:1238:20
cleanup@resource://gre/modules/TelemetrySession.jsm:1245:9
shutdownChromeProcess@resource://gre...trySession.jsm:1262:14
shutdown@resource://gre/modules/TelemetrySession.jsm:253:17
_cleanupOnShutdown@resource://gre/mo...llerParent.jsm:973:35
observe@resource://gre/modules/AsyncShutdown.jsm:574:16

WARNING: A blocker encountered an error while we were waiting.
Blocker: TelemetryController: shutting down
Phase: profile-before-change-telemetry
State: Error getting state: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange" at addBlocker@resource://gre/modules/AsyncShutdown.jsm:717:15
addBlocker@resource://gre/modules/AsyncShutdown.jsm:525:26
addBlocker@resource://gre/modules/AsyncShutdown.jsm:464:15
setupShutdown@resource://gre/modules...sync_front.jsm:1563:28
@resource://gre/modules/osfile/osfile_async_front.jsm:1583:16
@resource://gre/modules/osfile.jsm:12:30
@resource://gre/modules/TelemetryStorage.jsm:19:28
getShutdownState@resource://gre/modu...emetrySend.jsm:1683:7
getShutdownState@resource://gre/modu...emetrySend.jsm:369:30
_getState@resource://gre/modules/Tel...llerParent.jsm:1072:38
setupTelemetry/<@resource://gre/modules/TelemetryControllerParent.jsm:931:18
safeGetState@resource://gre/modules/AsyncShutdown.jsm:256:17
Barrier/addBlocker/promise<@resource://gre/modules/AsyncShutdown.jsm:765:20
observe@resource://gre/modules/AsyncShutdown.jsm:574:16

WARNING: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
WARNING: addBlocker@resource://gre/modules/AsyncShutdown.jsm:717:15
addBlocker@resource://gre/modules/AsyncShutdown.jsm:525:26
addBlocker@resource://gre/modules/AsyncShutdown.jsm:464:15
setupShutdown@resource://gre/modules...sync_front.jsm:1563:28
@resource://gre/modules/osfile/osfile_async_front.jsm:1583:16
@resource://gre/modules/osfile.jsm:12:30
@resource://gre/modules/TelemetryStorage.jsm:19:28
removeAbortedSessionPing@resource://...llerParent.jsm:735:5
removeAbortedSessionPing@resource://...llerParent.jsm:249:17
shutdownChromeProcess/cleanup/<@resource://gre/modules/TelemetrySession.jsm:1241:42
observe@resource://gre/modules/AsyncShutdown.jsm:574:16

JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 717: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 717: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 717: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 717: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[austin@archlinux conkeror]$ ds
bash: ds: command not found
[austin@archlinux conkeror]$ ds
bash: ds: command not found
[austin@archlinux conkeror]$ 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
[austin@archlinux conkeror]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
dev 8005748 0 8005748 0% /dev
run 8016932 1260 8015672 1% /run
/dev/nvme0n1p2 20380672 16853376 3527296 83% /
tmpfs 8016932 0 8016932 0% /dev/shm
tmpfs 8016936 144 8016792 1% /tmp
/dev/nvme0n1p3 955323644 39660220 915663424 5% /home
/dev/nvme0n1p1 522224 61592 460632 12% /boot
tmpfs 1603384 20 1603364 1% /run/user/1000
[austin@archlinux conkeror]$ cd
[austin@archlinux ~]$

AKM512 11-19-2022 04:47 PM

UPDATE: I'm trying to uninstall Conkeror using sudo make uninstall; it fails, as does using sudo pacman -Rs conkeror:

Quote:

[austin@archlinux ~]$ make uninstall conkeror
make: *** No rule to make target 'uninstall'. Stop.
[austin@archlinux ~]$ cd conkeror
[austin@archlinux conkeror]$ make uninstall
rm -f "//usr/local/share/man/man1/conkeror.1"
rm: cannot remove '//usr/local/share/man/man1/conkeror.1': Permission denied
make: *** [Makefile:60: uninstall] Error 1
[austin@archlinux conkeror]$ sudo make uninstall
[sudo] password for austin:
rm -f "//usr/local/share/man/man1/conkeror.1"
rm -f "//usr/local/share/applications/conkeror.desktop"
rm -f "//usr/local/bin/conkeror"
rm -f "//usr/local/bin/conkeror-spawn-helper"
rm -f -r "//usr/local/share/conkeror/"
rm -f -r "//usr/local/share/doc/conkeror/"
[austin@archlinux conkeror]$ y
bash: y: command not found
[austin@archlinux conkeror]$ cd
[austin@archlinux ~]$ cd conkeror
[austin@archlinux conkeror]$ sudo make uninistall conkeror
make: *** No rule to make target 'uninistall'. Stop.
[austin@archlinux conkeror]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
dev 8005748 0 8005748 0% /dev
run 8016932 1260 8015672 1% /run
/dev/nvme0n1p2 20380672 16821988 3558684 83% /
tmpfs 8016932 0 8016932 0% /dev/shm
tmpfs 8016936 144 8016792 1% /tmp
/dev/nvme0n1p3 955323644 39660052 915663592 5% /home
/dev/nvme0n1p1 522224 61592 460632 12% /boot
tmpfs 1603384 20 1603364 1% /run/user/1000
[austin@archlinux conkeror]$ make uninstall
rm -f "//usr/local/share/man/man1/conkeror.1"
rm -f "//usr/local/share/applications/conkeror.desktop"
rm -f "//usr/local/bin/conkeror"
rm -f "//usr/local/bin/conkeror-spawn-helper"
rm -f -r "//usr/local/share/conkeror/"
rm -f -r "//usr/local/share/doc/conkeror/"
[austin@archlinux conkeror]$ make clean
rm -f conkeror conkeror-bin conkeror-spawn-helper conkeror-1.0.4.tar.gz TAGS
rm -f -r conkeror-1.0.4
[austin@archlinux conkeror]$ nnn
[austin@archlinux conkeror]$ sudo make uninstall
rm -f "//usr/local/share/man/man1/conkeror.1"
rm -f "//usr/local/share/applications/conkeror.desktop"
rm -f "//usr/local/bin/conkeror"
rm -f "//usr/local/bin/conkeror-spawn-helper"
rm -f -r "//usr/local/share/conkeror/"
rm -f -r "//usr/local/share/doc/conkeror/"
[austin@archlinux conkeror]$ sudo pacman -Q checkinstall
error: package 'checkinstall' was not found
[austin@archlinux conkeror]$ sudo pacman -S checkinstall
error: target not found: checkinstall
[austin@archlinux conkeror]$ sudo -Rs conkeror
sudo: you are not permitted to use the -R option with conkeror

BudiKusasi 11-19-2022 11:35 PM

use pakku, but install of Aur man., not in Arch repo e.g.
Code:

$ sudo pacman -S -s pakku

$ sudo pakku -Ss pakku
aur/pakku 0.16-1 [30 / 0.055561]
    Pacman wrapper and AUR helper with a pacman-like user interface
aur/pakku-git 1:0.14.r19.gf2a93be-1 [installed: 1:0.14.r31.g334e09a-1] [8 / 0.009500]
    Pacman wrapper with AUR support with latest changes from github repo
aur/pakku-gui 0.2.0-2 [3 / 0.000000]
    GTK frontend for pakku
aur/pakku-gui-git 0.1.4-1 [0 / 0.000000]
    GTK frontend for pakku

Then can investigate deps, and the PKGBUILD e.g.

Code:

$ sudo pakku -S conkeror
:: Resolving build targets...
checking AUR database for targets...
(1/1) cloning repositories                                00:00 [##################################] 100%
resolving dependencies...
(1/1) cloning repositories                                00:00 [##################################] 100%
(1/1) cloning repositories                                00:00 [##################################] 100%

Packages (3) conkeror-1.0.4-6  palemoon-1:31.3.1-1  python2-2.7.18-8

:: Proceed with building? [Y/n]
downloading comments from AUR...
:: View and edit python2/PKGBUILD? [Y/n/s/a/?]
:: Enter editor executable name: geany


teckk 11-20-2022 08:20 AM

Your problem is python2. Stop using it. It's done.
https://archlinux.org/news/removing-...-repositories/

You don't have a PKGBUILD to use with makepkg here.
Code:

makepkg -si
==> ERROR: PKGBUILD does not exist.

Installing things outside of your package manager. Overwriting things, no dependency control, no database...
Code:

make install
sed 's:@datadir@:/home/austin/conkeror:g' conkeror.in > conkeror
chmod +x conkeror
...

This is what you need:
https://aur.archlinux.org/packages/conkeror
https://aur.archlinux.org/cgit/aur.g...ILD?h=conkeror

If that is broken, ask the maintainer to fix it. Or fix it yourself if you know how. If not, then use something else.

Here is python2, you'll need to build it your self with makepkg. Then install it with pacman.
https://aur.archlinux.org/packages/python2?O=10
https://aur.archlinux.org/cgit/aur.g...UILD?h=python2

https://wiki.archlinux.org/title/Makepkg
https://wiki.archlinux.org/title/PKGBUILD
https://wiki.archlinux.org/title/Pacman
https://wiki.archlinux.org/title/Arch_Build_System

AKM512 11-20-2022 03:53 PM

Quote:

Originally Posted by teckk (Post 6393326)
Your problem is python2. Stop using it. It's done.
https://archlinux.org/news/removing-...-repositories/

You don't have a PKGBUILD to use with makepkg here.
Code:

makepkg -si
==> ERROR: PKGBUILD does not exist.

Installing things outside of your package manager. Overwriting things, no dependency control, no database...
Code:

make install
sed 's:@datadir@:/home/austin/conkeror:g' conkeror.in > conkeror
chmod +x conkeror
...

This is what you need:
https://aur.archlinux.org/packages/conkeror
https://aur.archlinux.org/cgit/aur.g...ILD?h=conkeror

If that is broken, ask the maintainer to fix it. Or fix it yourself if you know how. If not, then use something else.

Here is python2, you'll need to build it your self with makepkg. Then install it with pacman.
https://aur.archlinux.org/packages/python2?O=10
https://aur.archlinux.org/cgit/aur.g...UILD?h=python2

https://wiki.archlinux.org/title/Makepkg
https://wiki.archlinux.org/title/PKGBUILD
https://wiki.archlinux.org/title/Pacman
https://wiki.archlinux.org/title/Arch_Build_System

I tried to compile Python2 from the AUR with makepkg, but it always fails, even with all the dependencies. This is the first time I've been unable to compile something from the AUR once I have installed all required dependencies. The only reason I tried to install Python2 was because it is listed as a dependency of Pale Moon in the AUR, and Pale Moon is in turn a dependency of Conkeror.

As of now, my current Python version is 3.10.8:

Code:

[austin@archlinux ~]$ python
Python 3.10.8 (main, Nov  1 2022, 14:18:21) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>


AKM512 11-20-2022 04:04 PM

UPDATE: palemoon-bin
 
I tried to install palemoon-bin as an alternative dependency for Conkeror. I have all of palemoon-bin's dependencies. Yet when I attempt to makepkg -si palemoon-bin, I get an error that one or more key signatures could not be verified. Even when I import the key from Moonchild (yes, I see another said this key didn't work, but I didn't see any others so I felt I might as well try), the same error still occurs:

Code:

[austin@archlinux ~]$ sudo pacman -Q alsa-lib dbus-glib desktop-file-utils gtk2 libxt mime-types nss
[sudo] password for austin:
Sorry, try again.
[sudo] password for austin:
alsa-lib 1.2.8-1
dbus-glib 0.112-2
desktop-file-utils 0.26-2
gtk2 2.24.33-2
libxt 1.2.1-1
mailcap 2.1.53-1
nss 3.85-1
[austin@archlinux ~]$ sudo pacman -Q ffmpeg
ffmpeg 2:5.1.2-1
[austin@archlinux ~]$ git clone https://aur.archlinux.org/palemoon-bin.git
Cloning into 'palemoon-bin'...
remote: Enumerating objects: 606, done.
remote: Counting objects: 100% (606/606), done.
remote: Compressing objects: 100% (384/384), done.
remote: Total 606 (delta 225), reused 601 (delta 221), pack-reused 0
Receiving objects: 100% (606/606), 141.76 KiB | 336.00 KiB/s, done.
Resolving deltas: 100% (225/225), done.
[austin@archlinux ~]$ cd palemoon-bin
[austin@archlinux palemoon-bin]$ makepkg -si
==> Making package: palemoon-bin 1:31.3.1-1 (Sun 20 Nov 2022 01:58:20 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found palemoon.desktop
  -> Downloading palemoon-31.3.1.linux-x86_64-gtk2.tar.xz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
                                Dload  Upload  Total  Spent    Left  Speed
100 36.3M  100 36.3M    0    0  8086k      0  0:00:04  0:00:04 --:--:-- 8087k
  -> Downloading palemoon-31.3.1.linux-x86_64-gtk2.tar.xz.sig...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
                                Dload  Upload  Total  Spent    Left  Speed
100  488  100  488    0    0    546      0 --:--:-- --:--:-- --:--:--  546
==> Validating source files with sha256sums...
    palemoon.desktop ... Passed
==> Validating source_x86_64 files with sha256sums...
    palemoon-31.3.1.linux-x86_64-gtk2.tar.xz ... Passed
    palemoon-31.3.1.linux-x86_64-gtk2.tar.xz.sig ... Skipped
==> Verifying source file signatures with gpg...
    palemoon-31.3.1.linux-x86_64-gtk2.tar.xz ... FAILED (unknown public key 865E6C87C65285EC)
==> ERROR: One or more PGP signatures could not be verified!
[austin@archlinux palemoon-bin]$ gpg --search-keys 8FCF9CEC
gpg: data source: https://162.213.33.9:443
(1)    Moonchild (RSA signing key) <moonchild@palemoon.org>
          4096 bit RSA key 40481E7B8FCF9CEC, created: 2015-01-26
Keys 1-1 of 1 for "8FCF9CEC".  Enter number(s), N)ext, or Q)uit > n
[austin@archlinux palemoon-bin]$ makepkg -si
==> Making package: palemoon-bin 1:31.3.1-1 (Sun 20 Nov 2022 02:01:02 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found palemoon.desktop
  -> Found palemoon-31.3.1.linux-x86_64-gtk2.tar.xz
  -> Found palemoon-31.3.1.linux-x86_64-gtk2.tar.xz.sig
==> Validating source files with sha256sums...
    palemoon.desktop ... Passed
==> Validating source_x86_64 files with sha256sums...
    palemoon-31.3.1.linux-x86_64-gtk2.tar.xz ... Passed
    palemoon-31.3.1.linux-x86_64-gtk2.tar.xz.sig ... Skipped
==> Verifying source file signatures with gpg...
    palemoon-31.3.1.linux-x86_64-gtk2.tar.xz ... FAILED (unknown public key 865E6C87C65285EC)
==> ERROR: One or more PGP signatures could not be verified!
[austin@archlinux palemoon-bin]$



All times are GMT -5. The time now is 08:58 AM.