Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 901973 - dev-ruby/libusb-0.6.4-r1
Summary: dev-ruby/libusb-0.6.4-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-17 17:31 UTC by Rick Farina (Zero_Chaos)
Modified: 2023-03-18 07:17 UTC (History)
0 users

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 Rick Farina (Zero_Chaos) gentoo-dev 2023-03-17 17:31:00 UTC
When libusb gem is used an error is emitted:

Ignoring libusb-0.6.4 because its extensions are not built. Try: gem pristine libusb --version 0.6.4

This is likely caused by the extensions not being built or installed.
Comment 1 Hans de Graaff gentoo-dev Security 2023-03-18 07:05:51 UTC
The extensions does not actually do anything when the system libusb library is used and the eclass doesn't expect that.
Comment 2 Larry the Git Cow gentoo-dev 2023-03-18 07:17:42 UTC
The bug has been closed via the following commit(s):

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

commit 5ce86915a6b6bf730dbeb4c54fd6d220d8fc43b2
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-03-18 07:06:27 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-03-18 07:06:27 +0000

    dev-ruby/libusb: add extension installed marker manually
    
    This gem has an extension that is a no-op when using system
    libusb. Install the "extension installed" marker manually to make
    rubygems happy.
    
    Closes: https://bugs.gentoo.org/901973
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/libusb/libusb-0.6.4-r2.ebuild | 47 ++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)