CMake Warning at CMakeLists.txt:101 (message):
No test data found in $testdatadir.
You will not be able to run 'make test' successfully.
The test data is not included in the source packages
and is also not part of the main git repository. Instead,
you can checkout the test data from its own git
repository with:
git clone git://git.freedesktop.org/git/poppler/test
You should checkout the test data as a sibling of your
poppler source folder or specify the location of your
checkout with -DTESTDATADIR=/path/to/checkoutdir/test.
Building Poppler with support for:
font configuration: fontconfig
use boost (Splash): yes
cairo output: yes
qt5 wrapper: yes
qt6 wrapper: yes
glib wrapper: yes
introspection: yes
gtk-doc: no
cpp wrapper: yes
use libjpeg: yes
use libpng: yes
use libtiff: yes
use zlib uncompress: no
use nss3: yes
use gpg: yes
default signature backend: NSS
enable pgp signatures in gpg backend by default: no
use curl: yes
use libopenjpeg2: yes
use lcms2: yes
command line utils: yes
fuzz target: no
test data dir: /var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/../test
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
ENABLE_XPDF_HEADERS
In function ‘void sha384(unsigned char*, int, unsigned char*)’,
inlined from ‘void revision6Hash(const GooString*, unsigned char*, const char*)’ at /var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/poppler/Decrypt.cc:1829:19:
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/poppler/Decrypt.cc:1722:27: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’ forming offset [128, 175] is out of the bounds [0, 128] of object ‘blk’ with type ‘unsigned char [128]’ [-Warray-bounds=]
1722 | blk[blkLen++] = 0;
| ~~~~~~~~~~~~~~^~~
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/poppler/Decrypt.cc: In function ‘void revision6Hash(const GooString*, unsigned char*, const char*)’:
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/poppler/Decrypt.cc:1696:19: note: ‘blk’ declared here
1696 | unsigned char blk[128];
| ^~~
In function ‘void sha512(unsigned char*, int, unsigned char*)’,
inlined from ‘void revision6Hash(const GooString*, unsigned char*, const char*)’ at /var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/poppler/Decrypt.cc:1834:19:
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/poppler/Decrypt.cc:1648:27: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’ forming offset [128, 175] is out of the bounds [0, 128] of object ‘blk’ with type ‘unsigned char [128]’ [-Warray-bounds=]
1648 | blk[blkLen++] = 0;
| ~~~~~~~~~~~~~~^~~
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/poppler/Decrypt.cc: In function ‘void revision6Hash(const GooString*, unsigned char*, const char*)’:
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/poppler/Decrypt.cc:1623:19: note: ‘blk’ declared here
1623 | unsigned char blk[128];
| ^~~
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc: In constructor ‘Poppler::Annotation::Annotation(Poppler::AnnotationPrivate&, const QDomNode&)’:
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc:1116:54: warning: ‘static QDomElement Poppler::AnnotationUtils::findChildElement(const QDomNode&, const QString&)’ is deprecated [-Wdeprecated-declarations]
1116 | QDomElement e = AnnotationUtils::findChildElement(annNode, QStringLiteral("base"));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc:126:13: note: declared here
126 | QDomElement AnnotationUtils::findChildElement(const QDomNode &parentNode, const QString &name)
| ^~~~~~~~~~~~~~~
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc:1256:62: warning: ‘static Poppler::Annotation* Poppler::AnnotationUtils::createAnnotation(const QDomElement&)’ is deprecated [-Wdeprecated-declarations]
1256 | Annotation *reply = AnnotationUtils::createAnnotation(revElement);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc:79:13: note: declared here
79 | Annotation *AnnotationUtils::createAnnotation(const QDomElement &annElement)
| ^~~~~~~~~~~~~~~
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc: In member function ‘void Poppler::Annotation::storeBaseAnnotationProperties(QDomNode&, QDomDocument&) const’:
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc:1388:41: warning: ‘static void Poppler::AnnotationUtils::storeAnnotation(const Poppler::Annotation*, QDomElement&, QDomDocument&)’ is deprecated [-Wdeprecated-declarations]
1388 | AnnotationUtils::storeAnnotation(rev, r, document);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc:117:6: note: declared here
117 | void AnnotationUtils::storeAnnotation(const Annotation *ann, QDomElement &annElement, QDomDocument &document)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QLinkedList:1,
from /var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.h:38,
from /var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc:47:
In member function ‘void QLinkedList::freeData(QLinkedListData*) [with T = QPointF]’,
inlined from ‘QLinkedList::~QLinkedList() [with T = QPointF]’ at /usr/include/qt5/QtCore/qlinkedlist.h:301:17,
inlined from ‘QLinkedList::~QLinkedList() [with T = QPointF]’ at /usr/include/qt5/QtCore/qlinkedlist.h:298:8,
inlined from ‘QLinkedList Poppler::LineAnnotation::linePoints() const’ at /var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc:2603:1:
/usr/include/qt5/QtCore/qlinkedlist.h:372:5: warning: ‘void operator delete(void*, std::size_t)’ called on unallocated object ‘QLinkedListData::shared_null’ [-Wfree-nonheap-object]
372 | delete x;
| ^~~~~~~~
/usr/include/qt5/QtCore/qlinkedlist.h: In member function ‘QLinkedList Poppler::LineAnnotation::linePoints() const’:
/usr/include/qt5/QtCore/qlinkedlist.h:80:48: note: declared here
80 | Q_CORE_EXPORT static const QLinkedListData shared_null;
| ^~~~~~~~~~~
In member function ‘void QLinkedList::freeData(QLinkedListData*) [with T = QPointF]’,
inlined from ‘QLinkedList::~QLinkedList() [with T = QPointF]’ at /usr/include/qt5/QtCore/qlinkedlist.h:301:17,
inlined from ‘QLinkedList::~QLinkedList() [with T = QPointF]’ at /usr/include/qt5/QtCore/qlinkedlist.h:298:8,
inlined from ‘void QLinkedList::clear() [with T = QPointF]’ at /usr/include/qt5/QtCore/qlinkedlist.h:378:13,
inlined from ‘virtual std::shared_ptr Poppler::LineAnnotationPrivate::createNativeAnnot(Page*, Poppler::DocumentData*)’ at /var/pisi/poppler-26.02.0-20/work/poppler-26.02.0/qt5/src/poppler-annotation.cc:2420:21:
/usr/include/qt5/QtCore/qlinkedlist.h:372:5: warning: ‘void operator delete(void*, std::size_t)’ called on unallocated object ‘QLinkedListData::shared_null’ [-Wfree-nonheap-object]
372 | delete x;
| ^~~~~~~~
/usr/include/qt5/QtCore/qlinkedlist.h: In member function ‘virtual std::shared_ptr Poppler::LineAnnotationPrivate::createNativeAnnot(Page*, Poppler::DocumentData*)’:
/usr/include/qt5/QtCore/qlinkedlist.h:80:48: note: declared here
80 | Q_CORE_EXPORT static const QLinkedListData shared_null;
| ^~~~~~~~~~~