Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 09:56:51 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184112: graphics/openimageio
Message-ID:  <201311200956.rAK9up0l063966@oldred.freebsd.org>
Resent-Message-ID: <201311201000.rAKA01OA098846@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184112
>Category:       ports
>Synopsis:       graphics/openimageio
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 20 10:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 11.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
>Description:
When trying to install graphics/blender, which requires openimageio,, I run on FreeBSD 10 as well as FreeBSD 11 (both systems are up to date and ports tree is also updated on a daily, at least a weekly basis as it is the world/buildworld), into the error shown below.

The following actions has been taken before sending the PR:

rebuild graphics/ilmbase
rebuild graphics/OpenEXR
rebuild graphics/[opencv,opencv-core]

Then try to rebuild graphics/openimageio:

[...]
===>  Building for openimageio-1.2.3
[ 80%] Built target OpenImageIO
Linking CXX executable atomic_test
/usr/bin/ld: warning: libImath-2_0.so.10, needed by /usr/local/lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libIlmImf-Imf_2_0.so.20, needed by /usr/local/lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libIex-2_0.so.10, needed by /usr/local/lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libHalf.so.10, needed by /usr/local/lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::ChannelList::insert(char const*, Imf_2_0::Channel const&)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::InputFile::readPixels(int, int)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::InputFile::InputFile(char const*, int)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::FrameBuffer::insert(char const*, Imf_2_0::Slice const&)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::InputFile::setFrameBuffer(Imf_2_0::FrameBuffer const&)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::OutputFile::~OutputFile()'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::Header::~Header()'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::Slice::Slice(Imf_2_0::PixelType, char*, unsigned long, unsigned long, int, int, double, bool, bool)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::OutputFile::writePixels(int)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::chromaticities(Imf_2_0::Header const&)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::Header::channels()'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::ChannelList::findChannel(char const*) const'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::Chromaticities::Chromaticities(Imath_2_0::Vec2<float> const&, Imath_2_0::Vec2<float> const&, Imath_2_0::Vec2<float> const&, Imath_2_0::Vec2<float> const&)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::Header::channels() const'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::OutputFile::setFrameBuffer(Imf_2_0::FrameBuffer const&)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::hasChromaticities(Imf_2_0::Header const&)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::Channel::Channel(Imf_2_0::PixelType, int, int, bool)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::Header::Header(int, int, float, Imath_2_0::Vec2<float> const&, float, Imf_2_0::LineOrder, Imf_2_0::Compression)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::globalThreadCount()'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::OutputFile::OutputFile(char const*, Imf_2_0::Header const&, int)'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::Header::dataWindow() const'
/usr/local/lib/libopencv_highgui.so: undefined reference to `Imf_2_0::InputFile::header() const'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311200956.rAK9up0l063966>