Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906954 - dev-libs/spdlog-1.11.0 - /.../os-inl.h: error: aggregate spdlog::detai:os::filesize(FILE )::stat64 st has incomplete type and cann
Summary: dev-libs/spdlog-1.11.0 - /.../os-inl.h: error: aggregate spdlog::detai:os::fi...
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:
: 906541 (view as bug list)
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-22 16:47 UTC by Toralf Förster
Modified: 2023-06-27 15:54 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.07 KB, text/plain)
2023-05-22 16:47 UTC, Toralf Förster
Details
dev-libs:spdlog-1.11.0:20230522-063103.log (dev-libs:spdlog-1.11.0:20230522-063103.log,8.55 KB, text/plain)
2023-05-22 16:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,114.75 KB, text/plain)
2023-05-22 16:47 UTC, Toralf Förster
Details
environment (environment,96.36 KB, text/plain)
2023-05-22 16:47 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,707 bytes, application/x-bzip)
2023-05-22 16:47 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.87 KB, application/x-bzip)
2023-05-22 16:47 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.43 KB, application/x-bzip)
2023-05-22 16:47 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:47:38 UTC
too long lines were shrinked:

[5/8] /usr/bin/x86_64-gentoo-linux-musl-g++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.11.0/work/spdlog-1.11.0/include  -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -fPIC -fno-diagnostics-color -MD -
[6/8] /usr/bin/x86_64-gentoo-linux-musl-g++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.11.0/work/spdlog-1.11.0/include  -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -fPIC -fno-diagnostics-color -MD -
FAILED: CMakeFiles/spdlog.dir/src/spdlog.cpp.o 
/usr/bin/x86_64-gentoo-linux-musl-g++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.11.0/work/spdlog-1.11.0/include  -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -fPIC -fno-diagnostics-color -MD -MT CMa
In file included from /var/tmp/portage/dev-libs/spdlog-1.11.0/work/spdlog-1.11.0/src/spdlog.cpp:12:
/var/tmp/portage/dev-libs/spdlog-1.11.0/work/spdlog-1.11.0/include/spdlog/details/os-inl.h: In function 'size_t spdlog::details::os::filesize(FILE*)':
/var/tmp/portage/dev-libs/spdlog-1.11.0/work/spdlog-1.11.0/include/spdlog/details/os-inl.h:241:19: error: aggregate 'spdlog::details::os::filesize(FILE*)::stat64 st' has incomplete type and cannot be defined
  241 |     struct stat64 st;
      |                   ^~

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

  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 ef9caef2e7f7b6eace28bb502c4d8162e5aec2c0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon May 22 05:17:00 2023 +0000

    2023-05-22 05:17:00 UTC

emerge -qpvO dev-libs/spdlog
[ebuild  N    ] dev-libs/spdlog-1.11.0  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2023-05-22 16:47:39 UTC
Created attachment 862231 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-22 16:47:40 UTC
Created attachment 862232 [details]
dev-libs:spdlog-1.11.0:20230522-063103.log
Comment 3 Toralf Förster gentoo-dev 2023-05-22 16:47:41 UTC
Created attachment 862233 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-05-22 16:47:42 UTC
Created attachment 862234 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-05-22 16:47:43 UTC
Created attachment 862235 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-22 16:47:44 UTC
Created attachment 862236 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-22 16:47:45 UTC
Created attachment 862237 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-05-27 03:06:58 UTC
The bug has been closed via the following commit(s):

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

commit 3c28815d55e0281a356bed17449b012b27c08c07
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-27 03:02:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-27 03:02:58 +0000

    dev-libs/spdlog: fix build w/ musl-1.2.4
    
    Closes: https://bugs.gentoo.org/906954
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/spdlog/files/spdlog-musl-1.2.4.patch      | 30 ++++++++++++++++++++++
 ...pdlog-1.11.0.ebuild => spdlog-1.11.0-r1.ebuild} |  1 +
 2 files changed, 31 insertions(+)
Comment 9 David Roman 2023-06-27 15:54:06 UTC
*** Bug 906541 has been marked as a duplicate of this bug. ***