Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796224 - app-office/calligra-3.2.1-r2 fails to compile
Summary: app-office/calligra-3.2.1-r2 fails to compile
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:
 
Reported: 2021-06-15 13:47 UTC by Agostino Sarubbo
Modified: 2021-06-17 12:19 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,56.26 KB, application/x-xz)
2021-06-15 13:47 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 2021-06-15 13:47:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-office/calligra-3.2.1-r2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-06-15 13:47:45 UTC
Created attachment 716304 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2021-06-15 13:47:47 UTC
Possible context of error(s):

/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa1a1): undefined reference to `FcFontMatch'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa1d7): undefined reference to `FcPatternGetString'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa233): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa23b): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa2f4): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa2fc): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa314): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa356): undefined reference to `FcPatternGetString'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa378): undefined reference to `FcPatternGetInteger'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa463): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa46b): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa534): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: KoCharacterStyle.cpp:(.text+0xa53c): undefined reference to `FcPatternDestroy'
KoCharacterStyle.cpp:(.text+0xa176): undefined reference to `FcPatternBuild'
collect2: error: ld returned 1 exit status
Comment 3 Larry the Git Cow gentoo-dev 2021-06-17 12:19:56 UTC
The bug has been closed via the following commit(s):

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

commit 502c8c6d98afd5a69a0323dfa2ea708c94bbafeb
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-06-17 12:18:00 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-06-17 12:18:48 +0000

    app-office/calligra: Fix Fontconfig/Freetype cmake args/targets
    
    Closes: https://bugs.gentoo.org/796224
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-office/calligra/calligra-3.2.1-r2.ebuild       |  5 +-
 .../calligra/files/calligra-3.2.1-cmake-3.16.patch | 86 ++++++++++++++++++++++
 2 files changed, 90 insertions(+), 1 deletion(-)