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

Bug 764779

Summary: sys-libs/libapparmor-3.1.4-r1 : configure: error: python is required when enabling python bindings
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: The Gentoo Linux Hardened Team <hardened>
Status: CONFIRMED ---    
Severity: normal CC: ago, hardened
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=770937
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 762406    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-libs:libapparmor-3.0.1:20210110-070808.log

Description Toralf Förster gentoo-dev 2021-01-10 10:54:01 UTC
checking whether python bindings are enabled... yes
checking for python3... no
configure: error: python is required when enabling python bindings

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/libapparmor-3.0.1/work/apparmor-3.0.1/libraries/libapparmor/config.log

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

  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]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   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  9 06:06:52 PM UTC 2021

emerge -qpvO sys-libs/libapparmor
[ebuild  N    ] sys-libs/libapparmor-3.0.1  USE="perl python -doc -static-libs" PYTHON_TARGETS="python3_8 (-python3_6) -python3_7"
Comment 1 Toralf Förster gentoo-dev 2021-01-10 10:54:02 UTC
Created attachment 682204 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-10 10:54:04 UTC
Created attachment 682207 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-01-10 10:54:05 UTC
Created attachment 682210 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-01-10 10:54:07 UTC
Created attachment 682213 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2021-01-10 10:54:08 UTC
Created attachment 682216 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2021-01-10 10:54:09 UTC
Created attachment 682219 [details]
sys-libs:libapparmor-3.0.1:20210110-070808.log
Comment 7 Michael Palimaka (kensington) gentoo-dev 2021-05-27 08:14:01 UTC
*** Bug 770937 has been marked as a duplicate of this bug. ***
Comment 8 Michael Palimaka (kensington) gentoo-dev 2021-05-27 08:14:28 UTC
Apparently this means there's no python3 binary, is that correct?
Comment 9 Agostino Sarubbo gentoo-dev 2021-05-27 08:23:36 UTC
(In reply to Michael Palimaka (kensington) from comment #8)
> Apparently this means there's no python3 binary, is that correct?

correct, see the tracker
Comment 10 Agostino Sarubbo gentoo-dev 2021-11-12 11:24:31 UTC
ci has reproduced this issue with version 3.0.3 - Updating summary.
Comment 11 Agostino Sarubbo gentoo-dev 2022-06-13 06:51:18 UTC
ci has reproduced this issue with version 3.0.3-r1 - Updating summary.
Comment 12 Agostino Sarubbo gentoo-dev 2022-06-17 06:42:42 UTC
ci has reproduced this issue with version 3.0.4 - Updating summary.
Comment 13 Agostino Sarubbo gentoo-dev 2023-06-01 07:09:19 UTC
ci has reproduced this issue with version 3.1.4 - Updating summary.
Comment 14 Agostino Sarubbo gentoo-dev 2024-03-06 18:56:43 UTC
ci has reproduced this issue with version 3.1.4-r1 - Updating summary.