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

Bug 705552

Summary: net-libs/libproxy-0.4.15[-networkmanager] installs /usr/lib64/libproxy/0.4.15/modules/network_networkmanager.so
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild patch

Description Arfrever Frehtes Taifersar Arahesis 2020-01-16 12:12:56 UTC
net-libs/libproxy-0.4.15[-networkmanager] installs /usr/lib64/libproxy/0.4.15/modules/network_networkmanager.so.
Older versions (0.4.13-r2) not affected.
net-misc/networkmanager is not installed.

[ebuild   R    ] net-libs/libproxy-0.4.15::gentoo  USE="kde -gnome -mono -networkmanager -perl -spidermonkey -test -webkit" ABI_MIPS="(-n32) (-n64) (-o32)" ABI_RISCV="(-lp64) (-lp64d)" ABI_S390="(-32) (-64)" ABI_X86="32 (64) -x32"


--- /usr/lib64/
--- /usr/lib64/libproxy/
>>> /usr/lib64/libproxy.so -> libproxy.so.1
>>> /usr/lib64/libproxy.so.1 -> libproxy.so.1.0.0
>>> /usr/lib64/libproxy.so.1.0.0
>>> /usr/lib64/libproxy/0.4.15/
>>> /usr/lib64/libproxy/0.4.15/modules/
>>> /usr/lib64/libproxy/0.4.15/modules/config_kde.so
>>> /usr/lib64/libproxy/0.4.15/modules/network_networkmanager.so
--- /usr/lib64/pkgconfig/
>>> /usr/lib64/pkgconfig/libproxy-1.0.pc
...
--- replaced obj /usr/lib64/pkgconfig/libproxy-1.0.pc
--- replaced dir /usr/lib64/pkgconfig
<<<          obj /usr/lib64/libproxy/0.4.13/modules/config_kde.so
--- replaced obj /usr/lib64/libproxy.so.1.0.0
--- replaced sym /usr/lib64/libproxy.so.1
--- replaced sym /usr/lib64/libproxy.so
--- replaced dir /usr/lib64/libproxy
--- cfgpro   dir /usr/lib64
Comment 1 Ben Kohler gentoo-dev 2020-01-16 14:48:54 UTC
Created attachment 603450 [details, diff]
ebuild patch

I think this is related to https://github.com/libproxy/libproxy/commit/423801295921ab1ec0d98565fcbc2635088d45da

This attached ebuild patch works for me but I'm not sure if it's completely correct.

The current ebuild's configure phase shows:
	m	network_networkmanager
but after the patch it shows:
		network_networkmanager
Comment 2 Larry the Git Cow gentoo-dev 2020-01-16 19:14:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd662dd30c20f23c1ac804f06f08936dac0e372

commit 7cd662dd30c20f23c1ac804f06f08936dac0e372
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-01-16 19:12:50 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-01-16 19:12:50 +0000

    net-libs/libproxy: fix installation for USE="-networkmanager"
    
    Closes: https://bugs.gentoo.org/705552
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 net-libs/libproxy/libproxy-0.4.15-r1.ebuild | 88 +++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2020-01-16 20:22:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b67ce86892d7b9315ae469cc02e371359653be

commit 91b67ce86892d7b9315ae469cc02e371359653be
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-01-16 20:16:19 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-01-16 20:22:32 +0000

    net-libs/libproxy: Properly fix patch to avoid NM dependency loop
    
    Previously a second attempt at finding it would succeed.
    
    Bug: https://bugs.gentoo.org/705552
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/libproxy-0.4.15-avoid-nm-build-dep.patch | 53 ++++++++++++++++------
 1 file changed, 38 insertions(+), 15 deletions(-)