Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OBS Kamailio 5.0.7 RPM dependency on lib ims #1721

Closed
miconda opened this issue Nov 14, 2018 · 8 comments
Closed

OBS Kamailio 5.0.7 RPM dependency on lib ims #1721

miconda opened this issue Nov 14, 2018 · 8 comments

Comments

@miconda
Copy link
Member

miconda commented Nov 14, 2018

Description

It was reported that using the RPM for v5.0.7 from opensuse build service is getting an error on dependency for internal lib ims.

Getting the rpm from:

Then:

rpm -ivh kamailio-5.0.7-8.el7.x86_64.rpm
   warning: kamailio-5.0.7-8.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 941fdbdd: NOKEY
   error: Failed dependencies:
          libkamailio_ims.so.0()(64bit) is needed by kamailio-5.0.7-8.el7.x86_64

Troubleshooting

Reproduction

See above.

Additional Information

  • Kamailio Version - output of kamailio -v
5.0.7, but can be the same for 5.1 or newer.
  • Operating System:
RHEL 7, but can be the same for other OSes
@miconda
Copy link
Member Author

miconda commented Nov 14, 2018

@sergey-safarov - is this something fixed after release of 5.0.7, or can it be still an issue?

I noticed also there is a pull request for OBS specs, but do not seem related.

@sergey-safarov
Copy link
Member

Hello Daniel
I have tested this command sequence

yum install -y yum-utils
yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/kamailio:/v5.0.x-rpms/RHEL_7/
yum install -y --nogpgcheck kamailio

Looks as need to declare kamailio package dependency from kamailio-ims package
I will create new PR for this.

@sergey-safarov
Copy link
Member

I can see imc.so is wants libkamailio_ims.so.
As options i can move imc.so into kamailio-ims rpm package.
I will wait your suggestion about preferred option.

@miconda
Copy link
Member Author

miconda commented Nov 14, 2018

You can put the file in ims package, not needed by the core.

@sergey-safarov
Copy link
Member

I have relocated module and triggered rebuild of RPM packages.
Could you test install kamailio rpm. As you do it before
If all good, then i will commit into GitHub repo.

@sergey-safarov
Copy link
Member

To be clear.
ims_ocs is relocated in commits

  1. 6a7ea3d - master and 5.2 branches
  2. d54d324 - 5.1 branch

Related ticket #1392

@sergey-safarov
Copy link
Member

sergey-safarov commented Nov 15, 2018

Think i must give on 5.1 branch.

git cherry-pick -x 6a7ea3d489175659cbfcca4088a8cd26b9352273

@miconda
Copy link
Member Author

miconda commented Nov 15, 2018

The d54d324 is cherry-pick -x 6a7ea3d, so this seems to be fixed in the relevant branches.

@miconda miconda closed this as completed Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants