[Bug 207278] graphics/luxrender: don't build unused demos, fix build with updated openimageio

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 17 14:24:34 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207278

            Bug ID: 207278
           Summary: graphics/luxrender: don't build unused demos, fix
                    build with updated openimageio
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
             Flags: maintainer-feedback?(danfe at FreeBSD.org)
          Assignee: danfe at FreeBSD.org

Created attachment 167111
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167111&action=edit
Patch

- Don't build demos which are not used or installed; this also fixes build with
new openimageio:

cd
/wrkdirs/usr/ports/graphics/luxrender/work/luxrender-luxrays-8577ff287efb/samples/benchsimple
&& /usr/local/bin/cmake -E cmake_link_script
CMakeFiles/benchsimple.dir/link.txt --verbose=1
/usr/local/libexec/ccache/c++   -O2 -pipe -fstack-protector
-fno-strict-aliasing -Wall -Wno-long-long -msse -fPIC -DNDEBUG   -lpython2.7
-fstack-protector CMakeFiles/benchsimple.dir/benchsimple.cpp.o  -o
../../bin/benchsimple  -L/usr/local/lib  ../../lib/libluxrays.a
/usr/local/lib/libpython2.7.so -pthread ../../lib/libluxrays.a
/usr/local/lib/libembree.so /usr/local/lib/libboost_thread.so
/usr/local/lib/libboost_program_options.so
/usr/local/lib/libboost_filesystem.so /usr/local/lib/libboost_serialization.so
/usr/local/lib/libboost_iostreams.so /usr/local/lib/libboost_regex.so
/usr/local/lib/libboost_system.so /usr/local/lib/libboost_python.so
/usr/local/lib/libOpenImageIO.so -Wl,-rpath,/usr/local/lib
/usr/local/lib/libboost_python.so: undefined reference to
`PyUnicode_InternFromString'
/usr/local/lib/libboost_python.so: undefined reference to
`PyUnicode_FromFormat'
/usr/local/lib/libboost_python.so: undefined reference to
`PyUnicode_FromString'
/usr/local/lib/libboost_python.so: undefined reference to `PyBytes_Size'
/usr/local/lib/libboost_python.so: undefined reference to `PyUnicode_AsUTF8'
/usr/local/lib/libboost_python.so: undefined reference to
`PyUnicode_FromEncodedObject'
/usr/local/lib/libboost_python.so: undefined reference to `PyBytes_AsString'
/usr/local/lib/libboost_python.so: undefined reference to `PyModule_Create2'
/usr/local/lib/libboost_python.so: undefined reference to
`PyUnicode_AsWideChar'
/usr/local/lib/libboost_python.so: undefined reference to
`PyUnicode_AsUTF8String'
/usr/local/lib/libboost_python.so: undefined reference to
`PyUnicode_FromStringAndSize'

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list