pkgsrc: multimedia/handbrake

Tim Darby t+dfbsd at timdarby.net
Tue Jan 31 07:48:49 PST 2012


--14dae93405c57a397504b7d4e708
Content-Type: text/plain; charset=ISO-8859-1

The build of handbrake fails as shown below. What do I need to do to get
this working?

=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Building for handbrake-0.9.3nb8
cd /usr/pkgsrc/multimedia/handbrake/work/HandBrake-0.9.3 && gmake
gmake: svnversion: Command not found
echo "#ifndef HB_BUILD" > libhb/hbversion.h
echo "#define HB_BUILD 2012013101" >> libhb/hbversion.h
echo "#endif" >> libhb/hbversion.h
echo "#ifndef HB_VERSION" >> libhb/hbversion.h
echo "#define HB_VERSION \"svn\"" >> libhb/hbversion.h
echo "#endif" >> libhb/hbversion.h
echo "#ifndef HB_APPCAST_URL" >> libhb/hbversion.h
echo "#define APPCAST_URL \"http://handbrake.fr/appcast_unstable.xml\"" >>
libhb/hbversion.h
echo "#endif" >> libhb/hbversion.h
gmake: Warning: File `libhb/hbversion.h' has modification time 0.0057 s in
the future
Cc hb.o
echo cc -I../contrib/include -D__LIBHB__ -DUSE_PTHREAD  -Wall -g -O3
-funroll-loops
cc -I../contrib/include -D__LIBHB__ -DUSE_PTHREAD -Wall -g -O3
-funroll-loops
hb.c: In function 'hb_init_real':
hb.c:130: error: 'HB_NORMAL_PRIORITY' undeclared (first use in this
function)
hb.c:130: error: (Each undeclared identifier is reported only once
hb.c:130: error: for each function it appears in.)
hb.c: In function 'hb_init_dl':
hb.c:206: error: 'HB_NORMAL_PRIORITY' undeclared (first use in this
function)
hb.c: In function 'hb_detect_comb':
hb.c:456: warning: unused variable 'flag'
Compile line for hb.o was:
cc -I../contrib/include -D__LIBHB__ -DUSE_PTHREAD -Wall -g -O3
-funroll-loops -o hb.o -c hb.c
gmake[1]: *** [hb.o] Error 1
gmake: *** [libhb/libhb.a] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/multimedia/handbrake
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/multimedia/handbrake


Tim

--14dae93405c57a397504b7d4e708
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<font><font face=3D"trebuchet ms,sans-serif">The build of handbrake fails a=
s shown below. What do I need to do to get this working?</font></font><div>=
<font face=3D"'trebuchet ms', sans-serif"><br></font></div><div><fo=
nt face=3D"'trebuchet ms', sans-serif"><div>

=3D> Bootstrap dependency digest>=3D20010302: found digest-20080510</=
div><div>=3D=3D=3D> Building for handbrake-0.9.3nb8</div><div>cd /usr/pk=
gsrc/multimedia/handbrake/work/HandBrake-0.9.3 && gmake</div><div>g=
make: svnversion: Command not found</div>

<div>echo "#ifndef HB_BUILD" > libhb/hbversion.h</div><div>ech=
o "#define HB_BUILD 2012013101" >> libhb/hbversion.h</div><=
div>echo "#endif" >> libhb/hbversion.h</div><div>echo &quot=
;#ifndef HB_VERSION" >> libhb/hbversion.h</div>

<div>echo "#define HB_VERSION \"svn\"" >> libhb/h=
bversion.h</div><div>echo "#endif" >> libhb/hbversion.h</di=
v><div>echo "#ifndef HB_APPCAST_URL" >> libhb/hbversion.h</=
div>

<div>echo "#define APPCAST_URL \"<a href=3D"http://handbrake.fr/a=
ppcast_unstable.xml\">http://handbrake.fr/appcast_unstable.xml\</a>"&q=
uot; >> libhb/hbversion.h</div><div>echo "#endif" >> =
libhb/hbversion.h</div>

<div>gmake: Warning: File `libhb/hbversion.h' has modification time 0.0=
057 s in the future</div><div>Cc hb.o</div><div>echo cc -I../contrib/includ=
e -D__LIBHB__ -DUSE_PTHREAD =A0-Wall -g -O3 -funroll-loops</div><div>cc -I.=
./contrib/include -D__LIBHB__ -DUSE_PTHREAD -Wall -g -O3 -funroll-loops</di=
v>

<div>hb.c: In function 'hb_init_real':</div><div>hb.c:130: error: &=
#39;HB_NORMAL_PRIORITY' undeclared (first use in this function)</div><d=
iv>hb.c:130: error: (Each undeclared identifier is reported only once</div>

<div>hb.c:130: error: for each function it appears in.)</div><div>hb.c: In =
function 'hb_init_dl':</div><div>hb.c:206: error: 'HB_NORMAL_PR=
IORITY' undeclared (first use in this function)</div><div>hb.c: In func=
tion 'hb_detect_comb':</div>

<div>hb.c:456: warning: unused variable 'flag'</div><div>Compile li=
ne for hb.o was:</div><div>cc -I../contrib/include -D__LIBHB__ -DUSE_PTHREA=
D -Wall -g -O3 -funroll-loops -o hb.o -c hb.c</div><div>gmake[1]: *** [hb.o=
] Error 1</div>

<div>gmake: *** [libhb/libhb.a] Error 2</div><div>*** Error code 2</div><di=
v><br></div><div>Stop.</div><div>bmake: stopped in /usr/pkgsrc/multimedia/h=
andbrake</div><div>*** Error code 1</div><div><br></div><div>Stop.</div>

<div>bmake: stopped in /usr/pkgsrc/multimedia/handbrake</div><div><br></div=
></font></div><div><div><div><br></div>Tim<br>
</div></div>

--14dae93405c57a397504b7d4e708--





More information about the Users mailing list