Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878101 - dev-lang/R: incorrectly pulls in net-libs/libtirpc on macOS
Summary: dev-lang/R: incorrectly pulls in net-libs/libtirpc on macOS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
: 875515 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-10-23 14:14 UTC by Askar Bektassov
Modified: 2022-11-06 03:07 UTC (History)
0 users

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


Attachments
/Users/askarbektassov/Gentoo/var/tmp/portage/net-libs/libtirpc-1.3.3/temp/build.log (build.log,28.27 KB, application/octet-stream)
2022-10-23 14:15 UTC, Askar Bektassov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Askar Bektassov 2022-10-23 14:14:30 UTC
Emerge fails during compile phase, apparently due to unknown name type 'mutex_t'

Reproducible: Always

Steps to Reproduce:
1. emerge libtirpc
Actual Results:  
/Users/askarbektassov/Gentoo/var/tmp/portage/net-libs/libtirpc-1.3.3/work/libtirpc-1.3.3/src/auth_none.c: In function 'authnone_create':
/Users/askarbektassov/Gentoo/var/tmp/portage/net-libs/libtirpc-1.3.3/work/libtirpc-1.3.3/src/auth_none.c:81:16: error: unknown type name 'mutex_t'
   81 |         extern mutex_t authnone_lock;
      |                ^~~~~~~

Expected Results:  
Successful emerge.
Comment 1 Askar Bektassov 2022-10-23 14:15:55 UTC
Created attachment 825141 [details]
/Users/askarbektassov/Gentoo/var/tmp/portage/net-libs/libtirpc-1.3.3/temp/build.log

Added build log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-23 14:19:53 UTC
What is pulling this in for you on prefix? It shouldn't be needed on macOS.

--tree may help you.
Comment 3 Askar Bektassov 2022-10-23 15:44:27 UTC
Hi Sam, thanks to looking into this. I am trying to emerge dev-lang/R.
Comment 4 Askar Bektassov 2022-10-26 21:55:20 UTC
*** Bug 875515 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2022-10-26 22:16:53 UTC
The bug has been referenced in the following commit(s):

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

commit cbbe90010a5b4d6cf6db8503c31f048717d53860
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-26 22:16:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-26 22:16:47 +0000

    dev-lang/R: make libtirpc dep linux-only
    
    Unnecessary on macOS.
    
    Bug: https://bugs.gentoo.org/878101
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/R/R-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)