Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667136 - net-dns/bind-9.12.2_p2 fails to emerge with python_targets_python2_7
Summary: net-dns/bind-9.12.2_p2 fails to emerge with python_targets_python2_7
Status: RESOLVED DUPLICATE of bug 634712
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-26 21:04 UTC by Gary E. Miller
Modified: 2019-08-22 17:33 UTC (History)
2 users (show)

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


Attachments
build log (net-dns:bind-9.12.2_p2:20180926-202427.log.bz2,27.73 KB, application/x-bzip2)
2018-09-26 21:06 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***