Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705144 - dev-util/meson-0.53.0: ERROR: Unable to determine dynamic linker
Summary: dev-util/meson-0.53.0: ERROR: Unable to determine dynamic linker
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL: https://github.com/mesonbuild/meson/p...
Whiteboard:
Keywords: PMASKED
: 705208 705210 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-11 08:52 UTC by Aidan Harris
Modified: 2020-02-17 18:13 UTC (History)
7 users (show)

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


Attachments
meson-bisect.sh (meson-bisect.sh,182 bytes, application/x-shellscript)
2020-01-11 08:52 UTC, Aidan Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aidan Harris 2020-01-11 08:52:14 UTC
Created attachment 602946 [details]
meson-bisect.sh

Building any meson project produces the above error message (`ERROR: Unable to determine linker`).

I bisected meson using the attached script as follows:

> git clone https://github.com/mesonbuild/meson.git meson
> cd meson
> git checkout 0.53.0
> git bisect bad
> git bisect good 0.52.1
> git bisect run ~/meson-bisect.sh

That came back with the following:
> 
> ef9aeb188ea2bc7353e59916c18901cde90fa2b3 is the first bad commit
> commit ef9aeb188ea2bc7353e59916c18901cde90fa2b3
> Author: Dylan Baker <dylan@REDACTED>
> Date:   Tue Nov 19 09:30:46 2019 -0800
> 
>    Allow selecting the dynamic linker
> 
>     This uses the normal meson mechanisms, an LD environment variable or via
>     cross/native files.
> 
>     Fixes: #6057
> 
>  docs/markdown/snippets/linker_override.md   |  17 +++
>  mesonbuild/compilers/compilers.py           |   6 +
>  mesonbuild/compilers/mixins/gnu.py          |   4 +
>  mesonbuild/compilers/mixins/visualstudio.py |   4 +
>  mesonbuild/compilers/rust.py                |   6 +-
>  mesonbuild/envconfig.py                     |   2 +
>  mesonbuild/environment.py                   | 206 +++++++++++++++++-----------
>  mesonbuild/linkers.py                       |  28 ++--
>  run_unittests.py                            |   4 +-
>  9 files changed, 182 insertions(+), 95 deletions(-)
>  create mode 100644 docs/markdown/snippets/linker_override.md
> bisect run success
Comment 1 Aidan Harris 2020-01-11 08:55:34 UTC
This may be related?

https://github.com/mesonbuild/meson/issues/6442
Comment 2 Mart Raudsepp gentoo-dev 2020-01-11 09:03:50 UTC
I already p.masked it on these basis and upstream information. Guess the p.mask information could be updated with this bug number now :)
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-01-12 01:32:20 UTC
*** Bug 705208 has been marked as a duplicate of this bug. ***
Comment 4 Arfrever Frehtes Taifersar Arahesis 2020-01-12 01:32:26 UTC
*** Bug 705210 has been marked as a duplicate of this bug. ***
Comment 5 William Hubbs gentoo-dev 2020-02-17 16:35:17 UTC
0.53.1 is now in the tree. Let me know if this is still an issue.