From owner-freebsd-ports@freebsd.org Fri Apr 1 13:51:52 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DB8BAEBA45 for ; Fri, 1 Apr 2016 13:51:52 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from mail.abinet.ru (mail.abinet.ru [136.243.72.227]) by mx1.freebsd.org (Postfix) with ESMTP id E8CE21A68 for ; Fri, 1 Apr 2016 13:51:51 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from mail.abinet.ru (web.abinet.ru [10.0.2.4]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.abinet.ru (Postfix) with ESMTPSA id 6C8D4D5D7 for ; Fri, 1 Apr 2016 13:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abinet.ru; s=dkim; t=1459518709; bh=cYa7zFeJQTpg2MhI2+DB37xks/IeBSOuBdTRK0UnU9U=; h=Date:From:To:Subject:In-Reply-To:References; b=AxoA0tC1YI/TPmTmRSLtYpPkAdnTcpM8VLFqGSgIPp4KHmz/S9jYyPbdH8yewtu0N qDAWYjJYN+wWgB+agn82aKjT9r1DCNnJn6unwDlgBT1HZv3TL2+qPExZUTbT8WlVHY bo3joyp6pIPaMME7cyH4xAQwRtci8u7JGqIGJpqw= MIME-Version: 1.0 Date: Fri, 01 Apr 2016 16:51:49 +0300 From: abi@abinet.ru To: freebsd-ports@freebsd.org Subject: Re: Create directory for www:www In-Reply-To: <20160401103110.GG1128@ivaldir.etoilebsd.net> References: <20160401103110.GG1128@ivaldir.etoilebsd.net> Message-ID: X-Sender: abi@abinet.ru User-Agent: Roundcube Webmail/1.1.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2016 13:51:52 -0000 Great! Looks like I missed certain parts of Porter's Handbook Baptiste Daroussin писал 2016-04-01 13:31: > On Fri, Apr 01, 2016 at 01:12:10PM +0300, abi@abinet.ru wrote: > >> Hello! >> >> I'm porting ZoneMinder, it needs folder, writable under web server user. >> >> I wrote in post-install something like this >> >> ${INSTALL} -d -g ${WWWGRP} -o ${WWWOWN} ${STAGEDIR}${WWWDIR}/images >> >> I can see right permissions in a stage directory, however, after >> installation a destination folder has root:wheel owner. >> >> How can create directory in a proper way? > > Do not set the credential in the stage a simple mkdir is enough > > In the plist > @dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/images > > Best regards, > Bapt From owner-freebsd-ports@freebsd.org Fri Apr 1 15:23:50 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45F52AECDA0; Fri, 1 Apr 2016 15:23:50 +0000 (UTC) (envelope-from papowell@astart.com) Received: from astart2.astart.com (wsip-72-214-30-30.sd.sd.cox.net [72.214.30.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3275B1313; Fri, 1 Apr 2016 15:23:49 +0000 (UTC) (envelope-from papowell@astart.com) Received: from laptop_93.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.9/8.14.9) with ESMTP id u31FNgmd084212; Fri, 1 Apr 2016 08:23:42 -0700 (PDT) (envelope-from papowell@astart.com) Reply-To: papowell@astart.com Subject: Re: HTML5 videos crashes Firefox References: <56F804E9.8050506@netfence.it> <56FAAB3D.10906@netfence.it> <56FD9728.1050505@netfence.it> To: Andrea Venturoli , c.brinkhaus@t-online.de Cc: gecko@FreeBSD.org, freebsd-ports@FreeBSD.org From: Patrick Powell Organization: Astart Technologies Message-ID: <56FE927E.3020809@astart.com> Date: Fri, 1 Apr 2016 08:23:42 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <56FD9728.1050505@netfence.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2016 15:23:50 -0000 My setup is a little different. I have a Dell M6800 with NVIDEA: vgapci0: port 0xe000-0xe07f mem 0xf4000000-0xf4ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff irq 16 at device 0.0 on pci1 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io vgapci0: Boot video device From /var/log/Xorg.0.log: [ 12870.311] (II) LoadModule: "glx" [ 12870.311] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so [ 12870.319] (II) Module glx: vendor="NVIDIA Corporation" [ 12870.319] compiled for 4.0.2, module version = 1.0.0 [ 12870.319] Module class: X.Org Server Extension [ 12870.319] (II) NVIDIA GLX Module 346.96 Sun Aug 23 21:29:48 PDT 2015 [ 12870.319] (II) LoadModule: "dbe" [ 12870.319] (II) Module "dbe" already built-in [ 12870.319] (II) LoadModule: "dri" [ 12870.319] (II) Module "dri" already built-in [ 12870.319] (II) LoadModule: "dri2" [ 12870.319] (II) Module "dri2" already built-in [ 12870.319] (II) LoadModule: "extmod" [ 12870.319] (II) Module "extmod" already built-in [ 12870.319] (II) LoadModule: "record" [ 12870.319] (II) Module "record" already built-in [ 12870.319] (II) LoadModule: "vnc" [ 12870.319] (II) Loading /usr/local/lib/xorg/modules/extensions/libvnc.so [ 12870.453] (II) Module vnc: vendor="Constantin Kaplinsky" [ 12870.453] compiled for 1.17.4, module version = 1.0.0 [ 12870.453] Module class: X.Org Server Extension [ 12870.453] ABI class: X.Org Server Extension, version 9.0 [ 12870.453] (II) LoadModule: "nvidia" [ 12870.463] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so [ 12870.463] (II) Module nvidia: vendor="NVIDIA Corporation" [ 12870.463] compiled for 4.0.2, module version = 1.0.0 [ 12870.463] Module class: X.Org Video Driver [ 12870.463] (II) NVIDIA dlloader X Driver 346.96 Sun Aug 23 21:08:26 PDT 2015 [ 12870.463] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs [ 12870.463] (--) Using syscons driver with X support (version 16777218.0) [ 12870.463] (--) using VT number 9 When I run firefox and try to view a video from youtube I get: laptop_93: {10} % firefox |&tee /tmp/f Bus error (core dumped) I updated to the latest pkg versions of firefox. Side Note: I set up a couple of VirtualBox VMs, one for 10.3 RC3 and one for 9.3. Just out of curiousity I ran firefox on them and I was able to view the videos. I am wondering if the issue is related to the NVIDIA driver on my laptop. I wonder if the issue is related to the NVIDIA driver/GPU support. On 03/31/16 14:31, Andrea Venturoli wrote: >> On Tue, 29 Mar 2016 10:37:47 -0700, Christoph Brinkhaus wrote: > >> The only thing I get are error messages as below: >> $ ssh fox firefox >> libGL error: failed to open drm device: No such file or directory >> libGL error: failed to load driver: i965 >> libGL error: unable to load driver: swrast_dri.so >> libGL error: failed to load driver: swrast >> 1459272168729 addons.xpi WARN Bootstrap state is invalid >> (missing >> add-ons: > > Guess you have an Intel GPU (mine is a Radeon). > > > > I got another machine, which runs 10.1/amd64 with an Intel GPU and > that works fine (btw, not even those warnings). > I also saw you tried ssh to another box and I did that too. > > Just to summarize: > _ 10.2/i386/Radeon -> crash; > _ 10.1/amd64/Intel -> fine; > _ ssh from 10.2/i386/Radeon to 10.1/amd64/Intel -> fine. > > Patrick, could you please tell us what GPU you have? Configured options? > > > > Just wish I could get some info out of that core :( > > bye & Thanks > av. > -- Patrick Powell Astart Technologies papowell@astart.com 1530 Jamacha Rd, Suite X Network and System San Diego, CA 92019 Consulting 858-874-6543 FAX 858-751-2435 Web: www.astart.com