Created attachment 181448 [details] svn.diff_graphics_vigra A pkg-plist error in graphics/vigra, attached patch.
Created attachment 181449 [details] svn-diff_graphics_vigra Corrected patch cause of portlint.
Poudriere testbuilds with 10.3-amd64/i386 ok.
This does not seem like a packing list issue. The files not found are those needed by NUMPY option and that option is being ignored due to errors during configuration. Here is the relevant exerpt from 'make configure': -- Found PythonInterp: /usr/local/bin/python2.7 (found version "2.7.13") -- Checking VIGRANUMPY_DEPENDENCIES -- Found Python libraries: /usr/local/lib/libpython2.7.so -- Found Python includes: /usr/local/include/python2.7 -- Searching for Boost (at least version 1.40.0) -- in prefix /usr/local -- Boost version: 1.63.0 -- Found the following Boost libraries: -- python Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line 142, in <module> from . import add_newdocs File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module> from numpy.lib import add_newdoc File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module> from .type_check import * File "/usr/local/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module> import numpy.core.numeric as _nx File "/usr/local/lib/python2.7/site-packages/numpy/core/__init__.py", line 14, in <module> from . import multiarray ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc5/libgfortran.so.3 not found -- Could NOT find Python numpy ('import numpy.distutils.misc_util' failed) -- Searching for Python nosetests: ok -- Searching for sphinx documentation generator: ok -- Could NOT find VIGRANUMPY_DEPENDENCIES (missing: PYTHON_NUMPY_INCLUDE_DIR) I suspect that the issue is that the base system libgcc_s.so.1 does not meet the needs of gfortran5.
gfortran5 is linked to /usr/local/lib/gcc5/libgcc_s.so.1, but the configuration script is finding /lib/libgcc_s.so.1, which shows the old 4.46 version, which is too old. If I move /lib/libgcc5_s.so.1 aside, it now works fine. I'm not sure if the issue is lang/gcc, math/numpy or graphicsvigra, but something is pulling in the wrong library.d ldd gfortran5 shows gfortran5 linked to the correct library: ibgcc_s.so.1 => /usr/local/lib/gcc5/libgcc_s.so.1 I hate trying to straighten out these "picking the wrong shareable" issues. In hte meantime, you can get vigra to build with NUMPY selected by moving /lib/libgcc_s.so.1 aside. If you have a newer vrsion of gcc installed, there should be no need for it. Oh, and it will take a LOT longer to build.
Seems the same or similar problem link in Bug 218390. So I guess it is py-numpy.
I tried for test science/py-scipy same problem.
It really looks like either a numpy or even /ang/gcc (gcc5) issue. The following command triggers the error: python2.7 -c "import multiarray" It looks like this pulls in /lib/libgcc_s.so.1 which no longer plays nice with gfortran5 (lang/gcc). BTW, moving /lib/libgcc_s.so.1 will allow building vigra w/NUMPY, but will break lots of other things that compile with gcc5, such as pkgconf, so you need to move it back after building vigra.
Seems all other ports wirh this problem could be "handled" with /etc/libmap.conf libgcc_s.so.1 gcc5/libgcc_s.so.1 but not graphics/vigra.
Maybe this points to CMake.
Created attachment 181525 [details] patch-CMakeFiles.txt
Vigra compiles with the above entry in /etc/libmap.conf and the attached patch with numpy on.
Created attachment 181529 [details] port-build.log
Attached build.log from port (with poudriere it compiles before without problems. This was the reason I don't see the error messages from Traceback). The linker warnings could be silenced by adding USES+=compiler:c++11-lib to the Makefile.
After recompile of math/blas math/cblas math/lapack math/suitesparse math/numpy math/fftw3 no need for /etc/libmap.conf (see also Bug 218390).
Only for clear: The patch is needed to make it compile with numpy on.
The port has a few other issues. It needs a shebangfix and libdepends for libImath-2_2.so.12, libHalf.so.12, libIex-2_2.so.12, and libIlmThread-2_2.so.1 all from graphics/ilmbase. I can build with numpy on amd64 without the patch, though.
You are right may be, some things changed in the meantime.
But I have problems with the REINPLACE_CMD. I can change it from the commandline but not with the Makefile (same command). )n this case "shebangfix" don't work. The fiile (bin/vigra-config) exists not after patch, so a REINPLACE_CMD is needed.
Created attachment 182048 [details] svn-diff-graphics_vigra-Makefile
Got it. It was a missing "@" before the REINPLACE_CMD.
Created attachment 182050 [details] svn-diff_vigra_Makefile_2
Corrected svn-diff (forgot again portlint).
Testbuilds with poudriere 10.3-amd64/i386 ok.
Sorry, I totally missed this pr, and commited by diff in r441331.
Ok, thanks it is fixed. So I close the PR.