LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-11-2024, 06:41 AM   #1
Johpin
Member
 
Registered: May 2020
Posts: 46

Rep: Reputation: Disabled
Failed building several dependencies of VLC on aarch64


For building VLC from slackbuilds.org you have to build about 45 dependencies. Several dependencies fail to build.

Libavc1394, libdirac, schroedinger, Orbit2, libdaemon and zvbi
==============================================================
The error is:
checking build system type... Invalid configuration `aarch64-slackware-linux': machine `aarch64-slackware' not recognized
configure: error: /bin/sh .auto/config.sub aarch64-slackware-linux failed

I "solved" this by changing the configure part of the Slackbuild
"--build=$ARCH-slackware-linux" into "--build=arm-slackware-linux"
Probably this is not the way to do it, but in this way I was able to build the package.

Chromaprint
===========
For chromaprint I used https://github.com/Ponce/slackbuilds...es/chromaprint

Libmpeg2
========
After "fixing" the "error: /bin/sh .auto/config.sub aarch64-slackware-linux failed" I got:
motion_comp_arm_s.S: Assembler messages:
motion_comp_arm_s.S:1: Error: junk at end of line, first unrecognized character is `@'

x265
====
CMake Error: The source directory "/tmp/SBo/x265_3.6/source" does not exist

musepack-tools
==============
Make Generate step failed. Build files cannot be regenerated correctly.

libbonobo
=========
After "fixing" the "error: /bin/sh .auto/config.sub aarch64-slackware-linux failed" and building :OORBit2-2.14.19 I got
configure: error: Package requirements ( ORBit-2.0 >= 2.11.2 ORBit-CosNaming-2.0 >= 2.11.2 gmodule-2.0 >= 2.0.1 glib-2.0 >= 2.25.7 gobject-2.0 >= 2.25.7 gthread-2.0 >= 2.25.7 gio-2.0 >= 2.25.7) were not met:

libsidplay2
===========
After "fixing" the "error: /bin/sh .auto/config.sub aarch64-slackware-linux failed" I got:
xsid.cpp:99:5: error: narrowing conversion of ''\200'' from 'char' to 'int8_t' {aka 'signed char'} [-Wnarrowing]

Any suggestions are welcome.
 
Old 04-12-2024, 11:32 AM   #2
Johpin
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
I found you should use "--built=$ARCH-unknown-linux", see https://www.linuxquestions.org/quest...est+Threads%29

Libmpeg2 compiles fine now.

Libsidplay2 compiles fine after patching, see https://mailman.videolan.org/piperma...ry/130349.html

X265 compiles by changing "-DCMAKE_BUILD_TYPE=Release ../source" into "-DCMAKE_BUILD_TYPE=Release ../x265_3.6/source", but fails building the package:

-- Installing: /tmp/SBo/package-x265/usr/bin/x265
-- Set non-toolchain portion of runtime path of "/tmp/SBo/package-x265/usr/bin/x265" to ""
cp: cannot stat 'COPYING': No such file or directory
cp: cannot stat 'doc/intra/*': No such file or director

=> to build the package comment out in x265.Slackbuild:
cp -a COPYING doc/intra/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

Musepack-tools: builds fine (I had overlooked two dependencies).

Quote:
Originally Posted by Johpin View Post
libbonobo
=========
After "fixing" the "error: /bin/sh .auto/config.sub aarch64-slackware-linux failed" and building :OORBit2-2.14.19 I got
configure: error: Package requirements ( ORBit-2.0 >= 2.11.2 ORBit-CosNaming-2.0 >= 2.11.2 gmodule-2.0 >= 2.0.1 glib-2.0 >= 2.25.7 gobject-2.0 >= 2.25.7 gthread-2.0 >= 2.25.7 gio-2.0 >= 2.25.7) were not met:
It also complains about, despite ORBit2 has been installed:
No package 'ORBit-2.0' found
No package 'ORBit-CosNaming-2.0' found


Anybody has tried to build libbonobo?

Last edited by Johpin; 04-12-2024 at 11:36 AM. Reason: Add extra stdout from libbonobo
 
Old 04-12-2024, 02:45 PM   #3
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,065

Rep: Reputation: Disabled
Quote:
Originally Posted by Johpin View Post
I found you should use "--built=$ARCH-unknown-linux", see https://www.linuxquestions.org/quest...est+Threads%29

Libmpeg2 compiles fine now.

Libsidplay2 compiles fine after patching, see https://mailman.videolan.org/piperma...ry/130349.html

X265 compiles by changing "-DCMAKE_BUILD_TYPE=Release ../source" into "-DCMAKE_BUILD_TYPE=Release ../x265_3.6/source", but fails building the package:

-- Installing: /tmp/SBo/package-x265/usr/bin/x265
-- Set non-toolchain portion of runtime path of "/tmp/SBo/package-x265/usr/bin/x265" to ""
cp: cannot stat 'COPYING': No such file or directory
cp: cannot stat 'doc/intra/*': No such file or director

=> to build the package comment out in x265.Slackbuild:
cp -a COPYING doc/intra/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

Musepack-tools: builds fine (I had overlooked two dependencies).



It also complains about, despite ORBit2 has been installed:
No package 'ORBit-2.0' found
No package 'ORBit-CosNaming-2.0' found


Anybody has tried to build libbonobo?
try it vlc or package vlc-3.0.17.4-aarch64-1mara.txz
 
Old 04-12-2024, 03:17 PM   #4
Johpin
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
Because I did not know libbonobo was a necessary dependency and it is deprecated (https://developer-old.gnome.org/libbonobo/), I skipped it. I also skipped avahi.

For Raspberry Pi I added to the configure part of vlc.Slackbuild:
--disable-mmal \
--enable-gles2 \

After installing I can play audio with video from disk.

Opening a network stream (IPTV) fails:
[00007fff28008380] http stream error: local stream 1 error: Cancellation (0x8)
[00007fff2814ebd0] adaptive demux: Changing stream format Unknown -> TS
[00007fff2814ebd0] adaptive demux error: Failed to create demuxer (nil) TS

Only the last one of my m3u8 playlist gives audio (no video):
[00007fff2818d2d0] adaptive demux: Changing stream format Unknown -> Packed AAC
[00007fff14355700] mpeg4audio demux packetizer: AAC channels: 2 samplerate: 48000
[00007fff2818d2d0] adaptive demux: Changing stream format Unknown -> TS
[00007fff2818d2d0] adaptive demux error: Failed to create demuxer (nil) TS
[00007fff28312a70] main decoder error: buffer deadlock prevented
[00007fff28356ee0] http stream error: peer stream 1 error: Cancellation (0x8)
[00007fff2818d2d0] http demux error: peer stream 5 error: Cancellation (0x8)

Using an USB DVB-T2 stick fails: "Your input can't be opened". Also not by using tvheadend.

On Raspberry Pi OS Bookworm VLC does not show these failures.

Summarized: finally I was able to build VLC, can play audio and video files, but not IPTV or DVB-T2.

What could I do to fix this?
 
Old 04-12-2024, 03:31 PM   #5
Johpin
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sndwvs View Post
Thanks for providing a package. I have tested it:

Playing mp4 file
================
[00007fff107e5220] main filter error: Failed to create video converter
Segmentation fault

For IPTV no sound or video
==========================
Codec not supported:
VLC could not decode the format "mp4a" (MPEG AAC Audio)

DVB-T2
======
Your input can't be opened:
VLC is unable to open the MRL 'dvb-t2://frequency=482000000'. Check the log for details.

Unfortunately this build seems not to be better for me.
 
Old 04-16-2024, 08:56 AM   #6
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,152

Rep: Reputation: Disabled
I've been using VLC-3.0.20 successfully on the Pi-400 for some time now, basically using the SBo build. I don't have every single dependency installed, only the ones necessary for my specific requirements (mpeg-2, x254, x265, etc). VLC seems to build fine like that as it appears to ignore things that aren't there unless they are absolutely essential.

The one thing I did find is that it was very unhappy using the default OpenGL video output. I ended up moving /usr/lib64/vlc/plugins/video_output/libgl_plugin.so and libgl_plugin.la out of harms way. Since then it has worked flawlessly! It obviously doesn't like something about the OpenGL distributed with Slackware...!

Strangely, I can't get 3.0.20 to work on x86_64, though 3.0.19 works just fine!

--
Pete
 
Old 04-16-2024, 10:01 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,096

Rep: Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483
Quote:
Originally Posted by pchristy
Strangely, I can't get 3.0.20 to work on x86_64, though 3.0.19 works just fine!
The docs or ldd is your friend. They've probably bumped a few library versions.
 
Old 04-16-2024, 10:46 AM   #8
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,152

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
The docs or ldd is your friend. They've probably bumped a few library versions.
Yes, but it was a fresh compile on my system, and didn't complain when compiling! I should have added that the 3.0.19 I'm running is AlienBob's.

And Slackwareaarch64 has the same versions of everything else!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Building Kodi Nexus and Omega with PVR successfully on aarch64, however without CEC adapter Johpin Slackware - ARM 0 04-09-2024 03:48 PM
Installing VLC using vlc-0.9.9a-4.el5.rf.i386.rpm--Error relating to Dependencies redhat5 Linux - Newbie 1 12-17-2009 05:23 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 11:48 PM
VLC installation - Failed Dependencies chandan Linux - Software 1 06-28-2005 10:05 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 08:58 PM

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

All times are GMT -5. The time now is 10:22 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