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

Bug 667136

Summary: net-dns/bind-9.12.2_p2 fails to emerge with python_targets_python2_7
Product: Gentoo Linux Reporter: Gary E. Miller <gem>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED DUPLICATE    
Severity: normal CC: floppym, gem
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Gary E. Miller 2018-09-26 21:04:25 UTC
net-dns/bind-9.12.2_p2 fails to emerge python_targets_python2_7

/usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c -m 644 ./bind.keys /u
1/tmp/portage/net-dns/bind-9.12.2_p2/image/etc/bind
 * python2_7: running install_python_tools
 * python3_5: running install_python_tools
 * The file has incompatible shebang:
 *   file: //usr/lib/python-exec/python2.7/dnssec-checkds
 *   current shebang: #!/usr/bin/python3.5
 *   requested impl: python2.7
 * ERROR: net-dns/bind-9.12.2_p2::gentoo failed (install phase):
 *   python_fix_shebang: conversion of incompatible shebang request

Easy fix, mask python 2.7
Comment 1 Gary E. Miller 2018-09-26 21:06:11 UTC
Created attachment 548006 [details]
build log
Comment 2 Sven E. 2018-10-17 03:52:38 UTC
If it was that easy:

/usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c -m 644 ./bind.keys /var/tmp/portage/net-dns/bind-9.12.2_p2/image/etc/bind
 * python2_7: running install_python_tools
 * python3_6: running install_python_tools
 * The file has incompatible shebang:
 *   file: //usr/lib/python-exec/python3.6/dnssec-checkds
 *   current shebang: #!/usr/bin/python2
 *   requested impl: python3.6
 * ERROR: net-dns/bind-9.12.2_p2::gentoo failed (install phase):
 *   python_fix_shebang: conversion of incompatible shebang requested
 *

Same problem other way round.
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-08-22 17:33:46 UTC

*** This bug has been marked as a duplicate of bug 634712 ***