LinuxQuestions.org
Visit Jeremy's Blog.
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 11-14-2017, 01:15 PM   #31
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,042

Rep: Reputation: 149Reputation: 149

Quote:
Originally Posted by slacksam View Post
Thanks for reporting.
Now I pushed an update on Github. Please try again.
Perfect! Thank you for the quick response.
 
1 members found this post helpful.
Old 11-14-2017, 02:00 PM   #32
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,042

Rep: Reputation: 149Reputation: 149
And the package built fine too! Thank you.
 
1 members found this post helpful.
Old 05-30-2018, 04:59 PM   #33
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,042

Rep: Reputation: 149Reputation: 149
Hi slacksam,

Here's a new error on the latest -current:
Code:
awk '/KEY BINDINGS/{p=1;print;next} p&&/KEY CONFIG/{p=0};p' README.md \
| sed -e '1,3 d' -e 's/^/"/' -e 's/$/\\n"/' \
> keys.h
sed -e '/DOWNLOADING/,/omxplayer-dist/ d; /DBUS/,$ d' README.md >MAN
ronn --pipe -r MAN >omxplayer.1
/usr/bin/g++ -march=native -mcpu=native -mtune=native -mabi=aapcs-linux -fomit-frame-pointer -Wno-psabi -mno-apcs-stack-check -O2 -mstructure-size-boundary=32 -mno-sched-prolog -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -I/opt/vc/include/interface/vcos/pthreads              -I/opt/vc/include              -I/opt/vc/include/interface/vmcs_host              -I/opt/vc/include/interface/vmcs_host/linux              -I/usr/lib/dbus-1.0/include              -I/usr/include              -I/usr/include/freetype2 -I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/dbus-1.0/include  -c omxplayer.cpp -o omxplayer.o -Wno-deprecated-declarations
Traceback (most recent call last):
        2: from /usr/bin/ronn:23:in `<main>'
        1: from /usr/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
/usr/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem ronn (>= 0.a) with executable ronn (Gem::GemNotFoundException)
make: *** [Makefile:70: omxplayer.1] Error 1
make: *** Waiting for unfinished jobs....
 
Old 06-01-2018, 10:38 AM   #34
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,042

Rep: Reputation: 149Reputation: 149
Now that I had some time to work on this, I was able to tweak the SlackBuild. I commented out where it was failing (lines 163 through 165):
Code:
#which ronn &> /dev/null && \
#  sed -e 's/curl -F page=@MAN.*/ronn --pipe -r MAN >$@/' \
#    -i Makefile
After that, it failed with this:
Code:
/usr/bin/strip omxplayer.bin
make: *** [Makefile:70: omxplayer.1] Error 52
I wrote a patch file that modifies the Makefile to not run that command. That allowed it to complete and create the package. I don't think not running that command will break anything. Other than the error number, there was not much to go by.
 
Old 06-02-2018, 02:21 AM   #35
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, Manjaro, Arch
Posts: 146

Original Poster
Rep: Reputation: 22
Hi stormtracknole,

if I remember right, I decided to use rubygem-ronn as a dependency because the curl command failed to download the manpage from time to time, so I thought it would be safer to use ronn for creating the manpage.

On Slackware-ARM 14.2 it works fine so far and I have no -current running on a RPi, so I can't test it. But I guess it fails because the rubygem-ronn version from SBo is not compatible with ruby 2.5.0. Maybe simply rebuilding the rubygem-ronn package (and it's dependency packages srubygem-hpricot, rubygem-mustache, rubygem-rdiscount) might fix the issue.

However uninstalling rubygems-ronn should cause the Make script to use the curl command again for getting the manpage and finish the build process without errors (if curl doesn't fail downloading the manpage).

The error message you get from /usr/bin/strip refers to the curl command line (70) and removing that line might cause not creating any manpage. But if you don't need a manpage, it might be okay.
 
1 members found this post helpful.
Old 06-02-2018, 08:46 AM   #36
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,042

Rep: Reputation: 149Reputation: 149
Quote:
Originally Posted by slacksam View Post
Hi stormtracknole,

if I remember right, I decided to use rubygem-ronn as a dependency because the curl command failed to download the manpage from time to time, so I thought it would be safer to use ronn for creating the manpage.

On Slackware-ARM 14.2 it works fine so far and I have no -current running on a RPi, so I can't test it. But I guess it fails because the rubygem-ronn version from SBo is not compatible with ruby 2.5.0. Maybe simply rebuilding the rubygem-ronn package (and it's dependency packages srubygem-hpricot, rubygem-mustache, rubygem-rdiscount) might fix the issue.

However uninstalling rubygems-ronn should cause the Make script to use the curl command again for getting the manpage and finish the build process without errors (if curl doesn't fail downloading the manpage).

The error message you get from /usr/bin/strip refers to the curl command line (70) and removing that line might cause not creating any manpage. But if you don't need a manpage, it might be okay.
Thanks for the tips. This is indeed being tested in -current. I'll take a look at your suggestions and will report back. Thank you for your hard work on this.
 
Old 06-04-2018, 11:12 AM   #37
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,042

Rep: Reputation: 149Reputation: 149
So, I hadn't realize that I was missing rubygem-ronn package (and it's dependencies). Could have sworn that it was installed. Anyhow, after building and installing those packages from SBo, omxplayer built just fine without any of my modifications. Sorry for the noise.
 
  


Reply

Tags
download, hardware acceleration, raspberry pi, slackbuild, video player


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
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
LXer: HOWTO: Launch OMXPlayer via a GUI LXer Syndicated Linux News 0 08-03-2012 08:51 PM
LXer: Multimedia on the Raspberry Pi with omxplayer LXer Syndicated Linux News 0 06-17-2012 08:51 PM
OO 3.01 slackbuild ? brodo Slackware 4 02-01-2009 04:06 PM
SlackBuild CrEsPo Slackware 2 03-19-2006 01:58 PM

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

All times are GMT -5. The time now is 08:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration