SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
-- Build files have been written to: /tmp/SBo/oiio-Release-1.7.14/build
[ 0%] Built target CopyFiles
[ 0%] Building CXX object src/libutil/CMakeFiles/OpenImageIO_Util.dir/strutil.cpp.o
/tmp/SBo/oiio-Release-1.7.14/src/libutil/strutil.cpp: In function ‘void OpenImageIO::v1_7::Strutil::utf8_to_unicode(OpenImageIO::v1_7::string_view, std::vector<unsigned int>&)’:
/tmp/SBo/oiio-Release-1.7.14/src/libutil/strutil.cpp:891:23: error: ‘codepoint’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
(byte & 0x3fu) | (*codep << 6) :
^~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/libutil/CMakeFiles/OpenImageIO_Util.dir/build.make:279: src/libutil/CMakeFiles/OpenImageIO_Util.dir/strutil.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1378: src/libutil/CMakeFiles/OpenImageIO_Util.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
I downloaded the latest git and just using "make" gives this:
Code:
In file included from /home/batman/oiio/src/gif.imageio/gifinput.cpp:36:0:
/home/batman/oiio/src/include/OpenImageIO/thread.h: In member function ‘std::future<decltype (f(0, rest ...))> OpenImageIO_v1_8::thread_pool::push(F&&, Rest&& ...)’:
/home/batman/oiio/src/include/OpenImageIO/thread.h:573:18: error: ‘bind’ is not a member of ‘std’
std::bind(std::forward<F>(f), std::placeholders::_1, std::forward<Rest>(rest)...)
^~~~
/home/batman/oiio/src/include/OpenImageIO/thread.h:573:18: note: suggested alternative: ‘find’
std::bind(std::forward<F>(f), std::placeholders::_1, std::forward<Rest>(rest)...)
^~~~
find
/home/batman/oiio/src/include/OpenImageIO/thread.h:573:48: error: ‘std::placeholders’ has not been declared
std::bind(std::forward<F>(f), std::placeholders::_1, std::forward<Rest>(rest)...)
make[3]: *** [src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/build.make:975: src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/gif.imageio/gifinput.cpp.o] Error 1
make[3]: Leaving directory '/home/batman/oiio/build/linux64'
make[2]: *** [CMakeFiles/Makefile2:2288: src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/all] Error 2
make[2]: Leaving directory '/home/batman/oiio/build/linux64'
make[1]: *** [Makefile:163: all] Error 2
make[1]: Leaving directory '/home/batman/oiio/build/linux64'
make: *** [Makefile:369: cmake] Error 2
I have rebuilt all dependencies listed for openimageio.
I think you probably can just change this line in the slackbuild.
Code:
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS"
To this.
Code:
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -wno-error"
I tried (the compiler said that the W should be capitalized):
Code:
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error"
This is the result:
Code:
[ 4%] Building CXX object src/libutil/CMakeFiles/OpenImageIO_Util.dir/strutil.cpp.o
/tmp/SBo/oiio-Release-1.7.14/src/libutil/strutil.cpp: In function ‘void OpenImageIO::v1_7::Strutil::utf8_to_unicode(OpenImageIO::v1_7::string_view, std::vector<unsigned int>&)’:
/tmp/SBo/oiio-Release-1.7.14/src/libutil/strutil.cpp:891:23: error: ‘codepoint’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
(byte & 0x3fu) | (*codep << 6) :
^~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/libutil/CMakeFiles/OpenImageIO_Util.dir/build.make:279: src/libutil/CMakeFiles/OpenImageIO_Util.dir/strutil.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1378: src/libutil/CMakeFiles/OpenImageIO_Util.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
burn-plugin.c: In function 'brasero_plugin_test_app':
burn-plugin.c:280:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
if ((standard_output && sscanf (standard_output, version_format, &major, &minor, &sub) == i)
^~
burn-plugin.c:281:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
|| (standard_error && sscanf (standard_error, version_format, &major, &minor, &sub) == i))
-Werror=format-nonliteral
Last edited by USUARIONUEVO; 05-23-2017 at 01:40 AM.
burn-plugin.c: In function 'brasero_plugin_test_app':
burn-plugin.c:280:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
if ((standard_output && sscanf (standard_output, version_format, &major, &minor, &sub) == i)
^~
burn-plugin.c:281:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
|| (standard_error && sscanf (standard_error, version_format, &major, &minor, &sub) == i))
-Werror=format-nonliteral
Quote:
Originally Posted by USUARIONUEVO
Solution for brasero
Code:
--enable-compile-warnings=minimum
FYI, when a specific configure option like that is not available you can also disable the single warnings-as-errors that break build in the CFLAGS/CXXFLAGS
Thanks ponce , i post cause slackbuilds and your repo slackbuild fails and are equal.
I understand probably slackbuilds, no fix cause no affect stable , but i think is helpful to post for a fix in "current" , repos like yours.
A large number of packages breaking for this reason , i see you fix some slackbuilds in your repo for current, like libmusicbrainz and others , then i post for informational.
Thanks , your repo is helpful for current users :=)
Im not sure , but probably other gnome soft have this parameter in configure.
Last edited by USUARIONUEVO; 05-23-2017 at 07:02 AM.
Sorry for this , but , upgrade your slackbuilds gst-plugins-bad and ugly to 1.12.0 , i encounter problems with 1.10.4 , builds fine, but cause segmentation faults later , gstreamer is now at 1.12 branch.
Sorry for this , but , upgrade your slackbuilds gst-plugins-bad and ugly to 1.12.0 , i encounter problems with 1.10.4 , builds fine, but cause segmentation faults later , gstreamer is now at 1.12 branch.
I don't seem to have your segfaults here but it's ok for me to keep in line with the gstreamer version in current: I pushed the relative branches already.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.