Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692072 - media-tv/v4l-utils-1.16.6 - grundig.c: error: unable to create target: 'No available targets are compatible with triple "bpf"'
Summary: media-tv/v4l-utils-1.16.6 - grundig.c: error: unable to create target: 'No av...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-13 13:20 UTC by Helmut Jarausch
Modified: 2021-01-05 21:43 UTC (History)
0 users

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


Attachments
emerge --info (v4l-utils.info,20.89 KB, text/plain)
2019-08-13 13:20 UTC, Helmut Jarausch
Details
build log xz-compressed (v4l-utils-1.16.6.build.xz,9.64 KB, application/octet-stream)
2019-08-16 13:04 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)