trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2020

Re: [trinity-devel] FreeBSD: poppler ... again

From: Slávek Banko <slavek.banko@...>
Date: Mon, 13 Apr 2020 20:44:42 +0200
On Monday 13 of April 2020 20:29:40 Dr. Nikolaus Klepp wrote:
> Hi all!
>
> Just tried to recompile TDE from tde-packaging on Freebsd after
> upgrading to latest version. This is where compilation fails:
>
> [37/1408] Building CXX object
> tdefile-plugins/dependencies/...ler-tqt/CMakeFiles/poppler-tqt-shared.di
>r/poppler-link.cc.o FAILED:
> tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.d
>ir/poppler-link.cc.o /usr/bin/c++  -DHAVE_CONFIG_H
> -Dpoppler_tqt_shared_EXPORTS -Itdefile-plugins/dependencies/poppler-tqt
> -I. -I/opt/trinity/include -I/usr/local/include/tqt3
> -I/usr/local/include/tqt -I../tdefile-plugins/dependencies/poppler-tqt
> -I/usr/local/include/poppler -I/usr/local/include -DNDEBUG 
> -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/local/include/tqt3 -I/usr/local/include/tqt -include tqt.h
> -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
> -DNDEBUG -fPIC -MD -MT
> tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.d
>ir/poppler-link.cc.o -MF
> tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.d
>ir/poppler-link.cc.o.d -o
> tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.d
>ir/poppler-link.cc.o -c
> ../tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
> ../tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc:38:9: error:
> assigning to 'const LinkDest *' from incompatible type
> 'std::unique_ptr<LinkDest>' ld = data.doc->doc.findDest( data.namedDest
> ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
>
>
> Nik

Hi Nik,

this is a known issue that is already resolved in the current versions 
(master and also r14.0.x) - see the "beloved" constant API changes in the 
poppler library. This time API change in poppler 0.86 - see patch

https://mirror.git.trinitydesktop.org/cgit/tdegraphics/commit/?id=1c13ba28d7

However, the FreeBSD ports are not yet updated, because right now is 
underway building packages for final R14.0.8. Please wait a while before 
the FreeBSD ports will be updated.

Cheers
-- 
Sl�vek

Attachments: