Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765631 - dev-libs/botan-2.17.3 : env: python: No such file or directory (fails with -native-symlinks)
Summary: dev-libs/botan-2.17.3 : env: python: No such file or directory (fails with -n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 762406
  Show dependency tree
 
Reported: 2021-01-16 12:06 UTC by Toralf Förster
Modified: 2021-07-02 05:05 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.00 KB, text/plain)
2021-01-16 12:06 UTC, Toralf Förster
Details
dev-libs:botan-2.17.3:20210116-095646.log (dev-libs:botan-2.17.3:20210116-095646.log,1.63 KB, text/plain)
2021-01-16 12:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,548.18 KB, text/plain)
2021-01-16 12:06 UTC, Toralf Förster
Details
environment (environment,100.00 KB, text/plain)
2021-01-16 12:06 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,43.87 KB, application/x-bzip)
2021-01-16 12:06 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.98 KB, application/x-bzip)
2021-01-16 12:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-01-16 12:06:52 UTC
>>> Configuring source in /var/tmp/portage/dev-libs/botan-2.17.3/work/Botan-2.17.3 ...
 * Disabling module(s): boost
env: ‘python’: No such file or directory
 * ERROR: dev-libs/botan-2.17.3::gentoo failed (configure phase):
 *   configure.py failed
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20201231-222458

  -------------------------------------------------------------------

gcc-config -l:
clang version 11.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.9 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Jan 16 09:02:47 AM UTC 2021

emerge -qpvO dev-libs/botan
[ebuild  N    ] dev-libs/botan-2.17.3  USE="bzip2 ssl zlib -bindist -boost -doc -libressl -lzma -python -sqlite -static-libs" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-01-16 12:06:53 UTC
Created attachment 683137 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-16 12:06:54 UTC
Created attachment 683140 [details]
dev-libs:botan-2.17.3:20210116-095646.log
Comment 3 Toralf Förster gentoo-dev 2021-01-16 12:06:56 UTC
Created attachment 683143 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-01-16 12:06:58 UTC
Created attachment 683146 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-01-16 12:06:59 UTC
Created attachment 683149 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-01-16 12:07:00 UTC
Created attachment 683152 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-07-02 05:05:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c3eb3b0aeb7e3600297b21f3495f1f6f21b1702

commit 1c3eb3b0aeb7e3600297b21f3495f1f6f21b1702
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-07-02 04:50:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-07-02 04:50:44 +0000

    dev-libs/botan: use correct Python implementation for build (fix -native-symlinks)
    
    As per the Python guide [0], we can call python_setup for additional build-time
    usage. We also use ${EPYTHON} to call configure.py instead of relying on the
    shebang and possible python-exec magic.
    
    (The configure script passes on the executable it was called with for later
    use too.)
    
    [0] https://dev.gentoo.org/~mgorny/python-guide/multi.html#additional-build-time-python-use
    Closes: https://bugs.gentoo.org/765631
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/botan/botan-2.17.3-r1.ebuild | 4 +++-
 dev-libs/botan/botan-2.18.1-r1.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)