Package Details: rdrview-git 20210213.b887583-1

Git Clone URL: https://aur.archlinux.org/rdrview-git.git (read-only, click to copy)
Package Base: rdrview-git
Description: Command line tool to extract the main content from a webpage
Upstream URL: https://github.com/eafer/rdrview
Licenses: custom
Conflicts: rdrview
Provides: rdrview
Submitter: vesath
Maintainer: parkerlreed
Last Packager: parkerlreed
Votes: 2
Popularity: 0.000000
First Submitted: 2020-10-19 18:57 (UTC)
Last Updated: 2021-05-05 03:30 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

m040601 commented on 2025-05-12 21:46 (UTC) (edited on 2025-05-12 21:48 (UTC) by m040601)

https://github.com/eafer/rdrview/issues/45

The problem seems to be solved. There is a new release,

0.1.4   Latest  v0.1.4  2025-05-11T22:23:15Z
0.1.3       v0.1.3  2024-10-28T05:05:21Z
0.1.2       v0.1.2  2024-06-09T03:43:02Z

And this "rdrview-git" PKGBUILD seems to be building and working fine now,

pacman -Qi rdrview-git


Name            : rdrview-git
Version         : 20250511.d00bafb-1
URL             : https://github.com/eafer/rdrview
Provides        : rdrview
Depends On      : curl  libxml2  libseccomp
Conflicts With  : rdrview
Replaces        : None
Installed Size  : 68.23 KiB
Build Date      : Mon 12 May 2025 10:41:07 PM WEST
Install Date    : Mon 12 May 2025 10:41:43 PM WEST
Install Reason  : Explicitly installed



ldd /usr/bin/rdrview

    linux-vdso.so.1 (0x00007e2ced812000)
    libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007e2ced707000)
    libxml2.so.16 => /usr/lib/libxml2.so.16 (0x00007e2ced5c9000)
    libm.so.6 => /usr/lib/libm.so.6 (0x00007e2ced4d1000)
    libseccomp.so.2 => /usr/lib/libseccomp.so.2 (0x00007e2ced4b0000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007e2ced2c0000)
    libnghttp3.so.9 => /usr/lib/libnghttp3.so.9 (0x00007e2ced29c000)
    libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007e2ced272000)
    libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007e2ced250000)
    libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007e2ced205000)
    libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007e2ced1f1000)
    libssl.so.3 => /usr/lib/libssl.so.3 (0x00007e2ced10d000)
    libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007e2ceca00000)
    libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007e2ced0b8000)
    libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007e2cecfd3000)
    libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007e2cecfc4000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00007e2cecfab000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007e2cecf77000)
    libicuuc.so.76 => /usr/lib/libicuuc.so.76 (0x00007e2cec600000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007e2ced814000)
    libunistring.so.5 => /usr/lib/libunistring.so.5 (0x00007e2cec81d000)
    libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007e2cec53b000)
    libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007e2cec50e000)
    libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007e2cecf6f000)
    libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007e2cecf61000)
    libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007e2cec816000)
    libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007e2cec804000)
    libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007e2cec4eb000)
    libicudata.so.76 => /usr/lib/libicudata.so.76 (0x00007e2cea600000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007e2cea200000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007e2cec4be000)

m040601 commented on 2025-05-02 11:48 (UTC) (edited on 2025-05-02 17:29 (UTC) by m040601)

The tool "rdrview" stoped working as of 2025-05-02 .

$ rdrview 'https://en.wikipedia.org/wiki/World_wide_web'

rdrview: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

This PKGBUILD "rdrview-git" also doesnt build as of 2025-05-02 ,

src/rdrview.c: In function ‘save_node_to_file’:
src/rdrview.c:507:9: error: implicit declaration of function ‘xmlShellPrintNode’; did you mean ‘xmlChildrenNode’? [-Wimplicit-function-declaration]
  507 |         xmlShellPrintNode(node);
      |         ^~~~~~~~~~~~~~~~~
      |         xmlChildrenNode
