Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718064 - dev-ruby/aws-sdk-2.11.488 ... require 'aws-sdk' fails
Summary: dev-ruby/aws-sdk-2.11.488 ... require 'aws-sdk' fails
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-18 15:35 UTC by Stefan Trenker
Modified: 2020-10-22 03:52 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info,6.83 KB, text/plain)
2020-04-18 15:35 UTC, Stefan Trenker
Details
build.log (dev-ruby:aws-sdk-2.11.488:20200428-083143.log.gz,1.79 KB, application/gzip)
2020-04-28 08:37 UTC, Stefan Trenker
Details
/var/tmp/portage/dev-ruby/aws-sdk-2.11.488/temp (whole-temp.tar.bz2,18.08 KB, application/x-bzip)
2020-04-28 08:38 UTC, Stefan Trenker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Trenker 2020-04-18 15:35:49 UTC
Created attachment 633602 [details]
emerge --info

After upgrading from dev-ruby/aws-sdk-2.11.79 to dev-ruby/aws-sdk-2.11.488 my Ruby scripts requiring aws-sdk are all broken. Downgrading to 2.11.79 solves the problem but is just a workaround.

gentoo-openssl-qemu ~ # qlist -ICv aws
dev-ruby/aws-eventstream-1.1.0
dev-ruby/aws-sdk-2.11.488
dev-ruby/aws-sdk-core-2.11.488
dev-ruby/aws-sdk-resources-2.11.488
dev-ruby/aws-sigv4-1.1.1
gentoo-openssl-qemu ~ # awsdns.rb
/usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- aws-sdk (LoadError)
        from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /usr/local/bin/awsdns.rb:4:in `<main>'
Comment 1 Stefan Trenker 2020-04-18 15:38:52 UTC
The issue exists for both ruby 2.4 and for 2.5 (eselect ruby ...)
Comment 2 Stefan Trenker 2020-04-18 15:42:36 UTC
gentoo-openssl-qemu ~ # gem list

*** LOCAL GEMS ***

addressable (2.6.0)
aws-eventstream (1.1.0)
aws-sdk (2.11.487)
aws-sdk-core (2.11.487)
aws-sdk-resources (2.11.487)
aws-sigv4 (1.1.1)
crack (0.4.3)
did_you_mean (1.1.2)
hashdiff (1.0.0)
jmespath (1.4.0)
json (2.3.0)
kpeg (1.1.0)
minitest (5.11.3)
mysql2 (0.5.3)
net-telnet (0.1.1)
power_assert (1.1.5)
public_suffix (3.1.1)
racc (1.4.14)
rake (12.3.3)
rdoc (6.2.0)
safe_yaml (1.0.5)
test-unit (3.3.3)
webmock (3.7.6)
xml-simple (1.1.5)
xmlrpc (0.3.0)
Comment 3 Jonas Stein gentoo-dev 2020-04-27 21:57:15 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to 
* attach the logs and 
* paste the emerge info 
as described on 
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 4 Stefan Trenker 2020-04-28 08:37:05 UTC
Build log and whole aws-sdk/temp-Log attached

I wouldk like to emhpasize that I have no build but a runtime-problem.
Comment 5 Stefan Trenker 2020-04-28 08:37:51 UTC
Created attachment 635010 [details]
build.log
Comment 6 Stefan Trenker 2020-04-28 08:38:49 UTC
Created attachment 635012 [details]
/var/tmp/portage/dev-ruby/aws-sdk-2.11.488/temp
Comment 7 Hans de Graaff gentoo-dev 2020-05-02 06:28:33 UTC
Assigning this to robbat2 who added this version. It looks like aws-sdk-resources now requires a lot of new dependencies: https://rubygems.org/gems/aws-sdk-resources
Comment 8 Stefan Trenker 2020-10-11 19:13:09 UTC
(In reply to Hans de Graaff from comment #7)
> Assigning this to robbat2 who added this version. It looks like
> aws-sdk-resources now requires a lot of new dependencies:
> https://rubygems.org/gems/aws-sdk-resources

dev-ruby/aws-sdk-2.11.79 is now gone from the tree and dev-ruby/aws-sdk-2.11.488 still does not work

and now?
Comment 9 dE 2020-10-21 15:02:06 UTC
I can confirm this. I could not find a single issue with the install however. The paths and all are set correct.
Comment 10 dE 2020-10-22 03:52:48 UTC
For the meantime please append -I /usr/lib64/ruby/gems/2.6.0/gems/aws-eventstream-1.1.0/lib/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-eventstream-1.1.0/lib/aws-eventstream/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-2.11.488/lib/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/bin/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/api/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/api/docs/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/cloudfront/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/dynamodb/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/json/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/log/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/partitions/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/plugins/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/plugins/protocols/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/polly/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/query/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/rds/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/rest/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/rest/request/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/rest/response/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/s3/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/signers/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/stubbing/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/stubbing/protocols/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/waiters/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/xml/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/xml/parser/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/aws-sdk-core/xml/parser/engines/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/seahorse/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/seahorse/client/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/seahorse/client/http/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/seahorse/client/logging/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/seahorse/client/net_http/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/seahorse/client/plugins/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-core-2.11.488/lib/seahorse/model/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-resources-2.11.488/lib/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-resources-2.11.488/lib/aws-sdk-resources/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-resources-2.11.488/lib/aws-sdk-resources/documenter/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-resources-2.11.488/lib/aws-sdk-resources/services/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-resources-2.11.488/lib/aws-sdk-resources/services/ec2/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-resources-2.11.488/lib/aws-sdk-resources/services/s3/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-resources-2.11.488/lib/aws-sdk-resources/services/s3/encryption/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-resources-2.11.488/lib/aws-sdk-resources/services/sns/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sdk-resources-2.11.488/lib/aws-sdk-resources/services/sqs/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sigv4-1.1.4/lib/ -I /usr/lib64/ruby/gems/2.6.0/gems/aws-sigv4-1.1.4/lib/aws-sigv4/
To #! /usr/bin/ruby for things to work.

Use command equery files dev-ruby/aws-sdk dev-ruby/aws-sdk-core dev-ruby/aws-sigv4 dev-ruby/aws-sdk-resources dev-ruby/aws-eventstream | grep rb$ | grep -o '/.*/' | sort -u to generate this pathspec.