Slackware - ARM This forum is for the discussion of Slackware ARM. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
11-14-2017, 01:15 PM
|
#31
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Quote:
Originally Posted by slacksam
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.
|
11-14-2017, 02:00 PM
|
#32
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
And the package built fine too! Thank you.
|
|
1 members found this post helpful.
|
05-30-2018, 04:59 PM
|
#33
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
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....
|
|
|
06-01-2018, 10:38 AM
|
#34
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
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.
|
|
|
06-02-2018, 02:21 AM
|
#35
|
Member
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 212
Original Poster
Rep:
|
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 s rubygem-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.
|
06-02-2018, 08:46 AM
|
#36
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
Quote:
Originally Posted by slacksam
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 s rubygem-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.
|
|
|
06-04-2018, 11:12 AM
|
#37
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,278
|
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. 
|
|
|
All times are GMT -5. The time now is 07:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|