Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728508 - app-text/foliate-2.2.1 fails test "Validate appstream file" with FEATURES=network-sandbox
Summary: app-text/foliate-2.2.1 fails test "Validate appstream file" with FEATURES=net...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-06-16 23:54 UTC by Jonathan Lovelace
Modified: 2023-05-14 11:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,7.30 KB, text/plain)
2020-06-16 23:54 UTC, Jonathan Lovelace
Details
app-text:foliate-2.2.1:20200616-220510.log (app-text:foliate-2.2.1:20200616-220510.log,4.65 KB, text/x-log)
2020-06-16 23:54 UTC, Jonathan Lovelace
Details
testlog.txt (testlog.txt,18.23 KB, text/plain)
2020-06-16 23:54 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2020-06-16 23:54:05 UTC
Created attachment 645014 [details]
emerge-info.txt

=app-text/foliate-2.2.1 fails its test phase, specifically the second test, "Validate appstream file", and the Meson testlog.txt file gives errors about failing to connect because it can't resolve the hostname of URLs for screenshots:

2/3 Validate appstream file FAIL           0.14s (exit status 1)

--- command ---
22:05:21 /usr/bin/appstream-util validate data/com.github.johnfactotum.Foliate.appdata.xml
--- stdout ---
data/com.github.johnfactotum.Foliate.appdata.xml: FAILED:
• url-not-found         : <screenshot> failed to connect: Cannot resolve hostname [https://raw.githubusercontent.com/johnfactotum/foliate/master/data/screenshots/view.png]
• url-not-found         : <screenshot> failed to connect: Cannot resolve hostname [https://raw.githubusercontent.com/johnfactotum/foliate/master/data/screenshots/dark.png]
• url-not-found         : <screenshot> failed to connect: Cannot resolve hostname [https://raw.githubusercontent.com/johnfactotum/foliate/master/data/screenshots/skeuomorphism.png]
• url-not-found         : <screenshot> failed to connect: Cannot resolve hostname [https://raw.githubusercontent.com/johnfactotum/foliate/master/data/screenshots/note.png]
• url-not-found         : <screenshot> failed to connect: Cannot resolve hostname [https://raw.githubusercontent.com/johnfactotum/foliate/master/data/screenshots/annotations.png]
• url-not-found         : <screenshot> failed to connect: Cannot resolve hostname [https://raw.githubusercontent.com/johnfactotum/foliate/master/data/screenshots/lookup.png]
--- stderr ---
Validation of files failed
-------
Comment 1 Jonathan Lovelace 2020-06-16 23:54:37 UTC
Created attachment 645016 [details]
app-text:foliate-2.2.1:20200616-220510.log
Comment 2 Jonathan Lovelace 2020-06-16 23:54:54 UTC
Created attachment 645018 [details]
testlog.txt
Comment 3 Larry the Git Cow gentoo-dev 2023-05-14 11:00:13 UTC
The bug has been closed via the following commit(s):

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

commit d0d3eaa0f05e4044f2b7075c5ef0fab419bdb5d0
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2023-05-14 10:59:38 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2023-05-14 10:59:38 +0000

    app-text/foliate: DEPEND on webkit-gtk:4.1
    
    disable automagick tests
    
    Closes: https://bugs.gentoo.org/893682
    Closes: https://bugs.gentoo.org/728508
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 app-text/foliate/files/foliate-validate.patch | 31 ++++++++++++++
 app-text/foliate/files/foliate-webkit.patch   | 13 ++++++
 app-text/foliate/foliate-2.6.4-r3.ebuild      | 59 +++++++++++++++++++++++++++
 3 files changed, 103 insertions(+)