You are not logged in.

#1 2019-05-08 19:41:39

Samaritan
Member
From: United Kingdom
Registered: 2019-05-08
Posts: 5

AUR PKGBUILD not working

Hello Arch Linux Forum,

I've moved over to Arch Linux 64-bit and have been adding applications on.
I'm using Ethernet all the time as I can never get my Wi-Fi connection to work (I'm trying to use wpa_supplicant and dhcpcd on a WPA2-secured network), and it works fine.

Recently I want to get some packages from the Arch User Repository (namely Discord and Visual Studio Code) but when I run

makepkg -si PKGBUILD

and

extra-x86_64-build PKGBUILD

they install the dependencies fine. The only problem is that the tar.gz file doesn't download and times out.

I can't find anything on the wiki that can fix this, so any help would be really appreciated!

Thanks,
Samaritan

Offline

#2 2019-05-08 19:49:10

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

Re: AUR PKGBUILD not working

Please post the actual output you get.

https://bbs.archlinux.org/viewtopic.php?id=57855

Mod note: Moving to NC.


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

#3 2019-05-08 20:45:41

Samaritan
Member
From: United Kingdom
Registered: 2019-05-08
Posts: 5

Re: AUR PKGBUILD not working

Yeah, the output is:

[malachy@malachy-arch ~]$ cd discord
[malachy@malachy-arch discord]$ makepkg -si PKGBUILD
==> Making package: discord 0.0.9-3 (Wed 08 May 2019 21:30:14 BST)
==> Checking runtime dependencies...
==> Checking buildtime depedencies...
==> Retrieving sources...
   -> Found LICENSE
   -> Downloading discord-0.0.9.tar.gz...
   % Total   % Received % Xferd  Average Speed   Time     Time     Time     Current
                                 Dload   Upload  Total    Spent    Left     Speed
   0     0   0        0 0     0      0        0 --:--:-- 0:04:49 --:--:--       0
curl: (7) Failed to connect to dl.discordapp.net port 443: Connection timed out
==> ERROR: Failure while downloading https://dl.discordapp.net/apps/linux/0.0.9/discord-0.0.9.tar.gz
    Aborting...

I'd like to repeat what I said earlier: I have a fully working internet connection. It can browse and responds to external pings.

Last edited by Samaritan (2019-05-08 20:46:46)

Offline

#4 2019-05-08 21:01:50

jamespharvey20
Member
Registered: 2015-06-09
Posts: 129

Re: AUR PKGBUILD not working

Works fine for me, for discord (AUR).  Does it work now?  Maybe their site was having trouble.  If not, try this, which is surely to fail, indicating the problem isn't with makepkg:

wget "https://dl.discordapp.net/apps/linux/0.0.9/discord-0.0.9.tar.gz"

Offline

#5 2019-05-09 07:05:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,509

Re: AUR PKGBUILD not working

Downloads fine here as well, post the output of

dig dl.discordapp.net
dig @8.8.8.8 dl.discordapp.net
nmap dl.discordapp.net

Offline

#6 2019-05-09 16:04:05

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: AUR PKGBUILD not working

Sidenote: You don't have to include "PKGBUILD" in the makepkg call.

Last edited by Mr.Elendig (2019-05-09 16:04:24)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2019-05-13 17:40:42

Samaritan
Member
From: United Kingdom
Registered: 2019-05-08
Posts: 5

Re: AUR PKGBUILD not working

seth wrote:

Downloads fine here as well, post the output of

dig dl.discordapp.net
dig @8.8.8.8 dl.discordapp.net
nmap dl.discordapp.net

Here's the code:

[malachy@malachy-arch ~]$ dig dl.discordapp.net

; <<>> DiG 9.14.1 <<>> dl.discordapp.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11712
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;dl.discordapp.net.		IN	A

;; ANSWER SECTION:
dl.discordapp.net.	1	IN	A	104.16.251.144
dl.discordapp.net.	1	IN	A	104.16.250.144
dl.discordapp.net.	1	IN	A	104.16.248.144
dl.discordapp.net.	1	IN	A	104.16.247.144
dl.discordapp.net.	1	IN	A	104.16.249.144

;; Query time: 6 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Mon May 13 18:33:43 BST 2019
;; MSG SIZE  rcvd: 115
[malachy@malachy-arch ~]$ dig @8.8.8.8 dl.discordapp.net

; <<>> DiG 9.14.1 <<>> @8.8.8.8 dl.discordapp.net
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18151
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;dl.discordapp.net.		IN	A

;; ANSWER SECTION:
dl.discordapp.net.	1	IN	A	104.16.247.144
dl.discordapp.net.	1	IN	A	104.16.249.144
dl.discordapp.net.	1	IN	A	104.16.251.144
dl.discordapp.net.	1	IN	A	104.16.250.144
dl.discordapp.net.	1	IN	A	104.16.248.144

;; Query time: 9 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon May 13 18:34:30 BST 2019
;; MSG SIZE  rcvd: 115
[malachy@malachy-arch ~]$ nmap -Pn dl.discordapp.net
Starting Nmap 7.70 ( https://nmap.org ) at 2019-05-13 18:36 BST
Nmap scan report for dl.discordapp.net (104.16.250.144)
Host is up.
Other addresses for dl.discordapp.net (not scanned): 104.16.247.144 104.16.251.144 104.16.249.144 104.16.248.144
All 1000 scanned ports on dl.discordapp.net (104.16.250.144) are filtered

Nmap done: 1 IP address (1 host up) scanned in 214.45 seconds

Offline

#8 2019-05-13 19:25:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,509

Re: AUR PKGBUILD not working

You're resolving the right IPs but all ports are filtered, what is not true for this IP here.
=> Some firewall (iptables/netfilter - maybe in your router or a campus-wide firewall)?

Can you ping the IP?

Offline

Board footer

Powered by FluxBB