These LDFLAGS are read from `python3 -m sysconfig`. The "-L." flag there is 
causing this python3 to be rejected by the new checks from 
https://trac.sagemath.org/ticket/31132 .
Looks like using this flag is a gentoo specialty. 

On Sunday, February 7, 2021 at 8:42:35 PM UTC-8 Steven Trogdon wrote:

> OK, here is the reason
>
> g++ -std=gnu++11 -fPIC -I/local/sage-git/sage/conftest_venv/include 
> -I/usr/include/python3.9 -c conftest.cpp -o 
> conftest.dir/temp.linux-x86_64-3.9/conftest.o -std=c++11
> creating conftest.dir/lib.linux-x86_64-3.9
> x86_64-pc-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,--as-needed 
> conftest.dir/temp.linux-x86_64-3.9/conftest.o -L/usr/lib64 -o 
> conftest.dir/lib.linux-x86_64-3.9/
> config_check_distutils_cxx.cpython-39-x86_64-linux-gnu.so
>         LDFLAGS = "-Wl,-O1 -Wl,--as-needed -L."
> configure:32030: result: no, this is a misconfigured Python whose 
> sysconfig compiler/linker flags contain -I or -L options, which may cause 
> wrong versions of libraries to leak into the build of Python packages - see 
> https://trac.sagemath.org/ticket/31132; to use it anyway, use ./configure 
> --with-python=/usr/bin/python3
>
> I have 
>
> $ echo $LDFLAGS
> -Wl,-O1 -Wl,--as-needed
>
> and I've had this set for some time (several years).
>
> On Sunday, February 7, 2021 at 9:30:29 PM UTC-7 Steven Trogdon wrote:
>
>> This beta does not pick up on my system (Gentoo) python. From config.log
>>
>> configure:39140: result: python3-3.9.1:                               no 
>> suitable system package; will be installed as an SPKG
>>
>> And my system python
>>
>> $ python
>> Python 3.9.1 (default, Jan 26 2021, 00:24:17) 
>> [GCC 9.3.0] on linux
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> 
>>
>> $ python3
>> Python 3.9.1 (default, Jan 26 2021, 00:24:17) 
>> [GCC 9.3.0] on linux
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> 
>> On Sunday, February 7, 2021 at 3:04:42 PM UTC-7 Volker Braun wrote:
>>
>>> As always, you can get the latest beta version from the "develop" git 
>>> branch. Alternatively, the self-contained source tarball is at 
>>> http://www.sagemath.org/download-latest.html 
>>>
>>> 8453ffb849 (tag: 9.3.beta7, trac/develop) Updated SageMath version to 
>>> 9.3.beta7
>>> 6096110e06 Trac #30517: MemoryError in doctesting 
>>> combinat/designs/gen_quadrangles_with_spread.pyx
>>> e67fc51749 Trac #31148: MR51: Allow Matplotlib to use system qhull >= 
>>> 7.2.0
>>> f3740e8add Trac #31147: Add missing curly braces in latex of Kodaira 
>>> symbol
>>> d856033dd6 Trac #31144: refresh the file polyhedron/plot.py
>>> eb9bae531a Trac #31143: shorten range(0, *) in combinat folder
>>> 9d4f2d1525 Trac #31140: use ⨂ for unicode of tensor symbol
>>> 5a4ad12275 Trac #31138: Document WSL Installation
>>> c8a7960598 Trac #31134: Update setuptools and setuptools_scm
>>> 45e7ada314 Trac #24459: Segfault in matrix_integer_dense
>>> 9bdf1d149f Trac #24317: Doctest: Improve conversion of inexact symbolic 
>>> values
>>> 85f81e86d3 Trac #21907: Bug in Maxima interface wrt polylog
>>> 913b025ac5 Trac #31283: 1000× speedup of conjugate of double dense 
>>> matrices
>>> bfe6fd9654 Trac #31273: Remove deprecated `form` input for bundle 
>>> connections
>>> 00cacf3803 Trac #31272: Improve the documentation for tensor()
>>> 50c1a5d655 Trac #31270: Remove sage-location's "sage-force-relocate" 
>>> mechanism, fix script to work without SAGE_ROOT
>>> 3f5faf58b6 Trac #31266: Signed tensor products does not allow tensor 
>>> products with non-signed modules
>>> 1d8b95def5 Trac #31265: changes in kschur to get rid of specific product 
>>> definition there
>>> 9c39188e60 Trac #31262: Implement non zero chunks for sparse bitsets
>>> 35ad55518c Trac #31261: Update pplpy to 0.8.6
>>> d5581ba0ea Trac #31258: Upgrade cmake to 3.19.3
>>> 57211cf752 Trac #31257: quo_rem gives wrong answers for 
>>> LaurentPolynomial_mpair
>>> b282cf6d2d Trac #31256: more care for pbori
>>> e8c83f5b70 Trac #31255: Follow Up: Mutability of Sections and Tensor 
>>> Fields
>>> 573df518ba Trac #31254: Do not perform unnecesssary subdivisions in 
>>> matrices
>>> 09f5b07182 Trac #31239: Add ore_algebra optional package
>>> 6a5ad3f3eb Trac #31216: tox.ini (local): Add environment variables to 
>>> skip system package installs and other steps, add mechanism for a local 
>>> interactive shell
>>> 1ad5cb3ec9 Trac #31197: Use bitsets/binary matrix for edges of dense 
>>> graphs
>>> 3925e96e0a Trac #31196: Code Improvements for Mutability module
>>> 01ad25fc3f Trac #31194: Make Class with Mutability compatible with 
>>> require_mutable wrapper
>>> 99d4307f61 Trac #31121: Further refactoring of eta products file
>>> 6dda91cd3b Trac #31035: Remove mathjax configuration/symlink from 
>>> jupyter notebook
>>> 2c32dab63a Trac #27103: Enable SIMD-instructions for Bitsets
>>> 6b64832a66 Trac #21783: QEPCAD: get rid of qepcad bits in 
>>> src/bin/sage-location
>>> 5e36f5d72b Trac #31271: MR52: upgrade ubuntu system in docker image
>>> 7823deee62 Trac #31263: Broken `sage -b`
>>> f0ca7dfb31 Trac #30725: macOS: spkg-install scripts that force use of 
>>> clang conflict with '-march=native'
>>> aadda8f345 Trac #30731: Replace use of build/bin/sage-python23 by just 
>>> python3
>>> 70291edd23 Trac #14821: Weird error in exponential integral
>>> 583e83e86d Trac #7423: plot3d can't handle log(0)
>>> d7c2285977 Trac #31243: Stronger Categories for Manifold Examples: 
>>> Connectedness
>>> 6ef10b86c1 Trac #31240: sage-flatsurf pip package
>>> 513046f42d Trac #31238: Add admcycles as an optional package
>>> a33370064e Trac #31237: Add slabbe as an optional package
>>> 712ca6e170 Trac #31234: multiplication of matrix with zero columns or 
>>> rows fails
>>> 8c3804cc20 Trac #31233: Categories for Homset of Manifolds do not meet
>>> e1bd5e3fe5 Trac #31229: more typing annotations in Tamari interval posets
>>> 02d0fc8821 Trac #31226: Generalize face iterator of combinatorial 
>>> polyhedron to locally branched lattices
>>> d9745ca3e1 Trac #31224: Add surface-dynamics as a pip package
>>> 8101d78056 Trac #31221: Alllow arbitrary folder as output directory of 
>>> docbuild
>>> 96bac10d15 Trac #31220: Remove test for safe directory while doctesting
>>> 7eebf61583 Trac #31219: Fix escape of docstring for derivative method
>>> a704ef5b17 Trac #31215: Documentation of Item Assignment Behavior for 
>>> Bundle Connections
>>> c4f0516700 Trac #31212: fix submonoid method when the generating set 
>>> include the identity
>>> bf9205aebc Trac #31210: Make it possible to run github workflows manually
>>> 5477ab510c Trac #31208: Use popcnt and tzcnt to speed up bitsets on 
>>> Intel and AMD
>>> 7edddbd058 Trac #31207: Implement copy for binary matrix
>>> 3994d91f70 Trac #31200: Small improvements to binary matrix
>>> db29ef0dc9 Trac #31195: yet another cleanup for pbori
>>> 3e3dcb7ce8 Trac #31192: Installation manual: Fix documentation of python 
>>> prerequisite (sage-bootstrap-python)
>>> 6b14dc7113 Trac #31190: add Farey maps as examples of simplicial surfaces
>>> 0c64e7a577 Trac #31189: local quicklisp install interfers with Maxima 
>>> package building
>>> 97c19345d5 Trac #31184: refresh one givaro file
>>> 09b4dd2854 Trac #31181: Mutability class does not return is_immutable
>>> 4a1d0f8c95 Trac #31084: Makefile: Add "ptest" targets that do not depend 
>>> on the docbuild
>>> 01c9f0b244 Trac #3889: extend parameter for number field sqrt method
>>> c28601e7f6 Trac #31218: bootstrap: Fix "sage-venv-config: 
>>> /doesnotexist/python3: bad interpreter"
>>> e3dc2c8982 Trac #31183: Fix scipy for MacOS 11 (Big Sur)
>>> 5854f7a9fc Trac #31146: cygwin-standard: fpylll build fails
>>> 77d9d52abf Trac #31132: homebrew: Unused packages (singular, pari, ...) 
>>> in /usr/local leak into build when using homebrew's python3
>>> aac2decc62 Trac #31097: build/pkgs/gcc/spkg-configure.m4: Fix 
>>> SAGE_BROKEN_GCC test
>>> b426f95131 Trac #31062: tox / GH Actions: Disable testsuites of packages 
>>> depending on pip packages (pytest, ...)
>>> e88216c277 Trac #30944: tox: Improve local-sudo-ubuntu-standard
>>> a549452a4b Trac #30589: Upgrade Python to 3.9.1, pip to 20.3.3
>>> 20fbba25e5 Trac #29124: Add script packages build/pkgs/_prereq, 
>>> build/pkgs/_bootstrap
>>> 13b40902a9 (tag: 9.3.beta6) Updated SageMath version to 9.3.beta6
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/cce19c7a-b4b3-45f1-9465-5ef32f2422den%40googlegroups.com.

Reply via email to