Package Details: yacreader 9.8.2-1

Git Clone URL: https://aur.archlinux.org/yacreader.git (read-only, click to copy)
Package Base: yacreader
Description: Comic reader for cross-platform reading and managing your digital comic collection.
Upstream URL: http://www.yacreader.com
Keywords: cbr cbz comic pdf reader
Licenses: GPL3
Conflicts: yacreader-bin, yacreader-git, yacreaderlibraryserver-standalone
Submitter: selmf
Maintainer: selmf
Last Packager: selmf
Votes: 39
Popularity: 0.004701
First Submitted: 2014-07-06 15:35 (UTC)
Last Updated: 2021-06-20 07:38 (UTC)

Pinned Comments

selmf commented on 2021-05-24 11:17 (UTC)

Important: If you are having troubles compiling or launching YACReader and libicuuc is part of the error message, you need to rebuild libpdfium!

Latest Comments

toshatumanov commented on 2021-12-24 11:59 (UTC)

Can't rebuild. Its windows!!!

toshatumanov commented on 2021-12-23 07:58 (UTC)

Very old Very stupid dependencies

YACReader: error while loading shared libraries: libicuuc.so.69: cannot open shared object file: No such file or directory

zxcv commented on 2021-05-29 13:32 (UTC) (edited on 2021-06-19 13:49 (UTC) by zxcv)

There seem to be some problem with linking:

linking YACReader
/usr/bin/ld: /usr/lib/libQt5Core.so: undefined reference to `std::__exception_ptr::exception_ptr::_M_release()@CXXABI_1.3.13'
/usr/bin/ld: /usr/lib/libQt5Widgets.so: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
/usr/bin/ld: /usr/lib/libQt5Core.so: undefined reference to `std::__exception_ptr::exception_ptr::_M_addref()@CXXABI_1.3.13'
collect2: error: ld returned 1 exit status

The workaround I found was to rebuild qt5-base and qt5-declarative (get pkgfile using asp and build locally). It seems those two packages have not been rebuild with newer gcc yet.

txtsd commented on 2021-05-24 15:01 (UTC)

You're right. It worked.

selmf commented on 2021-05-24 11:17 (UTC)

Important: If you are having troubles compiling or launching YACReader and libicuuc is part of the error message, you need to rebuild libpdfium!

txtsd commented on 2021-05-24 06:10 (UTC)