make: *** [Makefile:38: src/rdrview.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: rdrview-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
rdrview-git - exit status 4

I am speculating here. Maybe it is related to the recent Archlinux official package "libxml2" update from 2.13 to 2.14 ???

yay -Si rdrview-git

Name                          : rdrview-git
Version                       : 20210213.b887583-1
Depends On                    : curl  libxml2  libseccomp
Conflicts With                : rdrview
Last Modified                 : Wed 05 May 2021 04:30:52 AM WEST
Maintainer                    : parkerlreed

I saw a lot of official Archlinux packages being rebuilt just because they depended "libxml2"

pacman -Si libxml2

Name            : libxml2
Version         : 2.14.2-2
Provides        : libxml2.so=16-64
Depends On      : bash  glibc  icu  readline  xz  zlib
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Sat 26 Apr 2025 11:57:54 PM WEST

pacman -Ql libxml2

....
libxml2 /usr/lib/libxml2.so
libxml2 /usr/lib/libxml2.so.16
libxml2 /usr/lib/libxml2.so.16.0.2
....

locate libxml2.so

/usr/lib/libxml2.so
/usr/lib/libxml2.so.16
/usr/lib/libxml2.so.16.0.2

So there is no "libxml2.so.2" in a recent "libmxl2". Notice the .2 at the end. Could it be somewhere else ?

pacman -F libxml2.so.2

extra/libxml2-legacy 2.13.8-1
    usr/lib/libxml2-legacy/lib/libxml2.so.2
    usr/lib/libxml2.so.2

Seems it moved into this "legacy" one ?

I opened an issue here, https://github.com/eafer/rdrview/issues/45

https://wiki.archlinux.org/title/System_maintenance#Be_careful_with_unofficial_packages

https://archlinux.org/packages/?name=rebuild-detector

$ checkrebuild -v

foreign rdrview-git
foreign sc-im

ldd /usr/bin/rdrview

        libxml2.so.2 => not found

ldd /usr/bin/sc-im

        libxml2.so.2 => not found

parkerlreed commented on 2021-05-05 03:31 (UTC)

Updated

m040601 commented on 2021-01-31 11:08 (UTC) (edited on 2021-01-31 11:10 (UTC) by m040601)

@parkerlreed, thanks for adopting this very usefull package.

As you can see in the github issues page, it also builds and runs fine on other architectures than x64. I myself run it on raspberry pi, arm.

So please update the PKGBUILD, change:

    arch=('x86_64')

to either 'any' or ('x86_64' 'aarch64' 'armv6h' 'armv7h')

parkerlreed commented on 2021-01-29 18:45 (UTC)

Adopted and updated. Patch was no longer required.

m040601 commented on 2020-12-20 05:59 (UTC) (edited on 2020-12-20 06:01 (UTC) by m040601)

latest git fails with:


    ==> Starting prepare()...
    patching file Makefile
    Hunk #1 FAILED at 5.
    Hunk #2 succeeded at 26 with fuzz 2 (offset 9 lines).
    Hunk #3 FAILED at 27.
    2 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
    ==> ERROR: A failure occurred in prepare().
    Aborting...
    error making: rdrview-git

parkerlreed commented on 2020-11-11 17:33 (UTC) (edited on 2020-11-11 17:34 (UTC) by parkerlreed)

Patch no longer applies

I think that's what they were pointing out.

vesath commented on 2020-10-24 00:14 (UTC)

Dear g2g. The PKGBUILD you give is the exact same as the current version here on the AUR except you did a rebuild which bumped the version number. Let me know if I missed anything. Cheers.

g2g commented on 2020-10-23 19:41 (UTC) (edited on 2020-10-23 19:42 (UTC) by g2g)

Hi Gaëtan, For working PKGBUILD,

Maintainer: Gaetan Bisson bisson@archlinux.org

pkgname=rdrview-git _pkgname=rdrview pkgver=20201020.cb87302 pkgrel=1 pkgdesc='Command line tool to extract the main content from a webpage' url='https://github.com/eafer/rdrview' license=('custom') arch=('x86_64') makedepends=('git') depends=('curl' 'libxml2' 'libseccomp') source=('git+https://github.com/eafer/rdrview.git') sha256sums=('SKIP')

provides=("${_pkgname}") conflicts=("${_pkgname}")

pkgver() { cd "${srcdir}/${_pkgname}" git log -1 --format='%cd.%h' --date=short | tr -d - }

build() { cd "${srcdir}/${_pkgname}" make }

package() { cd "${srcdir}/${_pkgname}" make PREFIX="${pkgdir}/usr" install }

Thanks, Laurent.