Package Details: gimagereader-qt5 3.2.3-3

Git Clone URL: https://aur.archlinux.org/gimagereader-qt5.git (read-only)
Package Base: gimagereader-qt5
Description: A graphical frontend to tesseract-ocr - Qt5 version
Upstream URL: https://github.com/manisandro/gImageReader
Licenses: GPL3
Conflicts: gimagereader
Submitter: jesrui
Maintainer: jesrui
Last Packager: jesrui
Votes: 8
Popularity: 0.133740
First Submitted: 2016-12-24 17:21
Last Updated: 2018-02-25 19:59

Latest Comments

jesrui commented on 2018-03-13 22:00

@Jimi-James No idea what's going on. Here everything looks ok:

https://ptpb.pw/CuTh

gimagereader-qt5 starts fine. I installed enchant from the official package and compiled qtspell from AUR.

Jimi-James commented on 2018-03-13 21:20

I'm getting a similar errors, but I'm on the very newest versions of enchant (2.2.3-1) and qtspell (0.8.4-1). It seems to have issues with enchant for some reason. Here's the pastebin: https://pastebin.com/W7AVQ0cU

Also, the version I do still have installed (3.2.3-2) won't run. It says there is no such file as libenchant.so.2, because there isn't. I only have libenchant-2.so{,.2,.2.2.3}. Is the version of gimagereader-qt5 I have installed from before enchant renamed its library files, or is it looking for the wrong filename?

slav commented on 2018-02-26 00:17

OK I installed gimagereader without issues Thank you for support.

slav commented on 2018-02-25 22:40

@jesrul

tried: makepkg --cleanbuild --force --syncdeps --log

but unfortunately the same error: collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/gimagereader.dir/build.make:752: gimagereader-qt5] Error 1 make[1]: [CMakeFiles/Makefile2:133: CMakeFiles/gimagereader.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

jesrui commented on 2018-02-25 22:07

@slav: then you should be able to build gimagereader-qt5 now. Try a clean build:

makepkg --cleanbuild --force --syncdeps --log

In your previous log, enchant was not up-to-date: warning: libenchant.so.2, needed by .../lib/libqtspell-qt5.so, not found

Hope that helps.

slav commented on 2018-02-25 21:29

@jesrul

have already installed last available:

enchant-2.2.3-1 aur/qtspell 0.8.4-1

slav commented on 2018-02-25 21:28

@jesrul sorry for it

jesrui commented on 2018-02-25 21:08

I see. You have to install/upgrade enchant (as regular package, with pacman) and upgrade qtspell (from AUR) . Please do not post logs as comments, use some pastebin site.

slav commented on 2018-02-25 21:00

makepkg -s <br> ==> Making package: gimagereader-qt5 3.2.3-3 (Sun Feb 25 21:58:44 CET 2018) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading gimagereader-3.2.3.tar.xz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 615 0 615 0 0 1071 0 --:--:-- --:--:-- --:--:-- 1069 100 379k 100 379k 0 0 159k 0 0:00:02 0:00:02 --:--:-- 316k ==> Validating source files with sha256sums... gimagereader-3.2.3.tar.xz ... Passed ==> Extracting sources... -> Extracting gimagereader-3.2.3.tar.xz with bsdtar ==> Starting build()... -- GSettings schemas will be installed locally. -- GSettings shemas will be compiled. -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- qt5 interface will be built fatal: Not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). -- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'tesseract' -- Found tesseract, version 3.05.01 -- Checking for module 'sane-backends' -- Found sane-backends, version 1.0.27 -- Checking for module 'QtSpell-qt5>=0.8.0' -- Found QtSpell-qt5, version 0.8.4 -- Checking for module 'poppler-qt5' -- Found poppler-qt5, version 0.61.1 -- Configuring done -- Generating done -- Build files have been written to: /home/slaw/Downloads/gimagereader-qt5/src/gimagereader-3.2.3/build Scanning dependencies of target gettextizeui [ 1%] Generating ui_PdfExportDialog.h [ 2%] Generating ui_AboutDialog.h [ 4%] Generating ui_ConfigDialog.h [ 5%] Generating ui_CrashHandler.h [ 7%] Generating ui_MainWindow.h [ 8%] Generating ui_PageRangeDialog.h -- Gettextizing /home/slaw/Downloads/gimagereader-qt5/src/gimagereader-3.2.3/build/ui_AboutDialog.h -- Gettextizing /home/slaw/Downloads/gimagereader-qt5/src/gimagereader-3.2.3/build/ui_ConfigDialog.h -- Gettextizing /home/slaw/Downloads/gimagereader-qt5/src/gimagereader-3.2.3/build/ui_CrashHandler.h -- Gettextizing /home/slaw/Downloads/gimagereader-qt5/src/gimagereader-3.2.3/build/ui_MainWindow.h -- Gettextizing /home/slaw/Downloads/gimagereader-qt5/src/gimagereader-3.2.3/build/ui_PageRangeDialog.h -- Gettextizing /home/slaw/Downloads/gimagereader-qt5/src/gimagereader-3.2.3/build/ui_PdfExportDialog.h [ 8%] Built target gettextizeui Scanning dependencies of target gimagereader_autogen [ 9%] Automatic MOC for target gimagereader [ 9%] Built target gimagereader_autogen [ 11%] Generating qrc_gimagereader.cpp Scanning dependencies of target gimagereader [ 12%] Building CXX object CMakeFiles/gimagereader.dir/common/CCITTFax4Encoder.cc.o [ 14%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/Acquirer.cc.o [ 15%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/Config.cc.o [ 16%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/ConfigSettings.cc.o [ 18%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/CrashHandler.cc.o [ 19%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/DisplayRenderer.cc.o [ 21%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/Displayer.cc.o [ 22%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/DisplayerToolHOCR.cc.o [ 23%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/DisplayerToolSelect.cc.o [ 25%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/MainWindow.cc.o [ 26%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/OutputEditor.cc.o [ 28%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/OutputEditorHOCR.cc.o [ 29%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/OutputEditorText.cc.o [ 30%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/OutputTextEdit.cc.o [ 32%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/Recognizer.cc.o [ 33%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/Scanner.cc.o [ 35%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/SourceManager.cc.o [ 36%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/SubstitutionsManager.cc.o [ 38%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/TessdataManager.cc.o [ 39%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/Utils.cc.o [ 40%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/main.cc.o [ 42%] Building CXX object CMakeFiles/gimagereader.dir/qt/src/scanner/ScannerSane.cc.o [ 43%] Building CXX object CMakeFiles/gimagereader.dir/qrc_gimagereader.cpp.o [ 45%] Building CXX object CMakeFiles/gimagereader.dir/gimagereader_autogen/mocs_compilation.cpp.o [ 46%] Linking CXX executable gimagereader-qt5 /usr/bin/ld: warning: libenchant.so.2, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference to enchant_dict_suggest' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference toenchant_dict_check' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference to enchant_broker_free_dict' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference toenchant_broker_dict_exists' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference to enchant_broker_get_error' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference toenchant_set_prefix_dir' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference to enchant_dict_free_string_list' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference toenchant_broker_request_dict' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference to enchant_broker_init' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference toenchant_dict_describe' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference to enchant_dict_get_error' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference toenchant_dict_add' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference to enchant_dict_add_to_session' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference toenchant_broker_list_dicts' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libqtspell-qt5.so: undefined reference to `enchant_broker_free' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/gimagereader.dir/build.make:752: gimagereader-qt5] Error 1 make[1]: [CMakeFiles/Makefile2:133: CMakeFiles/gimagereader.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

jesrui commented on 2018-02-25 20:48

@slav: Did I forget some dependency? I need more context. Can you upload the complete build log somewhere? For example https://ptpb.pw/

All comments