Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593510 - app-office/scribus-1.5.2: /usr/include/qt5/QtCore/qglobal.h:1087:4: Error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
Summary: app-office/scribus-1.5.2: /usr/include/qt5/QtCore/qglobal.h:1087:4: Error: #e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 559130
  Show dependency tree
 
Reported: 2016-09-11 18:10 UTC by Navid Zamani
Modified: 2016-10-23 20:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Zamani 2016-09-11 18:10:43 UTC
Everything is the same as in bug #550130, except this is for version 1.5.2 instead of 1.5.0. 

Somebody removed the -fPIC patch or didn’t make one for 1.5.2.

But I still get the same error:

    /usr/include/qt5/QtCore/qglobal.h:1087:4: Error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
Comment 1 Michael Weber (RETIRED) gentoo-dev 2016-09-27 18:38:59 UTC
I dropped the patch, because it no longer applied against 1.5.2 sources, and I buildbox and test machines didn't need it. This was no random change.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2016-10-23 11:31:11 UTC
PLease add full build.log
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2016-10-23 20:25:30 UTC
commit 6ffd5dae18526e489fc873b1b7a2ab0b380f3340
Author: Justin Lecher <jlec@gentoo.org>
Date:   Sun Oct 23 22:24:41 2016 +0200

    app-office/scribus: Add adapted fPIC patch back

    Bump to EAPI=6
    Shorten helper functions
    take back maintainership

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=593510

    Package-Manager: portage-2.3.2
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

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