Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928621 - dev-util/ruff-0.3.5 - addr2line.714244e493741af3-cgu.0:(<snip>) undefined reference to _rjem_realloc
Summary: dev-util/ruff-0.3.5 - addr2line.714244e493741af3-cgu.0:(<snip>) undefined ref...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-05 07:11 UTC by Toralf Förster
Modified: 2024-11-01 15:37 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.65 KB, text/plain)
2024-04-05 07:11 UTC, Toralf Förster
Details
dev-util:ruff-0.3.5:20240405-060713.log.xz (dev-util:ruff-0.3.5:20240405-060713.log.xz,285.88 KB, application/x-xz)
2024-04-05 07:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,63.07 KB, text/plain)
2024-04-05 07:11 UTC, Toralf Förster
Details
environment (environment,158.16 KB, text/plain)
2024-04-05 07:11 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,992 bytes, application/x-xz)
2024-04-05 07:11 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.94 KB, application/x-xz)
2024-04-05 07:11 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.79 KB, application/x-xz)
2024-04-05 07:11 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,119.56 KB, text/plain)
2024-04-05 07:11 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.78 KB, application/x-xz)
2024-04-05 07:11 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-04-05 07:11:43 UTC
too long lines were shrinked:

     Running `rustc --crate-name ruff --edition=2021 crates/ruff/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C codegen-units=16 '--warn=clippy::pedantic' --warn=unsafe_cod
     Running `rustc --crate-name ruff --edition=2021 crates/ruff/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto=thin -C codegen-units=16 '--warn=clippy::pedantic' --warn=unsafe_code --warn=unreacha
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/opt/rust-bin-1.77.1/lib/rustlib/x86_64-unknown-linux-musl/bin:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/18/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/15/bin:/usr/l
  = note: /usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: /var/tmp/portage/dev-util/ruff-0.3.5/work/ruff-0.3.5/target/release/deps/ruff-199c54badde0aa6d.addr2line-4fa340a94aa38b52.addr2line.714244e493741af3-cgu.0.rcgu.o.rcgu.o: in function `alloc::raw_vec::finish_grow':
          addr2line.714244e493741af3-cgu.0:(.text._ZN5alloc7raw_vec11finish_grow17he121325cb8687cd3E+0x25): undefined reference to `_rjem_realloc'
          /usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: addr2line.714244e493741af3-cgu.0:(.text._ZN5alloc7raw_vec11finish_grow17he121325cb8687cd3E+0x56): undefined reference to `_rjem_malloc'
          /usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: /var/tmp/portage/dev-util/ruff-0.3.5/work/ruff-0.3.5/target/release/deps/ruff-199c54badde0aa6d.addr2line-4fa340a94aa38b52.addr2line.714244e493741af3-cgu.0.rcgu.o.rcgu.o: in function `addr2line::path_push':

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240403-202925

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

php cli (if any):
  [1]   php8.3 *
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit b89ec96292f8cb8b312c408638787889c101afd2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 5 04:04:11 2024 +0000

    2024-04-05 04:04:10 UTC

emerge -qpvO dev-util/ruff
[ebuild  N    ] dev-util/ruff-0.3.5  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-04-05 07:11:44 UTC
Created attachment 889489 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-05 07:11:45 UTC
Created attachment 889490 [details]
dev-util:ruff-0.3.5:20240405-060713.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-04-05 07:11:46 UTC
Created attachment 889491 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-05 07:11:48 UTC
Created attachment 889492 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-05 07:11:48 UTC
Created attachment 889493 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-05 07:11:49 UTC
Created attachment 889494 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-05 07:11:50 UTC
Created attachment 889495 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-05 07:11:51 UTC
Created attachment 889496 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-04-05 07:11:52 UTC
Created attachment 889497 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-04-18 21:49:11 UTC
The bug has been closed via the following commit(s):

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

commit e735907abbff44872d16a5320a6041fd47c18f4e
Author:     LinuxUserGD <hugegameartgd@gmail.com>
AuthorDate: 2024-04-14 16:58:26 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2024-04-18 21:42:21 +0000

    dev-util/ruff: disable unprefixed malloc on unsupported platforms
    
    Closes: https://bugs.gentoo.org/927338
    Closes: https://bugs.gentoo.org/928621
    Signed-off-by: LinuxUserGD <hugegameartgd@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36256
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 dev-util/ruff/ruff-0.3.7.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)