Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955899 - net-misc/dropbox : libffi-compat:6 is not being used anymore, it should use libffi-compat:7
Summary: net-misc/dropbox : libffi-compat:6 is not being used anymore, it should use l...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-05-12 21:55 UTC by Ghiunhan Mamut
Modified: 2025-05-13 18:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ghiunhan Mamut 2025-05-12 21:55:00 UTC
Following my annual mass-rebuild with a new toolchain, I have noticed one package failing, dev-libs/libffi-compat:6, libffi.so.6 . A bug report has existed for over a year: https://bugs.gentoo.org/925229. 

Equery shows net-misc/dropbox as the only consumer on my system. However, a ldd against the dropbox binary shows it is linked against libffi.so.7 :

korhal /opt/dropbox # ls|grep libffi
libffi.so.7
libffi.so.7.1.0
korhal /opt/dropbox # ldd dropbox|grep libffi
        libffi.so.7 => /opt/dropbox/./libffi.so.7 (0x00007f3e33800000)


I checked all net-misc/dropbox versions from the tree, and all of them link against libffi.so.7, and as a result, the dependency should be changed from dev-libs/libffi-compat:6 to dev-libs/libffi-compat:7. I tested myself by removing the bundled libffi.so.7 and installing dev-libs/libffi-compat:7 and it works as it should.

As a bonus, there is no other consumer of dev-libs/libffi-compat:6 in the whole tree, at least on amd64, so it can be potentially masked and/or removed from the tree. I can open a bug report separately for the removal if necessary, which will also close the above bug report I mentioned earlier.

korhal /usr/ports/gentoo # grep -r libffi-compat *|grep ebuild|grep -v Manifest
dev-java/openjdk-bin/openjdk-bin-8.442_p06.ebuild:              arm? ( dev-libs/libffi-compat:6 )
dev-java/openjdk-bin/openjdk-bin-8.452_p09.ebuild:              arm? ( dev-libs/libffi-compat:6 )
net-misc/dropbox/dropbox-217.4.4417.ebuild:     dev-libs/libffi-compat:6
net-misc/dropbox/dropbox-218.4.4348.ebuild:     dev-libs/libffi-compat:6
net-misc/dropbox/dropbox-215.4.7202.ebuild:     dev-libs/libffi-compat:6
net-misc/dropbox/dropbox-219.4.4463.ebuild:     dev-libs/libffi-compat:6
net-misc/dropbox/dropbox-214.4.5217.ebuild:     dev-libs/libffi-compat:6
net-misc/dropbox/dropbox-221.4.5365.ebuild:     dev-libs/libffi-compat:6
net-misc/dropbox/dropbox-216.4.4420.ebuild:     dev-libs/libffi-compat:6

I can submit a PR to change the dependency if required. 


Reproducible: Always
Comment 1 Ghiunhan Mamut 2025-05-12 22:30:14 UTC
https://github.com/gentoo/gentoo/pull/42063