From owner-freebsd-python@freebsd.org Mon Oct 22 18:14:51 2018 Return-Path: <owner-freebsd-python@freebsd.org> Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC739104EDA9 for <freebsd-python@mailman.ysv.freebsd.org>; Mon, 22 Oct 2018 18:14:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 689AA892B6 for <freebsd-python@freebsd.org>; Mon, 22 Oct 2018 18:14:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2D735104EDA6; Mon, 22 Oct 2018 18:14:51 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0BA3E104EDA5 for <python@mailman.ysv.freebsd.org>; Mon, 22 Oct 2018 18:14:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A0D89892B3 for <python@FreeBSD.org>; Mon, 22 Oct 2018 18:14:50 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CDF1BB8FE for <python@FreeBSD.org>; Mon, 22 Oct 2018 18:14:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9MIEnhe071719 for <python@FreeBSD.org>; Mon, 22 Oct 2018 18:14:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9MIEnDf071712 for python@FreeBSD.org; Mon, 22 Oct 2018 18:14:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 232510] lang/python37: Python 3.7.1 fails to build (upgrade) with 3.7.0 installed Date: Mon, 22 Oct 2018 18:14:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hakan@siktas.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: wen@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: <bug-232510-21822-erillQtL7S@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-232510-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-232510-21822@https.bugs.freebsd.org/bugzilla/> 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-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 22 Oct 2018 18:14:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232510 --- Comment #17 from hakan@siktas.com --- I tried `portmaster -m MAKE_JOBS_UNSAFE=3Dyes lang/python37` and it resulte= d in a different error: In file included from /usr/local/include/readline/readline.h:36: /usr/local/include/readline/rltypedefs.h:35:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] typedef int Function () __attribute__ ((deprecated)); ^ void /usr/local/include/readline/rltypedefs.h:36:24: warning: this function declaration is not a prototype [-Wstrict-prototypes] typedef void VFunction () __attribute__ ((deprecated)); ^ void /usr/local/include/readline/rltypedefs.h:37:26: warning: this function declaration is not a prototype [-Wstrict-prototypes] typedef char *CPFunction () __attribute__ ((deprecated)); ^ void /usr/local/include/readline/rltypedefs.h:38:28: warning: this function declaration is not a prototype [-Wstrict-prototypes] typedef char **CPPFunction () __attribute__ ((deprecated)); ^ void In file included from /usr/ports/lang/python37/work/Python-3.7.1/Modules/readline.c:31: /usr/local/include/readline/readline.h:390:23: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int rl_message (); ^ void 5 warnings generated. In file included from /usr/ports/lang/python37/work/Python-3.7.1/Modules/socketmodule.c:283: In file included from /usr/ports/lang/python37/work/Python-3.7.1/Modules/socketmodule.h:66: In file included from /usr/include/bluetooth.h:51: /usr/include/netgraph/bluetooth/include/ng_btsocket.h:246:2: warning: "Make sure new member of socket address initialized" [-W#warnings] #warning "Make sure new member of socket address initialized" ^ 1 warning generated. In file included from /usr/ports/lang/python37/work/Python-3.7.1/Modules/_ssl.c:38: In file included from /usr/ports/lang/python37/work/Python-3.7.1/Modules/socketmodule.h:66: In file included from /usr/include/bluetooth.h:51: /usr/include/netgraph/bluetooth/include/ng_btsocket.h:246:2: warning: "Make sure new member of socket address initialized" [-W#warnings] #warning "Make sure new member of socket address initialized" ^ 1 warning generated. Python build finished successfully! The necessary bits to build these optional modules were not found: _tkinter spwd To find the necessary bits, look in setup.py in detect_modules() for the module's name. The following modules found by detect_modules() in setup.py, have been built by the Makefile instead, as configured by the Setup files: _abc atexit pwd time install -m 0644 ./Tools/gdb/libpython.py python-gdb.py cc -pthread -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector -fno-strict-aliasing -std=3Dc99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=3Dimplicit-function-declaration -I. -I./Inclu= de -I/usr/local/include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Programs/_testembed.o ./Programs/_testembed.c cc -pthread -L/usr/local/lib -fstack-protector -Wl,--export-dynamic -o Programs/_testembed Programs/_testembed.o -L. -lpython3.7m -lintl -ldl -L/usr/local/lib -lintl -lutil -lm Programs/_testembed.o: In function `test_init_from_config': _testembed.c:(.text+0xd28): undefined reference to `_Py_InitializeFromConfi= g' Programs/_testembed.o: In function `test_init_dev_mode': _testembed.c:(.text+0xe0f): undefined reference to `_Py_InitializeFromConfi= g' Programs/_testembed.o: In function `test_init_isolated': _testembed.c:(.text+0xeb3): undefined reference to `_Py_InitializeFromConfi= g' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /usr/ports/lang/python37/work/Python-3.7.1 *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/python37 *** Error code 1 Stop. make: stopped in /usr/ports/lang/python37 =3D=3D=3D>>> make build failed for lang/python37 =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command li= ne: portmaster <flags> lang/python37 This command has been saved to /tmp/portmasterfail.txt --=20 You are receiving this mail because: You are on the CC list for the bug.=