LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 04-22-2022, 08:10 PM   #1
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Slackwareaarch64-current (up-to-date) running on rpi4 new install. mpv fail, execvp error


I had slackwarearm running on rpi4 via sarpi instructions and had mpv installed and working.

Now with slackwareaarch64-current on same rpi4, mpv fails with execvp:no such file or directory.

Nearest thing I could find were mentioning gcc errors.

I don't know this stuff, I'm wondering was different gcc used between the builds of slackwarearm?

Prerequisites were built and installed accordingly as I did before.
 
Old 04-22-2022, 09:50 PM   #2
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
The link to SBo shows the Slackware 15.0 repository. You stated you are running -current. I would contact the maintainer of the SlackBuild first. You could also try ponce's repository or the master branch of SBo.
 
Old 04-24-2022, 06:12 AM   #3
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Posted follow up to other thread where slackpkg mpv install works on vbox current install.

mpv installed and worked on sarpi install rpi4 current armv7.

Last edited by glorsplitz; 04-24-2022 at 06:14 AM.
 
Old 04-24-2022, 08:42 AM   #4
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Did you rebuild the packages while running Slackwareaarch64-current on your Rpi 4? The Armv7 packages need a rebuild if you plan to use them Aarch64/Armv8.
 
Old 04-25-2022, 06:53 PM   #5
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Downloaded SBo packages, sourced *.infos, wget sources, ./package.Slackbuilds as root, installed as root, did not use packages from armv7 rpi4 install.
 
Old 04-25-2022, 08:32 PM   #6
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
SBo does not provide SlackBuilds for Aarch64, you need to edit each SlackBuild like so:
Code:
diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild
index 2244b1dca2..ec656bdf97 100644
--- a/multimedia/mpv/mpv.SlackBuild
+++ b/multimedia/mpv/mpv.SlackBuild
@@ -64,6 +64,9 @@ elif [ "$ARCH" = "i686" ]; then
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fPIC"
   LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+  SLKCFLAGS="-O2 -fPIC"
+  LIBDIRSUFFIX="64"
 else
   SLKCFLAGS="-O2"
   LIBDIRSUFFIX=""
Code:
[ rpro.local.lan ~/Videos ] ls /var/log/packages/*ponce
/var/log/packages/libass-0.14.0-aarch64-3_ponce
/var/log/packages/mpv-0.34.1-aarch64-4_ponce
/var/log/packages/libplacebo-3.120.3-aarch64-2_ponce
/var/log/packages/mujs-1.2.0-aarch64-3_ponce
/var/log/packages/lua-5.1.5-aarch64-3_ponce
I took the time to build the packages and tested mpv with:
Code:
 mpv https://exitstatus.one/wp-content/uploads/2022/01/rpi_arm64_rpi3_build.mp4
It all works fine. I'm guessing something is wrong on your system. Full install? Are you certain you have the right architecture set up for your scripts? It's not using scripts/packages for x86_64 or armv7 or some such?

Last edited by mralk3; 04-25-2022 at 08:38 PM.
 
  


Reply



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
Can't rsync slackwareaarch64-current dodoLQ Slackware - ARM 2 12-05-2021 05:17 AM
[SOLVED] RPi4 (Sarpi) - rc.local ntpdate "hack" fails to update date/time eduardr Slackware - ARM 8 03-31-2020 07:56 PM
[SOLVED] Arduino IDE on RPi4 SlackwareARM -current using modified Slackbuild TheTKS Slackware - ARM 3 02-15-2020 10:50 PM
[SOLVED] [INF] Still recommending mpv-0.27 after new mpv release and -current update 1337_powerslacker Slackware 16 12-31-2017 01:17 AM

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

All times are GMT -5. The time now is 05:42 PM.

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