Bug 201529 - devel/qt5-qmake build failure on powerpc
Summary: devel/qt5-qmake build failure on powerpc
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 14:12 UTC by herminio.hernandezjr
Modified: 2018-02-07 15:13 UTC (History)
6 users (show)

See Also:
linimon: maintainer-feedback?


Attachments
photo of error (33.25 KB, image/jpeg)
2015-07-13 14:12 UTC, herminio.hernandezjr
no flags Details
Tentative fix (proof of concept) (464 bytes, patch)
2016-08-15 04:55 UTC, Alexey Dokuchaev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description herminio.hernandezjr 2015-07-13 14:12:48 UTC
Created attachment 158694 [details]
photo of error

I installed FreeBSD on my iBook G4 and tried to install lumina however the build failed. I sent the errors I saw to the lumina git repo page and it was suggested that qmake is failing to build and place a bug report here. I am attaching the error I am seeing.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2015-07-14 02:55:00 UTC
Notify maintainer.
Comment 2 Mikhail T. 2015-07-14 06:32:13 UTC
The attached picture shows, the error is with devel/qmake5, not qmake (which is 3.x) as originally claimed.
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2016-08-11 21:03:15 UTC
Do you still have this issue? If so, could you attach some more information?
Comment 4 Alexey Dokuchaev freebsd_committer freebsd_triage 2016-08-15 04:55:49 UTC
Created attachment 173688 [details]
Tentative fix (proof of concept)

Yes, the the issue is still there, just tried to build it on my Mac mini G4 with fresh -CURRENT.

Apparently the port breaks because Q_PROCESSOR_WORDSIZE is not being defined on PowerPC.  Consider attached patch; I'm not sure if other Qt 5.x ports need similar treatment, or if this is the best way to resolve the issue.
Comment 5 groot 2017-06-15 08:40:55 UTC
Current Qt (e.g. 5.7.1 in ports, later versions upstream) have a #define Q_PROCESSOR_WORDSIZE 8 for ppc64 and a fallback to pointer size (which defaults to 4) for other platforms. The patch no longer applies cleanly, but I'm also pretty sure the problem is solved upstream.
Comment 6 Walter Schwarzenfeld 2018-02-07 10:03:17 UTC
Seems solved (comment 5). Could this be closed?
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2018-02-07 14:57:57 UTC
The last version I show that built is qt5-qmake-5.6.2_1.txz but that was off 2017Q2.  I'll add this port to my next run to see if the current version builds.
Comment 8 Mark Linimon freebsd_committer freebsd_triage 2018-02-07 15:13:15 UTC
(In reply to Mark Linimon from comment #7)

On further investigation, I set the port BROKEN on powerpc64 in 455185 due to C++11 problems.  So, I believe the problem in this PR had already been fixed, for me to get that far, even though the port still does not build.

Take so that I can track any further feedback.