Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 584892

Summary: app-office/libreoffice-5.1.2.2: building w/gcc-6: configure: error: KDE version too old
Product: Gentoo Linux Reporter: Peter Levine <plevine457>
Component: [OLD] GCC PortingAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal CC: plevine457
Priority: Normal Keywords: PATCH, UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: libreoffice-5.1.2.2-gcc6.patch
libreoffice-5.1.2.2-gcc6.patch

Description Peter Levine 2016-06-03 01:32:30 UTC
Created attachment 436234 [details, diff]
libreoffice-5.1.2.2-gcc6.patch

Building app-office/libreoffice-5.1.2.2 with gcc-6.1.0 fails in the configure phase with:

> checking whether KDE is >= 4.2... configure: error: KDE version too old

Fixed upstream: https://cgit.freedesktop.org/libreoffice/core/commit/configure.ac?id=91fcc0032c2d0d343b914dfe3bea0b0bf1589e91
Comment 1 Peter Levine 2016-06-03 01:41:45 UTC
Created attachment 436236 [details, diff]
libreoffice-5.1.2.2-gcc6.patch

No need to patch configure since eautoreconf is always run.
Comment 2 Mark Wright gentoo-dev 2016-06-05 09:24:14 UTC
(In reply to Peter Levine from comment #1)
> Created attachment 436236 [details, diff] [details, diff]
> libreoffice-5.1.2.2-gcc6.patch
> 
> No need to patch configure since eautoreconf is always run.

The same problem occurs with app-office/libreoffice-5.1.3.2 without the patch.  With the patch (id=436236) app-office/libreoffice-5.1.3.2 builds fine with gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1), thanks.
Comment 3 Andreas Sturmlechner gentoo-dev 2016-06-05 09:43:05 UTC
Fix is already in libreoffice 5.2 branch, stable branch ebuild available in tree.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2016-07-03 20:10:54 UTC
(In reply to Andreas Sturmlechner from comment #3)
> Fix is already in libreoffice 5.2 branch, stable branch ebuild available in
> tree.

Backport added to 5.1.4 and 5.1.9999