[OpenIndiana-discuss] Building handbrake 0.10.5

Peter Tribble peter.tribble at gmail.com
Sun Aug 21 13:52:49 UTC 2016


On Sun, Aug 21, 2016 at 2:25 PM, Aurélien Larcher <
aurelien.larcher at gmail.com> wrote:

> On Sun, Aug 21, 2016 at 3:11 PM, russell <stream at willows7.myzen.co.uk>
> wrote:
> > Hi,
> >
> > If you want to run HandBrake on OpenIndiana Hipster, you need to follow
> the
> > steps below after downloading the 0.10.5 source and extract to
> > /tmp/HandBrake-0.10.5
> >
> > 1. ensure that your path is set to use /usr/gnu/bin
> >       $ PATH=/usr/gnu/bin:$PATH ; export PATH
> >
> > 2. Next as root in seperate terminal, go to /bin
> >     # ls -l sh
> >     rwxrwxrwx   1 root     root           9 Aug 21 13:55 sh -> i86/ksh93
> >
> >     Now remove this link
> >
> >     # rm sh
> >
> >     Replace this link with one pointing as /usr/gnu/bin/sh
> >
> >     # ln -s /usr/gnu/bin/sh sh
>
> You should never do this.
> If shell scripts are made for bash and incorrectly use /usr/bin/sh you
> should modify the shebang.


Should, yes. In this case Handbrake is downloading source archives
itself, then unpacking them and running various scripts. So there's no easy
way within the framework of the automated build process to modify
any of the files, which is presumably why this game is necessary.

An alternative might be to create fixed tarballs of affected packages and
drop
them into the download directory. I don't think Handbrake bothers verifying
the
tarball checksums, so it might work.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


More information about the openindiana-discuss mailing list