Summary: | dev-lang/ruby-2.6.6-r2: only install documentation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benjamin Block <bebl> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | ionen, jstein, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Benjamin Block
2021-05-14 22:26:42 UTC
I gonna attach the build output when I build the ebuild manually via: # /usr/portage/dev-lang/ruby/ # ebuild ruby-2.6.6-r2.ebuild clean # ebuild ruby-2.6.6-r2.ebuild install This is successful, as is the normal `emerge dev-lang/ruby`; but the same, when I inspect the result # cd /var/tmp/portage/dev-lang/ruby-2.6.6-r2/ # find image/ image/ image/usr image/usr/lib64 image/usr/lib64/ruby image/usr/lib64/ruby/gems image/usr/lib64/ruby/gems/2.6.0 image/usr/share image/usr/share/doc image/usr/share/doc/ruby-2.6.6-r2 image/usr/share/doc/ruby-2.6.6-r2/README.EXT image/usr/share/doc/ruby-2.6.6-r2/README.EXT.ja image/usr/share/doc/ruby-2.6.6-r2/NEWS-1.9.1.bz2 image/usr/share/doc/ruby-2.6.6-r2/NEWS.bz2 image/usr/share/doc/ruby-2.6.6-r2/NEWS-1.9.3.bz2 image/usr/share/doc/ruby-2.6.6-r2/NEWS-1.9.2.bz2 image/usr/share/doc/ruby-2.6.6-r2/NEWS-1.8.7.bz2 image/usr/share/doc/ruby-2.6.6-r2/ChangeLog.bz2 image/usr/share/doc/ruby-2.6.6-r2/NEWS-2.1.0.bz2 image/usr/share/doc/ruby-2.6.6-r2/NEWS-2.0.0.bz2 image/usr/share/doc/ruby-2.6.6-r2/NEWS-2.2.0.bz2 image/usr/share/doc/ruby-2.6.6-r2/NEWS-2.3.0.bz2 image/usr/share/doc/ruby-2.6.6-r2/NEWS-2.4.0.bz2 image/usr/share/doc/ruby-2.6.6-r2/NEWS-2.5.0.bz2 image/usr/share/doc/ruby-2.6.6-r2/README.ja.md.bz2 image/usr/share/doc/ruby-2.6.6-r2/README.md.bz2 Created attachment 708639 [details]
build.log
MAKEOPTS="-j9 -l5 --output-sync=line" Haven't looked into why, but this --output-sync=line seems to cause this, try to remove it. (In reply to Ionen Wolkens from comment #3) > MAKEOPTS="-j9 -l5 --output-sync=line" > > Haven't looked into why, but this --output-sync=line seems to cause this, > try to remove it. Yes, --output-sync=line is the culprit. This also causes problems with ruby 2.7 and ruby 3.0. To set expectations here this bug is low in priority for me and most likely won't get worked on. Probably best to file an upstream bug about this. I would also not recommend enabling this make option for all ebuilds, given the wide variety of build systems out there, unless you want to hunt for and fix issues with it specifically. (In reply to Hans de Graaff from comment #4) > (In reply to Ionen Wolkens from comment #3) > > MAKEOPTS="-j9 -l5 --output-sync=line" > > > > Haven't looked into why, but this --output-sync=line seems to cause this, > > try to remove it. > > Yes, --output-sync=line is the culprit. This also causes problems with ruby > 2.7 and ruby 3.0. > Ah yes, indeed. I had not thought this could gave side-effects once a Makefile already work with parallel builds.. well, I can just remove it, I don't really strictly need it, it just makes build errors easier to debug sometimes. Maybe it makes sense to add a warning for users or something to the ebuild. Its not very obvious.. well it wasn't for me anyway. I'll mark the report as resolved, thanks for the help. Reported upstream: https://bugs.ruby-lang.org/issues/17870 |