Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 728508

Summary: app-text/foliate-2.2.1 fails test "Validate appstream file" with FEATURES=network-sandbox
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Andrey Grozin <grozin>
Status: RESOLVED FIXED    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-text:foliate-2.2.1:20200616-220510.log
testlog.txt

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(+)