Package Details: epsonscan2 6.7.63.0-3

Git Clone URL: https://aur.archlinux.org/epsonscan2.git (read-only, click to copy)
Package Base: epsonscan2
Description: Epson scanner management utility
Upstream URL: http://support.epson.net/linux/en/epsonscan2.php
Licenses: GPL-3.0-or-later
Submitter: tecnotercio
Maintainer: tecnotercio
Last Packager: tecnotercio
Votes: 10
Popularity: 0.28
First Submitted: 2020-11-20 05:34 (UTC)
Last Updated: 2024-06-01 04:54 (UTC)

Pinned Comments

tecnotercio commented on 2022-09-05 03:32 (UTC)

If you have a problem with Epson Scan 2, check if you need to install another backend for your scanner. More information on the Arch Linux wiki:

https://wiki.archlinux.org/title/SANE/Scanner-specific_problems#Epson

Latest Comments

1 2 3 4 Next › Last »

jadespace commented on 2024-05-30 00:35 (UTC)

I just ran into the same issue. I think @tecnotercio's change for the inclusion of an outdated zlib didn't add back in links to the system HaruPDF after deleting links to the included one. So, I took out the part of the PKGBUILD that deletes HaruPDF from one of the CMake files, recompiled it, installed it, and got my scanner to save just fine. It seems to be compatible with the system zlib.

This might be a reasonable hotfix for anyone that needs it, but I have a hunch that this didn't actually link the system's HaruPDF instead of the included version.

rid3rius commented on 2024-05-26 13:04 (UTC) (edited on 2024-05-26 14:22 (UTC) by rid3rius)

I'm getting an error when scanning to pdf. epsonscan2: symbol lookup error: /usr/lib/epsonscan2/libepsonscan2.so: undefined symbol: HPDF_New

UPD: I have libharu installed, but epsonscan2 is not linked to it.

 > ldd /usr/bin/epsonscan2
        linux-vdso.so.1 (0x0000724400176000)
        libcommonutility.so => /usr/lib/epsonscan2/libcommonutility.so (0x00007243fff57000)
        libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007243ff800000)
        libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007243ff000000)
        libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007243fea00000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007243fe600000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007243ff715000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007243ffeea000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007243fe414000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007243ff68f000)
        libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007243ffeb0000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007243fefe7000)
        libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007243fe8e6000)
        libmd4c.so.0 => /usr/lib/libmd4c.so.0 (0x00007243fefd1000)
        libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007243fe326000)
        libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3 (0x00007243fefbb000)
        libicui18n.so.75 => /usr/lib/libicui18n.so.75 (0x00007243fde00000)
        libicuuc.so.75 => /usr/lib/libicuuc.so.75 (0x00007243fdc06000)
        libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x00007243fe294000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007243fe1b5000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007243fdab8000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x0000724400178000)
        libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007243fda00000)
        libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007243fef89000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007243fd932000)
        libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007243fef66000)
        libcap.so.2 => /usr/lib/libcap.so.2 (0x00007243ffe9e000)
        libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007243fd7e9000)
        liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007243fef41000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007243fe8b3000)
        libicudata.so.75 => /usr/lib/libicudata.so.75 (0x00007243fba00000)
        libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007243fb962000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007243fb824000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007243fe8a0000)
        libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007243ff680000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007243fe18f000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007243fd7be000)
        libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007243fd79b000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007243fe89b000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007243fe893000)

tecnotercio commented on 2024-05-17 03:30 (UTC)

@Xyphon and @torben: I've changed the PKGBUILD so that the HaruPDF and ZLIB libraries don't compile together with Epson Scan 2.

@jazzi: I've included armv7h architecture in the package.

jazzi commented on 2024-05-12 12:19 (UTC)

epsonscan2 is not available for the 'armv7h' architecture

On the Epson download page there is also ARM Raspbian package available, is there a way to support armv7h?

torben commented on 2024-05-11 10:33 (UTC)

I can confirm Xyphon's observations. Apparently, epsonscan2 comes with a prebundled, outdated version of zlib, which does not compile on arch anymore:

[ 53%] Building C object src/Controller/CMakeFiles/epsonscan2.dir/__/__/thirdparty/zlib/adler32.c.o
[ 53%] Building C object src/Controller/CMakeFiles/epsonscan2.dir/__/__/thirdparty/zlib/crc32.c.o
[ 53%] Building C object src/Controller/CMakeFiles/epsonscan2.dir/__/__/thirdparty/zlib/gzclose.c.o
[ 54%] Building C object src/Controller/CMakeFiles/epsonscan2.dir/__/__/thirdparty/zlib/gzread.c.o
/tmp/epsonscan2-5669721830453658947/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c: In Funktion »gz_load«:
/tmp/epsonscan2-5669721830453658947/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c:35:15: Fehler: Implizite Deklaration der Funktion »read«; meinten Sie »fread«? [-Wimplicit-function-declaration]
   35 |         ret = read(state->fd, buf + *have, get);
      |               ^~~~
      |               fread
/tmp/epsonscan2-5669721830453658947/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c: In Funktion »gzclose_r«:
/tmp/epsonscan2-5669721830453658947/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c:651:11: Fehler: Implizite Deklaration der Funktion »close«; meinten Sie »pclose«? [-Wimplicit-function-declaration]
  651 |     ret = close(state->fd);
      |           ^~~~~
      |           pclose
make[2]: *** [src/Controller/CMakeFiles/epsonscan2.dir/build.make:1812: src/Controller/CMakeFiles/epsonscan2.dir/__/__/thirdparty/zlib/gzread.c.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:321: src/Controller/CMakeFiles/epsonscan2.dir/all] Fehler 2
make: *** [Makefile:136: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

(Sorry for the German, but it should explain itself)

Xyphon commented on 2024-05-08 21:12 (UTC)

getting the following errors when installing from the AUR:

/home/xyphon/.cache/yay/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c: In function ‘gz_load’: /home/xyphon/.cache/yay/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c:35:15: error: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] 35 | ret = read(state->fd, buf + *have, get); | ^~ | fread /home/xyphon/.cache/yay/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c: In function ‘gzclose_r’: /home/xyphon/.cache/yay/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c:651:11: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] 651 | ret = close(state->fd); | ^~~ | pclose

PortableAlgebra commented on 2023-10-05 22:37 (UTC) (edited on 2023-10-05 22:38 (UTC) by PortableAlgebra)

No luck using this with an Epson Perfection V600 Photo. The app won't launch even though it initially detects the scanner. Installing all the backends (separately and then together) didn't make a difference.

I did have some luck with using "Image Scan! for Linux" from AUR though. It's not as good as Epson's app, but it's much better than nothing. Specifically I installed the following packages:

iscan 2.30.4.2-3

iscan-data 1.39.2.1-1

iscan-plugin-gt-x820 2.2.1-2

nmset commented on 2023-09-17 09:51 (UTC)

Just one note.

The package requires gcc to build, it fails with clang 16.0.6.

AchmadFathoni commented on 2023-06-15 02:17 (UTC) (edited on 2023-06-15 03:01 (UTC) by AchmadFathoni)

Few months ago everything working fine. But now epsoscan2 can't detect my L350 from USB.

I tried using imagescan. After tweaking utsushi.conf, I can finally scan my document.

I think I will use simple-scan because it doesn't need any configuration.

kleini commented on 2023-02-05 08:40 (UTC)

Version 6.7.0.0 crashes lately for me. I changed locally the PKGBUILD file to version 6.7.42.0, updated SHAs and the new version does not crash for me.