Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661664 - sys-apps/usbutils-010: The file has incompatible shebang
Summary: sys-apps/usbutils-010: The file has incompatible shebang
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-20 14:06 UTC by Craig Andrews
Modified: 2020-12-01 17:23 UTC (History)
2 users (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 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'