Package Details: mercury-parser 2.2.1-1

Git Clone URL: (read-only, click to copy)
Package Base: mercury-parser
Description: Extract meaningful content from the chaos of a web page (@postlight version)
Upstream URL:
Licenses: Apache
Submitter: imlonghao
Maintainer: imlonghao
Last Packager: imlonghao
Votes: 2
Popularity: 0.000024
First Submitted: 2021-01-08 16:15 (UTC)
Last Updated: 2021-09-15 15:08 (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)


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().
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)