Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 740718

Summary: net-libs/mbedtls-2.24.0 fails to compile: Cannot build test suites without Python 3
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
1-CMakeOutput.log
build log with gcc 10

Description Agostino Sarubbo gentoo-dev 2020-09-06 14:39:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/mbedtls-2.24.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-06 14:39:49 UTC
Created attachment 658790 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-09-06 14:39:51 UTC
Created attachment 658792 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 3 Anthony Basile gentoo-dev 2020-09-06 20:10:32 UTC
Please read the buildlog.  It seems it could not find an executable python3.  I had no problems building on my local machine.  I think this bug is invalid, but I'll let you decide.
Comment 4 benjamin.herweyer 2020-09-11 18:16:52 UTC
Created attachment 659556 [details]
build log with gcc 10
Comment 5 benjamin.herweyer 2020-09-11 18:19:29 UTC
I'm seeing the same error on my local machine, though it seems to be a later error that's failing the compilation for me. I'm using python3.8 as my default, so something must be wrong with the detection.
Comment 6 Anthony Basile gentoo-dev 2020-09-11 20:30:14 UTC
(In reply to benjamin.herweyer from comment #5)
> I'm seeing the same error on my local machine, though it seems to be a later
> error that's failing the compilation for me. I'm using python3.8 as my
> default, so something must be wrong with the detection.

That's a different error.  We should separate these bugs.
Comment 7 adebeus 2020-09-13 01:36:33 UTC
(In reply to benjamin.herweyer from comment #4)
> Created attachment 659556 [details]
> build log with gcc 10

I got this error as well when I tried to build with GCC 10. I was able to get it to build with GCC 9.3.0, however. Adding -fcommon to *FLAGS did not resolve the issue with GCC 10.