Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 740718 - net-libs/mbedtls-2.24.0 fails to compile: Cannot build test suites without Python 3
Summary: net-libs/mbedtls-2.24.0 fails to compile: Cannot build test suites without ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Azamat H. Hackimov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: missing-depend
  Show dependency tree
 
Reported: 2020-09-06 14:39 UTC by Agostino Sarubbo
Modified: 2024-01-14 04:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,9.40 KB, text/plain)
2020-09-06 14:39 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,15.33 KB, text/plain)
2020-09-06 14:39 UTC, Agostino Sarubbo
Details
build log with gcc 10 (build.log,82.64 KB, text/plain)
2020-09-11 18:16 UTC, benjamin.herweyer
Details

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 8 Larry the Git Cow gentoo-dev 2024-01-14 04:05:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4767bcca480ea1ecfaa1fe58841d0989b3640e7e

commit 4767bcca480ea1ecfaa1fe58841d0989b3640e7e
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2024-01-07 13:55:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-14 04:01:12 +0000

    net-libs/mbedtls: add 2.28.6
    
    New dual licensing (Apache-2.0 or GPL-2+), add python as BDEPEND
    (required for some pre-compile checks test data generation), minor fixes
    to project spelling (it's "Mbed TLS", not "mbed TLS").
    
    Closes: https://bugs.gentoo.org/740718
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/mbedtls/Manifest              |   1 +
 net-libs/mbedtls/mbedtls-2.28.6.ebuild | 108 +++++++++++++++++++++++++++++++++
 net-libs/mbedtls/metadata.xml          |   4 +-
 3 files changed, 111 insertions(+), 2 deletions(-)