Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928586 - dev-libs/efl-1.27.0 - ../.../eina_file_posix.c: error: struct stat has no member named st_mtimensec
Summary: dev-libs/efl-1.27.0 - ../.../eina_file_posix.c: error: struct stat has no mem...
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:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-04-04 16:03 UTC by Toralf Förster
Modified: 2025-01-29 16:26 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.83 KB, text/plain)
2024-04-04 16:03 UTC, Toralf Förster
Details
dev-libs:efl-1.27.0:20240404-080454.log (dev-libs:efl-1.27.0:20240404-080454.log,85.27 KB, text/plain)
2024-04-04 16:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,15.47 KB, text/plain)
2024-04-04 16:03 UTC, Toralf Förster
Details
environment (environment,146.68 KB, text/plain)
2024-04-04 16:03 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.74 KB, application/x-xz)
2024-04-04 16:03 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,49.32 KB, text/plain)
2024-04-04 16:03 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.84 KB, application/x-xz)
2024-04-04 16:03 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-04 16:03:31 UTC
too long lines were shrinked:

[105/2378] x86_64-pc-linux-musl-gcc -Isrc/lib/eina/libeina.so.1.27.0.p -Isrc/lib/eina -I../efl-1.27.0/src/lib/eina -I. -I../efl-1.27.0 -I/usr/include/valgrind -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare -
[106/2378] x86_64-pc-linux-musl-gcc -Isrc/lib/eina/libeina.so.1.27.0.p -Isrc/lib/eina -I../efl-1.27.0/src/lib/eina -I. -I../efl-1.27.0 -I/usr/include/valgrind -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare -
[107/2378] x86_64-pc-linux-musl-gcc -Isrc/lib/eina/libeina.so.1.27.0.p -Isrc/lib/eina -I../efl-1.27.0/src/lib/eina -I. -I../efl-1.27.0 -I/usr/include/valgrind -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare -
FAILED: src/lib/eina/libeina.so.1.27.0.p/eina_file_posix.c.o 
x86_64-pc-linux-musl-gcc -Isrc/lib/eina/libeina.so.1.27.0.p -Isrc/lib/eina -I../efl-1.27.0/src/lib/eina -I. -I../efl-1.27.0 -I/usr/include/valgrind -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare -Wno-missing
../efl-1.27.0/src/lib/eina/eina_file_posix.c: In function '_eina_file_timestamp_compare':
../efl-1.27.0/src/lib/eina/eina_file_posix.c:419:46: error: 'struct stat' has no member named 'st_mtimensec'
  419 |    if (f->mtime_nsec != (unsigned long int)st->st_mtimensec)
      |                                              ^~

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

  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):
/usr/lib/llvm/18
18.1.2
Python 3.11.8
Available Rust versions:
  [1]   rust-bin-1.77.1 *
php cli (if any):

  HEAD of ::gentoo
commit ed8eba42e05cb054dc7a8d26d0a3f984e75d27a6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 4 07:04:05 2024 +0000

    2024-04-04 07:04:05 UTC

emerge -qpvO dev-libs/efl
[ebuild  N    ] dev-libs/efl-1.27.0  USE="X eet fontconfig gstreamer jpeg2k nls pdf sound svg system-lz4 zeroconf -avif -bmp -connman -dds -debug -doc -drm (-efl-one) -elogind -examples -fbcon -fribidi -gif -glib -harfbuzz -heif -hyphen -ibus -ico -jpegxl -json (-mono) -opengl -physics -pmaps -postscript -psd -pulseaudio -raw -scim -sdl (-systemd) -tga -tgv -tiff -tslib -unwind -v4l -vnc -wayland -webp -xcf -xim -xpm -xpresent" LUA_SINGLE_TARGET="lua5-1 -luajit"
Comment 1 Toralf Förster gentoo-dev 2024-04-04 16:03:31 UTC
Created attachment 889410 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-04 16:03:33 UTC
Created attachment 889411 [details]
dev-libs:efl-1.27.0:20240404-080454.log
Comment 3 Toralf Förster gentoo-dev 2024-04-04 16:03:34 UTC
Created attachment 889412 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-04 16:03:35 UTC
Created attachment 889413 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-04 16:03:36 UTC
Created attachment 889414 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-04 16:03:37 UTC
Created attachment 889415 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-04-04 16:03:38 UTC
Created attachment 889416 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2025-01-29 16:26:24 UTC
The bug has been closed via the following commit(s):

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

commit 64a22966158c5c78b0a350ca573ff7386b6d687c
Author:     Z. Liu <zhixu.liu@gmail.com>
AuthorDate: 2025-01-28 09:10:37 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2025-01-29 16:25:53 +0000

    dev-libs/efl: fix build w/ musl
    
    in file src/lib/eina/eina_file_posix.c
    1. __USE_MISC is a glibc-specific macro, use of it has been removed in
       upstream (e.g for 1.28.0), defined here for simplicity.
    2. ino64_t is available only if _LARGEFILE64_SOURCE is defined
    
    Closes: https://bugs.gentoo.org/928586
    Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40344
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/efl/efl-1.27.0-r1.ebuild | 9 +++++++--
 dev-libs/efl/efl-1.28.0.ebuild    | 6 +++++-
 2 files changed, 12 insertions(+), 3 deletions(-)