Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697892 - net-libs/nodejs shouldn't conflict with net-wireless/wpa_supplicant (USE=bindist, USE=-bindist)
Summary: net-libs/nodejs shouldn't conflict with net-wireless/wpa_supplicant (USE=bind...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All Linux
: Normal blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-16 21:21 UTC by Kenneth G. Strawn
Modified: 2019-10-16 23:28 UTC (History)
3 users (show)

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


Attachments
Patch for review (0001-Don-t-force-bindist.patch,1.13 KB, patch)
2019-10-16 21:21 UTC, Kenneth G. Strawn
no flags Details | Diff
0001-Don-t-force-bindist-part-2.patch (0001-Don-t-force-bindist-part-2.patch,1.47 KB, patch)
2019-10-16 22:18 UTC, Kenneth G. Strawn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth G. Strawn 2019-10-16 21:21:56 UTC
Created attachment 592960 [details, diff]
Patch for review

NetworkManager depends on wpa_supplicant. wpa_supplicant depends on the openssl "bindist" flag being set. NodeJS depends on the openssl "bindist" flag being unset, which tries to remove NetworkManager (and by extension my entire connection) if I attempt to install it. This despite the fact that these patches can coexist flawlessly on other distros.

Submitting a patch request. Please remove "-bindist" from the net-libs/nodejs required USE flags, thank you in advance.
Comment 1 Ben Kohler gentoo-dev 2019-10-16 21:28:07 UTC
wpa_supplicant doesn't depend on the bindist flag being set, though.  It requires a matching flag state.  If you disable the flag on both openssl & wpa_supplicant, there is no conflict.
Comment 2 Kenneth G. Strawn 2019-10-16 22:00:26 UTC
Attempting to recompile wpa_supplicant without bindist, hold on.
Comment 3 Kenneth G. Strawn 2019-10-16 22:18:28 UTC
Created attachment 592962 [details, diff]
0001-Don-t-force-bindist-part-2.patch

Attempt to recompile without bindist causes a conflict with NetworkManager and attempting to recompile everything using libressl instead of openssl results in a conflict with HPLIP. Moreover, doing as I did and manually editing the ebuilds to remove the "-bindist" requirement results in successful compilation. Attaching a follow-up patch to deal with another package that's also causing this problem.
Comment 4 Brian Evans (RETIRED) gentoo-dev 2019-10-16 23:28:13 UTC
You need to not reference bindist anywhere in make.conf nor package.use then do 'emerge -avDU @world' and then what you want will install.  These exist for a reason that things break at runtime