From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 13 14:20:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 ESMTP id EEB4D250 for ; Sun, 13 Oct 2013 14:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D7D3A255E for ; Sun, 13 Oct 2013 14:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9DEK1Og056147 for ; Sun, 13 Oct 2013 14:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9DEK1N3056146; Sun, 13 Oct 2013 14:20:01 GMT (envelope-from gnats) Date: Sun, 13 Oct 2013 14:20:01 GMT Message-Id: <201310131420.r9DEK1N3056146@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Raphael Kubo da Costa Subject: Re: ports/182280: devel/gdb fails to build when PYTHON option enabled X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Raphael Kubo da Costa List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Oct 2013 14:20:02 -0000 The following reply was made to PR ports/182280; it has been noted by GNATS. From: Raphael Kubo da Costa To: bug-followup@FreeBSD.org Cc: Andrew Wilcox , Luca Pizzamiglio Subject: Re: ports/182280: devel/gdb fails to build when PYTHON option enabled Date: Sun, 13 Oct 2013 17:16:34 +0300 The problem seems to come from the combination of PYTHON and BUNDLED_READLINE. If one chooses PORTS_READLINE instead, this is the command line the configure script uses to detect Python: configure:8173: checking for python2.7 configure:8191: cc -o conftest -O2 -pipe -DRL_NO_COMPAT -fno-strict-aliasing -std=gnu89 -I/usr/local/include -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 -L/usr/local/lib -lreadline conftest.c -lz -lm -L/usr/local/lib/python2.7/config -lintl -lutil -lm -lpython2.7 -Wl,--export-dynamic >&5 On the other hand, if BUNDLED_READLINE is chosen, -L/usr/local/lib -lreadline is not passed and the linker cannot find libintl.so: configure:8173: checking for python2.7 configure:8191: cc -o conftest -O2 -pipe -DRL_NO_COMPAT -fno-strict-aliasing -std=gnu89 -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 conftest.c -lncurses -lz -lm -L/usr/local/lib/python2.7/config -lintl -lutil -lm -lpython2.7 -Wl,--export-dynamic >&5