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

Bug 661664

Summary: sys-apps/usbutils-010: The file has incompatible shebang
Product: Gentoo Linux Reporter: Craig Andrews <candrews>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal CC: candrews, proteuss
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Craig Andrews gentoo-dev 2018-07-20 14:06:22 UTC
* Package:    sys-apps/usbutils-010
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python python_targets_python2_7 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking usbutils-010.tar.xz to /var/tmp/portage/sys-apps/usbutils-010/work
>>> Source unpacked in /var/tmp/portage/sys-apps/usbutils-010/work
>>> Preparing source in /var/tmp/portage/sys-apps/usbutils-010/work/usbutils-010 ...
 * Fixing shebang in lsusb.py.in.
 * The file has incompatible shebang:
 *   file: lsusb.py.in
 *   current shebang: #!/usr/bin/env python3
 *   requested impl: python2.7
 * ERROR: sys-apps/usbutils-010::gentoo failed (prepare phase):
 *   python_fix_shebang: conversion of incompatible shebang requested
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_prepare
 *   environment, line 1984:  Called python_fix_shebang 'lsusb.py.in'
 *   environment, line 1520:  Called die
 * The specific snippet of code:
 *                   die "${FUNCNAME}: conversion of incompatible shebang requested";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/usbutils-010::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/usbutils-010::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-apps:usbutils-010:20180720-135913.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/usbutils-010/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/usbutils-010/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/usbutils-010/work/usbutils-010'
 * S: '/var/tmp/portage/sys-apps/usbutils-010/work/usbutils-010'