You are not logged in.

#1 2017-09-09 13:36:45

thugwaffle
Member
Registered: 2016-06-12
Posts: 13

[SOLVED] makepkg / pacman will not install third party packages

I'm trying to install pacaur with makepkg.  After cloning the git repo from the AUR, running

$ makepkg -si

results in

==> WARNING: A package has already been built, installing existing package...
==> Installing package pacaur with pacman -U...
loading packages...
warning: pacaur-4.7.10-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) pacaur-4.7.10-1

Total Installed Size:  0.49 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
(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) reinstalling pacaur                                 [##############################] 100%
:: Running post-transaction hooks...
(1/2) Listing all installed packages...
(2/2) Arming ConditionNeedsUpdate...

However, I have no binary placed on my path (this should be at /usr/bin/pacaur, if I'm reading the PKGBUILD correctly). I'm having the same issues with other third party packages. Any and all help is appreciated.

Last edited by thugwaffle (2017-09-18 13:30:46)

Offline

#2 2017-09-09 13:54:58

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] makepkg / pacman will not install third party packages

What's the output of 'pacman -Ql pacaur'?

Offline

#3 2017-09-09 14:21:40

thugwaffle
Member
Registered: 2016-06-12
Posts: 13

Re: [SOLVED] makepkg / pacman will not install third party packages

ooo wrote:

What's the output of 'pacman -Ql pacaur'?

pacaur /etc/
pacaur /etc/xdg/
pacaur /etc/xdg/pacaur/
pacaur /usr/
pacaur /usr/bin/
pacaur /usr/share/
pacaur /usr/share/bash-completion/
pacaur /usr/share/bash-completion/completions/
pacaur /usr/share/licenses/
pacaur /usr/share/licenses/pacaur/
pacaur /usr/share/locale/
pacaur /usr/share/locale/ca/
pacaur /usr/share/locale/ca/LC_MESSAGES/
pacaur /usr/share/locale/ca/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/da/
pacaur /usr/share/locale/da/LC_MESSAGES/
pacaur /usr/share/locale/da/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/de/
pacaur /usr/share/locale/de/LC_MESSAGES/
pacaur /usr/share/locale/de/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/es/
pacaur /usr/share/locale/es/LC_MESSAGES/
pacaur /usr/share/locale/es/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/fi/
pacaur /usr/share/locale/fi/LC_MESSAGES/
pacaur /usr/share/locale/fi/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/fr/
pacaur /usr/share/locale/fr/LC_MESSAGES/
pacaur /usr/share/locale/fr/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/hu/
pacaur /usr/share/locale/hu/LC_MESSAGES/
pacaur /usr/share/locale/hu/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/it/
pacaur /usr/share/locale/it/LC_MESSAGES/
pacaur /usr/share/locale/it/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/ja/
pacaur /usr/share/locale/ja/LC_MESSAGES/
pacaur /usr/share/locale/ja/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/nb/
pacaur /usr/share/locale/nb/LC_MESSAGES/
pacaur /usr/share/locale/nb/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/nl/
pacaur /usr/share/locale/nl/LC_MESSAGES/
pacaur /usr/share/locale/nl/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/pl/
pacaur /usr/share/locale/pl/LC_MESSAGES/
pacaur /usr/share/locale/pl/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/pt/
pacaur /usr/share/locale/pt/LC_MESSAGES/
pacaur /usr/share/locale/pt/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/ru/
pacaur /usr/share/locale/ru/LC_MESSAGES/
pacaur /usr/share/locale/ru/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/sk/
pacaur /usr/share/locale/sk/LC_MESSAGES/
pacaur /usr/share/locale/sk/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/sl/
pacaur /usr/share/locale/sl/LC_MESSAGES/
pacaur /usr/share/locale/sl/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/sr/
pacaur /usr/share/locale/sr/LC_MESSAGES/
pacaur /usr/share/locale/sr/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/sr@latin/
pacaur /usr/share/locale/sr@latin/LC_MESSAGES/
pacaur /usr/share/locale/sr@latin/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/tr/
pacaur /usr/share/locale/tr/LC_MESSAGES/
pacaur /usr/share/locale/tr/LC_MESSAGES/pacaur.mo
pacaur /usr/share/locale/zh_CN/
pacaur /usr/share/locale/zh_CN/LC_MESSAGES/
pacaur /usr/share/locale/zh_CN/LC_MESSAGES/pacaur.mo
pacaur /usr/share/man/
pacaur /usr/share/man/man8/
pacaur /usr/share/zsh/
pacaur /usr/share/zsh/site-functions/

Last edited by thugwaffle (2017-09-09 14:22:32)

Offline

#4 2017-09-09 14:30:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,562

Re: [SOLVED] makepkg / pacman will not install third party packages

Looks like most of the folders inside the pacaur tarball are empty, so something went very wrong during building.

please run

makepkg --clean --log

and post the log files .

Last edited by Lone_Wolf (2017-09-09 14:30:46)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2017-09-09 14:41:23

thugwaffle
Member
Registered: 2016-06-12
Posts: 13

Re: [SOLVED] makepkg / pacman will not install third party packages

'man makepkg' says there should be a log file in the build directory, but I don't see one. Here's stdout after running makepkg --clean --log

==> Making package: pacaur 4.7.10-1 (Sat Sep  9 10:40:35 EDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading 4.7.10.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   123    0   123    0     0    123      0 --:--:-- --:--:-- --:--:--   618
100 94187  100 94187    0     0  94187      0  0:00:01 --:--:--  0:00:01 94187
==> Validating source files with md5sums...
    4.7.10.tar.gz ... Passed
==> Extracting sources...
  -> Extracting 4.7.10.tar.gz with bsdtar
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> WARNING: backup entry file not in package : etc/xdg/pacaur/config
==> Creating package "pacaur"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: pacaur 4.7.10-1 (Sat Sep  9 10:40:37 EDT 2017)
==> Cleaning up...

Offline

#6 2017-09-09 15:07:08

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] makepkg / pacman will not install third party packages

I wonder if somehow makepkg were corrupted on your system? pacman -Qkk pacman


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#7 2017-09-09 15:16:31

thugwaffle
Member
Registered: 2016-06-12
Posts: 13

Re: [SOLVED] makepkg / pacman will not install third party packages

fsckd wrote:

I wonder if somehow makepkg were corrupted on your system? pacman -Qkk pacman

backup file: pacman: /etc/pacman.conf (Modification time mismatch)
backup file: pacman: /etc/pacman.conf (Size mismatch)
pacman: 349 total files, 0 altered files

Offline

#8 2017-09-09 15:36:13

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 341
Website

Re: [SOLVED] makepkg / pacman will not install third party packages

to avoid installing the already built pkg try this

makepkg -fi

Offline

#9 2017-09-09 15:45:34

thugwaffle
Member
Registered: 2016-06-12
Posts: 13

Re: [SOLVED] makepkg / pacman will not install third party packages

Still the same issue after running 'makepkg -fi'

Offline

#10 2017-09-09 15:50:31

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] makepkg / pacman will not install third party packages

