Gentoo Archives: gentoo-user

From: lee <lee@××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] should everything compile?
Date: Mon, 26 Dec 2016 20:09:24
Message-Id: 87tw9qfo63.fsf@heimdali.yagibdah.de
1 Hi,
2
3 there are some things that refuse to compile. One of them is
4 openimageio.
5
6 Is this a bug, or am I missing something? Do I need to update something
7 else first?
8
9
10 ,---- [ emerge -a -k @preserved-rebuild ]
11 | [...]
12 | >>> Emerging (27 of 35) media-libs/openimageio-1.6.13::gentoo [1450/94379]
13 | * openimageio-1.6.13.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
14 | >>> Unpacking source...
15 | >>> Source unpacked in /var/tmp/portage/media-libs/openimageio-1.6.13/work
16 | >>> Preparing source in /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13 ...
17 | >>> Source prepared.
18 | >>> Configuring source in /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13 ...
19 | >>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build"
20 | cmake -C /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib64 -DBUILDSTATIC=OFF -DLINKSTATIC=OFF -DINSTALL_DOCS=
21 | OFF -DOIIO_BUILD_TESTS=OFF -DSTOP_ON_WARNING=OFF -DUSE_EXTERNAL_PUGIXML=ON -DUSE_FIELD3D=OFF -DUSE_FREETYPE=yes -DUSE_FFMPEG=no -DUSE_GIF=yes -DUSE_OCIO=no -DUSE_OPENCV=no -DUSE_OPENGL=yes -DUSE_OPENJPEG=yes -DUSE_OPENSSL=yes -DUSE_PYTHON
22 | =no -DUSE_LIBRAW=no -DUSE_QT=no -DUSE_PYTHON3=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/p
23 | ortage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build/gentoo_toolchain.cmake /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13
24 | loading initial cache file /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build/gentoo_common_config.cmake
25 | -- The C compiler identification is GNU 5.3.0
26 | -- The CXX compiler identification is GNU 5.3.0
27 | -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
28 | -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
29 | -- Detecting C compiler ABI info
30 | -- Detecting C compiler ABI info - done
31 | -- Detecting C compile features
32 | -- Detecting C compile features - done
33 | -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
34 | -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
35 | -- Detecting CXX compiler ABI info
36 | -- Detecting CXX compiler ABI info - done
37 | -- Detecting CXX compile features
38 | -- Detecting CXX compile features - done
39 | -- Project build dir = /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build
40 | -- CMAKE_CXX_COMPILER is /usr/bin/x86_64-pc-linux-gnu-g++
41 | -- CMAKE_CXX_COMPILER_ID is GNU
42 | -- Setting Namespace to: OpenImageIO
43 | -- platform = linux64
44 | -- Boost python support not found -- will not build python components!
45 | -- OpenColorIO disabled
46 | -- No Qt4 -- skipping components that need Qt4.
47 | -- Field3d will not be used
48 | -- Not using LibRaw
49 | -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.2j")
50 | -- OpenSSL enabled
51 | -- OPENSSL_INCLUDES: /usr/include
52 | -- FFmpeg plugin will not be built
53 | -- Field3D plugin will not be built
54 | -- Raw plugin will not be build
55 | -- PTex plugin will not be built
56 | --
57 |
58 | WARNING: Qt, OpenGL, or GLEW not found -- 'iv' will not be built!
59 |
60 | -- Could not Find Nuke. Skipping build of Nuke plugins.
61 | --
62 |
63 | Did not find /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13/../bmpsuite
64 | -- -> Will not run tests bmp
65 | -- -> You can find it at http://entropymine.com/jason/bmpsuite/bmpsuite.zip
66 |
67 | --
68 |
69 | Did not find /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13/../libtiffpic
70 | -- -> Will not run tests tiff-suite;tiff-depths;tiff-misc
71 | -- -> You can find it at http://www.remotesensing.org/libtiff/images.html
72 |
73 | --
74 |
75 | Did not find /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13/../openexr-images
76 | -- -> Will not run tests openexr-suite;openexr-multires;openexr-chroma;openexr-v2;perchannel
77 | -- -> You can find it at http://www.openexr.com/downloads.html
78 |
79 | --
80 |
81 | Did not find /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13/../oiio-images
82 | -- -> Will not run tests gif
83 | -- -> You can find it at Recent checkout of oiio-images
84 |
85 | --
86 |
87 | Did not find /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13/../j2kp4files_v1_5
88 | -- -> Will not run tests jpeg2000
89 | -- -> You can find it at http://www.itu.int/net/ITU-T/sigdb/speimage/ImageForm-s.aspx?val=10100803
90 |
91 | --
92 |
93 | Did not find /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13/../oiio-images/pnm
94 | -- -> Will not run tests pnm
95 | -- -> You can find it at Recent checkout of oiio-images
96 |
97 | --
98 |
99 | Did not find /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13/../TGAUTILS
100 | -- -> Will not run tests targa-tgautils
101 | -- -> You can find it at http://tgautils.inequation.org/
102 |
103 | --
104 |
105 | Did not find /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13/../fits-images
106 | -- -> Will not run tests fits
107 | -- -> You can find it at http://www.cv.nrao.edu/fits/data/tests/
108 |
109 | --
110 |
111 | Did not find /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13/../webp-images
112 | -- -> Will not run tests webp
113 | -- -> You can find it at http://code.google.com/speed/webp/gallery.html
114 |
115 | -- Configuring done
116 | -- Generating done
117 | -- Build files have been written to: /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build
118 | >>> Source configured.
119 | >>> Compiling source in /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13 ...
120 | >>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build"
121 | make -j16 VERBOSE=1
122 | [...]
123 | [100%] Linking CXX executable oiiotool
124 | cd /var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build/src/oiiotool && /usr/bin/cmake -E cmake_link_script CMakeFiles/oiiotool.dir/link.txt --verbose=1
125 | ccache /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=westmere -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -maes -mpclmul -mpopcnt -msse4.2 -msse4.1 -mfxsr --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-s
126 | ize=12288 -mtune=westmere -fomit-frame-pointer -fno-stack-protector -Wl,-O1 -Wl,--as-needed CMakeFiles/oiiotool.dir/oiiotool.cpp.o CMakeFiles/oiiotool.dir/diff.cpp.o CMakeFiles/oiiotool.dir/imagerec.cpp.o CMakeFiles/oiiotool.dir/printi
127 | nfo.cpp.o -o oiiotool -rdynamic ../libOpenImageIO/libOpenImageIO.so.1.6.13 -lboost_filesystem-mt -lboost_regex-mt -lboost_system-mt -lboost_thread-mt -lboost_chrono-mt -lboost_date_time-mt -lboost_atomic-mt -lrt -ldl -lssl -lcrypto -lfre
128 | etype -lpng -lz -ltiff -ljpeg -lIlmImf -lImath -lIex -lHalf -lIlmThread -lpthread -lopenjpeg -lwebp -lgif -lz -ltiff -ljpeg -lIlmImf -lImath -lIex -lHalf -lIlmThread -lpthread -lopenjpeg -lwebp -lgif -lpugixml -Wl,-rpath,/var/tmp/portage/
129 | media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build/src/libOpenImageIO:
130 | ../libOpenImageIO/libOpenImageIO.so.1.6.13: undefined reference to `Imf_2_1::TypedAttribute<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::
131 | char_traits<char>, std::allocator<char> > > > >::writeValueTo(Imf_2_1::OStream&, int) const'
132 | ../libOpenImageIO/libOpenImageIO.so.1.6.13: undefined reference to `Imf_2_1::TypedAttribute<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::readValueFrom(Imf_2_1::IStream&, int, int)'
133 | ../libOpenImageIO/libOpenImageIO.so.1.6.13: undefined reference to `Imf_2_1::Header::type[abi:cxx11]() const'
134 | ../libOpenImageIO/libOpenImageIO.so.1.6.13: undefined reference to `Imf_2_1::TypedAttribute<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::
135 | char_traits<char>, std::allocator<char> > > > >::readValueFrom(Imf_2_1::IStream&, int, int)'
136 | ../libOpenImageIO/libOpenImageIO.so.1.6.13: undefined reference to `Imf_2_1::TypedAttribute<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::staticTypeName()'
137 | ../libOpenImageIO/libOpenImageIO.so.1.6.13: undefined reference to `Imf_2_1::TypedAttribute<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::
138 | char_traits<char>, std::allocator<char> > > > >::staticTypeName()'
139 | ../libOpenImageIO/libOpenImageIO.so.1.6.13: undefined reference to `Imf_2_1::Header::name[abi:cxx11]() const'
140 | ../libOpenImageIO/libOpenImageIO.so.1.6.13: undefined reference to `Imf_2_1::Header::setType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
141 | ../libOpenImageIO/libOpenImageIO.so.1.6.13: undefined reference to `Imf_2_1::TypedAttribute<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::writeValueTo(Imf_2_1::OStream&, int) const'
142 | collect2: error: ld returned 1 exit status
143 | src/oiiotool/CMakeFiles/oiiotool.dir/build.make:207: recipe for target 'src/oiiotool/oiiotool' failed
144 | make[2]: *** [src/oiiotool/oiiotool] Error 1
145 | make[2]: Leaving directory '/var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build'
146 | CMakeFiles/Makefile2:1366: recipe for target 'src/oiiotool/CMakeFiles/oiiotool.dir/all' failed
147 | make[1]: *** [src/oiiotool/CMakeFiles/oiiotool.dir/all] Error 2
148 | make[1]: Leaving directory '/var/tmp/portage/media-libs/openimageio-1.6.13/work/openimageio-1.6.13_build'
149 | Makefile:160: recipe for target 'all' failed
150 | make: *** [all] Error 2
151 | * ERROR: media-libs/openimageio-1.6.13::gentoo failed (compile phase):
152 | * emake failed
153 `----

Replies

Subject Author
[gentoo-user] Re: should everything compile? "Holger Hoffstätte" <holger@××××××××××××××××××.com>