Package Details: postlight-parser 2.2.3-3

Git Clone URL: https://aur.archlinux.org/postlight-parser.git (read-only, click to copy)
Package Base: postlight-parser
Description: Extract meaningful content from the chaos of a web page (@postlight version)
Upstream URL: https://github.com/postlight/parser
Licenses: Apache-2.0
Conflicts: mercury-parser
Replaces: mercury-parser
Submitter: carsme
Maintainer: carsme
Last Packager: carsme
Votes: 2
Popularity: 0.118729
First Submitted: 2024-02-13 21:53 (UTC)
Last Updated: 2024-02-13 21:53 (UTC)

Latest Comments

imlonghao commented on 2022-01-23 13:21 (UTC)

Build work for me using extra-x86_64-build

Anton.Latukha commented on 2022-01-23 12:40 (UTC)

Oh, noticed that it does build inside of a service process. I am on Manjaro. Running the build without sudo privileges & make tooling request access when needed - builds the package properly.

Anton.Latukha commented on 2022-01-23 12:36 (UTC)

Getting:

Building mercury-parser...
Running as unit: run-u1593.service
Press ^] three times within 1s to disconnect TTY.
==> Making package: mercury-parser 2.2.1-1 (2022-01-23T14:31:31 EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading mercury-parser-2.2.1.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1547k  100 1547k    0     0  3708k      0 --:--:-- --:--:-- --:--:-- 3710k
==> Validating source files with b2sums...
    mercury-parser-2.2.1.tgz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Entering fakeroot environment...
==> Starting package()...
glob error [Error: EACCES: permission denied, scandir '/root/.npm/_logs'] {
  errno: -13,
  code: 'EACCES',
  syscall: 'scandir',
  path: '/root/.npm/_logs'
}
npm WARN logfile Error: EACCES: permission denied, scandir '/root/.npm/_logs'
npm WARN logfile  error cleaning log files [Error: EACCES: permission denied, scandir '/root/.npm/_logs'] {
npm WARN logfile   errno: -13,
npm WARN logfile   code: 'EACCES',
npm WARN logfile   syscall: 'scandir',
npm WARN logfile   path: '/root/.npm/_logs'
npm WARN logfile }
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /root/.npm/_cacache/tmp
npm ERR! errno -13
npm ERR! 
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR! 
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 0:0 "/root/.npm"

npm ERR! A complete log of this run can be found in:
==> ERROR: A failure occurred in package().
    Aborting...
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 2.764s
CPU time consumed: 2.654s

Log reports on /root/.npm/_logs permission rights, thou, /root/.npm is not present at all:

> sudo chown -R 0:0 "/root/.npm"                         (1)
chown: cannot access '/root/.npm': No such file or directory
> node --version                                         (1)
v17.3.0