From owner-freebsd-python@FreeBSD.ORG Tue Sep 2 22:15:52 2014 Return-Path: Delivered-To: freebsd-python@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 D0DAC51E for ; Tue, 2 Sep 2014 22:15:52 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 B753C1C3B for ; Tue, 2 Sep 2014 22:15:52 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s82MFqMt081686 for ; Tue, 2 Sep 2014 22:15:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-python@FreeBSD.org Subject: [Bug 191943] lang/python34 won't build in jail if software and kernel versions doesn't match Date: Tue, 02 Sep 2014 22:15:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eirnym@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 22:15:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191943 --- Comment #8 from Eir Nym --- found documentation for uname(1) and fixed with variables UNAME_r & UNAME_v. But it doesn't help at the end at all. # uname -a FreeBSD builder.local 11-CURRENT 11-CURRENT amd64 # make install ... skip ... configure: loading site script /usr/ports/Templates/config.site checking build system type... amd64-portbld-freebsd11 checking host system type... amd64-portbld-freebsd11 ... skip ... cc -c -Wno-unused-result -Werror=declaration-after-statement -DNDEBUG -O2 -pipe -fno-strict-aliasing -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -DPLATFORM='"freebsd11-CURRENT"' -o Python/getplatform.o ./Python/getplatform.c ... skip ... --- Modules/getpath.o --- cc -c -Wno-unused-result -Werror=declaration-after-statement -DNDEBUG -O2 -pipe -fno-strict-aliasing -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -DPYTHONPATH='":plat-freebsd11-CURRENT"' -DPREFIX='"/usr/local"' -DEXEC_PREFIX='"/usr/local"' -DVERSION='"3.4"' -DVPATH='""' -o Modules/getpath.o ./Modules/getpath.c ... skip ... mkdir ./Lib/plat-freebsd11-CURRENT cp ./Lib/plat-generic/regen ./Lib/plat-freebsd11-CURRENT/regen export PATH; PATH="`pwd`:$PATH"; export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; export EXE; EXE=""; if [ -n "" ]; then export MULTIARCH; MULTIARCH=; fi; export PYTHON_FOR_BUILD; if [ "amd64-portbld-freebsd11" = "amd64-portbld-freebsd11" ]; then PYTHON_FOR_BUILD="python"; else PYTHON_FOR_BUILD="./python -E"; fi; cd ./Lib/plat-freebsd11-CURRENT; LD_LIBRARY_PATH=/usr/ports/lang/python34/work/Python-3.4.1 ./regen eval $PYTHON_FOR_BUILD ../../Tools/scripts/h2py.py -i "'(u_long)'" /usr/include/netinet/in.h ... skip ... Creating directory /usr/local/lib/python3.4/plat-freebsd11-CURRENT ... skip ... install -o root -g wheel -m 644 build/lib.freebsd-11-CURRENT-amd64-3.4/_sysconfigdata.py /usr/local/lib/python3.4 ... skip ... install -o root -g wheel -m 644 ./Lib/plat-freebsd11-CURRENT/IN.py /usr/local/lib/python3.4/plat-freebsd11-CURRENT install -o root -g wheel -m 555 ./Lib/plat-freebsd11-CURRENT/regen /usr/local/lib/python3.4/plat-freebsd11-CURRENT ... skip ... ===> Registering installation for python34-3.4.1_5 pkg-static: lstat(/usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/plat-freebsd11/IN.py): No such file or directory pkg-static: lstat(/usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/plat-freebsd11/__pycache__/IN.cpython-34.pyc): No such file or directory pkg-static: lstat(/usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/plat-freebsd11/__pycache__/IN.cpython-34.pyo): No such file or directory pkg-static: lstat(/usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/plat-freebsd11/regen): No such file or directory pkg-static: lstat(/usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/plat-freebsd11/__pycache__/): No such file or directory pkg-static: lstat(/usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/plat-freebsd11/): No such file or directory *** Error code 74 -- You are receiving this mail because: You are the assignee for the bug.