I think I understand what's going wrong. How about this: https://github.com/OpenImageIO/oiio/pull/1315
That's a fix against 1.6. Can you give that a try? > On Jan 11, 2016, at 11:29 PM, Matteo F. Vescovi <[email protected]> wrote: > > Hi! > > On Mon, Jan 11, 2016 at 2:52 PM, Matteo F. Vescovi <[email protected]> > wrote: >> Hi! >> >> On Mon, Jan 11, 2016 at 5:54 AM, Larry Gritz <[email protected]> wrote: >>> * Almost always, the Debian build breaks are "warnings" that are treated as >>> errors. You may wish to consider compiling with STOP_ON_WARNING=0 as >>> standard practice, and only every once in a while compile without it and >>> report back to us any errors you encounter -- OR, compile the usual way by >>> default but know that if it fails, try again with STOP_ON_WARNING=0 and use >>> that build if it succeeds. In any case, if STOP_ON_WARNING=0 succeeds, you >>> should go with that build. If you send us the logs, we can address the >>> warning as promptly as we can, but it should never hold up your updating >>> the package. The warnings are almost always harmless. >> >> OK, gonna use this as a standard, then. > > So I did it... and fyi it builds fine on amd64 architecture but fails > on i386, as follows: > > [ 78%] Linking CXX executable imagecache_test > cd "/«PKGBUILDDIR»/build/src/libOpenImageIO" && /usr/bin/cmake -E > cmake_link_script CMakeFiles/imagecache_test.dir/link.txt --verbose=1 > /usr/bin/c++ -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 > -Wl,-z,relro -latomic > CMakeFiles/imagecache_test.dir/imagecache_test.cpp.o -o > imagecache_test -rdynamic libOpenImageIO.so.1.6.9 -lboost_filesystem > -lboost_regex -lboost_system -lboost_thread -lpthread -lrt -ldl -lHalf > -lIex -lImath -lIlmThread -lpthread -lOpenColorIO -lopencv_core > -lopencv_highgui -lfreetype -lpng -lz -ltiff -ljpeg -lopenjpeg -lwebp > -lz -ltiff -ljpeg -lopenjpeg -lwebp -lIlmImf -lgif -lraw_r -lHalf > -lIex -lImath -lIlmThread -lpthread > -Wl,-rpath,"/«PKGBUILDDIR»/build/src/libOpenImageIO" > libOpenImageIO.so.1.6.9: undefined reference to > `OpenImageIO::v1_6::CSHA1::Update(unsigned char const*, unsigned > long)' > collect2: error: ld returned 1 exit status > src/libOpenImageIO/CMakeFiles/imagecache_test.dir/build.make:127: > recipe for target 'src/libOpenImageIO/imagecache_test' failed > make[4]: *** [src/libOpenImageIO/imagecache_test] Error 1 > make[4]: Leaving directory '/«PKGBUILDDIR»/build' > CMakeFiles/Makefile2:1628: recipe for target > 'src/libOpenImageIO/CMakeFiles/imagecache_test.dir/all' failed > make[3]: *** [src/libOpenImageIO/CMakeFiles/imagecache_test.dir/all] Error 2 > make[3]: *** Waiting for unfinished jobs.... > > It's failing also on another architecture, at least. > > Gotta check what's wrong there. > > Cheers. > > -- > Matteo F. Vescovi > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
