From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 16 01:16:43 2014 Return-Path: Delivered-To: vbox@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 CE3894AC for ; Tue, 16 Sep 2014 01:16:43 +0000 (UTC) Received: from mail-qc0-x243.google.com (mail-qc0-x243.google.com [IPv6:2607:f8b0:400d:c01::243]) (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 91829BFD for ; Tue, 16 Sep 2014 01:16:43 +0000 (UTC) Received: by mail-qc0-f195.google.com with SMTP id c9so984116qcz.10 for ; Mon, 15 Sep 2014 18:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Zk3xw1mIU+2D6OzYWgzt/cfq1Ns6avThHhrgHZUCTFc=; b=mniS2ANMGvw3yHwg805ZnfbQEmaQ2FlbsUaVxukqQzx4Moux/ZZtKbHpANMqa5xRsh 2tEwzxUPi7BE/V7xsbuKtGb1YfJ8v7/QQPjbnqCCIMTT5SOlpEw4X1b7+q9QNKo7Zftq Ru7P1tt6y1KIznwBTf/F4IuBKpGSDU29wrO6QLGBxZfETKPFPxGhVhVHNG7PE7ov3afk aBK+3WlVpE1652/7FG8Xv3wG9pJiUbce4nlACt94zlrzKhxiFtXhipd5OHPYM9sOmIfx wXQj/qVNkptDgKf8wRQUVTPlfvCles07TXDJYeG1mcGyaDBTqUtSOl9jLF2kuHTQXjg6 0MHA== MIME-Version: 1.0 X-Received: by 10.224.64.201 with SMTP id f9mr43285770qai.64.1410830202174; Mon, 15 Sep 2014 18:16:42 -0700 (PDT) Received: by 10.229.200.193 with HTTP; Mon, 15 Sep 2014 18:16:42 -0700 (PDT) Date: Tue, 16 Sep 2014 09:16:42 +0800 Message-ID: Subject: Cannot set VBOX_USE_IPV6 for VNC Server (VBoxVNC.cpp) From: Gresnald Orlas To: vbox@freebsd.org X-Mailman-Approved-At: Tue, 16 Sep 2014 03:45:46 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 01:16:44 -0000 Hi, I recently had a problem where the VNC server in VirtualBox would not bind to any IPV6 port except for the default. I did some research and found this < http://lists.freebsd.org/pipermail/freebsd-emulation/2014-January/011194.html> and this < http://newsarc.net/showthread.php/muc.lists.freebsd.emulation/Ports174976%3A%20Fix%20For%20IPv6%20Port%20Setting/4E0B86FF-9C4D-4CDA-87FC-D6F75926695F@lassitu.de> After finding the last part I verified that the newer code is unpacked in the ports directory. After trying several things I could not get the VBOX_USE_IPV6 bit to be set and the program always compiled with the default (broken) code. Anyway after playing around some more it looks to me like kmk ignores /etc/make.conf and any CFLAGS passed in via the port 'make CFLAGS=' command. I could be doing something obviously wrong, but I think I am testing this right. Perhaps kmk is supposed to work this way? In any case I thought you might want to know. I checked the IRC channel, but no maintainers were around so I am sending this to vbox@freebsd.org (maintainer) instead. Hope this helps someone. In the meantime for myself I have a patch which takes away the code for the default behavior from VBoxVNC.cpp directly. If am doing something obviously wrong please let me know so I can do upgrades correctly and drop my ugly patch. Regards