Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711562 - media-libs/libvpx: Broken EAPI 7 dependencies
Summary: media-libs/libvpx: Broken EAPI 7 dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-04 23:03 UTC by David Michael
Modified: 2020-03-05 19:30 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2020-03-04 23:03:51 UTC
Both versions of libvpx have EAPI=7 and put yasm in DEPEND.  That installs it in the sysroot, so the assembler is not usable at build time.  It needs to be moved to BDEPEND.

Reproducible: Always

Steps to Reproduce:
1. emerge libvpx  # with a sysroot configuration and yasm not installed

Actual Results:  
yasm -f elf32 -I./ -I"/var/tmp/portage/media-libs/libvpx-1.7.0-r1/work/libvpx-1.7.0"/ -o vpx_ports/emms.asm.o /var/tmp/portage/media-libs/libvpx-1.7.0-r1/work/libvpx-1.7.0/vpx_ports/emms.asm
/bin/sh: yasm: command not found
make[1]: *** [Makefile:188: vpx_ports/emms.asm.o] Error 127

Expected Results:  
It should build and install.

Everything works when yasm is installed in ROOT=/.
Comment 1 Larry the Git Cow gentoo-dev 2020-03-05 19:30:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec6f2ff9c8e209bd121f42d01b1939ffdf62048

commit 5ec6f2ff9c8e209bd121f42d01b1939ffdf62048
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-03-05 19:30:11 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-03-05 19:30:11 +0000

    media-libs/libvpx: move build deps to BDEPEND
    
    Closes: https://bugs.gentoo.org/711562
    Package-Manager: Portage-2.3.91_p5, Repoman-2.3.20_p113
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 media-libs/libvpx/libvpx-1.7.0-r1.ebuild | 5 ++---
 media-libs/libvpx/libvpx-1.8.2.ebuild    | 3 +--
 2 files changed, 3 insertions(+), 5 deletions(-)