From owner-freebsd-ports@FreeBSD.ORG Tue Feb 21 10:07:52 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 239FE106564A; Tue, 21 Feb 2012 10:07:52 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 49A288FC15; Tue, 21 Feb 2012 10:07:51 +0000 (UTC) Received: by eekb47 with SMTP id b47so2805680eek.13 for ; Tue, 21 Feb 2012 02:07:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=C4pRrxj5Y/vgwLXlHk8kDttQL0S9psJrKWbafnPj11I=; b=Tf/QRzjn5LCh/YRJCOiE0Oe5AfVPYhLzJsxBfQSuB+XrD45JfoPuU75jf/bJV7SwF5 YT/Qii9yVhqAu0uonKjcdc3tm8pu3rjlx6NYyT+8F5+kFyoFP+mxQv+yuIDspBFEsMaL r6J2EgAfAqztm1ZExac0iGUWbzSyaPPBiCWb0= Received: by 10.213.28.75 with SMTP id l11mr2707898ebc.47.1329818870349; Tue, 21 Feb 2012 02:07:50 -0800 (PST) Received: from green.tandem.local (158-209-200-46.pool.ukrtel.net. [46.200.209.158]) by mx.google.com with ESMTPS id n56sm88476924eeh.6.2012.02.21.02.07.47 (version=SSLv3 cipher=OTHER); Tue, 21 Feb 2012 02:07:48 -0800 (PST) Message-ID: <4F436CF2.2060601@gmail.com> Date: Tue, 21 Feb 2012 12:07:46 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120220 Firefox/10.0.2 SeaMonkey/2.7.2 MIME-Version: 1.0 To: Andrey Chernov , ports@freebsd.org, emulation@freebsd.org References: <20120215164722.GA1693@vniz.net> <20120221005707.GB1781__27803.6550422714$1329785890$gmane$org@vniz.net> In-Reply-To: <20120221005707.GB1781__27803.6550422714$1329785890$gmane$org@vniz.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: linux-f10-flashplugin11 not works for 9-stable (Linuxulator?) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 10:07:52 -0000 Andrey Chernov wrote: > Just in case it may help somebody: the cause (but not the root) of the > problem is found and workaround too. > > The cause of the problem is > ::1 localhost localhost.my.domain > line from our _standard_ /usr/src/etc/hosts which comes first before > 127.0.0.1 localhost localhost.my.domain > line. > > Linux takes the first match on localhost, i.e. ::1, then tries > 8605 npviewer.bin STRU struct sockaddr { AF_INET6, [::1]:6010 } > it was last command from npviewer.bin, then it immeditelly terminates: > 8605 npviewer.bin RET linux_socketcall -1 errno 4 Interrupted system call > 8605 npviewer.bin PSIG SIGTERM SIG_DFL code=0x10001 > > The workaround is to switch lines order in /etc/hosts, i.e. > 127.0.0.1 localhost > ::1 localhost > to make IPv4 one comes first. Flash works afterwards. > > The bug affects IPv6-enabled machines with IPv4 over IPv6 preferred or > maybe IPv4 too I don't know, but since we don't have such reports in mass, > I think IPv4-only setup is fine. Can you clarify this a bit? I have at least one machine with vanilla /etc/hosts connected to IPv4/IPv6 network (i.e. some internal hosts resolve to IPv6) and flash works fine there. The DEPEND list on www/nspluginwrapper lists ftp/curl as a dependence. And this port can be built without IPv6. Can you check your ports configuration about enabling IPv6 support? -- Sphinx of black quartz judge my vow.