Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905019 - media-libs/qhull-2020.2-r3: dolib: libqhull.so* does not exist
Summary: media-libs/qhull-2020.2-r3: dolib: libqhull.so* does not exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-25 13:04 UTC by Tom Li
Modified: 2023-05-03 18:44 UTC (History)
0 users

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 Tom Li 2023-04-25 13:04:24 UTC
The ebuild media-libs/qhull-2020.2-r3 makes the incorrect assumption that dynamic libraries always have the extension ".so", in spite of the fact that it has the KEYWORD ~x64-macos.

> dolib.so "${BUILD_DIR}"/libqhull.so*

This causes installation on macOS Gentoo Prefix to fail:

!!! dolib: /Users/ec2-user/gentoo/var/tmp/portage/media-libs/qhull-2020.2-r3/work/qhull-
2020.2_build/libqhull.so* does not exist                                                
 * ERROR: media-libs/qhull-2020.2-r3::gentoo_prefix failed (install phase):             
 *   dolib failed                                                                        *                                                                                      
 * If you need support, post the output of `emerge --info '=media-libs/qhull-2020.2-r3::gentoo_prefix'`,                                                                        
 * the complete build log and the output of `emerge -pqv '=media-libs/qhull-2020.2-r3::gentoo_prefix'`.                                                                         
 * The complete build log is located at '/Users/ec2-user/gentoo/var/tmp/portage/media-libs/qhull-2020.2-r3/temp/build.log'.                                                     
 * The ebuild environment file is located at '/Users/ec2-user/gentoo/var/tmp/portage/media-libs/qhull-2020.2-r3/temp/environment'.                                              
 * Working directory: '/Users/ec2-user/gentoo/var/tmp/portage/media-libs/qhull-2020.2-r3/work/qhull-2020.2'                                                                     
 * S: '/Users/ec2-user/gentoo/var/tmp/portage/media-libs/qhull-2020.2-r3/work/qhull-2020
.2'                                                                                     
 * QA Notice: file does not exist:                                                       *                                                                                      
 *      dolib: /Users/ec2-user/gentoo/var/tmp/portage/media-libs/qhull-2020.2-r3/work/qh
ull-2020.2_build/libqhull.so* does not exist                                            
                                                                                        
>>> Failed to emerge media-libs/qhull-2020.2-r3, Log file:                              
                                                                                        
>>>  '/Users/ec2-user/gentoo/var/tmp/portage/media-libs/qhull-2020.2-r3/temp/build.log'
Comment 1 Fabian Groffen gentoo-dev 2023-04-25 13:11:39 UTC
this should probably use libqhull.*$(get_libname)* or something
Comment 2 Larry the Git Cow gentoo-dev 2023-05-03 18:44:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a66637a3d576075198285a6320bf47dbb92f5c

commit 03a66637a3d576075198285a6320bf47dbb92f5c
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2023-05-03 18:43:23 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2023-05-03 18:44:01 +0000

    media-libs/qhull-2020.2-r3: fix install for Darwin
    
    Closes: https://bugs.gentoo.org/905019
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 media-libs/qhull/qhull-2020.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)