Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907754 - net-im/openmittsu-0.10.0.0 fails to compile (MUSL-SYSTEM): os-inl.h:241:19: error: aggregate spdlog::details::os::filesize(FILE)::stat64 st has incomplete type and cannot be defined
Summary: net-im/openmittsu-0.10.0.0 fails to compile (MUSL-SYSTEM): os-inl.h:241:19: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-06-03 12:49 UTC by Agostino Sarubbo
Modified: 2023-12-21 20:22 UTC (History)
0 users

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


Attachments
build.log (build.log,154.61 KB, text/plain)
2023-06-03 12:49 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-06-03 12:49:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-im/openmittsu-0.9.15.0 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-03 12:49:04 UTC
Created attachment 863108 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-03 12:49:06 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: CMakeFiles/openMittsuCore.dir/src/acknowledgments/AcknowledgmentProcessor.cpp.o 
FAILED: CMakeFiles/openMittsuCore.dir/src/acknowledgments/GroupContentMessageAcknowledgmentProcessor.cpp.o 
FAILED: CMakeFiles/openMittsuCore.dir/src/acknowledgments/GroupCreationMessageAcknowledgmentProcessor.cpp.o 
FAILED: CMakeFiles/openMittsuCore.dir/src/backup/BackupObject.cpp.o 
FAILED: CMakeFiles/openMittsuCore.dir/src/backup/BackupReader.cpp.o 
FAILED: CMakeFiles/openMittsuCore.dir/src/backup/FileReader.cpp.o 
FAILED: CMakeFiles/openMittsuCore.dir/src/backup/GroupBackupObject.cpp.o 
FAILED: CMakeFiles/openMittsuCore.dir/src/backup/MediaFileReader.cpp.o 
FAILED: CMakeFiles/openMittsuCore.dir/src/crypto/KeyPair.cpp.o 
/var/tmp/portage/net-im/openmittsu-0.9.15.0/work/openmittsu-0.9.15.0/3rdparty/spdlog/include/spdlog/details/os-inl.h:241:19: error: aggregate 'spdlog::details::os::filesize(FILE*)::stat64 st' has incomplete type and cannot be defined
Comment 3 Ulrich Müller gentoo-dev 2023-06-03 15:53:29 UTC
Is this still an issue in openmittsu-0.10.0.0?
Comment 4 Agostino Sarubbo gentoo-dev 2023-06-13 08:15:14 UTC
tinderbox_musl has reproduced this issue with version 0.10.0.0 - Updating summary.
Comment 5 Ulrich Müller gentoo-dev 2023-06-13 09:25:14 UTC
AFAICS, it is fixed in the upstream repo:
https://github.com/gabime/spdlog/commit/287a00d364990edbb621fe5e392aeb550135fb96
Comment 6 Larry the Git Cow gentoo-dev 2023-06-13 09:48:26 UTC
The bug has been closed via the following commit(s):

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

commit 7ab122518547e3a07ea354f7102df14f256fc942
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-06-13 09:47:16 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-06-13 09:48:07 +0000

    net-im/openmittsu: Fix compilation with MUSL libc
    
    Closes: https://bugs.gentoo.org/907754
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 .../files/openmittsu-0.10.0.0-musl.patch           | 25 ++++++++++++++++++++++
 net-im/openmittsu/openmittsu-0.10.0.0.ebuild       |  2 ++
 2 files changed, 27 insertions(+)