What are the mount options of the filesystem you are building the package on?

Offline

#11 2017-09-09 15:59:26

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] makepkg / pacman will not install third party packages

Can you post the contents of your /etc/makepkg.conf (and your users ~/.makepkg.conf if it exists).


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#12 2017-09-09 16:01:39

thugwaffle
Member
Registered: 2016-06-12
Posts: 13

Re: [SOLVED] makepkg / pacman will not install third party packages

loqs wrote:

What are the mount options of the filesystem you are building the package on?

/dev/sda2 on / type ext4 (rw,relatime,data=ordered)

is in the output from 'mount'. I hope that's what you're asking for (sda1 is just a small boot partition)

Offline

#13 2017-09-09 16:06:03

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] makepkg / pacman will not install third party packages

thugwaffle wrote:
loqs wrote:

What are the mount options of the filesystem you are building the package on?

/dev/sda2 on / type ext4 (rw,relatime,data=ordered)

is in the output from 'mount'. I hope that's what you're asking for (sda1 is just a small boot partition)

Assuming you are not building the package under something like /tmp yes that is what I was after but the output seems fine.
What is the output of

# pacman -Qkk

Offline

#14 2017-09-09 16:08:31

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: [SOLVED] makepkg / pacman will not install third party packages

Looks like the "install" command fails for some reason.

Offline

#15 2017-09-09 16:13:18

thugwaffle
Member
Registered: 2016-06-12
Posts: 13

Re: [SOLVED] makepkg / pacman will not install third party packages

slithery wrote:

Can you post the contents of your /etc/makepkg.conf (and your users ~/.makepkg.conf if it exists).

https://gist.github.com/4421edab045a5aa … 5dfdd16817

Offline

#16 2017-09-09 16:17:23

thugwaffle
Member
Registered: 2016-06-12
Posts: 13

Re: [SOLVED] makepkg / pacman will not install third party packages

loqs wrote:
thugwaffle wrote:
loqs wrote:

What are the mount options of the filesystem you are building the package on?

/dev/sda2 on / type ext4 (rw,relatime,data=ordered)

is in the output from 'mount'. I hope that's what you're asking for (sda1 is just a small boot partition)

Assuming you are not building the package under something like /tmp yes that is what I was after but the output seems fine.
What is the output of

# pacman -Qkk

Find the output here https://gist.github.com/anonymous/e1700 … baaa7c7b42

Offline

#17 2017-09-09 16:25:30

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

Re: [SOLVED] makepkg / pacman will not install third party packages

How about:

type install

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#18 2017-09-09 16:30:12

thugwaffle
Member
Registered: 2016-06-12
Posts: 13

Re: [SOLVED] makepkg / pacman will not install third party packages

Trilby wrote:

How about:

type install

huh, looks like I'd made my own script, called it install and placed it on my path :facepalm:
I've successfully installed pacaur now, thank you!

Offline

#19 2017-09-10 10:23:13

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] makepkg / pacman will not install third party packages

Glad it is solved. Don't forget to mark the thread as [SOLVED]. https://wiki.archlinux.org/index.php/Co … ow_to_post


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB