Hi all,
I'm getting a mysterious error when I try and build ffmpeg. Has anyone seen this before?
make[1]: *** [ffmpeg_g] Error 247
make[1]: Leaving directory `/home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/build_pnacl'
naclports: Building ffmpeg: failed.
Reaping losing child 0x00e35990 PID 23615
make: *** [ffmpeg] Error 1
Removing child 0x00e35990 PID 23615 from chain.
I am building this on Ubuntu/Trusty, using "NACL_ARCH=pnacl TOOLCHAIN=pnacl make ffmpeg -d"
Full make output:
$ NACL_ARCH=pnacl TOOLCHAIN=pnacl make ffmpeg -d
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
Reading makefiles...
Reading makefile `Makefile'...
Updating makefiles....
Considering target file `Makefile'.
Looking for an implicit rule for `Makefile'.
Trying pattern rule with stem `Makefile'.
Found an implicit rule for `Makefile'.
Finished prerequisites of target file `Makefile'.
No need to remake target `Makefile'.
Updating goal targets....
Considering target file `ffmpeg'.
File `ffmpeg' does not exist.
Looking for an implicit rule for `ffmpeg'.
Trying pattern rule with stem `ffmpeg'.
Found an implicit rule for `ffmpeg'.
Finished prerequisites of target file `ffmpeg'.
Must remake target `ffmpeg'.
bin/naclports install ffmpeg
Putting child 0x00e35990 (ffmpeg) PID 23615 on the chain.
Live child 0x00e35990 (ffmpeg) PID 23615
Building 'ffmpeg' [pnacl/pnacl/release]
verified: out/cache/ffmpeg-2.1.3.tar.bz2
Already up-to-date: out/build/ffmpeg/ffmpeg-2.1.3
Skipping patch step (cleaning source tree): 'ffmpeg' [pnacl/pnacl/release]
chdir /home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/build_pnacl
chdir /home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/ffmpeg-2.1.3
######################################################################
Configuring ffmpeg
######################################################################
chdir /home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/build_pnacl
CPPFLAGS=-I/home/vagrantfile/nacl-sdk/nacl_sdk/pepper_42/include -I/home/vagrantfile/nacl-sdk/nacl_sdk/pepper_42/toolchain/linux_pnacl/le32-nacl/usr/include/glibc-compat
CFLAGS= -DNDEBUG -O2
CXXFLAGS= -DNDEBUG -O2
LDFLAGS=-L/home/vagrantfile/nacl-sdk/nacl_sdk/pepper_42/lib/pnacl/Release -L/home/vagrantfile/nacl-sdk/nacl_sdk/pepper_42/toolchain/linux_pnacl/le32-nacl/usr/lib -Wl,-rpath-link=/home/vagrantfile/nacl-sdk/nacl_sdk/pepper_42/toolchain/linux_pnacl/le32-nacl/usr/lib -DNDEBUG -O2
/home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/ffmpeg-2.1.3/configure --cross-prefix=pnacl- --target-os=linux --enable-gpl --enable-static --enable-cross-compile --disable-inline-asm --disable-ssse3 --disable-mmx --disable-amd3dnow --disable-amd3dnowext --disable-indevs --disable-protocols --disable-network --enable-protocol=file --enable-libmp3lame --enable-libvorbis --enable-libtheora --disable-ffplay --disable-ffserver --disable-demuxer=rtsp --disable-demuxer=image2 --prefix=/naclports-dummydir --cc=pnacl-clang --arch=pnacl
install prefix /naclports-dummydir
source path /home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/ffmpeg-2.1.3
C compiler pnacl-clang
ARCH pnacl (generic)
big-endian no
runtime cpu detection yes
debug symbols yes
strip symbols yes
optimize for size no
optimizations yes
static yes
shared no
postprocessing support yes
new filter support yes
network support no
threading support pthreads
safe bitstream reader yes
SDL support no
opencl enabled no
libzvbi enabled no
texi2html enabled no
perl enabled yes
pod2man enabled yes
makeinfo enabled yes
External libraries:
iconv libtheora libvorbis
libmp3lame
Enabled decoders:
aac bmp indeo2
aac_latm bmv_audio indeo3
aasc bmv_video indeo4
ac3 brender_pix indeo5
adpcm_4xm c93 interplay_dpcm
adpcm_adx cavs interplay_video
adpcm_afc cdgraphics jacosub
adpcm_ct cdxl jpeg2000
adpcm_dtk cinepak jpegls
adpcm_ea cljr jv
adpcm_ea_maxis_xa cllc kgv1
adpcm_ea_r1 comfortnoise kmvc
adpcm_ea_r2 cook lagarith
adpcm_ea_r3 cpia libvorbis
adpcm_ea_xas cscd loco
adpcm_g722 cyuv mace3
adpcm_g726 dca mace6
adpcm_g726le dfa mdec
adpcm_ima_amv dirac metasound
adpcm_ima_apc dnxhd microdvd
adpcm_ima_dk3 dpx mimic
adpcm_ima_dk4 dsicinaudio mjpeg
adpcm_ima_ea_eacs dsicinvideo mjpegb
adpcm_ima_ea_sead dvbsub mlp
adpcm_ima_iss dvdsub mmvideo
adpcm_ima_oki dvvideo motionpixels
adpcm_ima_qt dxtory movtext
adpcm_ima_rad eac3 mp1
adpcm_ima_smjpeg eacmv mp1float
adpcm_ima_wav eamad mp2
adpcm_ima_ws eatgq mp2float
adpcm_ms eatgv mp3
adpcm_sbpro_2 eatqi mp3adu
adpcm_sbpro_3 eightbps mp3adufloat
adpcm_sbpro_4 eightsvx_exp mp3float
adpcm_swf eightsvx_fib mp3on4
adpcm_thp escape124 mp3on4float
adpcm_xa escape130 mpc7
adpcm_yamaha evrc mpc8
aic ffv1 mpeg1video
alac ffvhuff mpeg2video
als ffwavesynth mpeg4
amrnb flac mpegvideo
amrwb flic mpl2
amv flv msa1
anm fourxm msmpeg4v1
ansi fraps msmpeg4v2
ape frwu msmpeg4v3
ass g723_1 msrle
asv1 g729 mss1
asv2 gif mss2
atrac1 gsm msvideo1
atrac3 gsm_ms mszh
aura h261 mts2
aura2 h263 mvc1
avrn h263i mvc2
avrp h263p mxpeg
avs h264 nellymoser
avui hevc nuv
ayuv huffyuv paf_audio
bethsoftvid iac paf_video
bfi idcin pam
bink idf pbm
binkaudio_dct iff_byterun1 pcm_alaw
binkaudio_rdft iff_ilbm pcm_bluray
bintext imc pcm_dvd
pcm_f32be roq v210x
pcm_f32le roq_dpcm v308
pcm_f64be rpza v408
pcm_f64le rv10 v410
pcm_lxf rv20 vb
pcm_mulaw rv30 vble
pcm_s16be rv40 vc1
pcm_s16be_planar s302m vc1image
pcm_s16le sami vcr1
pcm_s16le_planar sanm vima
pcm_s24be sgi vmdaudio
pcm_s24daud sgirle vmdvideo
pcm_s24le shorten vmnc
pcm_s24le_planar sipr vorbis
pcm_s32be smackaud vp3
pcm_s32le smacker vp5
pcm_s32le_planar smc vp6
pcm_s8 smvjpeg vp6a
pcm_s8_planar snow vp6f
pcm_u16be sol_dpcm vp8
pcm_u16le sonic vp9
pcm_u24be sp5x vplayer
pcm_u24le srt vqa
pcm_u32be ssa wavpack
pcm_u32le subrip webp
pcm_u8 subviewer webvtt
pcm_zork subviewer1 wmalossless
pcx sunrast wmapro
pgm svq1 wmav1
pgmyuv svq3 wmav2
pgssub tak wmavoice
pictor targa wmv1
pjs targa_y216 wmv2
ppm text wmv3
prores theora wmv3image
prores_lgpl thp wnv1
ptx tiertexseqvideo ws_snd1
qcelp tiff xan_dpcm
qdm2 tmv xan_wc3
qdraw truehd xan_wc4
qpeg truemotion1 xbin
qtrle truemotion2 xbm
r10k truespeech xface
r210 tscc2 xl
ra_144 tta xsub
ra_288 twinvq xwd
ralf txd y41p
rawvideo ulti yop
realtext utvideo yuv4
rl2 v210 zero12v
Enabled encoders:
a64multi libtheora ppm
a64multi5 libvorbis prores
aac ljpeg prores_aw
ac3 mjpeg prores_ks
ac3_fixed movtext qtrle
adpcm_adx mp2 r10k
adpcm_g722 mpeg1video r210
adpcm_g726 mpeg2video ra_144
adpcm_ima_qt mpeg4 rawvideo
adpcm_ima_wav msmpeg4v2 roq
adpcm_ms msmpeg4v3 roq_dpcm
adpcm_swf msvideo1 rv10
adpcm_yamaha nellymoser rv20
alac pam s302m
amv pbm sgi
ass pcm_alaw snow
asv1 pcm_f32be sonic
asv2 pcm_f32le sonic_ls
avrp pcm_f64be srt
avui pcm_f64le ssa
ayuv pcm_mulaw subrip
bmp pcm_s16be sunrast
cljr pcm_s16be_planar svq1
comfortnoise pcm_s16le targa
dca pcm_s16le_planar tiff
dnxhd pcm_s24be tta
dpx pcm_s24daud utvideo
dvbsub pcm_s24le v210
dvdsub pcm_s24le_planar v308
dvvideo pcm_s32be v408
eac3 pcm_s32le v410
ffv1 pcm_s32le_planar vorbis
ffvhuff pcm_s8 wavpack
flac pcm_s8_planar wmav1
flv pcm_u16be wmav2
g723_1 pcm_u16le wmv1
gif pcm_u24be wmv2
h261 pcm_u24le xbm
h263 pcm_u32be xface
h263p pcm_u32le xsub
huffyuv pcm_u8 xwd
jpeg2000 pcx y41p
jpegls pgm yuv4
libmp3lame pgmyuv
Enabled hwaccels:
Enabled parsers:
aac dvd_nav mpegaudio
aac_latm dvdsub mpegvideo
ac3 flac png
adx gsm pnm
bmp h261 rv30
cavsvideo h263 rv40
cook h264 tak
dca hevc vc1
dirac mjpeg vorbis
dnxhd mlp vp3
dpx mpeg4video vp8
dvbsub
Enabled demuxers:
aac hevc pcm_u16be
ac3 hls pcm_u16le
act ico pcm_u24be
adf idcin pcm_u24le
adp idf pcm_u32be
adx iff pcm_u32le
aea ilbc pcm_u8
afc image2pipe pjs
aiff ingenient pmp
amr ipmovie pva
anm ircam pvf
apc iss qcp
ape iv8 r3d
aqtitle ivf rawvideo
asf jacosub realtext
ass jv redspark
ast latm rl2
au lmlm4 rm
avi loas roq
avr lvf rpl
avs lxf rsd
bethsoftvid m4v rso
bfi matroska sami
bink mgsts sbg
bintext microdvd segafilm
bit mjpeg shorten
bmv mlp siff
boa mm smacker
brstm mmf smjpeg
c93 mov smush
caf mp3 sol
cavsvideo mpc sox
cdg mpc8 spdif
cdxl mpegps srt
concat mpegts str
data mpegtsraw subviewer
daud mpegvideo subviewer1
dfa mpl2 swf
dirac mpsub tak
dnxhd msnwc_tcp tedcaptions
dsicin mtv thp
dts mv tiertexseq
dtshd mvi tmv
dv mxf truehd
dxa mxg tta
ea nc tty
ea_cdata nistsphere txd
eac3 nsv vc1
epaf nut vc1t
ffm nuv vivo
ffmetadata ogg vmd
filmstrip oma vobsub
flac paf voc
flic pcm_alaw vplayer
flv pcm_f32be vqf
fourxm pcm_f32le w64
frm pcm_f64be wav
g722 pcm_f64le wc3
g723_1 pcm_mulaw webvtt
g729 pcm_s16be wsaud
gif pcm_s16le wsvqa
gsm pcm_s24be wtv
gxf pcm_s24le wv
h261 pcm_s32be xa
h263 pcm_s32le xbin
h264 pcm_s8 xmv
xwma yop yuv4mpegpipe
Enabled muxers:
a64 image2 pcm_s16be
ac3 image2pipe pcm_s16le
adts ipod pcm_s24be
adx ircam pcm_s24le
aiff ismv pcm_s32be
amr ivf pcm_s32le
asf jacosub pcm_s8
asf_stream latm pcm_u16be
ass m4v pcm_u16le
ast matroska pcm_u24be
au matroska_audio pcm_u24le
avi md5 pcm_u32be
avm2 microdvd pcm_u32le
bit mjpeg pcm_u8
caf mkvtimestamp_v2 psp
cavsvideo mlp rawvideo
crc mmf rm
data mov roq
daud mp2 rso
dirac mp3 rtp
dnxhd mp4 segment
dts mpeg1system smjpeg
dv mpeg1vcd smoothstreaming
eac3 mpeg1video sox
f4v mpeg2dvd spdif
ffm mpeg2svcd srt
ffmetadata mpeg2video stream_segment
filmstrip mpeg2vob swf
flac mpegts tee
flv mpjpeg tg2
framecrc mxf tgp
framemd5 mxf_d10 truehd
g722 null vc1
g723_1 nut vc1t
gif ogg voc
gxf oma w64
h261 pcm_alaw wav
h263 pcm_f32be webm
h264 pcm_f32le webvtt
hls pcm_f64be wtv
ico pcm_f64le wv
ilbc pcm_mulaw yuv4mpegpipe
Enabled protocols:
file
Enabled filters:
aconvert curves overlay
adelay dctdnoiz owdenoise
aecho decimate pad
aevalsrc delogo pan
afade deshake perms
aformat drawbox perspective
ainterleave drawgrid phase
allpass earwax pixdesctest
alphaextract ebur128 pp
alphamerge edgedetect psnr
amerge equalizer pullup
amix extractplanes removelogo
amovie fade replaygain
anull field rgbtestsrc
anullsink fieldmatch rotate
anullsrc fieldorder sab
apad format scale
aperms fps select
aphaser framestep sendcmd
aresample geq separatefields
aselect gradfun setdar
asendcmd haldclut setfield
asetnsamples haldclutsrc setpts
asetpts hflip setsar
asetrate highpass settb
asettb histeq showinfo
ashowinfo histogram showspectrum
asplit hqdn3d showwaves
astats hue silencedetect
astreamsync idet sine
atempo il smartblur
atrim interlace smptebars
avectorscope interleave smptehdbars
bandpass join split
bandreject kerndeint spp
bass life stereo3d
bbox lowpass super2xsai
biquad lut swapuv
blackdetect lut3d telecine
blackframe lutrgb testsrc
blend lutyuv thumbnail
boxblur mandelbrot tile
cellauto mcdeint tinterlace
channelmap mergeplanes transpose
channelsplit movie treble
color mpdecimate trim
colorbalance mptestsrc unsharp
colorchannelmixer negate vflip
colormatrix noformat vignette
compand noise volume
concat null volumedetect
copy nullsink w3fdif
crop nullsrc yadif
cropdetect
Enabled bsfs:
aac_adtstoasc mjpeg2jpeg mp3_header_decompress
chomp mjpega_dump_header noise
dump_extradata mov2textsub remove_extradata
h264_mp4toannexb mp3_header_compress text2movsub
imx_dump_header
Enabled indevs:
Enabled outdevs:
License: GPL version 2 or later
Creating config.mak, config.h, and doc/config.texi...
config.h is unchanged
libavutil/avconfig.h is unchanged
WARNING: pnacl-pkg-config not found, library detection may fail.
WARNING: unknown architecture pnacl
######################################################################
Building ffmpeg
######################################################################
chdir /home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/build_pnacl
make -j1
make[1]: Entering directory `/home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/build_pnacl'
make[1]: Leaving directory `/home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/build_pnacl'
make[1]: Entering directory `/home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/build_pnacl'
POD doc/ffmpeg.pod
POD doc/ffprobe.pod
POD doc/ffmpeg-all.pod
POD doc/ffprobe-all.pod
MAN doc/ffmpeg.1
MAN doc/ffprobe.1
MAN doc/ffmpeg-all.1
MAN doc/ffprobe-all.1
LD ffmpeg_g
make[1]: *** [ffmpeg_g] Error 247
make[1]: Leaving directory `/home/vagrantfile/nacl-sdk/naclports/out/build/ffmpeg/build_pnacl'
naclports: Building ffmpeg: failed.
Reaping losing child 0x00e35990 PID 23615
make: *** [ffmpeg] Error 1
Removing child 0x00e35990 PID 23615 from chain.