multimedia/ffmpeg: pkg_add: leave_playpen: can't chdir back to ''

Ronald F. Guilmette rfg at tristatelogic.com
Thu May 22 20:44:45 UTC 2014


I built the latest multimedia/ffmpeg and now it won't install, due
to the error(s) shown below.

Is there a known fix for this?

P.S.  Apparently this error:

      pkg_add: leave_playpen: can't chdir back to ''

has been publically discussed since at least January, 2012.  In all that
time, why hasn't anybody fixed it?

=========================================================================
# make install
===>  Installing for ffmpeg-2.1.1_3,1
===>   ffmpeg-2.1.1_3,1 depends on shared library: libfontconfig.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libfreetype.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libgnutls.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libopencv_imgproc.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libschroedinger-1.0.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libtheora.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libva.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libvorbisenc.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libvpx.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libx264.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libxvidcore.so - found
===>   ffmpeg-2.1.1_3,1 depends on shared library: libiconv.so.3 - found
===>  Checking if multimedia/ffmpeg already installed
share/doc/ffmpeg/APIchanges: Could not unlink
share/doc/ffmpeg/CREDITS: Could not unlink
share/doc/ffmpeg/Changelog: Could not unlink
share/doc/ffmpeg/INSTALL: Could not unlink
share/doc/ffmpeg/LICENSE: Could not unlink
share/doc/ffmpeg/MAINTAINERS: Could not unlink
share/doc/ffmpeg/README: Could not unlink
share/doc/ffmpeg/RELEASE_NOTES: Could not unlink
share/doc/ffmpeg/avutil.txt: Could not unlink
share/doc/ffmpeg/build_system.txt: Could not unlink
share/doc/ffmpeg/developer.html: Could not unlink
share/doc/ffmpeg/errno.txt: Could not unlink
share/doc/ffmpeg/faq.html: Could not unlink
share/doc/ffmpeg/fate.html: Could not unlink
share/doc/ffmpeg/fate.txt: Could not unlink
share/doc/ffmpeg/ffmpeg-all.html: Could not unlink
share/doc/ffmpeg/ffmpeg-bitstream-filters.html: Could not unlink
share/doc/ffmpeg/ffmpeg-codecs.html: Could not unlink
share/doc/ffmpeg/ffmpeg-devices.html: Could not unlink
share/doc/ffmpeg/ffmpeg-filters.html: Could not unlink
share/doc/ffmpeg/ffmpeg-formats.html: Could not unlink
share/doc/ffmpeg/ffmpeg-protocols.html: Could not unlink
share/doc/ffmpeg/ffmpeg-resampler.html: Could not unlink
share/doc/ffmpeg/ffmpeg-scaler.html: Could not unlink
share/doc/ffmpeg/ffmpeg-utils.html: Could not unlink
share/doc/ffmpeg/ffmpeg.html: Could not unlink
share/doc/ffmpeg/ffmpeg.txt: Could not unlink
share/doc/ffmpeg/ffprobe-all.html: Could not unlink
share/doc/ffmpeg/ffprobe.html: Could not unlink
share/doc/ffmpeg/ffserver-all.html: Could not unlink
share/doc/ffmpeg/ffserver.html: Could not unlink
share/doc/ffmpeg/filter_design.txt: Could not unlink
share/doc/ffmpeg/general.html: Could not unlink
share/doc/ffmpeg/git-howto.html: Could not unlink
share/doc/ffmpeg/git-howto.txt: Could not unlink
share/doc/ffmpeg/issue_tracker.txt: Could not unlink
share/doc/ffmpeg/libavcodec.html: Could not unlink
share/doc/ffmpeg/libavdevice.html: Could not unlink
share/doc/ffmpeg/libavfilter.html: Could not unlink
share/doc/ffmpeg/libavformat.html: Could not unlink
share/doc/ffmpeg/libavutil.html: Could not unlink
share/doc/ffmpeg/libswresample.html: Could not unlink
share/doc/ffmpeg/libswscale.html: Could not unlink
share/doc/ffmpeg/mips.txt: Could not unlink
share/doc/ffmpeg/multithreading.txt: Could not unlink
share/doc/ffmpeg/nut.html: Could not unlink
share/doc/ffmpeg/optimization.txt: Could not unlink
share/doc/ffmpeg/platform.html: Could not unlink
share/doc/ffmpeg/rate_distortion.txt: Could not unlink
share/doc/ffmpeg/snow.txt: Could not unlink
share/doc/ffmpeg/soc.txt: Could not unlink
share/doc/ffmpeg/swresample.txt: Could not unlink
share/doc/ffmpeg/swscale.txt: Could not unlink
share/doc/ffmpeg/tablegen.txt: Could not unlink
share/doc/ffmpeg/viterbi.txt: Could not unlink
tar: Error exit delayed from previous errors.
pkg_add: leave_playpen: can't chdir back to ''
*** [install-package] Error code 2

Stop in /usr/ports/multimedia/ffmpeg.
*** [install] Error code 1

Stop in /usr/ports/multimedia/ffmpeg.



More information about the freebsd-multimedia mailing list