linking YACReaderLibraryServer
/usr/bin/ld: warning: libicuuc.so.68, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference to `u_isspace_68'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference to `u_isalnum_68'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference to `u_isalpha_68'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference to `u_tolower_68'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference to `u_toupper_68'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:724: YACReaderLibraryServer] Error 1
make[1]: Leaving directory '/home/txtsd/.cache/yay/yacreader/src/yacreader-9.8.0.2105165/YACReaderLibraryServer'
make: *** [Makefile:99: sub-YACReaderLibraryServer-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: yacreader

rodneyck commented on 2021-05-19 14:23 (UTC) (edited on 2021-05-21 13:56 (UTC) by rodneyck)

With the latest update, I am getting the following error message;

Required dependency libpdfium was not found in AUR nor in the repositories. It might be a package database synchronization problem. Operation cancelled.

Edit to add: I installed libpdfium-nojs, but it still was looking for 'libpdfium'.

wallace11 commented on 2021-05-17 13:35 (UTC)

Missing dependency: qt5-svg

selmf commented on 2020-01-12 08:35 (UTC)

@jamesburg your libpdfium-nojs package is built against an older version of the icu package. Rebuild it and it should work again.

jamesburg commented on 2020-01-12 04:43 (UTC) (edited on 2020-01-12 04:47 (UTC) by jamesburg)

I'm getting these errors when I try to build and install:

/usr/bin/ld: warning: libicuuc.so.64, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so, not found (try using -rpath or -rpath-link)

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so: undefined reference to `u_isalnum_64'

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so: undefined reference to `u_isalpha_64'

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so: undefined reference to `u_isspace_64'

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so: undefined reference to `u_tolower_64'

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libpdfium.so: undefined reference to `u_toupper_64'

collect2: error: ld returned 1 exit status

commented on 2020-01-11 06:16 (UTC)

Thank you very much!

archont commented on 2019-10-04 13:06 (UTC)

Download, build, install: everything working fine. Thank you very much!

selmf commented on 2019-10-04 11:58 (UTC)

Sorry for the broken upload. YACReader switched to using CI and the "extension" is a build stamp. Having this popping up in a stable source tarball and contaminating paths isn't exactly optimal, so there probably is room for improvement and I think the next versions will use a scheme that is more compatible with packaging and semantic version. For now I have implemented a solution close to @saturn_knights suggestion (thanks!). Let me know if this still gives you trouble.

saturn_knight commented on 2019-10-04 09:15 (UTC)

Yes, the version numbering has changed and the generated URL is no longer valid. The 1909283 extension is not part of the folder path, so it will need to be moved to another variable. e.g.

pkgver=9.6.2
_pkgext=1909283
source=( "https://github.com/YACReader/yacreader/releases/download/${pkgver}/yacreader-${pkgver}.${_pkgext}-src.tar.xz")

archont commented on 2019-10-04 08:53 (UTC)

Github adress seems to be invalid

dramm commented on 2019-09-11 13:59 (UTC)

Ok, I will keep using libpdfium-nojs then, thanks again!

selmf commented on 2019-09-11 05:04 (UTC)

libpdfium-nojs provides libpdfium, libpdfium-bin is outdated to the point that it is dangerous (pdf is a very popular attack vector) and uses a different install directory structure, so it is incompatible. A libpdfium package never existed. I intended to create one at a point, but for YACReader it is pointless. We use pdfium to render comic pages somewhat faster than poppler, so we have no use for javascript in the pdf library anyways and not having it is one security risk less.

dramm commented on 2019-09-10 19:15 (UTC)

Yeah, it was my system. I'm compiling it right now. Thanks!

PS: libpdfium is no longer a package, maybe switch to libpdfium-nojs or libpdfium-bin?

dramm commented on 2019-08-18 17:22 (UTC)

Thanks for the fast reply!

Same result though. It may be my system... a bunch of my /var/lib/pacman/local/package_name went missing, I had to touch and force reinstall.

selmf commented on 2019-08-18 17:09 (UTC)

It works on my system but it is possible that there is a problem with the way I'm applying qml_error.patch. Can you try commenting out the patch command in the prepare() function in the PKGBUILD and see if that helps?

dramm commented on 2019-08-18 16:46 (UTC)

Is everything ok with this last version?

I'm getting some weird characters and compiling it and my computer starts beeping.

wallace11 commented on 2019-02-24 04:40 (UTC)

qt5-graphicaleffects is an optional dependency for YACReaderLibrary that is used for the extra view options. Otherwise you get a blank screen with the following error (in the log):

(qrc:/qml/GridComicsView.qml:6:1: module "QtGraphicalEffects" is not installed)

Nefas commented on 2019-01-11 11:15 (UTC)

Installing libpdfium-nojs fixed the issue. Due to some (past) issues when building libpdfium-nojs I had installed libpdfium-bin. Apparently, libpdfium-bin install fpdfview.h in /usr/include/pdfium/public/fpdfview.h (while libpdfium-nojs install it at /usr/include/pdfium/fpdfview.h).

selmf commented on 2019-01-08 09:12 (UTC)

I can't reproduce that error. In any case, the missing header should have been installed as a part of the libpdfium-nojs package, which is a dependency. You might want to check /usr/include/pdfium. The header should be there. If not, try rebuilding libpdfium-nojs.

Nefas commented on 2019-01-07 12:01 (UTC)

It seems that a header is missing to compile the package:

In file included from ../common/comic.h:12,
                 from ../common/pdf_comic.cpp:1:
../common/pdf_comic.h:27:10: fatal error: fpdfview.h: No such file or directory
 #include <fpdfview.h>
          ^~~~~~~~~~~~
compilation terminated.

selmf commented on 2018-07-07 15:40 (UTC)

alexanderp: libpdfium is provided by the libpdfium-nojs package

alexanderp commented on 2018-07-07 14:38 (UTC)

!! While searching for solutions the following errors occurred:
:: Not provided: libpdfium but needed by yacreader-9.5.0-1

selmf commented on 2018-04-15 15:32 (UTC)

7z support had to be dropped when YACReader switched to libunarr as decompression backend. You can still build with 7zip as decompression backend, but this requires p7zip 9.20.1 (newer versions are incompatible) and the whole build process as such is quite hackish.

lord_rel commented on 2018-04-15 12:02 (UTC)

Please enable 7zip support

selmf commented on 2018-02-20 07:44 (UTC)

Check the build dependencies for non-standard (AUR) packages too. There's a few more things you can try, but we better discuss this in the libpdfium-nojs comments.

keren_sky commented on 2018-02-19 23:31 (UTC)

Thanks, will try the poppler-qt5. Since no-one else is reporting issues WRT libpdfium, I'm inclined to think the problem is @ my end. Will parse makepkg.conf for starters. cheers.

selmf commented on 2018-02-18 19:22 (UTC)

you can switch back to poppler-qt5 by removing CONFIG+=pdfium and replacing libpdfium with poppler-qt5 in the deps.

Did you try rebuilding libpdfium with a newer gn-bin as I suggested?

keren_sky commented on 2018-02-18 19:12 (UTC)

Does this compile correctly if libpdfium is commented out of the PKGBUILD? Can't build the libpdfium-nojs dependency ATM. It stops with the following:

Segmentation fault gn gen out/Release --script-executable=/usr/bin/python2 --args="${_flags[*]}" ==> ERROR: A failure occurred in build()

Thanks.

selmf commented on 2018-02-18 16:54 (UTC) (edited on 2018-02-18 17:08 (UTC) by selmf)

Probably a problem with ldconfig. What does ldconfig -p | grep libpdfium.so give you?

I will release an updated version of the libpdfium-nojs package shortly.

Edit: It's done.

icejack1 commented on 2018-02-18 16:36 (UTC) (edited on 2018-02-18 17:45 (UTC) by icejack1)

Amazing app but does not work after the latest upgrade.

YACReaderLibrary: error while loading shared libraries: libpdfium.so: cannot open shared object file: No such file or directory

Please help!

Note: The libpdfium-nojs package is installed

Edit: Works now!!!

selmf commented on 2016-02-01 08:45 (UTC)

Fixed for pacman 5. Also added a patch that should take care of the lockup issue some users were experiencing.

Alad commented on 2016-01-30 05:38 (UTC)

pkgdesc shouldn't be an array with pacman 5

selmf commented on 2015-10-29 16:54 (UTC)

Sorry, no idea. If you have problems unrelated to packaging you should file a bug report upstream.

Lowe commented on 2015-10-27 20:36 (UTC)

Any idea why on occasion this locks up (becomes unresponsive) on first run and then afterwards it's totally fine?

selmf commented on 2014-10-02 00:55 (UTC)

It's no longer necessary to deactivate the server mode when using an OpenVPN connection, the bug has been fixed.

zwastik commented on 2014-08-17 05:19 (UTC)

Problem solved, I had installed libxkbcommon-git from the aur. Installing the official one makes yacreader run fine.

zwastik commented on 2014-08-15 19:29 (UTC)

reported bug upstream: https://bitbucket.org/luisangelsm/yacreader/issue/21/yacreader-segfault

zwastik commented on 2014-08-14 00:18 (UTC)

I get segmentation fault and I don't have openvpn. strace: access("/usr/share/X11/xkb", R_OK|X_OK) = 0 stat("/home/idr/.xkb", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} --- +++ killed by SIGSEGV +++ Violación de segmento (gdb) run Starting program: /usr/bin/YACReader Got object file from memory but can't read symbols: File truncated. warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffe8550700 (LWP 14937)] Program received signal SIGSEGV, Segmentation fault. 0x00007fffe904ef28 in ?? () from /usr/lib/libxkbcommon-x11.so.0

selmf commented on 2014-07-12 19:50 (UTC)

You're right. The built-in server mode seems to responsible. As a workaround, open ~/.local/share/YACReader/YACReaderLibrary/YACReaderLibrary.ini and add the following line: SERVER_ON=0 This will disable the built-in server and you should be able to start YACReaderLibrary. I will file a bug upstream.

mfucci commented on 2014-07-12 17:57 (UTC)

Kinda strange but it seems that YACReaderLibrary exits with a segmentation fault when there is an active OpenVPN connection.