Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485400 - =dev-util/nvidia-cuda-toolkit-5.5.22 - check-reqs_get_unit: Unknown unit: B
Summary: =dev-util/nvidia-cuda-toolkit-5.5.22 - check-reqs_get_unit: Unknown unit: B
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-19 11:26 UTC by Alan Smithee
Modified: 2013-09-19 14:16 UTC (History)
1 user (show)

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


Attachments
output of emerge --info (emerge.info,5.35 KB, text/plain)
2013-09-19 11:26 UTC, Alan Smithee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Smithee 2013-09-19 11:26:28 UTC
Created attachment 359000 [details]
output of emerge --info

When i try to install the cuda toolkit i encounter the following error:

>>> Verifying ebuild manifests
>>> Running pre-merge checks for dev-util/nvidia-cuda-toolkit-5.5.22
 * QA: Package does not specify unit for the size check
 * QA: Assuming megabytes.
 * QA: File bug against the package. It should specify the unit.
 * ERROR: dev-util/nvidia-cuda-toolkit-5.5.22::gentoo failed (pretend phase):
 *   check-reqs_get_unit: Unknown unit: B
 * 
 * Call stack:
 *           ebuild.sh, line  93:  Called pkg_pretend
 *           ebuild.sh, line 317:  Called check-reqs_pkg_pretend
 *   check-reqs.eclass, line 107:  Called check-reqs_pkg_setup
 *   check-reqs.eclass, line  97:  Called check-reqs_run
 *   check-reqs.eclass, line 141:  Called check-reqs_disk '/var/tmp/portage/dev-util/nvidia-cuda-toolkit-5.5.22/temp' '1500MB'
 *   check-reqs.eclass, line 293:  Called check-reqs_start_phase '1500MB' 'disk space at "/var/tmp/portage/dev-util/nvidia-cuda-toolkit-5.5.22/temp"'
 *   check-reqs.eclass, line 323:  Called check-reqs_get_unit '1500MB'
 *   check-reqs.eclass, line 216:  Called die
 * The specific snippet of code:
 *                      die "${FUNCNAME}: Unknown unit: ${unit}"
 * 
 * If you need support, post the output of `emerge --info '=dev-util/nvidia-cuda-toolkit-5.5.22::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/nvidia-cuda-toolkit-5.5.22::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/nvidia-cuda-toolkit-5.5.22/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/nvidia-cuda-toolkit-5.5.22/temp/die.env'.
 * Working directory: '/usr/lib64/portage/pym'
 * S: '/var/tmp/portage/dev-util/nvidia-cuda-toolkit-5.5.22/work'

 * Messages for package dev-util/nvidia-cuda-toolkit-5.5.22:

 * QA: Package does not specify unit for the size check
 * QA: Assuming megabytes.
 * QA: File bug against the package. It should specify the unit.
 * ERROR: dev-util/nvidia-cuda-toolkit-5.5.22::gentoo failed (pretend phase):
 *   check-reqs_get_unit: Unknown unit: B
 * 
 * Call stack:
 *           ebuild.sh, line  93:  Called pkg_pretend
 *           ebuild.sh, line 317:  Called check-reqs_pkg_pretend
 *   check-reqs.eclass, line 107:  Called check-reqs_pkg_setup
 *   check-reqs.eclass, line  97:  Called check-reqs_run
 *   check-reqs.eclass, line 141:  Called check-reqs_disk '/var/tmp/portage/dev-util/nvidia-cuda-toolkit-5.5.22/temp' '1500MB'
 *   check-reqs.eclass, line 293:  Called check-reqs_start_phase '1500MB' 'disk space at "/var/tmp/portage/dev-util/nvidia-cuda-toolkit-5.5.22/temp"'
 *   check-reqs.eclass, line 323:  Called check-reqs_get_unit '1500MB'
 *   check-reqs.eclass, line 216:  Called die
 * The specific snippet of code:
 *                      die "${FUNCNAME}: Unknown unit: ${unit}"
 * 
 * If you need support, post the output of `emerge --info '=dev-util/nvidia-cuda-toolkit-5.5.22::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/nvidia-cuda-toolkit-5.5.22::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/nvidia-cuda-toolkit-5.5.22/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/nvidia-cuda-toolkit-5.5.22/temp/die.env'.
 * Working directory: '/usr/lib64/portage/pym'
 * S: '/var/tmp/portage/dev-util/nvidia-cuda-toolkit-5.5.22/work'


Probably it is related to the last Changelog entry:
  17 Sep 2013; Justin Lecher <jlec@gentoo.org>
  nvidia-cuda-toolkit-5.5.22.ebuild:
  Check for disk space, #483690
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-09-19 14:16:46 UTC
+  19 Sep 2013; Justin Lecher <jlec@gentoo.org>
+  nvidia-cuda-toolkit-5.5.22.ebuild:
+  Megabytes are M not MB, #485400
+