LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-16-2022, 03:25 PM   #5236
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,423

Rep: Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162

libslirp

Code:
--- 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}
slpkg does not work because of that
 
Old 12-18-2022, 08:18 PM   #5237
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 357
Blog Entries: 1

Rep: Reputation: Disabled
libraries/lvtk vs waf

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
 
Old 12-19-2022, 12:19 AM   #5238
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by hpfeil View Post
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...
 
Old 12-25-2022, 08:40 PM   #5239
fulalas
Member
 
Registered: Jun 2017
Posts: 151

Rep: Reputation: 34
Quote:
Originally Posted by pchristy View Post
Hi Matteo,

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).
 
Old 12-31-2022, 03:19 AM   #5240
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Rep: Reputation: 149Reputation: 149
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.
 
Old 12-31-2022, 04:26 AM   #5241
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by dchmelik View Post
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.

thanks for the report!
 
1 members found this post helpful.
Old 12-31-2022, 04:49 AM   #5242
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Rep: Reputation: 149Reputation: 149
Quote:
Originally Posted by ponce View Post
[...]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

Last edited by dchmelik; 12-31-2022 at 06:19 AM.
 
Old 12-31-2022, 06:13 AM   #5243
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by dchmelik View Post
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!
 
Old 01-01-2023, 10:55 AM   #5244
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,314

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by ponce View Post
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?

thank you
 
Old 01-01-2023, 11:01 AM   #5245
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by glorsplitz View Post
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.
 
Old 01-01-2023, 07:43 PM   #5246
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,423

Rep: Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162
Hi,

https://www.linuxquestions.org/quest...5/#post6401699

libslirp should be added in REQUIRES=
 
Old 01-01-2023, 08:29 PM   #5247
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,314

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by ponce View Post
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.
Your built packages all installed and worked in current vbox vm.

What I'd like is slackbuild/source you used to build your libplacebo-4.208.0 package to try to build it in slackwareaarch64-current.

The other dependencies for mpv from slackbuilds built in slackwareaarch64, libplacebo (3.120.3) is in slackbuilds.
 
Old 01-02-2023, 12:46 AM   #5248
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by marav View Post
Hi,

https://www.linuxquestions.org/quest...5/#post6401699

libslirp should be added in REQUIRES=
hi marav,

it should already be in the latest version of the repository

https://cgit.ponce.cc/slackbuilds/commit/?h=qemu

could it be you have not synced to the latest one (pushed two days ago)?

Last edited by ponce; 01-02-2023 at 12:47 AM.
 
Old 01-02-2023, 12:50 AM   #5249
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by glorsplitz View Post
Your built packages all installed and worked in current vbox vm.

What I'd like is slackbuild/source you used to build your libplacebo-4.208.0 package to try to build it in slackwareaarch64-current.

The other dependencies for mpv from slackbuilds built in slackwareaarch64, libplacebo (3.120.3) is in slackbuilds.
you can get it cloning the repository linked in the first post (you can use the example linked in the last line of the post).

BTW it's just a version bump in respect of what we have in SBo
https://cgit.ponce.cc/slackbuilds/commit/?h=libplacebo
 
1 members found this post helpful.
Old 01-02-2023, 09:28 AM   #5250
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,314

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
ponce, thank you for the assistance, I'm all set, this was on pinebook pro

Quote:
Linux 5.19.16-armv8 #1 SMP PREEMPT Fri Oct 21 18:53:01 BST 2022 aarch64 unknown GNU/Linux
PRETTY_NAME="Slackware 15.0 aarch64 (post 15.0 -current)"

mpv --version
mpv 0.35.0 Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration