Date: Thu, 06 Jan 2011 20:20:17 +0300 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/153735: multimedia/vlc: install error: `Permission denied' for non-root Message-ID: <86tyhmlzji.fsf@gmail.com> Resent-Message-ID: <201101061730.p06HU93F012583@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153735 >Category: ports >Synopsis: multimedia/vlc: install error: `Permission denied' for non-root >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 06 17:30:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: $ make showconfig ===> The following configuration options are available for vlc-1.1.5_2,3: A52=off "A52 DVD audio decoder" AALIB=off "Aalib Console Graphics Support" AVAHI=off "Enable Avahi mDNS networking" CACA=off "Libcaca Console Graphics Support (requires AALIB)" DBUS=off "Enable D-Bus control support" DIRAC=off "Enable Dirac support" DTS=off "DTS DVD audio decoder" DVDREAD=off "DVD Playback support" DVDNAV=off "DVD menu navigation" DVBPSI=off "DVBPSI mux/demux support" FAAD=off "Faad audio decoder (mp4/aac) support" FLAC=on "Flac audio codec support" FLUID=off "Enable Fluidsynth MIDI support" FRIBIDI=off "FriBidi bidirectional unicode support" GGI=off "General Graphic Interface support" GLX=on "X11 OpenGL rendering (requires XCB)" GNOMEVFS=off "Gnome VFS support" GNUTLS=off "Enable viewing/transmission of encrypted streams" HTTPD=on "Streaming media control via http" JACK=off "Jack audio support" LIVEMEDIA=off "Support for rstp/rtp/sdp protocols" LUA=on "Enable Lua scripting" MAD=off "Mad mp3 audio decoder support" MATROSKA=on "Matroska Container Format support" MODPLUG=off "Mod audio suport" MPEG2=off "Mpeg-2 audio/video decoder Support" MUSEPACK=off "Musepack audio support" NCURSES=off "Enable ncurses (console) interface" NLS=off "Native Language Support" NOTIFY=off "Enable tray notifications" OCFLAGS=off "Optimized CFLAGS" OGG=on "Ogg audio decoder support" OPENGL=off "OpenGL acceleration support" PLUGIN=off "VLC Mozilla Plugin" PNG=on "PNG graphics format support" PORTAUDIO=off "Portaudio library support" PULSE=off "Pulse Audio support" QT4=off "Qt4 Interface" REALAUDIO=off "Real Audio(R) support" RUNROOT=off "Enable running as root" SAMBA=off "SAMBA Access module" SCHROED=off "Enable Schroedinger decoder" SDL=off "SDL video output" SHOUT=off "Shout2 support" SKINS=off "Enable winamp skins interface (requires QT4)" STREAM=on "Enable stream output" SPEEX=off "Speex voice codec support" SQLITE=off "Enable SQLite database support" SVG=off "SVG graphics support" SVGALIB=off "SVGALIB video output" TAGLIB=off "ID3 tag and Ogg comment support" THEORA=off "OGG/Vorbis video codec support" TREMOR=off "Tremor voice audio (redundant with Vorbis)" TWOLAME=off "Twolame mpeg2 audio encoder support" UPNP=off "Enable UPnP network device control" V4L=off "Enable Video for Linux & DVB support" VCD=on "Video CD support" VORBIS=on "Vorbis audio decoder support" X264=off "Enable H.264/AVC codec support" XCB=on "Use X C Bindings for X11 output" XOSD=off "X11 On Screen Display support" XVIDEO=on "X11 video rendering (requires XCB)" ZVBI=off "VBI decoding support" ===> Use 'make config' to modify these settings >Description: The port writes outside of FAKEDIR during pre-install. And pre-install unlike pre-su-install doesn't run under root permissions. >How-To-Repeat: Try as non-root user $ make install [...] gmake[3]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-1.1.5/doc' gmake[3]: Nothing to be done for `install-exec-am'. test -z "/usr/ports/multimedia/vlc/work/fake/usr/local/share/doc/vlc" || ../autotools/install-sh -c -d "/usr/ports/multimedia/vlc/work/fake/usr/local/share/doc/vlc" install -m 444 bugreport-howto.txt fortunes.txt intf-vcd.txt '/usr/ports/multimedia/vlc/work/fake/usr/local/share/doc/vlc' test -z "/usr/local/man/man1" || ../autotools/install-sh -c -d "/usr/local/man/man1" install -m 444 vlc.1 vlc-wrapper.1 vlc-config.1 '/usr/local/man/man1' install: /usr/local/man/man1/vlc.1: Permission denied gmake[3]: *** [install-man1] Error 71 After using workaround $ make install $ make clean ===> Cleaning for vlc-1.1.5_2,3 rm: /usr/ports/multimedia/vlc/work/fake/usr/local/lib/libvlccore.so.4: Permission denied rm: /usr/ports/multimedia/vlc/work/fake/usr/local/lib/libvlccore.so: Permission denied rm: /usr/ports/multimedia/vlc/work/fake/usr/local/lib/libvlccore.la: Permission denied [...] >Fix: Workaround: s/pre-install/pre-su-install/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86tyhmlzji.fsf>