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

Bug 753776

Summary: net-vpn/tor-0.4.5.1_alpha calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=792237
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 789459    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-11-09 21:26:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-vpn/tor-0.4.5.1_alpha calls ar directly.
Discovered on: amd64 (internal ref: ci)

NOTE:
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the AR variable to x86_64-pc-linux-gnu-ar.
Comment 1 Agostino Sarubbo gentoo-dev 2020-11-09 21:26:32 UTC
Created attachment 670652 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-11-09 21:26:35 UTC
Possible context of error(s):

./scripts/build/combine_libs: line 28: ar: command not found
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-11 14:10:58 UTC
Changes in version 0.4.5.8 - 2021-05-10
  Tor 0.4.5.8 fixes several bugs in earlier version, backporting fixes
  from the 0.4.6.x series.

[...]

  o Minor bugfixes (build, cross-compilation, backport from 0.4.6.3-rc):
    - Allow a custom "ar" for cross-compilation. Our previous build
      script had used the $AR environment variable in most places, but
      it missed one. Fixes bug 40369; bugfix on 0.4.5.1-alpha.
Comment 4 Larry the Git Cow gentoo-dev 2021-05-26 13:30:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=011b7daff7ff534246794f75fd03ee13850ec5dc

commit 011b7daff7ff534246794f75fd03ee13850ec5dc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-26 13:28:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-26 13:30:21 +0000

    net-vpn/tor: add 0.4.6.3_rc for glibc 2.33 fix
    
    Contains a critical glibc 2.33 fix for seccomp.
    
    See: 203fd5dccb18ce93e3933150740dc0284494eb03
    Closes: https://bugs.gentoo.org/792237
    Bug: https://bugs.gentoo.org/789459
    Bug: https://bugs.gentoo.org/753776
    Signed-off-by: Sam James <sam@gentoo.org>

 net-vpn/tor/Manifest              |  2 +
 net-vpn/tor/tor-0.4.6.3_rc.ebuild | 94 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2021-05-26 13:33:52 UTC
The bug has been referenced in the following commit(s):

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

commit fde86eea965191528d48ae7a09cc6aacef5eae13
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-26 13:31:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-26 13:33:40 +0000

    net-vpn/tor: drop 0.4.6.2_alpha
    
    Bug: https://bugs.gentoo.org/792237
    Bug: https://bugs.gentoo.org/789459
    Bug: https://bugs.gentoo.org/753776
    Signed-off-by: Sam James <sam@gentoo.org>

 net-vpn/tor/Manifest                 |  2 -
 net-vpn/tor/tor-0.4.6.2_alpha.ebuild | 94 ------------------------------------
 2 files changed, 96 deletions(-)