Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python 3.6 and bind [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Majed17
Apprentice
Apprentice


Joined: 31 Aug 2011
Posts: 230
Location: Minsk, Belarus

PostPosted: Wed May 23, 2018 8:29 am    Post subject: python 3.6 and bind [solved] Reply with quote

Peace,
after migrating to python 3.6, dns failed to install:
Code:
* 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.11.2_p1::gentoo failed (install phase):
 *   python_fix_shebang: conversion of incompatible shebang requested
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_install
 *   environment, line 4548:  Called python_replicate_script '/var/tmp/portage/net-dns/bind-9.11.2_p1/image/usr/sbin/dnssec-checkds'
 *   environment, line 4215:  Called python_foreach_impl '_python_replicate_script'
 *   environment, line 3905:  Called multibuild_foreach_variant '_python_multibuild_wrapper' '_python_replicate_script'
 *   environment, line 2970:  Called _multibuild_run '_python_multibuild_wrapper' '_python_replicate_script'
 *   environment, line 2968:  Called _python_multibuild_wrapper '_python_replicate_script'
 *   environment, line  644:  Called _python_replicate_script
 *   environment, line 4212:  Called python_fix_shebang '-q' '/var/tmp/portage/net-dns/bind-9.11.2_p1/image//usr/lib/python-exec/python3.6/dnssec-checkds'
 *   environment, line 3884:  Called die
 * The specific snippet of code:
 *                   die "${FUNCNAME}: conversion of incompatible shebang requested";
 *
 * If you need support, post the output of `emerge --info '=net-dns/bind-9.11.2_p1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dns/bind-9.11.2_p1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-dns/bind-9.11.2_p1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/bind-9.11.2_p1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dns/bind-9.11.2_p1/work/bind-9.11.2-P1'
 * S: '/var/tmp/portage/net-dns/bind-9.11.2_p1/work/bind-9.11.2-P1'

https://paste.pound-python.org/show/o0tVuTlspM1JpUz9MG3L/
_________________
Seek and you shall find, Knock and it shall be opened, cry and you shall find comfort.


Last edited by Majed17 on Wed May 23, 2018 11:41 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19651
Location: here

PostPosted: Wed May 23, 2018 8:53 am    Post subject: Reply with quote

https://bugs.gentoo.org/634712
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Majed17
Apprentice
Apprentice


Joined: 31 Aug 2011
Posts: 230
Location: Minsk, Belarus

PostPosted: Wed May 23, 2018 11:40 am    Post subject: Reply with quote

Well I manually uninstalled python 3.5.5, world update, depclean and then bind reinstalled fine with -python.
Do you know what's it called when you are wrong and just don't want to fix it?
_________________
Seek and you shall find, Knock and it shall be opened, cry and you shall find comfort.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum