Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921648 - kde-misc/kdeconnect-23.08.4: error: type of ‘gsm_ascii_map’ does not match original declaration [-Werror=lto-type-mismatch]
Summary: kde-misc/kdeconnect-23.08.4: error: type of ‘gsm_ascii_map’ does not match or...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-01-09 10:23 UTC by Viorel Munteanu
Modified: 2024-04-02 10:01 UTC (History)
3 users (show)

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


Attachments
build.log (build.log.bz2,27.31 KB, application/x-bzip)
2024-01-09 10:23 UTC, Viorel Munteanu
Details
emerge --info (emerge-info.txt,25.52 KB, text/plain)
2024-01-09 10:23 UTC, Viorel Munteanu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viorel Munteanu gentoo-dev 2024-01-09 10:23:13 UTC
Created attachment 881739 [details]
build.log

/mnt/tmp/portage/kde-misc/kdeconnect-23.08.4/work/kdeconnect-kde-23.08.4/smsapp/gsmasciimap.h:10:13: error: type of ‘gsm_ascii_map’ does not match original declaration [-Werror=lto-type-mismatch]
   10 | extern bool gsm_ascii_map[128];
      |             ^
/mnt/tmp/portage/kde-misc/kdeconnect-23.08.4/work/kdeconnect-kde-23.08.4/smsapp/gsmasciimap.cpp:12:6: note: array types have different bounds
   12 | bool gsm_ascii_map[] = {
      |      ^
/mnt/tmp/portage/kde-misc/kdeconnect-23.08.4/work/kdeconnect-kde-23.08.4/smsapp/gsmasciimap.cpp:12:6: note: ‘gsm_ascii_map’ was previously declared here
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-g++ returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Comment 1 Viorel Munteanu gentoo-dev 2024-01-09 10:23:45 UTC
Created attachment 881740 [details]
emerge --info
Comment 2 Erik Quaeghebeur 2024-01-30 07:09:25 UTC
Reported upstream: https://bugs.kde.org/show_bug.cgi?id=480522
Comment 3 Paolo Pedroni 2024-03-08 09:18:26 UTC
Same with 24.02.0-r1
Comment 4 Arniii 2024-03-13 15:02:33 UTC
reproducible with =kdeconnect-23.08.5-r1
Comment 5 Larry the Git Cow gentoo-dev 2024-04-02 09:59:03 UTC
The bug has been closed via the following commit(s):

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

commit e737eb95f45e28809e4b5db00c7ba0b9d92b51c0
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-02 05:38:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-02 09:58:29 +0000

    kde-misc/kdeconnect: mark as LTO-unsafe
    
    Closes: https://bugs.gentoo.org/921648
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 kde-misc/kdeconnect/kdeconnect-23.08.5-r1.ebuild | 7 ++++++-
 kde-misc/kdeconnect/kdeconnect-24.02.1.ebuild    | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2024-04-02 10:01:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=5caae9d28ccda985807bb83ed1f9a19516bcceed

commit 5caae9d28ccda985807bb83ed1f9a19516bcceed
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-02 05:38:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-02 10:00:59 +0000

    kde-misc/kdeconnect: mark as LTO-unsafe
    
    Closes: https://bugs.gentoo.org/921648
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 kde-misc/kdeconnect/kdeconnect-24.02.49.9999.ebuild | 7 ++++++-
 kde-misc/kdeconnect/kdeconnect-9999.ebuild          | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)