From owner-freebsd-ports-bugs@freebsd.org Wed Jan 13 11:34:21 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAC43A81CE1 for ; Wed, 13 Jan 2016 11:34:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB79B17E0 for ; Wed, 13 Jan 2016 11:34:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0DBYLtx073972 for ; Wed, 13 Jan 2016 11:34:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 206194] lang/python27 install fails if misc/compat6x is installed [due to libreadline check] Date: Wed, 13 Jan 2016 11:34:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bugzilla.freebsd@omnilan.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2016 11:34:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206194 Bug ID: 206194 Summary: lang/python27 install fails if misc/compat6x is installed [due to libreadline check] Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: bugzilla.freebsd@omnilan.de CC: freebsd-ports-bugs@FreeBSD.org In my case, trying to install lang/python27 (needed for x11/libxcb:Makefile USES=3Dpython:build) failed with: pkg-static: Unable to access file /usr/local/ports-wrktree/lang/python27/work/stage/usr/local/lib/python2.7/l= ib-dynload/readline.so _Cause:_ misc/compat6x Illustration: lang/python27/Makefile has "USES=3D =E2=80=A6 readline =E2=80=A6" FreeBSD ports system checks: =3D> SHA256 Checksum OK for python/Python-2.7.11.tar.xz. =E2=80=A6 =3D=3D=3D> python27-2.7.11_1 depends on shared library: libreadline.so.6 = - found (/usr/local/lib/compat/libreadline.so.6) and finds libreadline.so.6 in /usr/local/lib/compat/. Now python's build check has different results: checking how to link readline libs... none checking for rl_callback_handler_install in -lreadline... no checking for rl_pre_input_hook in -lreadline... no checking for rl_completion_display_matches_hook in -lreadline... no checking for rl_completion_matches in -lreadline... no which leads to the following warning during build: Python build finished, but the necessary bits to build these modules were n= ot found: _bsddb _sqlite3 _tkinter=20=20=20=20=20=20=20=20 dl gdbm imageop=20=20=20=20=20=20=20=20=20 linuxaudiodev readline spwd=20=20=20=20=20=20=20=20=20=20=20= =20 sunaudiodev=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 To find the necessary bits, look in setup.py in detect_modules() for the module's name. So lib-dynload/readline.so wasn't built, but pkg-plist insists on registeri= ng it, hence the above quoted failure message. _Workaround/Solution:_ cd /usr/ports/devel/readline && make install =E2=80=A6 _before_ building lang/python27. The resulting difference is: =3D=3D=3D> python27-2.7.11_1 depends on shared library: libreadline.so.6 = - found (/usr/local/lib/libreadline.so.6) leading to: checking how to link readline libs... -lreadline checking for rl_callback_handler_install in -lreadline... yes checking for rl_pre_input_hook in -lreadline... yes checking for rl_completion_display_matches_hook in -lreadline... yes checking for rl_completion_matches in -lreadline... yes Most likely uninstalling compat6x also is a workaround. Real solution was to make ports/Mk/Uses/readline.mk misc/compat aware! But unfortunately I don't have a single spare minute to look into it :-( --=20 You are receiving this mail because: You are on the CC list for the bug.=