Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383633 - Invalid shebang (python) for some ebuilds if python3 is enabled
Summary: Invalid shebang (python) for some ebuilds if python3 is enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Eitel
URL:
Whiteboard:
Keywords:
Depends on: 383767 383769 383773 383775 383777 385399 385863
Blocks:
  Show dependency tree
 
Reported: 2011-09-19 12:23 UTC by Florian Eitel
Modified: 2011-12-24 17:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Eitel 2011-09-19 12:23:35 UTC
(Hopefully one bug for all packages are the right way to go)

$ eselect python list
Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *

Following scripts/ebuilds are using python in shebang but only working with python2 (not python3):

app-portage/elogviewer-0.5.2-r2
  /usr/bin/elogviewer

gnome-extra/zeitgeist-0.7.1-r1
  /usr/bin/zeitgeist-daemon

net-dns/avahi-0.6.28-r1
  /usr/bin/avahi-discover

net-wireless/bluez-4.96:
  /usr/bin/bluez-apitest
  /usr/bin/bluez-test-adapter
  /usr/bin/bluez-test-attrib
  /usr/bin/bluez-test-audio
  /usr/bin/bluez-test-device
  /usr/bin/bluez-test-discovery
  /usr/bin/bluez-test-input
  /usr/bin/bluez-test-manager
  /usr/bin/bluez-test-network
  /usr/bin/bluez-test-oob
  /usr/bin/bluez-test-sap-server
  /usr/bin/bluez-test-serial
  /usr/bin/bluez-test-service
  /usr/bin/bluez-test-telephony

sys-apps/dstat-0.6.9-r1:
  /usr/bin/dstat


Should be fixed using python_convert_shebangs - you want patches for this?

Reproducible: Always

Steps to Reproduce:
1. Set python3 as default python
2. install one of those packages
3. try to run the executable
Actual Results:  
Syntax exception

Expected Results:  
should run
Comment 1 Mike Gilbert gentoo-dev 2011-09-20 03:44:39 UTC
Those packages are all maintained by different people, so we need separate bugs for each.

Please file one bug per package. You can make each bug block this one if you would like to use this as a tracker.
Comment 2 Maxim Koltsov (RETIRED) gentoo-dev 2011-12-24 17:03:44 UTC
Seems like all bugs are done now. Thanks to Ian Delaney for patches :)