Bug 501651
Summary: | Broken dependencies when trying to install texlive in dist-f12-build tag in koji | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mattias Ellert <mattias.ellert> |
Component: | texlive | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | rawhide | CC: | bnocera, jnovy, pertusus, pknirsch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-05-20 17:03:48 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mattias Ellert
2009-05-20 07:37:59 UTC
Hmmm, seems like the new poppler breaks texlive build a bit: http://koji.fedoraproject.org/koji/getfile?taskID=1365524&name=build.log Need to have a look what happened on poppler side to fix the poppler-dependent texlive utilities. Gathering some information from various sources - if you find it useful: Here is the poppler commit that makes the destructor for the GfxFont object protected: http://cgit.freedesktop.org/poppler/poppler/commit/?id=80f415176952635a485356cf36048eee53396c25 with the commit comment: "Make destructors private/protected since you are not supposed to use them" The koji compilation in comment #1 of texlive fails with: /usr/include/poppler/GfxFont.h: In function 'void writeEncodings()': /usr/include/poppler/GfxFont.h:230: error: 'virtual GfxFont::~GfxFont()' is protected pdftoepdf.cc:636: error: within this context So the texlive code uses the destructor anyway. Maybe the right thing to do is use the decRefCnt() method on the GfxFont object rather than deleting it. This guess (and it is nothing more than a guess from my side) is based on the change to the GfxFont.cc file in the same poppler commit above that made the destructor protected in GfxFont.h. That is to change the line that fails compilation from: delete r->font; to: r->font->decRefCnt(); Yup, you are right, it seems it fixes it. Actually the poppler commit itself suggests that :) Thanks for the link to poppler commit! |