LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Handbrake slackbuild problem (http://www.linuxquestions.org/questions/slackware-14/handbrake-slackbuild-problem-4175430155/)

arubin 10-02-2012 04:27 PM

Handbrake slackbuild problem
 
Trying to install Handbrake via sbopkg the build fails with this error

Quote:

./libavcodec/get_bits.h: In function 'skip_bits':
./libavcodec/get_bits.h:387:1: warning: variable 're_cache' set but not used [-Wunused-but-set-variable]
libavcodec/x86/h264_qpel_mmx.c: Assembler messages:
libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp'
libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp'
libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp'
libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp'
libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
make[1]: *** [libavcodec/x86/dsputil_mmx.o] Error 1
make[1]: Leaving directory `/tmp/SBo/HandBrake-0.9.5/build/contrib/ffmpeg/ffmpeg-r25689'
make: *** [contrib/ffmpeg/.stamp.build] Error 2
Help!

TIA Alan

sycamorex 10-02-2012 04:49 PM

This might be helpful:

http://git.yoctoproject.org/cgit.cgi...qpel_mmx.patch

Just to let you know that I've just installed HandBrake via sbopkg on the stock Slackware64 14. Builds without problems.

arubin 10-02-2012 04:51 PM

I am trying to do this on Slackware 14 multilib.

I cannot understand what I am supposed to do from the page that you are referring to.

titopoquito 10-02-2012 04:54 PM

Try the newer version, 0.9.8 I think. Saw an update for it on SBo's git log from today or yesterday.

arubin 10-02-2012 05:03 PM

I just realised sbopkg was looking at 13.37

I edited sbopkg.conf to

Quote:

CLEANUP=${CLEANUP:-NO}
DEBUG_UPDATES=${DEBUG_UPDATES:-0}
KEEPLOG=${KEEPLOG:-YES}
MKDIR_PROMPT=${MKDIR_PROMPT:-YES}
REPO_BRANCH=${REPO_BRANCH:-14.0}
REPO_NAME=${REPO_NAME:-SBo}
but that has given me

Quote:

root@Lavankossot:/home/alan# sbopkg
Unknown repository name -- ""
Valid options are:
SBo/13.37 (SBo repository for Slackware 13.37)
SBo/13.1 (SBo repository for Slackware 13.1)
SBo/13.0 (SBo repository for Slackware 13.0)
SBo/12.2 (SBo repository for Slackware 12.2)
SBo/12.1 (SBo repository for Slackware 12.1)
SBo/12.0 (SBo repository for Slackware 12.0)
SBo/11.0 (SBo repository for Slackware 11.0)
local/local (default local repository)
SBo-git/current (UNSUPPORTED SBo git repository for -current)
SB64/master (UNSUPPORTED Slamd64Builds repository)
root@Lavankossot:/home/alan# jed /etc/sbopkg/sbopkg.conf
root@Lavankossot:/home/alan#

sycamorex 10-02-2012 05:06 PM

Quote:

Originally Posted by arubin (Post 4795446)
I just realised sbopkg was looking at 13.37

but that has given me

Modify /etc/sbopkg/repos.d/40-sbo.repo and add:

Code:

SBo 14.0 "SBo repository for Slackware 14.0" _SBo rsync slackbuilds.org::slackbuilds/14.0 GPG
and change the repo in /etc/sbopkg/sbopkg.conf

Code:

REPO_BRANCH=${REPO_BRANCH:-14.0}

arubin 10-02-2012 05:37 PM

Thanks.

That has sorted out the sbopkg problem

I installed Handbrake from the slackbuild but not using sbopkg.

sycamorex 10-02-2012 05:43 PM

Quote:

Originally Posted by arubin (Post 4795460)
I installed Handbrake from the slackbuild but not using sbopkg.

...which is probably a recommended way anyway. Glad you've got it working.


All times are GMT -5. The time now is 06:33 PM.