Bug 216692 - graphics/qt5-3d cannot be built on 10.3
Summary: graphics/qt5-3d cannot be built on 10.3
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-01 11:49 UTC by Peter TKATCHENKO
Modified: 2017-04-08 22:15 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments
config.log (822 bytes, text/plain)
2017-02-02 14:41 UTC, Peter TKATCHENKO
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter TKATCHENKO 2017-02-01 11:49:40 UTC
The problem is known and seems to be fixed upstream:
https://github.com/assimp/assimp/issues/937
https://github.com/assimp/assimp/issues/910
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2017-02-01 13:49:09 UTC
Without any error message this report is not really that helpful :) 

graphics/qt5-3d should not use the bundled assimp, but the one from multimedia/assimp, which has version 3.3.1 and should therefore already have this fix included.


mfg Tobias
Comment 2 Peter TKATCHENKO 2017-02-01 13:56:22 UTC
I had exactly the same error as in https://github.com/assimp/assimp/issues/937
And I solved it patching /usr/ports/graphics/qt5-3d/work/qt3d-opensource-src-5.6.2/src/3rdparty/assimp/code/BlenderTessellator.cpp as mentioned in https://github.com/assimp/assimp/commit/070fb3363f0a0383dde243153b4c798a48f6ef02
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2017-02-01 13:59:38 UTC
(In reply to peter from comment #2)

as said, if the port uses the bundled assimp, something else is broken. Could you update/reinstall your multimedia/assimp, and try again?


mfg Tobias
Comment 4 Tobias C. Berner freebsd_committer freebsd_triage 2017-02-01 14:05:45 UTC
Could you also please look at the contents of the ${WRKSRC}/config.log?
Comment 5 Peter TKATCHENKO 2017-02-02 14:41:24 UTC
Created attachment 179528 [details]
config.log
Comment 6 Tobias C. Berner freebsd_committer freebsd_triage 2017-02-02 14:46:37 UTC
As suspected the assimp-test fails :) -- and it falls back to the bundled assimp.

For some reason it thinks it should use the mkspec freebsd-g++ instead of freebsd-clang (and fails, because 10.3 does not contain g++ in base). 

Are you sure the rest of your jail is up-to-date? And do you really not set anything in make.conf?



mfg Tobias
Comment 7 Peter TKATCHENKO 2017-02-02 14:58:29 UTC
OK if you think that it's the source of the problem.
This jail was not restarted since a lot of time, there were some apps (not from ports) that were built here. Probably, one of makefiles set a bad environment value.
Comment 8 Raphael Kubo da Costa freebsd_committer freebsd_triage 2017-04-08 22:15:51 UTC
Closing after the comment above.