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

Bug 692072

Summary: media-tv/v4l-utils-1.16.6 - grundig.c: error: unable to create target: 'No available targets are compatible with triple "bpf"'
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: James Le Cuirot <chewi>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log xz-compressed

Description Helmut Jarausch 2019-08-13 13:20:16 UTC
Created attachment 586718 [details]
emerge --info

Frist, this package does need MAKEOPTS=-j1 !
But even with this option I get the following compilation error which I don't understand. Many thanks for a hint,
Helmut

Entering directory '/var/tmp/portage/media-tv/v4l-utils-1.16.6/work/v4l-utils-1.16.6/utils/keytable/bpf_protocols'

clang -idirafter /usr/local/include -idirafter /usr/lib/llvm/10/bin/../../../../lib/clang/10.0.0/include -idirafter /usr/include -D__linux__ -I../../../include -target bpf -O2 -c grundig.c

error: unable to create target: 'No available targets are compatible with triple
      "bpf"'
1 error generated.
make[4]: *** [Makefile:565: grundig.o] Error 1
make[4]: Leaving directory '/var/tmp/portage/media-tv/v4l-utils-1.16.6/work/v4l-utils-1.16.6/utils/keytable/bpf_protocols'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-08-16 10:11:49 UTC
Please attach the entire build log to this bug report, as usual.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-08-16 10:12:47 UTC
(In reply to Helmut Jarausch from comment #0)
> Created attachment 586718 [details]
> emerge --info
> 
> Frist, this package does need MAKEOPTS=-j1 !

No package should "need" to disable parallel make jobs. That's worthy of another bug report if it cannot be fixed along with this bug.
Comment 3 Helmut Jarausch 2019-08-16 13:04:10 UTC
Created attachment 587044 [details]
build log  xz-compressed
Comment 4 Larry the Git Cow gentoo-dev 2020-12-27 21:43:02 UTC
The bug has been referenced in the following commit(s):

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

commit 9a884d15380afe0a0b01a9de8c5538dc44bf8f7a
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2020-12-27 21:42:08 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2020-12-27 21:42:50 +0000

    media-tv/v4l-utils: Ensure clang has the BPF target with pkg_pretend
    
    The dependencies can only ensure that at least one clang on the system
    has the BPF target and it may not be the one that actually gets used
    for the build. Generally the latest version will have precedence in
    the PATH but this fix also checks for overrides.
    
    Bug: https://bugs.gentoo.org/692072
    Package-Manager: Portage-3.0.12, Repoman-3.0.1
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 media-tv/v4l-utils/v4l-utils-1.20.0.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)