Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937449 - Upon OS Install dev-ruby/net-smtp does not have an applied spec-file generation fix.
Summary: Upon OS Install dev-ruby/net-smtp does not have an applied spec-file generati...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-06 11:21 UTC by Anthony Brown
Modified: 2024-08-07 17:20 UTC (History)
1 user (show)

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 Anthony Brown 2024-08-06 11:21:08 UTC
This being other ebuilds'es fix for generating a specfile. Upon new install
of gentoo linux this fix has not been applied yet.

;;;;;;;;;;The Error:
 * ERROR: dev-ruby/net-smtp-0.5.0::gentoo failed (install phase):
 *   Unable to generate gemspec file.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;:Fix Proposed:
diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild b/dev-ruby/x25519/x25519-1.0.8.ebuild
index bdc8cd16bb92..69c7f1699078 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -24,6 +24,8 @@ IUSE=""
 
 all_ruby_prepare() {
 	sed -i -e '/bundler/ s:^:#: ; /coverall/I s:^:#:' spec/spec_helper.rb || die
+
+	sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
 }
 
 each_ruby_configure() {

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Comment 1 Anthony Brown 2024-08-06 11:29:46 UTC
Im seeing if Installing Bundler is the issue.....
Comment 2 Anthony Brown 2024-08-06 11:32:26 UTC
would also say doesnt that line say GIT needs to be installed?...
Comment 3 Anthony Brown 2024-08-06 11:37:48 UTC
Yep! bundler and git it was <- install those 2 and then can fix whatevers not by emerge --ask --emptytree --deep --with-bdeps=y @system @world and it should run through without any issues...
Comment 4 Greg Kubaryk 2024-08-06 20:10:51 UTC
emerge --info, build.log? this seems more like stream of consciousness than a bug report?
Comment 5 Mike Gilbert gentoo-dev 2024-08-07 17:20:38 UTC
x25519-1.0.8.ebuild does not exist in the gentoo repo. Please run emerge --sync before attempting to install things.