qpdfview-0.4.16 build with USE=synctex fails with latest stable texlive-core-2019-r4 release: sources/documentview.cpp:953:30: error: variable 'synctex_scanner_t scanner' has initializer but incomplete type if(synctex_scanner_t scanner = synctex_scanner_new_with_output_file(m_fileInfo.absoluteFilePath().toLocal8Bit(), 0, 1)) ^~~~~~~ sources/documentview.cpp:960:36: error: variable 'synctex_node_t node' has initializer but incomplete type for(synctex_node_t node = synctex_next_result(scanner); node != 0; node = synctex_next_result(scanner)) ^~~~ sources/documentview.cpp:960:43: error: 'synctex_next_result' was not declared in this scope for(synctex_node_t node = synctex_next_result(scanner); node != 0; node = synctex_next_result(scanner)) ^~~~~~~~~~~~~~~~~~~ sources/documentview.cpp:960:43: note: suggested alternative: 'synctex_node_height' for(synctex_node_t node = synctex_next_result(scanner); node != 0; node = synctex_next_result(scanner)) ^~~~~~~~~~~~~~~~~~~ synctex_node_height make[1]: *** [Makefile.application:1045: objects/documentview.o] Error 1 The build fails because of API changes introduced in SyncTeX parser version 1.19. Reproducible: Always Steps to Reproduce: emerge qpdfview
Created attachment 591678 [details, diff] Fix build issue The attached patch (backport from qpdfview-0.4.18) fixes the build issue. Please add it to portage tree or add qpdfview-0.4.18 ebuild.
*** Bug 698702 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26911bd4218d98f7d7c9a7603c7dbc4f5ff3d8c1 commit 26911bd4218d98f7d7c9a7603c7dbc4f5ff3d8c1 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-12-25 20:44:59 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-12-25 20:46:20 +0000 app-text/qpdfview: 0.4.18 version bump Bug: https://bugs.gentoo.org/696112 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-text/qpdfview/Manifest | 1 + app-text/qpdfview/qpdfview-0.4.18.ebuild | 85 ++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+)
Please test with 0.4.18.
Fixed with qpdfview-0.4.18. Please stabilize. Thanks
x86 stable
amd64 stable. Closing.