Package Details: perl-cpanel-json-xs 4.14-1

Git Clone URL: https://aur.archlinux.org/perl-cpanel-json-xs.git (read-only)
Package Base: perl-cpanel-json-xs
Description: cPanel fork of JSON::XS, fast and correct serializing
Upstream URL: https://metacpan.org/release/Cpanel-JSON-XS
Licenses: GPL, PerlArtistic
Submitter: nous
Maintainer: Ordoban
Last Packager: Ordoban
Votes: 14
Popularity: 0.270240
First Submitted: 2014-01-13 17:58
Last Updated: 2019-10-15 17:30

Dependencies (1)

Required by (4)

Sources (1)

Latest Comments

1 2 3 Next › Last »

haawda commented on 2019-06-12 18:55

Ralf, checkou a tool like customizepkg to automatically apply such changes in your workflow.

Ralf_Mardorf commented on 2019-06-12 14:06

wget, google-chrome-stable and firefox all return ERROR 403.

$ pacman -Q curl 
curl 7.65.1-1

I always edit the few PKGBUILDs that use those URLs, it's still annoying that the PKGBUILDs don't use the direct links by default.

Ordoban commented on 2019-06-12 11:58

@Ralf_Mardorf

yes, of course, makepkg should work.

Which curl version is used? Does this link work in your browser?

Which output does "wget http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.12.tar.gz" generate?

Otherwise you can also change the PKGBUILD, change the source-URL.

But the important thing is, why is a 403 returned?

Ralf_Mardorf commented on 2019-06-12 11:33

I still don't understand how it should work. Shouldn't it be possible to use an AUR tarball, to build a package with makepkg?

[rocketmouse@archlinux tmp]$ wget -q https://aur.archlinux.org/cgit/aur.git/snapshot/perl-cpanel-json-xs.tar.gz
[rocketmouse@archlinux tmp]$ tar xf perl-cpanel-json-xs.tar.gz 
[rocketmouse@archlinux tmp]$ cd perl-cpanel-json-xs/
[rocketmouse@archlinux perl-cpanel-json-xs]$ makepkg -s
==> Making package: perl-cpanel-json-xs 4.12-1 (Wed 12 Jun 2019 01:27:39 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading Cpanel-JSON-XS-4.12.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
curl: (22) The requested URL returned error: 403 Forbidden
==> ERROR: Failure while downloading http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.12.tar.gz
    Aborting...             
[rocketmouse@archlinux perl-cpanel-json-xs]$ diff /etc/makepkg.conf /etc/makepkg.conf.pacnew
44c44
< MAKEFLAGS="-j2"
---
> #MAKEFLAGS="-j2"
115d114
< PKGDEST=/var/cache/aur
122d120
< LOGDEST=/var/log/makepkglogs
125d122
< PACKAGER="Ralf Mardorf <ralf.mardorf@[snip]>"

Ordoban commented on 2019-06-12 11:18

@Ralf_Mardorf,

the URL is hardcoded. You can change it.

/usr/share/perl5/vendor_perl/CPANPLUS/Dist/Arch.pm Line 37 Line 1660 (remove 'CPAN')

Ralf_Mardorf commented on 2019-06-12 11:08

I installed perl-cpanplus-dist-arch and run setupdistarch. What else has to be done? I still need to replace the PKGBUILD's "http://search"-URL by the direct link.

Ordoban commented on 2019-06-12 09:54

@Ralf_Mardorf,

CPANPLUS::Dist::Arch 1.32 generates the source link. perl-cpanplus-dist-arch

Ralf_Mardorf commented on 2019-06-12 09:46

Which tool, using what config do maintainers use that "http://search"-URLs do work?

Why not using direct links?

source=('https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.12.tar.gz')

haawda commented on 2019-04-18 15:45

Instead of other me-too-posts: please file a bug report against the conflicting packages.

JoaoMachado commented on 2019-04-17 23:06

Same error here as ohjk & Pastafarianist.