Bug 1650906

Summary: synctex.pc has invalid prefix
Product: [Fedora] Fedora Reporter: Ting-Wei Lan <lantw44>
Component: texlive-baseAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-26 17:59:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ting-Wei Lan 2018-11-17 12:57:59 UTC
Description of problem:
synctex.pc references path on the build machine (/builddir/build/BUILD/texlive-base-20180414) which does not exist on systems installing this package.

Version-Release number of selected component (if applicable):
texlive-lib-devel-20180414-25.fc29.x86_64

How reproducible:
Always

Steps to Reproduce:
1. pkg-config --cflags synctex

Actual results:
-I/builddir/build/BUILD/texlive-base-20180414/source/inst/include/synctex

Expected results:
-I/usr/include/synctex

Additional info:
It causes Evince to fail to build in JHBuild:
gmake[3]: Entering directory '/home/lantw44/gnome/build/evince/libdocument'
  CC       libevdocument3_la-ev-annotation.lo
cc1: error: /builddir/build/BUILD/texlive-base-20180414/source/inst/include/synctex: No such file or directory [-Werror=missing-include-dirs]
cc1: some warnings being treated as errors
gmake[3]: *** [Makefile:856: libevdocument3_la-ev-annotation.lo] Error 1

Comment 1 Tom "spot" Callaway 2018-11-26 17:59:10 UTC

*** This bug has been marked as a duplicate of bug 1426622 ***