Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696112 - app-text/qpdfview-0.4.16[synctex] build fails with app-text/texlive-core-2019-r4
Summary: app-text/qpdfview-0.4.16[synctex] build fails with app-text/texlive-core-2019-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH, STABLEREQ
: 698702 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-10-03 09:21 UTC by gentoolinux
Modified: 2020-01-20 11:51 UTC (History)
2 users (show)

See Also:
Package list:
app-text/qpdfview-0.4.18
Runtime testing required: ---
stable-bot: sanity-check+


Attachments
Fix build issue (synctex2.patch,4.07 KB, patch)
2019-10-03 09:23 UTC, gentoolinux
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gentoolinux 2019-10-03 09:21:12 UTC
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
Comment 1 gentoolinux 2019-10-03 09:23:18 UTC
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.
Comment 2 charles17 2019-10-28 01:27:02 UTC
*** Bug 698702 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2019-12-25 20:46:37 UTC
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(+)
Comment 4 Andreas Sturmlechner gentoo-dev 2019-12-25 20:55:49 UTC
Please test with 0.4.18.
Comment 5 gentoolinux 2020-01-02 14:45:53 UTC
Fixed with qpdfview-0.4.18. Please stabilize. Thanks
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2020-01-18 23:16:50 UTC
x86 stable
Comment 7 Agostino Sarubbo gentoo-dev 2020-01-20 11:51:31 UTC
amd64 stable. Closing.