On Fedora 25 with bullet physics 2.83, the makepanda-generated rpm cannot be installed (because it hardwires a dependency to bullet 2.82)

Bug #1672731 reported by ellie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Invalid
Undecided
Unassigned

Bug Description

On Fedora 25 with bullet physics 2.83, the makepanda-generated rpm cannot be installed (it appears ecause it hardwires a dependency to bullet 2.82):

[root@cyberman panda3d]# dnf install panda3d-1.10.0-1.x86_64.rpm
Last metadata expiration check: 0:03:40 ago on Tue Mar 14 14:53:48 2017.
Error: nothing provides libBulletCollision.so.2.82()(64bit) needed by panda3d-1.10.0-1.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages)
[root@cyberman panda3d]# locate libBulletCollision
/usr/lib64/libBulletCollision.so
/usr/lib64/libBulletCollision.so.2
/usr/lib64/libBulletCollision.so.2.83
[root@cyberman panda3d]#

Revision history for this message
rdb (rdb) wrote :

Are you sure that Bullet wasn't upgraded after initially making your build? Does the problem still occur when uninstalling Panda, deleting the "built" directory and building from scratch?

Revision history for this message
ellie (et1234567) wrote :

If anyone stumbles across this and has the same problem, the following workaround works:

Create symlinks:
/usr/lib64/libBulletCollision.so.2.82 -> /usr/lib64/libBulletCollision.so.2.83
/usr/lib64/libBulletDynamics.so.2.82 -> /usr/lib64/libBulletDynamics.so.2.83
/usr/lib64/libBulletSoftBody.so.2.82 -> /usr/lib64/libBulletSoftBody.so.2.83
/usr/lib/64/libLinearMath.so.2.82 -> /usr/lib64/libLinearMath.so.2.83

Then install with: rpm -if --no-deps ./panda3d-XXX.rpm

Check afterwards if the install worked: python3 -c "import panda3d;" (must not throw an error - if it does, there are other dependencies actually missing and you have to install them properly first)

Revision history for this message
ellie (et1234567) wrote :

Oops, I missed your comment there!

Looking for that didn't occur to me because I git pulled a new revision and the build took really long as a usual from-scratch build... but I just removed built and started a build from scratch, and indeed you were right and this bug is just me being silly. Also, I have to admit I didn't run into this trap for the first time. Sorry!

Changed in panda3d:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.