[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823265: marked as done (pythonqt FTBFS on hppa arch)



Your message dated Wed, 23 Aug 2017 15:57:05 +0200
with message-id <e3d3b595-508a-56ce-2025-cdfc36f39486@debian.org>
and subject line Working on 3.0-3
has caused the Debian Bug report #823265,
regarding pythonqt FTBFS on hppa arch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
823265: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823265
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: pythonqt
Version: 3.0-1
Tags: patch

pythonqt fails to build from source on the hppa architecture because 
some symbols can't be reached at link stage:
https://buildd.debian.org/status/fetch.php?pkg=pythonqt&arch=hppa&ver=3.0-1&stamp=1462187665

The bug can be avoided on hppa by adding the -"mlong-calls" compiler flag.
The attached patch does that, but is not the real solution because
it will break other architectures.
Is there maybe a better way to add -mlong-calls for hppa arch only? 

Thanks,
Helge
diff -up ./pythonqt-3.0/CMakeLists.txt.org ./pythonqt-3.0/CMakeLists.txt
--- ./pythonqt-3.0/CMakeLists.txt.org	2016-05-02 18:01:38.498415244 +0200
+++ ./pythonqt-3.0/CMakeLists.txt	2016-05-02 18:04:49.701064492 +0200
@@ -23,6 +23,9 @@ add_definitions(-DPYTHONQT_USE_RELEASE_P
 #-----------------------------------------------------------------------------
 # Build options
 
+# for hppa:
+SET( CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -mlong-calls" )
+
 option(PythonQt_Wrap_QtAll "Make all Qt components available in python" OFF)
 
 set(qtlibs core gui network opengl sql svg uitools webkit xml xmlpatterns)

--- End Message ---
--- Begin Message ---
This appears to be fixed, since it's building fine on hppa on 3.0-3

If this is in error, the please re-open with an explanation.

Thanks,
-Jonathan

--- End Message ---

Reply to: