[ovirt-devel] backend jar dependencies that should probably be symlinks

Sandro Bonazzola sbonazzo at redhat.com
Tue Oct 4 13:16:05 UTC 2016


Hi, I'm checking the packaging of ovirt-engine for 4.1 and I've some doubts:

$ LC_ALL=C rpm -qlvp
http://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/fc24/noarch/ovirt-engine-backend-4.1.0-0.0.master.20161003221921.git2653cbc.fc24.noarch.rpm|grep
jar |grep -v ^l |grep common
-rw-r--r--    1 root    root                    77761 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/com/netflix/config/main/archaius-core.jar
-rw-r--r--    1 root    root                    16442 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/com/netflix/hystrix/contrib/main/hystrix-metrics-event-stream.jar
-rw-r--r--    1 root    root                   290223 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/com/netflix/hystrix/main/hystrix-core.jar
-rw-r--r--    1 root    root                   738300 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/io/reactivex/rxjava/main/rxjava.jar
-rw-r--r--    1 root    root                     6073 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/org/ovirt/engine/api/metamodel-server/main/metamodel-server.jar
-rw-r--r--    1 root    root                     8224 Oct  4 00:21
/usr/share/ovirt-engine/modules/common/org/ovirt/engine/core/auth-plugin/main/auth-plugin.jar
-rw-r--r--    1 root    root                     4010 Oct  4 00:22
/usr/share/ovirt-engine/modules/common/org/ovirt/engine/core/logger/main/logger.jar
-rw-r--r--    1 root    root                   370051 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-aop.jar
-rw-r--r--    1 root    root                   731512 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-beans.jar
-rw-r--r--    1 root    root                  1097552 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-context.jar
-rw-r--r--    1 root    root                  1078737 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-core.jar
-rw-r--r--    1 root    root                   262990 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-expression.jar
-rw-r--r--    1 root    root                     7243 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-instrument.jar
-rw-r--r--    1 root    root                   423369 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-jdbc.jar
-rw-r--r--    1 root    root                   265523 Oct  4 00:20
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-tx.jar

$ dnf provides "*/archaius-core.jar" -> archaius-core-0.7.3-4.fc24.noarch
$ dnf provides "*/hystrix-metrics-event-stream.jar"
-> hystrix-metrics-event-stream-1.4.21-5.fc24.noarch
and so on with the other jar files.

Any chance we can just reuse system libs and symlink them?

Please note that the question is for el7 as well:

$ LC_ALL=C rpm -qlvp
http://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el7/noarch/ovirt-engine-backend-4.1.0-0.0.master.20161003211313.git2653cbc.el7.centos.noarch.rpm
|grep jar |grep -v ^l |grep common
-rw-r--r--    1 root    root                   608376 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/mchange/c3p0/main/c3p0.jar
-rw-r--r--    1 root    root                    77761 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/netflix/config/main/archaius-core.jar
-rw-r--r--    1 root    root                    16442 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/netflix/hystrix/contrib/main/hystrix-metrics-event-stream.jar
-rw-r--r--    1 root    root                   290223 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/netflix/hystrix/main/hystrix-core.jar
-rw-r--r--    1 root    root                    23234 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/woorea/openstack/sdk/main/cinder-client.jar
-rw-r--r--    1 root    root                    20755 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/woorea/openstack/sdk/main/cinder-model.jar
-rw-r--r--    1 root    root                    18277 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/woorea/openstack/sdk/main/glance-client.jar
-rw-r--r--    1 root    root                     8780 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/woorea/openstack/sdk/main/glance-model.jar
-rw-r--r--    1 root    root                    34756 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/woorea/openstack/sdk/main/keystone-client.jar
-rw-r--r--    1 root    root                    23183 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/woorea/openstack/sdk/main/keystone-model.jar
-rw-r--r--    1 root    root                    10861 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/woorea/openstack/sdk/main/openstack-client.jar
-rw-r--r--    1 root    root                    20104 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/woorea/openstack/sdk/main/quantum-client.jar
-rw-r--r--    1 root    root                    16031 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/woorea/openstack/sdk/main/quantum-model.jar
-rw-r--r--    1 root    root                     8972 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/com/woorea/openstack/sdk/main/resteasy-connector.jar
-rw-r--r--    1 root    root                   738300 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/io/reactivex/rxjava/main/rxjava.jar
-rw-r--r--    1 root    root                   621694 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/apache/sshd/main/sshd-core.jar
-rw-r--r--    1 root    root                     6073 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/ovirt/engine/api/metamodel-server/main/metamodel-server.jar
-rw-r--r--    1 root    root                     8222 Oct  3 23:15
/usr/share/ovirt-engine/modules/common/org/ovirt/engine/core/auth-plugin/main/auth-plugin.jar
-rw-r--r--    1 root    root                     4010 Oct  3 23:16
/usr/share/ovirt-engine/modules/common/org/ovirt/engine/core/logger/main/logger.jar
-rw-r--r--    1 root    root                   554885 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/quartz/main/quartz.jar
-rw-r--r--    1 root    root                   450124 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/snmp4j/main/snmp4j.jar
-rw-r--r--    1 root    root                   370051 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-aop.jar
-rw-r--r--    1 root    root                   731512 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-beans.jar
-rw-r--r--    1 root    root                  1097552 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-context.jar
-rw-r--r--    1 root    root                  1078737 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-core.jar
-rw-r--r--    1 root    root                   262990 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-expression.jar
-rw-r--r--    1 root    root                     7243 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-instrument.jar
-rw-r--r--    1 root    root                   423369 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-jdbc.jar
-rw-r--r--    1 root    root                   265523 Oct  3 23:14
/usr/share/ovirt-engine/modules/common/org/springframework/main/spring-tx.jar

If any dependency is missing on el7 I can try to provide it within CentOS
Virt SIG, just let me know the Fedora equivalent rpm name.
Thanks,

-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
<https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20161004/f07b09d0/attachment-0001.html>


More information about the Devel mailing list