Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2018 22:19:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 232510] lang/python37: Python 3.7.1 fails to build
Message-ID:  <bug-232510-21822-gnh8O3kVuc@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/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232510

hakan@siktas.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hakan@siktas.com

--- Comment #9 from hakan@siktas.com ---
Using portmaster it failed for me similarly:

--- Programs/_testembed ---
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'
--- pybuilddir.txt ---
LD_LIBRARY_PATH=3D/usr/ports/lang/python37/work/Python-3.7.1 ./python -E -S=
 -m
sysconfig --generate-posix-vars ; if test $? -ne 0 ; then  echo
"generate-posix-vars failed" ;  rm -f ./pybuilddir.txt ;  exit 1 ;  fi
--- Programs/_testembed ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [Programs/_testembed] Error code 1

make[2]: stopped in /usr/ports/lang/python37/work/Python-3.7.1
1 error

make[2]: stopped in /usr/ports/lang/python37/work/Python-3.7.1
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** 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>>> Update for python37-3.7.0_3 failed
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for security/py-openssl@py37 failed
=3D=3D=3D>>> Aborting update


=3D=3D=3D>>> You can restart from the point of failure with this command li=
ne:
       portmaster <flags> security/py-openssl@py37 lang/python37

This command has been saved to /tmp/portmasterfail.txt

I am on 11.2-RELEASE-p4 with this /etc/make.conf

cat /etc/make.conf
WITH_CCACHE_BUILD=3Dyes

DEFAULT_VERSIONS+=3D perl5=3D5.26 php=3D7.2 pqsql=3D10 python=3D3.7 python3=
=3D3.7

And here is the port's config:

make showconfig
=3D=3D=3D> The following configuration options are available for python37-3=
.7.1:
     DEBUG=3Doff: Build with debugging support
     IPV6=3Don: IPv6 protocol support
     LIBFFI=3Don: Use libffi from ports instead of bundled version
     NLS=3Don: Enable gettext support for the locale module
     PYMALLOC=3Don: Enable specialized mallocs
=3D=3D=3D=3D> Hash Algorithm (PEP-456): you can only select none or one of =
them
     FNV=3Doff: Modified Fowler-Noll-Vo Algorithm
     SIPHASH=3Doff: SipHash24 Algorithm
=3D=3D=3D> Use 'make config' to modify these settings

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232510-21822-gnh8O3kVuc>