Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921707 - media-libs/libmodplug-0.8.9.1: fails to build (lto): src/load_abc.cpp:421:3: error: type 'struct MMFILE' violates the C++ One Definition Rule [-Werror=odr]
Summary: media-libs/libmodplug-0.8.9.1: fails to build (lto): src/load_abc.cpp:421:3: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-01-10 13:48 UTC by Rafael Kitover
Modified: 2024-03-14 06:06 UTC (History)
1 user (show)

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


Attachments
build log (libmodplug-build.log,57.11 KB, text/x-log)
2024-01-10 13:49 UTC, Rafael Kitover
Details
emerge --info (emerge-info.txt,20.72 KB, text/plain)
2024-01-10 13:49 UTC, Rafael Kitover
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Kitover 2024-01-10 13:48:51 UTC
Fails to build with recommended LTO flags according to:

https://wiki.gentoo.org/wiki/LTO

> emerge -pqv =media-libs/libmodplug-0.8.9.1
[ebuild  N    ] media-libs/libmodplug-0.8.9.1  ABI_X86="-32 (64) (-x32)"

Reproducible: Always
Comment 1 Rafael Kitover 2024-01-10 13:49:20 UTC
Created attachment 881817 [details]
build log
Comment 2 Rafael Kitover 2024-01-10 13:49:34 UTC
Created attachment 881818 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2024-03-14 06:06:17 UTC
The bug has been closed via the following commit(s):

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

commit 99d9c29cd536fb1be71e277fd5a69b7dac3e1936
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-03-14 05:10:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-14 06:05:31 +0000

    media-libs/libmodplug: mark as LTO-unsafe
    
    There are 3 different upstreams described for this package. One
    homepage, another SRC_URI, and a third in metadata.xml. Nowhere is this
    actually maintained, however.
    
    Closes: https://bugs.gentoo.org/921707
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libmodplug/libmodplug-0.8.9.1.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)