Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 781113 - [guru] media-libs/libbpg-0.9.8 fails to compile
Summary: [guru] media-libs/libbpg-0.9.8 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michele Santullo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-08 13:51 UTC by Agostino Sarubbo
Modified: 2021-05-02 09:27 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,32.37 KB, text/plain)
2021-04-08 13:51 UTC, Agostino Sarubbo
Details
1-CMakeError.log (1-CMakeError.log,362 bytes, text/plain)
2021-04-08 13:51 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,70.18 KB, text/plain)
2021-04-08 13:52 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-08 13:51:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/libbpg-0.9.8 fails to compile.
Discovered on: amd64 (internal ref: guru_tinderbox)
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-08 13:51:57 UTC
Created attachment 698562 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-08 13:51:58 UTC
Created attachment 698565 [details]
1-CMakeError.log

1-CMakeError.log
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-08 13:52:00 UTC
Created attachment 698568 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 4 Agostino Sarubbo gentoo-dev 2021-04-08 13:52:01 UTC
Possible context of error(s):

-- Could NOT find NUMA (missing: NUMA_ROOT_DIR NUMA_INCLUDE_DIR NUMA_LIBRARY) 
-- Could NOT find yasm (missing: YASM_EXECUTABLE)
Comment 5 Michele Santullo 2021-04-12 08:26:02 UTC
I have it emerged on my own system and it built fine. Is it just missing dependencies? Should I add those 2?
Comment 6 Nowa Ammerlaan gentoo-dev 2021-04-12 08:28:48 UTC
(In reply to Michele Santullo from comment #5)
> I have it emerged on my own system and it built fine. Is it just missing
> dependencies? Should I add those 2?

Probably that will fix the issue yes (but be sure to test it after making the change, just to be sure :D )
Comment 7 Agostino Sarubbo gentoo-dev 2021-04-22 17:02:16 UTC
Changing the Assignee as per https://archives.gentoo.org/gentoo-dev/message/74ee632e9fe2f4c12890524fec132205
Comment 8 Larry the Git Cow gentoo-dev 2021-05-02 09:27:13 UTC
The bug has been closed via the following commit(s):

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

commit 5dd356ea48b792c0578217ccd754004f616ebc53
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2021-04-30 20:33:55 +0000
Commit:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
CommitDate: 2021-04-30 20:56:25 +0000

    media-libs/libbpg: Add missing dependencies.
    
    libnuma support is optional. If sys-process/numactl is installed, it
    will be used, if not, not. The check for libnuma happens in CMake, which
    is called by the Makefile. But the Makefile also needs to know if it
    should link in libnuma or not. No one tells it. I chose the easy way out
    of this pickle, made libnuma mandatory and added `-lnuma` to LIBS.
    
    Closes: https://bugs.gentoo.org/781113
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>

 media-libs/libbpg/libbpg-0.9.8.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)