From owner-freebsd-ports@FreeBSD.ORG Thu May 22 22:48:12 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78217D67; Thu, 22 May 2014 22:48:12 +0000 (UTC) Received: from mail-pb0-x230.google.com (mail-pb0-x230.google.com [IPv6:2607:f8b0:400e:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47E512394; Thu, 22 May 2014 22:48:12 +0000 (UTC) Received: by mail-pb0-f48.google.com with SMTP id rr13so3135783pbb.7 for ; Thu, 22 May 2014 15:48:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=PStQjOyJnO1r28HoE9H08XG8HrjHarLjoJWoroLB2PY=; b=dQNDe9PlvHzsmZ/xoSFjT+Ah8ymgUF5T3UHhyTwkfX47552C4gk/UXbLiOCYLxSdjr A9Djj8KmP7SqiMs8Rk7hj8ZsViBImaM2IvMT0uwzGbkq+wuvd3Xdd0RgCAhn+6pYa6f1 H8HfejO3fNF+RMS/yZjT5K1zIJQnzKD71B9FjuktuQkd7FoKeymvxgLDUPj0CJO2nGdn lhEVbOPyQRhxALoD10+CX1aErXH+zaTj+2o1vFhght4DaqfluezyZ/FMf5DwvJVoDHZx 20IVSsFpMntMESR/SouaiX0vndTXCK74UbsyiKtRxdSq1P6WG35JCgfaqG1oZ5Wh7VFW kmaQ== MIME-Version: 1.0 X-Received: by 10.68.164.100 with SMTP id yp4mr899230pbb.136.1400798891966; Thu, 22 May 2014 15:48:11 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.73.34 with HTTP; Thu, 22 May 2014 15:48:11 -0700 (PDT) In-Reply-To: <28254.1400791484@server1.tristatelogic.com> References: <28254.1400791484@server1.tristatelogic.com> Date: Thu, 22 May 2014 15:48:11 -0700 X-Google-Sender-Auth: tDSnAncvtO_o3BbMbaAnXQWK0A4 Message-ID: Subject: Re: multimedia/ffmpeg: pkg_add: leave_playpen: can't chdir back to '' From: Kevin Oberman To: "Ronald F. Guilmette" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: FreeBSD Ports ML , multimedia@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 22:48:12 -0000 On Thu, May 22, 2014 at 1:44 PM, Ronald F. Guilmette wrote: > > 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. > The list of "Could not unlink" messages smell like some sort of permissions problem. Since I have not either seen this issue nor have many others, there most be something different about your build that triggers the error. Please provide the output of "uname -a", "make -C /usr/ports/multimedia/ffmpeg showconfig" and "cat /etc/make.conf". I assume that you are using the old pkg system due to the reference to pkg_add.. Are you building/installing as root? Anything else that might be unusual? Any ports-related environmental variables you are setting/modifying? portmaster, portupgrade, or something else? -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com