Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833462 - net-vpn/tor-0.4.6.10 is missing BDEPEND on user acct
Summary: net-vpn/tor-0.4.6.10 is missing BDEPEND on user acct
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: John Helmert III
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-16 07:56 UTC by Michał Górny
Modified: 2025-01-03 22:53 UTC (History)
2 users (show)

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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-02-16 07:56:10 UTC
When doing --buildpkgonly:

chown: invalid user: ‘tor:tor’
 * ERROR: net-vpn/tor-0.4.6.10::gentoo failed (install phase):
 *   fowners failed
Comment 1 Eli Schwartz gentoo-dev 2024-10-21 23:03:19 UTC
commit a6de24047cbc01012821c31be44a7b6e925a4f57
Author:     Anthony G. Basile <blueness@gentoo.org>
AuthorDate: Fri Dec 6 11:12:02 2019
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: Fri Dec 6 11:12:22 2019

    net-vpn/tor: port to GLEP 81, bug #701212
    
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>

 net-vpn/tor/{tor-0.4.2.4_rc.ebuild => tor-0.4.2.4_rc-r1.ebuild} | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
 rename net-vpn/tor/{tor-0.4.2.4_rc.ebuild => tor-0.4.2.4_rc-r1.ebuild} (96%)


Added it directly to RDEPEND....
Comment 2 Larry the Git Cow gentoo-dev 2024-10-22 04:59:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86bc63cef29e24a729efc5c57b94cb35c4b96cf9

commit 86bc63cef29e24a729efc5c57b94cb35c4b96cf9
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-10-21 12:50:26 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-10-22 04:59:05 +0000

    net-vpn/tor: fix missing build-time dependency on acct-* packages
    
    It uses fowners in src_install, so it never made sense to limit this to
    RDEPEND.
    
    Fixes: a6de24047cbc01012821c31be44a7b6e925a4f57
    Closes: https://bugs.gentoo.org/833462
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 net-vpn/tor/{tor-0.4.8.12.ebuild => tor-0.4.8.12-r1.ebuild} | 4 ++--
 net-vpn/tor/tor-9999.ebuild                                 | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2025-01-03 22:53:56 UTC
The bug has been referenced in the following commit(s):

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

commit 05b73ffb60e189bfd921fe87adc6503db885c3cc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-03 22:52:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-03 22:52:51 +0000

    net-vpn/tor: put acct-* deps in BDEPEND+RDEPEND
    
    DEPEND isn't right for ROOT.
    
    Bug: https://bugs.gentoo.org/833462
    Signed-off-by: Sam James <sam@gentoo.org>

 net-vpn/tor/tor-0.4.8.13-r1.ebuild | 199 +++++++++++++++++++++++++++++++++++++
 net-vpn/tor/tor-9999.ebuild        |  22 ++--
 2 files changed, 212 insertions(+), 9 deletions(-)