Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721028 - media-video/rtmpdump calls ar directly
Summary: media-video/rtmpdump calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-05-05 06:20 UTC by Agostino Sarubbo
Modified: 2020-06-23 15:22 UTC (History)
1 user (show)

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

build.log (build.log,14.02 KB, text/plain)
2020-05-05 06:20 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-05 06:20:42 UTC
This is an auto-filled bug because media-video/rtmpdump calls ar directly.
The issue was originally discovered on arm64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different AR implementation (like llvm-ar) by setting the AR variable. So this issue has been reproduced by setting the AR variable to aarch64-unknown-linux-gnu-ar and by removing the /usr/bin/ar binary.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-05 06:20:54 UTC
Created attachment 636104 [details]

build log and emerge --info
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-06-23 14:20:54 UTC
diff --git a/media-video/rtmpdump/rtmpdump-2.4_p20161210-r3.ebuild b/media-video/rtmpdump/rtmpdump-2.4_p20161210-r3.ebuild
index 09a4ebf6598d..a3b8a59caac3 100644
--- a/media-video/rtmpdump/rtmpdump-2.4_p20161210-r3.ebuild
+++ b/media-video/rtmpdump/rtmpdump-2.4_p20161210-r3.ebuild
@@ -85,7 +85,7 @@ multilib_src_compile() {
        if ! multilib_is_native_abi; then
                cd librtmp || die
-       emake CC="$(tc-getCC)" LD="$(tc-getLD)" \
+       emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
                OPT="${CFLAGS}" XLDFLAGS="${LDFLAGS}" CRYPTO="${crypto}" SYS=posix

Comment 3 Larry the Git Cow gentoo-dev 2020-06-23 15:22:02 UTC
The bug has been closed via the following commit(s):

commit 696930fe2d511bab765019d8a22178143b5b3c69
Author:     Craig Andrews <>
AuthorDate: 2020-06-23 15:18:41 +0000
Commit:     Craig Andrews <>
CommitDate: 2020-06-23 15:21:55 +0000

    media-video/rtmpdump: Don't call ar directly
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: Craig Andrews <>

 media-video/rtmpdump/rtmpdump-2.4_p20161210-r3.ebuild | 2 +-
 media-video/rtmpdump/rtmpdump-9999.ebuild             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)