Summary: | app-office/scribus-1.5.3-r1: You must build your code with position independent code if Qt was built with -reduce-relocations. Compile your code with -fPIC is not enough. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | Current packages | Assignee: | Justin Lecher (RETIRED) <jlec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 631800 | ||
Attachments: | build.log |
Description
Thomas Deutschmann (RETIRED)
2017-12-26 00:31:32 UTC
My x86 box is using the default/linux/x86/17.0 profile and I rebuilt world after I switched profile. diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b45e75..2125197 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,7 +159,7 @@ endif() # http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3 and # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559133 -if (ARCH_X86_64 EQUAL 1 OR ARCH_HPPA EQUAL 1 OR ARCH_MIPS EQUAL 1 OR ARCH_MIPS_64 EQUAL 1 OR ARCH_PPC_64 EQUAL 1) +if (ARCH_X86 EQUAL 1 OR ARCH_X86_64 EQUAL 1 OR ARCH_HPPA EQUAL 1 OR ARCH_MIPS EQUAL 1 OR ARCH_MIPS_64 EQUAL 1 OR ARCH_PPC_64 EQUAL 1) set(CMAKE_CXX_FLAGS_FPIC "-fPIC") endif() ...fixes the problem. We should maybe update the comment above in addition. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=011a496c85cf6f36b24082a3ac55f6b63162f2e5 commit 011a496c85cf6f36b24082a3ac55f6b63162f2e5 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-01-09 13:32:06 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-01-09 13:46:14 +0000 app-office/scribus: Fix build w/ x86 on 17.0 profile Closes: https://bugs.gentoo.org/642242 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-office/scribus/files/scribus-1.5.3-x86-fpic.patch | 16 ++++++++++++++++ app-office/scribus/scribus-1.5.3-r1.ebuild | 1 + app-office/scribus/scribus-9999.ebuild | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) |