Topic: Is the OCS Inventory SRPM available?

Remi,

I can't use your OCS Inventory 2.1 RPM on my system because of the MySQL 5.5 requirement (RHEL6 only ships with 5.1). Do you make your SRPMs available so I can build a local copy? That would also allow me to include our local customizations in the RPM.

Thanks!

Re: Is the OCS Inventory SRPM available?

If you want to use my repo "only" for OCS, use the includepkgs/exclude directive in the remi.conf file.

And for SRPM... just follow the "Sources RPM" from the repository from page.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Is the OCS Inventory SRPM available?

Argh, I didn't see the link at the bottom of the repos, thanks for pointing that out! The RPM built perfectly on my end, and with a local copy and your repos disabled it doesn't trip the dependencies on mysql-5.5 that are causing me the headaches.

Just so you know, here's what happens when I try and enable remi and remi-test and try and install your ocsinventory-server and -reports on RHEL6. I think it's your version of php that is triggering the mysql-5.5 requirement, and that sends me down a twisted path of library dependencies that I don't dare update.

Loaded plugins: product-id, refresh-packagekit, security
Setting up Local Package Process
Resolving Dependencies
--> Running transaction check
---> Package ocsinventory-reports.noarch 0:1.3.3-5.el6 will be updated
---> Package ocsinventory-reports.noarch 0:2.1-1.el6 will be an update
--> Processing Dependency: php-imap for package: ocsinventory-reports-2.1-1.el6.noarch
--> Processing Dependency: php-pear-CAS for package: ocsinventory-reports-2.1-1.el6.noarch
---> Package ocsinventory-server.noarch 0:1.3.3-5.el6 will be updated
---> Package ocsinventory-server.noarch 0:2.1-1.el6 will be an update
--> Running transaction check
---> Package php-imap.x86_64 0:5.4.25-2.el6.remi will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.25-2.el6.remi for package: php-imap-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.4.25-2.el6.remi.x86_64
---> Package php-pear-CAS.noarch 0:1.3.2-1.el6.remi will be installed
--> Running transaction check
---> Package libc-client.x86_64 0:2007e-11.el6 will be installed
---> Package php-common.x86_64 0:5.3.3-22.el6 will be updated
--> Processing Dependency: php-api = 20090626 for package: php-mcrypt-5.3.3-1.el6.rf.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-xml-5.3.3-22.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-pdo-5.3.3-22.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-ldap-5.3.3-22.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-mbstring-5.3.3-22.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-cli-5.3.3-22.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-mysql-5.3.3-22.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-gd-5.3.3-22.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-5.3.3-22.el6.x86_64
---> Package php-common.x86_64 0:5.4.25-2.el6.remi will be an update
--> Running transaction check
---> Package php.x86_64 0:5.3.3-22.el6 will be updated
---> Package php.x86_64 0:5.4.25-2.el6.remi will be an update
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-5.4.25-2.el6.remi.x86_64
---> Package php-cli.x86_64 0:5.3.3-22.el6 will be updated
---> Package php-cli.x86_64 0:5.4.25-2.el6.remi will be an update
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-cli-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-cli-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-cli-5.4.25-2.el6.remi.x86_64
---> Package php-gd.x86_64 0:5.3.3-22.el6 will be updated
---> Package php-gd.x86_64 0:5.4.25-2.el6.remi will be an update
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.4.25-2.el6.remi.x86_64
---> Package php-ldap.x86_64 0:5.3.3-22.el6 will be updated
---> Package php-ldap.x86_64 0:5.4.25-2.el6.remi will be an update
---> Package php-mbstring.x86_64 0:5.3.3-22.el6 will be updated
---> Package php-mbstring.x86_64 0:5.4.25-2.el6.remi will be an update
---> Package php-mcrypt.x86_64 0:5.3.3-1.el6.rf will be updated
---> Package php-mcrypt.x86_64 0:5.4.25-2.el6.remi will be an update
---> Package php-mysql.x86_64 0:5.3.3-22.el6 will be updated
---> Package php-mysql.x86_64 0:5.4.25-2.el6.remi will be an update
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: php-mysql-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16)(64bit) for package: php-mysql-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: php-mysql-5.4.25-2.el6.remi.x86_64
---> Package php-pdo.x86_64 0:5.3.3-22.el6 will be updated
---> Package php-pdo.x86_64 0:5.4.25-2.el6.remi will be an update
---> Package php-xml.x86_64 0:5.3.3-22.el6 will be updated
---> Package php-xml.x86_64 0:5.4.25-2.el6.remi will be an update
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.1.67-1.el6_3 will be updated
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: mysql-5.1.67-1.el6_3.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: 2:postfix-2.6.6-2.2.el6_1.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: mysql-server-5.1.67-1.el6_3.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: redland-1.0.7-11.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: mysql-5.1.67-1.el6_3.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: 2:postfix-2.6.6-2.2.el6_1.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: mysql-server-5.1.67-1.el6_3.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: redland-1.0.7-11.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
--> Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: mysql-5.1.67-1.el6_3.x86_64
--> Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: mysql-server-5.1.67-1.el6_3.x86_64
--> Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: 1:qt-mysql-4.6.2-26.el6_4.x86_64
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: mysql-5.1.67-1.el6_3.x86_64
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: mysql-server-5.1.67-1.el6_3.x86_64
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: 1:qt-mysql-4.6.2-26.el6_4.x86_64
--> Processing Dependency: mysql-libs = 5.1.67-1.el6_3 for package: mysql-5.1.67-1.el6_3.x86_64
---> Package mysql-libs.x86_64 0:5.5.36-1.el6.remi will be an update
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: mysql-libs-5.5.36-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: mysql-libs-5.5.36-1.el6.remi.x86_64
---> Package php.x86_64 0:5.4.25-2.el6.remi will be an update
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-5.4.25-2.el6.remi.x86_64
---> Package php-cli.x86_64 0:5.4.25-2.el6.remi will be an update
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-cli-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-cli-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-cli-5.4.25-2.el6.remi.x86_64
---> Package t1lib.x86_64 0:5.1.2-6.el6_2.1 will be installed
--> Running transaction check
---> Package compat-mysql51.x86_64 0:5.1.54-1.el6.remi will be installed
---> Package mysql.x86_64 0:5.1.67-1.el6_3 will be updated
---> Package mysql.x86_64 0:5.5.36-1.el6.remi will be an update
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: mysql-5.5.36-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: mysql-5.5.36-1.el6.remi.x86_64
---> Package mysql-libs.x86_64 0:5.5.36-1.el6.remi will be an update
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: mysql-libs-5.5.36-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: mysql-libs-5.5.36-1.el6.remi.x86_64
---> Package mysql-server.x86_64 0:5.1.67-1.el6_3 will be updated
---> Package mysql-server.x86_64 0:5.5.36-1.el6.remi will be an update
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: mysql-server-5.5.36-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: mysql-server-5.5.36-1.el6.remi.x86_64
---> Package php.x86_64 0:5.4.25-2.el6.remi will be an update
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-5.4.25-2.el6.remi.x86_64
---> Package php-cli.x86_64 0:5.4.25-2.el6.remi will be an update
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-cli-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-cli-5.4.25-2.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-cli-5.4.25-2.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-5.5.36-1.el6.remi.x86_64 (remi)
           Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: php-cli-5.4.25-2.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
Error: Package: mysql-5.5.36-1.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: php-cli-5.4.25-2.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: php-cli-5.4.25-2.el6.remi.x86_64 (remi)
           Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: mysql-server-5.5.36-1.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: php-5.4.25-2.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: mysql-server-5.5.36-1.el6.remi.x86_64 (remi)
           Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: php-5.4.25-2.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
Error: Package: php-5.4.25-2.el6.remi.x86_64 (remi)
           Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: mysql-libs-5.5.36-1.el6.remi.x86_64 (remi)
           Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: mysql-libs-5.5.36-1.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Re: Is the OCS Inventory SRPM available?

The openssl issue is due to a not updated RHEL.

My packages are build against official RHEL-6.5.
So update to RHEL first.

> library dependencies that I don't dare update.
QED.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Is the OCS Inventory SRPM available?

And please read the FAQ (especially part to update PHP without MySQL).
http://blog.famillecollet.com/pages/English-FAQ

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi