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

Bug 739896

Summary: dev-libs/light-1.2-r1 USE=-udev skips compile and installs only docs
Product: Gentoo Linux Reporter: Petr Zima <zima>
Component: Current packagesAssignee: Aaron Bauman (RETIRED) <bman>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild patch fixing the problem
ebuild patch fixing the problem

Description Petr Zima 2020-09-01 14:42:49 UTC
There's a minor mistake in the ebuild which causes that with USE=-udev, configure and subsequently also make is skipped. The end result is that the package installs only docs.

Reproducible: Always
Comment 1 Petr Zima 2020-09-01 14:44:35 UTC
Created attachment 657756 [details, diff]
ebuild patch fixing the problem

Ensures to call econf even with USE=-udev.
Comment 2 Petr Zima 2020-09-01 15:01:15 UTC
Created attachment 657760 [details, diff]
ebuild patch fixing the problem

Corrected patch, the meaning of USE=udev was reversed.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2020-09-02 17:49:08 UTC
It's true!
Comment 4 Larry the Git Cow gentoo-dev 2020-09-02 20:59:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d1a1775a435dc675e5073c242b67ef11f9507c

commit 05d1a1775a435dc675e5073c242b67ef11f9507c
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2020-09-02 20:56:31 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2020-09-02 20:58:57 +0000

    dev-libs/light: fix multiple bugs
    
    * Add patch to fix meaning of USE udev
    * Fix file collisions
    * Fix fno-fcommon build issue
    
    Closes: https://bugs.gentoo.org/673520
    Closes: https://bugs.gentoo.org/709636
    Closes: https://bugs.gentoo.org/739896
    
    Reported-by: Petr Zima <zima@matfyz.cz>
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 dev-libs/light/Manifest                        |  1 +
 dev-libs/light/files/light-1.2.2-fcommon.patch | 22 +++++++++++++++++
 dev-libs/light/light-1.2.2.ebuild              | 33 ++++++++++++++++++++++++++
 3 files changed, 56 insertions(+)