From owner-freebsd-ports@FreeBSD.ORG Mon Mar 31 16:02:16 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 8BEEA847; Mon, 31 Mar 2014 16:02:16 +0000 (UTC) Received: from smtp-auth.serv.Uni-Osnabrueck.DE (vm136.rz.uni-osnabrueck.de [131.173.16.11]) (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 10C1D175; Mon, 31 Mar 2014 16:02:15 +0000 (UTC) Received: from hal9000.drpetervoigt.private (p5DC4D912.dip0.t-ipconnect.de [93.196.217.18]) (authenticated bits=0) by smtp-auth.serv.Uni-Osnabrueck.DE (8.13.8/8.13.8) with ESMTP id s2VG1tWK013280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Mar 2014 18:01:56 +0200 Received: from tiger2008.drpetervoigt.private (tiger2008.drpetervoigt.private [192.168.1.96]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: pvoigt) by hal9000.drpetervoigt.private (Postfix) with ESMTPSA id D95F81E0042; Mon, 31 Mar 2014 18:01:04 +0200 (CEST) Date: Mon, 31 Mar 2014 18:01:04 +0200 From: "Dr. Peter Voigt" To: Dewayne Geraghty Subject: Re: Update of freeradius-2.2.3_1 to freeradius-2.2.4 fails Message-ID: <20140331180104.0f8e43ac@tiger2008.drpetervoigt.private> In-Reply-To: <5338C2B4.40506@heuristicsystems.com.au> References: <20140330164337.0e6a2950@tiger2008.drpetervoigt.private> <5FB70C38-B89E-40AF-AAD5-5E35B237FF1D@FreeBSD.org> <5338C2B4.40506@heuristicsystems.com.au> Organization: =?UTF-8?B?VW5pdmVyc2l0w6R0IE9zbmFicsO8Y2s=?= X-Mailer: Claws Mail 3.9.3 (GTK+ 2.22.1; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.2.17.214214 (Univ. Osnabrueck) X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report= MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, FROM_NAME_PHRASE 0, RDNS_POOLED 0, RDNS_SUSP 0, RDNS_SUSP_SPECIFIC 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_REPLYTO 0, __HAS_X_MAILER 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __RDNS_POOLED_10 0, __REPLYTO_SAMEAS_FROM 0, __REPLYTO_SAMEAS_FROM_ACC 0, __REPLYTO_SAMEAS_FROM_ADDY 0, __REPLYTO_SAMEAS_FROM_DOMAIN 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __URI_NS X-PMX-Spam-Level: IIIIIIII Cc: Dimitry Andric , "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: "Dr. Peter Voigt" List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 16:02:16 -0000 Am Mon, 31 Mar 2014 12:19:48 +1100 schrieb Dewayne Geraghty : > > On 31/03/2014 5:38 AM, Dimitry Andric wrote: > > On 30 Mar 2014, at 16:43, Dr. Peter Voigt wrote: > >> I am running 10.0-RELEASE and when trying to upgrade > >> freeradius-2.2.3_1 to freeradius-2.2.4 after the latest update of > >> the ports tree I obtain the following build error: > >> > >> ... > >> libtool: link: cc -pthread > >> -o .libs/rlm_dbm_parser .libs/rlm_dbm_parser.o > >> -L/usr/local/lib /usr/ports/net/freeradius2/work/freeradius-server-2.2.4/src/lib/.libs/libfreeradius-radius.so > >> -lssl -lcrypto -lpthread -pthread -Wl,-rpath > >> -Wl,/usr/local/lib/freeradius-2.2.4 /usr/ports/net/freeradius2/work/freeradius-server-2.2.4/src/lib/.libs/libfreeradius-radius.so: > >> undefined reference to > >> `backtrace_symbols' /usr/ports/net/freeradius2/work/freeradius-server-2.2.4/src/lib/.libs/libfreeradius-radius.so: > >> undefined reference to `backtrace' cc: error: linker command failed > >> with exit code 1 (use -v to see invocation) gmake[7]: *** > > This probably needs -lexecinfo somewhere in its LDFLAGS. > > > > -Dimitry > > > > Good suggestion Dimitry. For freeradius2, this PR may assist: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/188089 > Thank you, Dimitry, for pointing us to your above patch. I have just patched /usr/ports/net/freeradius2/Makefile accordingly and could build and install net/freeradius2 in version 2.2.4 without errors. I have used the following configuration: # make showconfig ===> The following configuration options are available for freeradius-2.2.4: DEVELOPER=off: Enable developer options DHCP=off: With DHCP support (EXPERIMENTAL) EDIR=off: Enable eDirectory support (implies LDAP) EXPERIMENTAL=off: Build experimental modules FIREBIRD=off: With Firebird database support (EXPERIMENTAL) HEIMDAL=off: With Heimdal Kerberos support HEIMDAL_PORT=off: With Heimdal Kerberos from ports KERBEROS=off: Kerberos support LDAP=off: LDAP support MYSQL=off: MySQL database support OCI8=off: With Oracle support (currently experimental) PERL=on: Perl scripting language support PGSQL=off: PostgreSQL database support PYTHON=on: Python bindings or support RUBY=off: Ruby bindings or support SSL_PORT=off: Use OpenSSL from the ports collection UDPFROMTO=off: Compile in UDPFROMTO support UNIXODBC=off: With unixODBC database support USER=on: Run as user freeradius, group freeradius ===> Use 'make config' to modify these settings Regards, Peter