Created attachment 147009 [details]
force gcc build
On clang-enabled systems such as FreeBSD 10.0R fails to start with
$ HOME=/tmp mypaint
We are not correctly installed or compiled!
deduced prefix: "/usr/local"
Traceback (most recent call last):
File "/usr/local/bin/mypaint", line 170, in <module>
datapath, extradata, confpath, localepath, localepath_brushlib = get_paths()
File "/usr/local/bin/mypaint", line 111, in get_paths
from lib import mypaintlib
File "/usr/local/share/mypaint/lib/mypaintlib.py", line 25, in <module>
_mypaintlib = swig_import_helper()
File "/usr/local/share/mypaint/lib/mypaintlib.py", line 17, in swig_import_helper
ImportError: /usr/local/lib/mypaint/_mypaintlib.so: Undefined symbol "_ZN10BufferCompIL20BufferCompOutputType1ELj16384E12HueBlendModeE9blendfuncE"
Please disregard previous comment. Should'be been:
I've released maintainership of mypaint, release the PR as well.
This should have been released to "open", not "triage".
Created attachment 152023 [details]
|poudriere testport -P| log (9.3R i386)
Created attachment 152026 [details]
|poudriere testport| log (9.3R i386)
Created attachment 152027 [details]
|poudriere testport -P| log for 8.4R amd64
A commit references this bug:
Date: Wed Jan 28 13:39:42 UTC 2015
New revision: 378057
Build using lang/gcc* to avoid runtime issues with old -lgcc_s or Clang
Absence of RPATH leads to mypaint loading old libgcc_s.so.1 from base
first which later breaks |import numpy| as libgfortran wants newer version.
On 10.0+ the issue is masked by Clang failing to instantiate some templates.
Differential Revision: https://reviews.freebsd.org/D1616
Approved by: bapt (mentor)