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.
--- libslirp.SlackBuild 2022-12-05 10:32:13.064238782 +0100
+++ libslirp.SlackBuild.1 2022-12-16 22:23:41.024478442 +0100
@@ -22,6 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libslirp
VERSION=${VERSION:-4.6.1}
@@ -45,7 +46,6 @@
exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
Traced failed slackbuild to this bit:
./waf configure --prefix=/usr --libdir=/usr/lib64 --disable-examples
I manually extracted lvtk-1.2.0.tar.gz and issued the above command.
File "/sources/slackbuilds/libraries/lvtk/lvtk-1.2.0/.waf3-1.7.2-89df5661dd0948598701ec3b9c0a4216/waflib/Node.py", line 281, in ant_iter
raise StopIteration
StopIteration
This exception generates a few screens of more exceptions.
Things just work with lvtk-2.0.0rc1.tar.gz. Just need to update to current release and change "README" to "README.md".
Last edited by hpfeil; 12-18-2022 at 08:24 PM.
Reason: found another error in build script
Traced failed slackbuild to this bit:
./waf configure --prefix=/usr --libdir=/usr/lib64 --disable-examples
I manually extracted lvtk-1.2.0.tar.gz and issued the above command.
File "/sources/slackbuilds/libraries/lvtk/lvtk-1.2.0/.waf3-1.7.2-89df5661dd0948598701ec3b9c0a4216/waflib/Node.py", line 281, in ant_iter
raise StopIteration
StopIteration
This exception generates a few screens of more exceptions.
Things just work with lvtk-2.0.0rc1.tar.gz. Just need to update to current release and change "README" to "README.md".
that's strange, lvtk seems to build fine here on the latest slackware64-current...
Just tried building it again - from scratch, using the 15.0 SBo 64-bit build downloads. I can't find a build log for the cef chromium dependency, which is what is built first and fails, but I've attached the text from where the error first appears. The relevant bit (repeated many times) seems to be:
Code:
In file included from /tmp/SBo/cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux64_minimal/include/cef_server.h:42,
from /tmp/SBo/cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux64_minimal/libcef_dll/cpptoc/server_handler_cpptoc.h:24,
from /tmp/SBo/cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux64_minimal/libcef_dll/cpptoc/server_handler_cpptoc.cc:15:
In member function ‘void CefRefCount::AddRef() const’,
inlined from ‘void CefCppToCRefCounted<ClassName, BaseName, StructName>::AddRef() const [with ClassName = CefServerHandlerCppToC; BaseName = CefServerHandler; StructName = _cef_server_handler_t]’ at /tmp/SBo/cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux64_minimal/libcef_dll/cpptoc/cpptoc_ref_counted.h:80:22,
inlined from ‘scoped_refptr<T>::scoped_refptr(const scoped_refptr<T>&) [with T = CefServer]’ at /tmp/SBo/cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux64_minimal/include/base/cef_ref_counted.h:304:19,
inlined from ‘static CefRefPtr<BaseName> CefCToCppRefCounted<ClassName, BaseName, StructName>::Wrap(StructName*) [with ClassName = CefServerCToCpp; BaseName = CefServer; StructName = _cef_server_t]’ at /tmp/SBo/cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux64_minimal/libcef_dll/ctocpp/ctocpp_ref_counted.h:128:10:
/tmp/SBo/cef_binary_87.1.14+ga29e9a3+chromium-87.0.4280.141_linux64_minimal/include/cef_base.h:98:49: error: array subscript 38 is outside array bounds of ‘void [32]’ [-Werror=array-bounds]
98 | void AddRef() const { base::AtomicRefCountInc(&ref_count_); }
| ^~~~~~~~~~~
Interpreting this is a bit above my pay grade!
--
Pete
I'm having the exact same error using Slackware current and obs-studio slackbuild (which includes cef).
Open Cubic Player (ocp) seems to neither build on Slackware stable nor current, and I suspect a few others may not, but if so, will post/list later.
Hi David,
as for stable the only thing I noticed here is that the build brake when using multiple make jobs so just try to use a single one to build it and it should be enough.
for current there's an issue with the newer texinfo but it has been fixed with the newer version of ocp so I updated it in the unofficial repository: on a side note this new version seems to have fixed also the multiple make jobs issue manifested by 0.2.100.
[...]for current there's an issue with the newer texinfo but it has been fixed with the newer version of ocp so I updated it in the unofficial repository: on a side note this new version seems to have fixed also the multiple make jobs issue manifested by 0.2.100.[...]
Thanks! It only built for me in a chroot (clean except for stuff like package maintenance/building utilities) not my main PC where there was some Perl problem. However even when it successfully built in a chroot it said the following.
Code:
Slackware package /tmp/ocp-0.2.101-x86_64-1_SBo.txz created.
/bin/bash: line 1: /dev/fd/5: No such file or directory
Failures:
ocp: ocp.SlackBuild return non-zero
Thanks! It only built for me in a chroot (clean except for stuff like package maintenance/building utilities) not my main PC where there was some Perl problem. However even when it successfulyl built in a chroot it said the following.
Code:
Slackware package /tmp/ocp-0.2.101-x86_64-1_SBo.txz created.
/bin/bash: line 1: /dev/fd/5: No such file or directory
Failures:
ocp: ocp.SlackBuild return non-zero
looks like something related to your chroot setup: if you need help with debugging it please open another topic, thanks!
libplacebo should be bumped to a newer version to support the newer vulkan-sdk in current
ponce, I'd like mpv, I'm trying to build it on slackwareaarch64-current, I found your built packages and got mpv installed on current vm.
All the slackbuilds with your versions are available on slackbuilds except libplacebo-4.208, should I adjust slackbuild using source from un-rpm archlinux package or do you slackbuild for your txz?
ponce, I'd like mpv, I'm trying to build it on slackwareaarch64-current, I found your built packages and got mpv installed on current vm.
All the slackbuilds with your versions are available on slackbuilds except libplacebo-4.208, should I adjust slackbuild using source from un-rpm archlinux package or do you slackbuild for your txz?
thank you
I think maybe you are using the wrong script repository: the unofficial one for current linked in the first post already contains libplacebo-4.208.0.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.