From owner-freebsd-ports@FreeBSD.ORG Sun Aug 3 08:04:53 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D79E36E for ; Sun, 3 Aug 2014 08:04:53 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AAA852A0D for ; Sun, 3 Aug 2014 08:04:49 +0000 (UTC) Received: from mandree.no-ip.org ([78.48.206.167]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M9bYB-1XJZx80oYh-00D0cG; Sun, 03 Aug 2014 10:04:41 +0200 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 4ABB323CEB6; Sun, 3 Aug 2014 10:04:40 +0200 (CEST) Message-ID: <53DDED18.6040001@gmx.de> Date: Sun, 03 Aug 2014 10:04:40 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: ports-list freebsd Subject: Objective-C help needed with Bug#190497 - possible regression? Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:RVKB3GRXfgeBh6tZ58AX7aMoTs1XvRZYcgKrNXDMsrAhN/bDsAC L185+X6qXqofQ/Rs0RvrLw56zfzjK/na/acD8Yw+oHTNdggswbY0VdkFo1DrYGH17Zy50mQ d06M5jAE5OVFgJE9QAz/KR2nJOQorCiRnXa/Q4kyhwQNZOMTigc1PXLuiRhBFXPkMfkdviy +b23aLYc359AJSyuDLJtA== Cc: objc@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: Sun, 03 Aug 2014 08:04:53 -0000 Greetings, please bear with me if not using proper terms to describe the situation, I am not an Objective-C programmer. There are reports that openvpn-auth-ldap fails on FreeBSD 10, and apparently also on 9, and I am unable to debug this. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190497 I fixed WITH_DEBUG=yes and modernized -export-dynamic to -Wl,-export-dynamic so that at least I get debug symbols in the output. but if I try to debug the openvpn_plugin_v1_open function, and have a breakpoint set on initWithConfigFile:, gdb 7.x (devel/gdb) just steps over it, so I must assume the runtime is broken. Note there are tons of complaints about classes not responding to +alloc methods/messages. The port builds - but does not install - a "testplugin" program in the top-level $WRKSRC that I have been trying to use for debugging, so you do not need to dig into openvpn configuration. Just running /usr/local/bin/gdb --args ./testplugin /path/to/auth-ldap.conf should do, there is a sample file. There is also an upstream bug, which has gone unattended so far. https://code.google.com/p/openvpn-auth-ldap/issues/detail?id=38 Chances are that the problems have been introduced by switching to clang, by using newer GCC, by using a newer obj standard library, or thereabouts. Any ideas how to fix this? Best regards Matthias Andree