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

Bug 948480

Summary: [guru] media-gfx/swayimg-3.7 fails to compile: thumbnail.c:381:5: error: implicit declaration of function pstore_reset [-Wimplicit-function-declaration]
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Mykyta Holubakha <hilobakho>
Status: RESOLVED FIXED    
Severity: normal CC: guru-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2025-01-21 07:41:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/swayimg-3.7 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2025-01-21 07:41:24 UTC
Created attachment 917196 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2025-01-21 07:41:24 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: swayimg.p/src_thumbnail.c.o 
Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake)
Run-time dependency libinotify found: NO (tried pkgconfig and cmake)
../swayimg-3.7/src/thumbnail.c:381:5: error: implicit declaration of function ‘pstore_reset’ [-Wimplicit-function-declaration]
Comment 3 Larry the Git Cow gentoo-dev 2025-01-27 09:57:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c5efe716a7f47cc30c8d8e03e197811c2c49f6be

commit c5efe716a7f47cc30c8d8e03e197811c2c49f6be
Author:     Takuya Wakazono <pastalian46@gmail.com>
AuthorDate: 2025-01-24 14:53:12 +0000
Commit:     Takuya Wakazono <pastalian46@gmail.com>
CommitDate: 2025-01-24 14:53:12 +0000

    media-gfx/swayimg: fix build wihout USE=png
    
    Closes: https://bugs.gentoo.org/948480
    Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>

 .../swayimg-3.7-fix-build-without-libpng.patch     | 25 ++++++++++++++++++++++
 media-gfx/swayimg/swayimg-3.7.ebuild               |  7 +++++-
 2 files changed, 31 insertions(+), 1 deletion(-)