Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647860 - app-text/dblatex-0.3.10: Error: 'insput' for SVG files
Summary: app-text/dblatex-0.3.10: Error: 'insput' for SVG files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zoltan Puskas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-16 15:08 UTC by Balint SZENTE
Modified: 2018-02-21 18:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Correct no-inkscape-dependency patch (dblatex-0.3.10-no-inkscape-dependency.patch,682 bytes, patch)
2018-02-16 15:08 UTC, Balint SZENTE
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Balint SZENTE 2018-02-16 15:08:08 UTC
Created attachment 519712 [details, diff]
Correct no-inkscape-dependency patch

Compiling DocBook files with SVG images results in error:

...
XSLT stylesheets DocBook - LaTeX 2e (0.3.10)
===================================================
Found svg for 'Overview'
INFO:dblatex:Found svg for 'Overview'
/tmp/tmpUHhAuB not removed
INFO:dblatex:/tmp/tmpUHhAuB not removed
Unexpected error occured
Error: 'insput'

The issue is with the incorrect `dblatex-0.3.10-no-inkscape-dependency.patch` file in portage tree:

1. `insput` instead of `input`
2. bogus \" escapes of output and input arguments

Please find attached the correct and working version of the patch and replace the incorrect one from Portage tree.
Comment 1 Jonas Stein gentoo-dev 2018-02-16 18:58:59 UTC
@zoltan please test carefully and ping someone quickly to merge it.
Comment 2 Zoltan Puskas 2018-02-19 07:22:44 UTC
Sorry about the typo. I've tested the attached patch and it's working correctly as claimed. Thanks for reporting the issue @Balint SZENTE!

I've put up a PR for it to be merged: https://github.com/gentoo/gentoo/pull/7225
Comment 3 Larry the Git Cow gentoo-dev 2018-02-21 18:21:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76f18b982f1926ba87875e4a644b54a829cde1ab

commit 76f18b982f1926ba87875e4a644b54a829cde1ab
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2018-02-19 07:10:40 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2018-02-21 18:21:01 +0000

    app-text/dblatex: fix typo in un-inkscape patch.
    
    Package-Manager: Portage-2.3.24, Repoman-2.3.6
    RepoMan-Options: --force
    Closes: https://bugs.gentoo.org/647860
    Closes: https://github.com/gentoo/gentoo/pull/7225

 .../{dblatex-0.3.10.ebuild => dblatex-0.3.10-r1.ebuild}    |  0
 .../files/dblatex-0.3.10-no-inkscape-dependency.patch      | 14 ++++++--------
 2 files changed, 6 insertions(+), 8 deletions(-)