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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
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: ---


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

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.

NOTE:
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

build log and emerge --info
Comment 2 Kent Fredric (IRC: kent\n) 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
        fi
-       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
 }
 


Works.
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):

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

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

    media-video/rtmpdump: Don't call ar directly
    
    Closes: https://bugs.gentoo.org/721028
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

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