Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561330 - sys-apps/hwloc hard depends on nvidia-settings with gl USE flag
Summary: sys-apps/hwloc hard depends on nvidia-settings with gl USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-24 10:55 UTC by Sven Eden
Modified: 2015-10-02 06:37 UTC (History)
0 users

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


Attachments
Change dependencies to accept nvidia-drivers with tools USE flag (fix_hwloc-1.10.1-r1_ebuild.patch,605 bytes, patch)
2015-09-24 10:55 UTC, Sven Eden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Eden 2015-09-24 10:55:59 UTC
Created attachment 412712 [details, diff]
Change dependencies to accept nvidia-drivers with tools USE flag

If the gl USE flag is set, sys-apps/hwloc (all versions) depend on nvidia-settings only, which became obsolete with the tools USE flag on never nvidia-drivers.

Attached is a patch that changes the dependencies to accept both nvidia-settings and nvidia-drivers[tools].

The same applies to conky, see bug 56126.

You can test the patched ebuild from my overlay "seden" via layman.
Comment 1 Sven Eden 2015-09-24 10:56:41 UTC
Oh dear. The conky bug is bug 561268 of course.
Comment 2 Sven Eden 2015-09-24 11:03:20 UTC
Just a note: The ebuild currently fails, because the configure script looks for a header which does no longer exist with nvidia-drivers.
Comment 3 Sven Eden 2015-09-24 11:09:24 UTC
hwloc depends on NVCtrl/NVCtrl.h, which is only included in nvidia-settings, but not in the nvidia-drivers package.

This is bad.
Comment 4 Sven Eden 2015-10-02 06:37:44 UTC
The newer nvidia-settings packages have been added to portage.

This fixes the issue.