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

Bug 823910

Summary: app-mobilephone/scrcpy-1.20 fails to compile: Run-time dependency libusb-1.0 found: NO (tried pkgconfig and cmake)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal CC: fedeliallalinea
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/22969
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
1-meson-log.txt

Description Agostino Sarubbo gentoo-dev 2021-11-16 07:18:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-mobilephone/scrcpy-1.20 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-16 07:18:45 UTC
CC'ing also the author of the commit (2bb2c00bc711eedbeb113ade0b071b11072dda5f)
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-16 07:18:46 UTC
Created attachment 751382 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2021-11-16 07:18:47 UTC
Created attachment 751386 [details]
1-meson-log.txt

1-meson-log.txt
Comment 4 Marco Genasci 2021-11-16 10:44:32 UTC
New PR submitted sorry for the mistake.
Comment 5 Bernard Cafarelli gentoo-dev 2021-11-16 17:36:04 UTC
No problem, this is a common dependency so hard to spot in changes (especially as release page was not clear about requiring libusb now)! Thanks for the quick PR fix I will take a look
Comment 6 Larry the Git Cow gentoo-dev 2021-11-17 10:56:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90a8669a6c749ce5bc82263d17d986973a289b71

commit 90a8669a6c749ce5bc82263d17d986973a289b71
Author:     Marco Genasci <fedeliallalinea@gmail.com>
AuthorDate: 2021-11-16 10:36:42 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2021-11-17 10:56:17 +0000

    app-mobilephone/scrcpy: add missing dep dev-libs/libusb
    
    Closes: https://bugs.gentoo.org/823910
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/22969
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 app-mobilephone/scrcpy/scrcpy-1.20.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)