Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706790 - sci-visualization/gwyddion-2.55-r1 installs bad mime data (malformed xml)
Summary: sci-visualization/gwyddion-2.55-r1 installs bad mime data (malformed xml)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-27 23:51 UTC by Andreas K. Hüttel
Modified: 2020-03-09 08:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2020-01-27 23:51:10 UTC
* Updating shared mime info database ...
/usr/share/mime/packages/gwyddion.xml:58: parser error : Unescaped '<' not allowed in attributes values
      <match type="string" offset="40:120" value="<ProfilometerData>">
                                                  ^
/usr/share/mime/packages/gwyddion.xml:58: parser error : attributes construct error
      <match type="string" offset="40:120" value="<ProfilometerData>">
                                                  ^
/usr/share/mime/packages/gwyddion.xml:58: parser error : Couldn't find end of Start Tag match line 58
      <match type="string" offset="40:120" value="<ProfilometerData>">
                                                  ^
/usr/share/mime/packages/gwyddion.xml:59: parser error : Unescaped '<' not allowed in attributes values
         <match type="string" offset="60:140" value="<Header>"/>
                                                     ^
/usr/share/mime/packages/gwyddion.xml:59: parser error : attributes construct error
         <match type="string" offset="60:140" value="<Header>"/>
                                                     ^
/usr/share/mime/packages/gwyddion.xml:59: parser error : Couldn't find end of Start Tag match line 59
         <match type="string" offset="60:140" value="<Header>"/>
                                                     ^
/usr/share/mime/packages/gwyddion.xml:60: parser error : Opening and ending tag mismatch: Header line 59 and match
      </match>
              ^
/usr/share/mime/packages/gwyddion.xml:61: parser error : Opening and ending tag mismatch: ProfilometerData line 58 and match
    </match>
            ^
/usr/share/mime/packages/gwyddion.xml:62: parser error : Opening and ending tag mismatch: match line 57 and magic
  </magic>
          ^
/usr/share/mime/packages/gwyddion.xml:63: parser error : Opening and ending tag mismatch: magic line 56 and mime-type
</mime-type>
            ^
/usr/share/mime/packages/gwyddion.xml:1197: parser error : Opening and ending tag mismatch: mime-type line 54 and mime-info
</mime-info>
            ^
/usr/share/mime/packages/gwyddion.xml:1198: parser error : Premature end of data in tag mime-info line 2

^
Failed to parse '/usr/share/mime/packages/gwyddion.xml'                                                                                                    [ ok ]
Comment 1 Larry the Git Cow gentoo-dev 2020-01-28 00:09:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=474366dad65b7205550ebdaccbecc231a639f638

commit 474366dad65b7205550ebdaccbecc231a639f638
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2020-01-28 00:07:46 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2020-01-28 00:08:40 +0000

    sci-visualization/gwyddion: Fix generated mime data
    
    Patch backported from upstream trunk
    
    Closes: https://bugs.gentoo.org/706790
    Package-Manager: Portage-2.3.85, Repoman-2.3.20
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sci-visualization/gwyddion/files/gwyddion-2.55-mime.patch | 15 +++++++++++++++
 .../{gwyddion-2.55-r1.ebuild => gwyddion-2.55-r2.ebuild}  |  1 +
 2 files changed, 16 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2020-03-09 08:45:12 UTC
The bug has been closed via the following commit(s):

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

commit d31f43e4f2935e8cca08ca8f1205a4ec21575eeb
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2020-03-09 08:32:26 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2020-03-09 08:41:26 +0000

    sci-visualization/gwyddion: Really fix bug 706790 and bug 710664 now
    
    Last fix didn't work properly in all cases, so also patch
    generated xml file ...
    
    Closes: https://bugs.gentoo.org/706790
    Closes: https://bugs.gentoo.org/710664
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 sci-visualization/gwyddion/files/gwyddion-2.55-xml.patch  | 15 +++++++++++++++
 .../{gwyddion-2.55-r2.ebuild => gwyddion-2.55-r4.ebuild}  |  1 +
 2 files changed, 16 insertions(+)