Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-ruby/ffi-1.15.5-r2::gentoo fails on emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ad1976
n00b
n00b


Joined: 05 Jun 2012
Posts: 4
Location: Mankato, MN

PostPosted: Sun Jun 23, 2024 10:12 pm    Post subject: dev-ruby/ffi-1.15.5-r2::gentoo fails on emerge Reply with quote

dev-ruby/ffi-1.15.5-r2::gentoo fails on emerge (install phase) with emake failure

I'm trying to update my Gentoo system using

Quote:
emerge -avuDUg --keep-going --with-bdeps=y @world
, but I'm consistently encountering an emerge failure with the dev-ruby/ffi-1.15.5-r2::gentoo package during the installation phase. The error message indicates that emake failed.

Here's what I've tried so far:

[*] I've included the line
Quote:
RUBY_TARGETS="ruby31 ruby32 ruby33"
in my /etc/portage/make.conf file, but the issue persists.

For further troubleshooting, I've attached the following logs:

- emerge --info '=dev-ruby/ffi-1.15.5-r2::gentoo': https://pastebin.com/cesKYkQT
- /var/tmp/portage/dev-ruby/ffi-1.15.5-r2/temp/build.log: https://pastebin.com/kpbWCDLY
- emerge -pqv '=dev-ruby/ffi-1.15.5-r2::gentoo': https://pastebin.com/wA5kxepj
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22602

PostPosted: Sun Jun 23, 2024 11:17 pm    Post subject: Reply with quote

This is very similar to dev-lang/ruby: hard-codes mkdir path in RbConfig. Your report is for a different package, but it is a ruby-related package, and the basic problem seems to be the same: upstream used an incorrect path for mkdir in their Makefile. This happens to work (for the wrong reason) on merged-usr systems, but is properly an error on split-usr systems.
build.log:
make: Entering directory '/var/tmp/portage/dev-ruby/ffi-1.15.5-r2/work/ruby31/ffi-1.15.5/ext/ffi_c'
/usr/bin/mkdir -p . /var/tmp/portage/dev-ruby/ffi-1.15.5-r2/image/usr/lib64/ruby/gems/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.15.5
make: /usr/bin/mkdir: No such file or directory
make: *** [Makefile:204: .sitearchdir.time] Error 127
I am unclear on whether fixing the problem for dev-lang/ruby will also fix it for Ruby packages.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum