Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926466 - games-fps/urbanterror-4.3.4_p20211208 fails to compile: snd_codec_opus.c:34:10: fatal error: opusfile.h: No such file or directory
Summary: games-fps/urbanterror-4.3.4_p20211208 fails to compile: snd_codec_opus.c:34:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nils Freydank
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-08 10:22 UTC by Agostino Sarubbo
Modified: 2024-05-20 21:41 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,54.03 KB, text/plain)
2024-03-08 10:22 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 2024-03-08 10:22:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-fps/urbanterror-4.3.4_p20211208 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-08 10:22:17 UTC
Created attachment 886989 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-08 10:22:17 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/bin/sh: line 1: unknown-pkg-config: command not found
code/client/snd_codec_opus.c:34:10: fatal error: opusfile.h: No such file or directory
code/client/snd_codec_opus.c:34:10: fatal error: opusfile.h: No such file or directory
Comment 3 Nils Freydank 2024-05-20 13:16:45 UTC
I can not reproduce this on my machines (~amd64 only) and don't see a valid reason why the file should be missing. According to the build.log the dependency providing the missing header opusfile.h is installed (package media-libs/opusfile).
Comment 4 Larry the Git Cow gentoo-dev 2024-05-20 21:41:38 UTC
The bug has been closed via the following commit(s):

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

commit 88277f7951e3ed07c70b58a4c1f780b0bdcf693d
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-05-20 21:41:08 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-05-20 21:41:08 +0000

    games-fps/urbanterror: Export PKG_CONFIG to fix x86 build
    
    The Makefile respects PKG_CONFIG, and poor platform detection seemingly results
    in it picking a broken default when building for x86.
    
    Closes: https://bugs.gentoo.org/926466
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-fps/urbanterror/urbanterror-4.3.4_p20211208.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)