Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733770 - media-tv/mythtv calls nm directly
Summary: media-tv/mythtv calls nm directly
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wilson M. Michaels
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-07-24 13:29 UTC by Agostino Sarubbo
Modified: 2021-10-17 07:54 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,43.34 KB, text/plain)
2020-07-24 13:29 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-07-24 13:29:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-tv/mythtv calls nm 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 NM implementation (like llvm-nm). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the NM variable to x86_64-pc-linux-gnu-nm.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-24 13:29:38 UTC
Created attachment 650566 [details]
build.log

build log and emerge --info
Comment 2 Wilson M. Michaels 2020-07-24 21:17:48 UTC
I need help fixing this. I found several calls to nm in the upstream configure file for the mythtv package. I guess I need to change it to something else. I have no idea what that fix looks like. 

Is there an example or some documentation about fixing this.

I do not understand how to run the tinderbox test to verify I fixed it.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 07:54:17 UTC
(In reply to Wilson M. Michaels from comment #2)
> I need help fixing this. I found several calls to nm in the upstream
> configure file for the mythtv package. I guess I need to change it to
> something else. I have no idea what that fix looks like. 
> 
> Is there an example or some documentation about fixing this.
> 
> I do not understand how to run the tinderbox test to verify I fixed it.

This should help: https://wiki.gentoo.org/wiki/Project:Toolchain/use_native_symlinks.

The idea is to use e.g. AM_PROG_AR (https://www.gnu.org/software/automake/manual/html_node/Public-Macros.html) in the build system and/or $(AR) to respect ir from the environment.