Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700026 - dev-util/nvidia-cuda-sdk-10.1.243 failed to execute postinst
Summary: dev-util/nvidia-cuda-sdk-10.1.243 failed to execute postinst
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-11-13 17:54 UTC by Thomas Albers
Modified: 2019-11-14 02:09 UTC (History)
1 user (show)

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


Attachments
Output of emerge --info (emergeinfo,5.96 KB, text/plain)
2019-11-13 17:56 UTC, Thomas Albers
Details
Output of emerge -pqv nvidia-cuda-sdk (pv,96 bytes, text/plain)
2019-11-13 17:57 UTC, Thomas Albers
Details
Patch for typo in ebuild (typo.patch,479 bytes, patch)
2019-11-13 19:40 UTC, Thomas Albers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Albers 2019-11-13 17:54:25 UTC
>>> Installing (5 of 5) dev-util/nvidia-cuda-sdk-10.1.243::gentoo                                  
 * ERROR: dev-util/nvidia-cuda-sdk-10.1.243::gentoo failed (postinst phase):                       
 *   USE Flag 'example' not in IUSE for dev-util/nvidia-cuda-sdk-10.1.243                          
 *                                                                                          
 * Call stack:                                                                                     
 *          ebuild.sh, line  125:  Called pkg_postinst                                             
 *        environment, line 1666:  Called use 'example'                                            
 *   phase-helpers.sh, line  247:  Called die                                                      
 * The specific snippet of code:                                                                   
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"                                                                                            
 *                                                                                          
 * If you need support, post the output of `emerge --info '=dev-util/nvidia-cuda-sdk-10.1.243::gentoo'`,                                                                           
 * the complete build log and the output of `emerge -pqv '=dev-util/nvidia-cuda-sdk-10.1.243::gentoo'`.                                                                            
 * The complete build log is located at '/var/tmp/portage/dev-util/nvidia-cuda-sdk-10.1.243/temp/build.log'.                                                                       
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/nvidia-cuda-sdk-10.1.243/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/nvidia-cuda-sdk-10.1.243/homedir'
 * S: '/var/tmp/portage/dev-util/nvidia-cuda-sdk-10.1.243/work/builds/cuda-samples'
 * FAILED postinst: 1


Reproducible: Always
Comment 1 Thomas Albers 2019-11-13 17:56:15 UTC
Created attachment 596016 [details]
Output of emerge --info
Comment 2 Thomas Albers 2019-11-13 17:57:46 UTC
Created attachment 596018 [details]
Output of emerge -pqv nvidia-cuda-sdk
Comment 3 Thomas Albers 2019-11-13 19:40:24 UTC
Created attachment 596024 [details, diff]
Patch for typo in ebuild

There's a typo in the ebuild, line 136. The use flag is "examples", not "example".
Comment 4 Larry the Git Cow gentoo-dev 2019-11-14 02:09:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531f857d27336b63e79a58abcd40c5fdf65ebf32

commit 531f857d27336b63e79a58abcd40c5fdf65ebf32
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2019-11-14 02:08:17 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2019-11-14 02:09:11 +0000

    dev-util/nvidia-cuda-sdk: fix use flag "examples" in pkg_postinst().
    
    Suggested-By: Thomas Albers
    Closes: https://bugs.gentoo.org/700026
    Package-Manager: Portage-2.3.73, Repoman-2.3.17
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)