Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906956 - media-gfx/oxipng-8.0.0 - .../fs.rs:1538: undefined reference to stat64
Summary: media-gfx/oxipng-8.0.0 - .../fs.rs:1538: undefined reference to stat64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-22 16:48 UTC by Toralf Förster
Modified: 2023-12-21 20:17 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.25 KB, text/plain)
2023-05-22 16:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,148.65 KB, text/plain)
2023-05-22 16:48 UTC, Toralf Förster
Details
environment (environment,94.30 KB, text/plain)
2023-05-22 16:48 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,707 bytes, application/x-bzip)
2023-05-22 16:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.50 KB, application/x-bzip)
2023-05-22 16:48 UTC, Toralf Förster
Details
media-gfx:oxipng-8.0.0:20230522-142531.log (media-gfx:oxipng-8.0.0:20230522-142531.log,45.53 KB, text/plain)
2023-05-22 16:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.34 KB, application/x-bzip)
2023-05-22 16:48 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 2023-05-22 16:48:39 UTC
too long lines were shrinked:

   Compiling rayon-core v1.10.1
     Running `rustc --crate-name build_script_build --edition=2021 /var/tmp/portage/media-gfx/oxipng-8.0.0/work/cargo_home/gentoo/rayon-core-1.10.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debu
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/opt/rust-bin-1.69.0/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/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin:/usr/l
  = note: /usr/lib/gcc/x86_64-gentoo-linux-musl/13/../../../../x86_64-gentoo-linux-musl/bin/ld: /opt/rust-bin-1.69.0/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-7f310e4c1ed052dc.rlib(std-7f310e4c1ed052dc.std.4a812f2d-cgu.0.rcgu.o): in function `std::sys::unix::fs::stat::{{closure}}':
          /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/sys/unix/fs.rs:1538: undefined reference to `stat64'
          /usr/lib/gcc/x86_64-gentoo-linux-musl/13/../../../../x86_64-gentoo-linux-musl/bin/ld: /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/sys/unix/fs.rs:1538: undefined reference to `stat64'
          /usr/lib/gcc/x86_64-gentoo-linux-musl/13/../../../../x86_64-gentoo-linux-musl/bin/ld: /opt/rust-bin-1.69.0/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-7f310e4c1ed052dc.rlib(std-7f310e4c1ed052dc.std.4a812f2d-cgu.0.rcgu.o): in function `std::sys::unix::fs::File::open_c::{{closure}}':

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j5-20230521-051504

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
clang version 16.0.4
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.4
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.69.0 *
php cli (if any):
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit 508d2d4c08a4e7f8444d8979055c36e6b349f3a2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon May 22 13:17:01 2023 +0000

    2023-05-22 13:17:00 UTC

emerge -qpvO media-gfx/oxipng
[ebuild  N    ] media-gfx/oxipng-8.0.0  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2023-05-22 16:48:40 UTC
Created attachment 862245 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-22 16:48:41 UTC
Created attachment 862246 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-05-22 16:48:43 UTC
Created attachment 862247 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-05-22 16:48:43 UTC
Created attachment 862248 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-05-22 16:48:44 UTC
Created attachment 862249 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-22 16:48:45 UTC
Created attachment 862250 [details]
media-gfx:oxipng-8.0.0:20230522-142531.log
Comment 7 Toralf Förster gentoo-dev 2023-05-22 16:48:46 UTC
Created attachment 862251 [details]
temp.tar.bz2
Comment 8 YOSHIOKA Takuma 2023-05-22 17:07:56 UTC
undefined LFS64 symbol when link to musl 1.2.4 · Issue #111285 · rust-lang/rust · GitHub
https://github.com/rust-lang/rust/issues/111285

Looks like this?
Comment 9 ernsteiswuerfel archtester 2023-10-16 18:54:46 UTC
Builds fine for me with rust-1.72.0-r1.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2023-10-20 09:43:13 UTC
Should be fixed. Please reopen or file a new bug if you still have problems with Rust 1.73 or later.