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

Bug 597204

Summary: net-dns/bind-9.11.0 USE=python - The file has incompatible shebang: file: /usr/lib/python-exec/python2.7/dnssec-checkds current shebang: #!/usr/bin/python3.5 requested impl: python2.7
Product: Gentoo Linux Reporter: sorin <psihozefir>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED WORKSFORME    
Severity: normal CC: idl0r, jer, ntpt, psihozefir
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 615420    
Attachments: build_log-and-emerge_info.txt.xz
net-dns:bind-9.11.0_p2:20170202-061604.log.xz
net-dns:bind-9.11.0_p2:20170201-173205.log.xz
net-dns_bind-9.11.0_p5_20170609.log.bz2

Description sorin 2016-10-15 18:20:20 UTC
Created attachment 450306 [details]
build_log-and-emerge_info.txt.xz

While installing net-dns/bind-9.11.0 the install phase ends with the following error:

The file has incompatible shebang:
  file: /usr/lib/python-exec/python2.7/dnssec-checkds
  current shebang: #!/usr/bin/python3.5
  requested impl: python2.7



# emerge -uDNvp @world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] net-dns/bind-9.11.0::gentoo [9.10.4_p3::gentoo] USE="berkdb caps dlz geoip gssapi idn ipv6 json ldap python ssl threads urandom xml zlib%* -dnstap% -doc -filter-aaaa -fixed-rrset -gost -libressl -lmdb% -mysql -nslint -odbc -postgres -rpz (-seccomp) (-selinux) -static-libs (-fetchlimit%) (-sit%)" PYTHON_TARGETS="python2_7 (-python3_3) -python3_4" 0 KiB
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2016-11-05 11:48:07 UTC
*** Bug 598794 has been marked as a duplicate of this bug. ***
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2016-11-05 12:09:16 UTC
USE="python_targets_python2_7 -python_targets_python3_4" ebuild bind-9.11.0_p1.ebuild digest clean install

Does that work for you? I have not been able to reproduce it yet. Is your tree up2date? Perhaps changed eclass or so?
Comment 3 Sorin Panca 2016-11-05 19:03:23 UTC
I just synced and finished another emerge @world and I cannot reproduce it anymore. From my side, I think this bug report can now be closed.
Thank you.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2017-02-02 06:25:50 UTC
Created attachment 462194 [details]
net-dns:bind-9.11.0_p2:20170202-061604.log.xz

[ebuild  N     ] net-dns/bind-9.11.0_p2::gentoo  USE="caps idn ipv6 python ssl threads zlib -berkdb -dlz
-dnstap -doc -filter-aaaa -fixed-rrset -geoip -gost -gssapi -json -ldap (-libressl) -lmdb -mysql -nslint
-odbc -postgres -rpz (-seccomp) -selinux -static-libs -urandom -xml" PYTHON_TARGETS="python2_7 python3_4" 0 KiB
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2017-02-02 06:26:41 UTC
Created attachment 462196 [details]
net-dns:bind-9.11.0_p2:20170201-173205.log.xz

[ebuild     U ~] net-dns/bind-9.11.0_p2::gentoo [9.10.4_p4::gentoo] USE="berkdb caps dlz doc geoip gost idn ipv6 json python ssl threads zlib%* -dnstap% -filter-aaaa -fixed-rrset -gssapi -ldap -libressl -lmdb%
-mysql -nslint -odbc -postgres -rpz (-seccomp) (-selinux) -static-libs -urandom -xml (-fetchlimit%) (-sit%)" PYTHON_TARGETS="python2_7 python3_4" 0 KiB
Comment 6 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-03-23 18:28:08 UTC
same here
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2017-04-26 14:31:24 UTC
So could someone maybe fix this or at the very least advise on how to proceed with bug #608740?
Comment 8 Christian Ruppert (idl0r) gentoo-dev 2017-06-09 17:37:33 UTC
Created attachment 475778 [details]
net-dns_bind-9.11.0_p5_20170609.log.bz2

(In reply to Sorin Panca from comment #3)
> I just synced and finished another emerge @world and I cannot reproduce it
> anymore. From my side, I think this bug report can now be closed.
> Thank you.

Thanks. To I'll close this now. Attached a successfully finished build log anyway.