[Bug 1862902] Review Request: R-tesseract - Open Source OCR Engine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1862902

José Matos <jamatos@xxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamatos@xxxxxxxx
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |jamatos@xxxxxxxx
           Doc Type|---                         |If docs needed, set a value
              Flags|                            |fedora-review?



--- Comment #1 from José Matos <jamatos@xxxxxxxx> ---
There is an error in the spec file.

Instead of
BuildRequires:    R-Rcpp >= 0.12.12

you should BR the -devel subpackage or else the compilation fails with:
rm -f tesseract.so RcppExports.o tesseract.o
g++ -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I/usr/include/leptonica 
-I'/usr/lib64/R/library/Rcpp/include' -I/usr/local/include  -fvisibility=hidden
-fpic  -O2 -flto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -c
RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
tesseract_types.h:7:10: fatal error: Rcpp.h: No such file or directory
    7 | #include <Rcpp.h>
      |          ^~~~~~~~
compilation terminated.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux