PAmix icon indicating copy to clipboard operation
PAmix copied to clipboard

Arch AUR build is failing

Open PVautour opened this issue 2 years ago • 3 comments

Hello,

It seems the source for the aur release of Pamix needs to be updated to use https.

This is the output I get when trying to install it with Paru:

❯ paru pamix --verbose
1 community/pamixer 1.5-3 [0B 106.68KiB] [Installed]
    Pulseaudio command-line mixer like amixer
2 aur/pamixer-git 20211011-1 [+69 ~0.00]
    Pulseaudio command-line mixer like amixer
3 aur/ncpamixer 1.3.3.1-1 [+25 ~0.00]
    ncurses PulseAudio Mixer
4 aur/ncpamixer-git a-3 [+10 ~0.00]
    ncurses PulseAudio Mixer
5 aur/pamix-git 1.6.r10.gea4ab3b.0.gea4ab3b-1 [+4 ~0.00]
    PAMix - the pulseaudio terminal mixer
:: Packages to install (eg: 1 2 3, 1-3):
:: 5
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1) pamix-git-1.6.r10.gea4ab3b.0.gea4ab3b-1

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
error: failed to lookup: pamix-git: fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

==> Making package: pamix-git 1.6.r10.gea4ab3b.0.gea4ab3b-1 (Sun 08 May 2022 10:22:10 AM)
==> Retrieving sources...
  -> Cloning PAmix git repo...
Cloning into bare repository '/home/pvautour/.cache/paru/clone/pamix-git/PAmix'...
fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
==> ERROR: Failure while downloading PAmix git repo
    Aborting...
error: failed to download sources for 'pamix-git-1.6.r10.gea4ab3b.0.gea4ab3b-1': 
error: packages failed to build: pamix-git-1.6.r10.gea4ab3b.0.gea4ab3b-1

The error points to this url for more information on the change.

Hopefully this is an easy fix!

Thank you for your time and efforts. Feel free to tell me if I can help out :)

PVautour avatar May 08 '22 14:05 PVautour

Can confirm...and I confess my terrible workaround was just to grab the binary off an Ubuntu machine in the meantime heh.

Can't build manually either. config.hpp:3:10: fatal error: ncursesw/ncurses.h: No such file or directory 3 | #include <ncursesw/ncurses.h>

nPHYN1T3 avatar May 09 '22 12:05 nPHYN1T3

@nPHYN1T3 looks like -DNCURSESW_H_INCLUDE="ncurses.h" when calling cmake would help you.

I'm not in contact with the AUR maintainer, but this almost makes me want to make an official aur package

patroclos avatar May 13 '22 16:05 patroclos

Yeah man that worked. Thanks!

Hopefully this version will fix the focus issue I was having.

nPHYN1T3 avatar May 13 '22 17:05 nPHYN1T3