action #40898
closedopenQA-client-4.6.1534873283.be929573-1.2.noarch missing dependency for JSON.pm
Added by jfkw over 6 years ago. Updated about 6 years ago.
Description
On openSUSE Tumbleweed with no other openqa packages installed, installing openQA-client-4.6.1534873283.be929573-1.2.noarch results in a missing dependency for JSON.pm
$ sudo zypper in openQA-client
The following 5 NEW packages are going to be installed:
openQA-client perl-Config-IniFiles perl-Data-Dump perl-IO-stringy perl-Mojolicious
5 new packages to install.
(1/5) Installing: perl-Data-Dump-1.23-1.7.noarch ...................[done]
(2/5) Installing: perl-IO-stringy-2.111-1.8.noarch .................[done]
(3/5) Installing: perl-Mojolicious-7.93-1.1.noarch .................[done]
(4/5) Installing: perl-Config-IniFiles-2.98-1.2.noarch .............[done]
(5/5) Installing: openQA-client-4.6.1534873283.be929573-1.2.noarch .[done]
$ openqa-client --help
Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /usr/share/openqa/script/../lib /usr/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.2 /usr/lib/perl5/vendor_perl/5.26.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.2 /usr/lib/perl5/5.26.2/x86_64-linux-thread-multi /usr/lib/perl5/5.26.2 /usr/lib/perl5/site_perl) at /usr/bin/openqa-client line 140.
BEGIN failed--compilation aborted at /usr/bin/openqa-client line 140.
Updated by coolo over 6 years ago
- Target version set to Ready
- Difficulty set to easy
whoever checks this: JSON is most likely only the first dependency. To validate: take jeos and make sure client runs
Updated by jfkw over 6 years ago
This isn't the JEOS test requested, but manually installing the following packages (on Tumbleweed) allows openqa-client to run:
$ sudo zypper in perl-JSON
$ sudo zypper in openQA-common
$ sudo zypper in perl-Regexp-Common
The detailed process follows. Many of the extended set of dependencies pulled in are likely not directly related to openqa-client:
$ sudo zypper in perl-JSON
The following 4 NEW packages are going to be installed:
perl-common-sense
perl-JSON
perl-JSON-XS
perl-Types-Serialiser
The following recommended package was automatically selected:
perl-JSON-XS
4 new packages to install.
(1/4) Installing: perl-common-sense-3.74-1.27.x86_64
(2/4) Installing: perl-Types-Serialiser-1.0-3.7.noarch
(3/4) Installing: perl-JSON-XS-3.04-1.5.x86_64
(4/4) Installing: perl-JSON-2.97001-1.2.noarch
$ openqa-client --help
Can't locate OpenQA/UserAgent.pm in @INC (you may need to install the
OpenQA::UserAgent module) (@INC contains: /usr/share/openqa/script/../lib
/usr/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.26.2
/usr/lib/perl5/vendor_perl/5.26.2/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.26.2
/usr/lib/perl5/5.26.2/x86_64-linux-thread-multi /usr/lib/perl5/5.26.2
/usr/lib/perl5/site_perl) at /usr/lib/perl5/vendor_perl/5.26.2/Mojo/Base.pm line 79.
BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Client.pm line 18.
Compilation failed in require at /usr/bin/openqa-client line 143.
BEGIN failed--compilation aborted at /usr/bin/openqa-client line 143.
$ sudo zypper in openQA-common
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 92 NEW packages are going to be installed:
gd
libpq5
openQA-common
perl-Algorithm-C3
perl-aliased
perl-AppConfig
perl-Archive-Extract
perl-bareword-filehandles
perl-B-Hooks-OP-Check
perl-BSD-Resource
perl-Carp-Clan
perl-Class-Accessor
perl-Class-Accessor-Chained
perl-Class-Accessor-Grouped
perl-Class-C3
perl-Class-C3-Componentised
perl-Class-Factory-Util
perl-Class-Inspector
perl-Class-Singleton
perl-Clone
perl-Config-Any
perl-Config-Tiny
perl-Context-Preserve
perl-Crypt-DH-GMP
perl-Crypt-RC4
perl-CSS-Minifier-XS
perl-Data-Dumper-Concise
perl-Data-Page
perl-DateTime
perl-DateTime-Format-Builder
perl-DateTime-Format-Pg
perl-DateTime-Format-Strptime
perl-DateTime-Locale
perl-DateTime-TimeZone
perl-DBD-Pg
perl-DBIx-Class
perl-DBIx-Class-DynamicDefault
perl-DBIx-Class-OptimisticLocking
perl-DBIx-Class-Schema-Config
perl-Digest-Perl-MD5
perl-Encode
perl-Exporter-Tiny
perl-File-ShareDir
perl-GD
perl-Graph
perl-GraphViz
perl-Hash-Merge
perl-Import-Into
perl-indirect
perl-IPC-Run
perl-IPC-Run3
perl-JavaScript-Minifier-XS
perl-List-MoreUtils
perl-List-MoreUtils-XS
perl-Minion
perl-Module-Find
perl-Module-Pluggable
perl-Module-Signature
perl-Mojo-IOLoop-ReadWriteProcess
perl-Mojolicious-Plugin-AssetPack
perl-Mojolicious-Plugin-RenderFile
perl-Mojo-Pg
perl-Mojo-RabbitMQ-Client
perl-Moo
perl-multidimensional
perl-Net-AMQP
perl-Net-OpenID-Common
perl-Net-OpenID-Consumer
perl-OLE-Storage_Lite
perl-Package-DeprecationManager
perl-Package-Variant
perl-Params-Util
perl-Params-Validate
perl-Path-Class
perl-Pod-POM
perl-Readonly
perl-Scope-Guard
perl-Sort-Versions
perl-Spreadsheet-ParseExcel
perl-SQL-Abstract
perl-SQL-Translator
perl-strictures
perl-Sub-Install
perl-Template-Toolkit
perl-Test-Exception
perl-Text-Autoformat
perl-Text-CSV_XS
perl-Text-Markdown
perl-Text-RecordParser
perl-Text-Reform
perl-Text-TabularDisplay
perl-Time-modules
The following 13 recommended packages were automatically selected:
perl-Encode
perl-GD
perl-Graph
perl-GraphViz
perl-List-MoreUtils
perl-Module-Signature
perl-Params-Util
perl-Spreadsheet-ParseExcel
perl-strictures
perl-Template-Toolkit
perl-Text-CSV_XS
perl-Text-RecordParser
perl-Text-TabularDisplay
92 new packages to install.
Overall download size: 11.1 MiB. Already cached: 0 B. After the operation, additional 51.2 MiB will be used.
( 1/92) Installing: gd-2.2.5-3.1.x86_64
( 2/92) Installing: libpq5-10.5-1.1.x86_64
( 3/92) Installing: perl-Algorithm-C3-0.10-1.8.noarch
( 4/92) Installing: perl-AppConfig-1.71-1.8.noarch
( 5/92) Installing: perl-Archive-Extract-0.80-1.4.noarch
( 6/92) Installing: perl-B-Hooks-OP-Check-0.22-1.4.x86_64
( 7/92) Installing: perl-BSD-Resource-1.2911-1.6.x86_64
( 8/92) Installing: perl-CSS-Minifier-XS-0.09-1.15.x86_64
( 9/92) Installing: perl-Class-Accessor-0.51-1.2.noarch
(10/92) Installing: perl-Class-Accessor-Grouped-0.10012-2.2.noarch
(11/92) Installing: perl-Class-Factory-Util-1.7-14.8.noarch
(12/92) Installing: perl-Class-Inspector-1.32-1.3.noarch
(13/92) Installing: perl-Class-Singleton-1.5-1.7.noarch
(14/92) Installing: perl-Clone-0.39-1.7.x86_64
(15/92) Installing: perl-Config-Tiny-2.23-1.3.noarch
(16/92) Installing: perl-Context-Preserve-0.03-1.2.noarch
(17/92) Installing: perl-Crypt-DH-GMP-0.00012-4.3.x86_64
(18/92) Installing: perl-Crypt-RC4-2.02-13.7.x86_64
(19/92) Installing: perl-Data-Dumper-Concise-2.023-1.3.noarch
(20/92) Installing: perl-Digest-Perl-MD5-1.9-3.7.noarch
(21/92) Installing: perl-Encode-2.98-1.4.x86_64
(22/92) Installing: perl-Exporter-Tiny-1.002001-1.1.noarch
(23/92) Installing: perl-Graph-0.9704-1.6.noarch
(24/92) Installing: perl-IPC-Run-20180523.0-1.1.noarch
(25/92) Installing: perl-IPC-Run3-0.048-1.7.noarch
(26/92) Installing: perl-Import-Into-1.002005-1.6.noarch
(27/92) Installing: perl-JavaScript-Minifier-XS-0.11-2.16.x86_64
(28/92) Installing: perl-List-MoreUtils-XS-0.428-1.3.x86_64
(29/92) Installing: perl-Minion-9.03-1.2.noarch
(30/92) Installing: perl-Module-Find-0.13-1.7.noarch
(31/92) Installing: perl-Module-Pluggable-5.2-1.7.noarch
(32/92) Installing: perl-Module-Signature-0.83-1.1.noarch
(33/92) Installing: perl-Mojo-IOLoop-ReadWriteProcess-0.23-1.1.noarch
(34/92) Installing: perl-Mojolicious-Plugin-RenderFile-0.12-2.1.noarch
(35/92) Installing: perl-OLE-Storage_Lite-0.19-14.8.noarch
(36/92) Installing: perl-Params-Util-1.07-9.16.x86_64
(37/92) Installing: perl-Params-Validate-1.29-1.7.x86_64
(38/92) Installing: perl-Path-Class-0.37-1.4.noarch
(39/92) Installing: perl-Pod-POM-2.01-1.6.noarch
(40/92) Installing: perl-Readonly-2.05-1.4.noarch
(41/92) Installing: perl-Scope-Guard-0.21-1.7.noarch
(42/92) Installing: perl-Sort-Versions-1.62-1.5.noarch
(43/92) Installing: perl-Sub-Install-0.928-1.8.noarch
(44/92) Installing: perl-Test-Exception-0.430000-1.6.noarch
(45/92) Installing: perl-Text-Markdown-1.000031-16.3.noarch
Additional rpm output:
update-alternatives: using /usr/bin/Markdown.pl to provide /usr/bin/markdown (markdown) in auto mode
(46/92) Installing: perl-Text-Reform-1.20-24.7.noarch
(47/92) Installing: perl-Text-TabularDisplay-1.38-3.7.noarch
(48/92) Installing: perl-Time-modules-2011.0517-146.7.x86_64
(49/92) Installing: perl-aliased-0.34-1.7.noarch
(50/92) Installing: perl-indirect-0.38-1.3.x86_64
(51/92) Installing: perl-Class-C3-0.34-1.2.noarch
(52/92) Installing: perl-Template-Toolkit-2.27-1.7.x86_64
(53/92) Installing: perl-multidimensional-0.014-1.3.x86_64
(54/92) Installing: perl-bareword-filehandles-0.006-1.3.x86_64
(55/92) Installing: perl-Net-AMQP-0.06-1.6.noarch
(56/92) Installing: perl-Class-Accessor-Chained-0.01-13.7.x86_64
(57/92) Installing: perl-DateTime-TimeZone-2.19-1.2.noarch
(58/92) Installing: perl-Hash-Merge-0.200-3.7.noarch
(59/92) Installing: perl-Net-OpenID-Common-1.20-1.5.noarch
(60/92) Installing: perl-Text-CSV_XS-1.36-1.1.x86_64
(61/92) Installing: perl-GraphViz-2.24-1.2.noarch
(62/92) Installing: perl-Mojolicious-Plugin-AssetPack-2.05-1.1.noarch
(63/92) Installing: perl-List-MoreUtils-0.428-1.2.noarch
(64/92) Installing: perl-Config-Any-0.32-1.4.noarch
(65/92) Installing: perl-DBD-Pg-3.7.4-1.4.x86_64
(66/92) Installing: perl-Spreadsheet-ParseExcel-0.65-3.8.noarch
(67/92) Installing: perl-Package-DeprecationManager-0.17-1.4.noarch
(68/92) Installing: perl-Carp-Clan-6.06-1.5.noarch
(69/92) Installing: perl-Text-Autoformat-1.74-1.6.noarch
(70/92) Installing: perl-Class-C3-Componentised-1.001002-1.2.noarch
(71/92) Installing: perl-strictures-2.000005-1.2.noarch
(72/92) Installing: perl-Data-Page-2.02-9.7.noarch
(73/92) Installing: perl-Net-OpenID-Consumer-1.18-1.5.noarch
(74/92) Installing: perl-GD-2.66-1.5.x86_64
(75/92) Installing: perl-File-ShareDir-1.112-1.1.noarch
(76/92) Installing: perl-Text-RecordParser-1.6.5-2.2.noarch
(77/92) Installing: perl-Package-Variant-1.003002-1.7.noarch
(78/92) Installing: perl-Moo-2.003004-1.2.noarch
(79/92) Installing: perl-Mojo-RabbitMQ-Client-0.2.1-1.1.noarch
(80/92) Installing: perl-DateTime-Locale-1.220000-1.1.noarch
(81/92) Installing: perl-SQL-Translator-0.11024-1.2.noarch
(82/92) Installing: perl-SQL-Abstract-1.86-1.1.noarch
(83/92) Installing: perl-DateTime-1.50-1.1.x86_64
(84/92) Installing: perl-Mojo-Pg-4.09-1.1.noarch
(85/92) Installing: perl-DBIx-Class-0.082841-1.3.noarch
(86/92) Installing: perl-DateTime-Format-Strptime-1.75-1.2.noarch
(87/92) Installing: perl-DBIx-Class-Schema-Config-0.001011-2.2.noarch
(88/92) Installing: perl-DBIx-Class-OptimisticLocking-0.02-1.8.noarch
(89/92) Installing: perl-DBIx-Class-DynamicDefault-0.04-2.2.noarch
(90/92) Installing: perl-DateTime-Format-Builder-0.81-5.9.noarch
(91/92) Installing: perl-DateTime-Format-Pg-0.16013-1.4.noarch
(92/92) Installing: openQA-common-4.6.1536432963.ac9f540e-1.1.noarch
$ openqa-client --help
Can't locate Regexp/Common.pm in @INC (you may need to install the
Regexp::Common module) (@INC contains: /usr/share/openqa/script/../lib
/usr/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-mult i
/usr/lib/perl5/site_perl/5.26.2
/usr/lib/perl5/vendor_perl/5.26.2/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.26.2
/usr/lib/perl5/5.26.2/x86_64-linux-thread-multi /usr/lib/perl5/5.2
6.2 /usr/lib/perl5/site_perl) at /usr/share/openqa/script/../lib/OpenQA/Utils.pm line 22.
BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Utils.pm line 22.
Compilation failed in require at /usr/share/openqa/script/../lib/OpenQA/Parser.pm line 32.
BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Parser.pm line 32.
Compilation failed in require at /usr/share/openqa/script/../lib/OpenQA/Parser/Results.pm line 21.
BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Parser/Results.pm line 21.
Compilation failed in require at /usr/share/openqa/script/../lib/OpenQA/Parser/Result.pm line 21.
BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Parser/Result.pm line 21.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.26.2/Mojo/Base.pm line 79.
BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/File.pm line 18.
Compilation failed in require at /usr/share/openqa/script/../lib/OpenQA/Client/Upload.pm line 21.
BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Client/Upload.pm line 21.
Compilation failed in require at /usr/share/openqa/script/../lib/OpenQA/Client.pm line 20.
BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Client.pm line 20.
Compilation failed in require at /usr/bin/openqa-client line 143.
BEGIN failed--compilation aborted at /usr/bin/openqa-client line 143.
$ sudo zypper in perl-Regexp-Common
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
perl-Regexp-Common
(1/1) Installing: perl-Regexp-Common-2017060201-1.3.noarch
$ openqa-client --help
Usage:
client [OPTIONS] PATH
Options:
--host HOST
(...)
Updated by coolo over 6 years ago
I didn't mean to say this is a jeos problem - I was just saying JSON is most likely not the only problem. As you confirmed
Updated by jfkw over 6 years ago
coolo wrote:
I didn't mean to say this is a jeos problem - I was just saying JSON is most likely not the only problem. As you confirmed
No, your comment was clear, that JEOS would be a good environment to tease apart the missing dependencies in stages. I simply didn't know how to install LimeJEOS yet, and had some dependency data I could provide from Tumbleweed, so I posted that to provide a starting point.
Thanks for the comments on the issue.
Jeff
Updated by mkittler about 6 years ago
- Status changed from New to In Progress
- Assignee set to mkittler
Updated by coolo about 6 years ago
- Status changed from In Progress to Resolved
- Target version changed from Ready to Done
merged