Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622784 - app-backup/spideroak-bin requires libpng:1.2 to run, but this is not in RDEPEND
Summary: app-backup/spideroak-bin requires libpng:1.2 to run, but this is not in RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-26 21:39 UTC by Giuseppe Foti
Modified: 2017-07-29 11:36 UTC (History)
1 user (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 Giuseppe Foti 2017-06-26 21:39:06 UTC
I had a problem running SpiderOakONE:
$ SpiderOakONE 
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__SpiderOakONE__.py", line 183, in <module>
  File "__main__SpiderOakONE__.py", line 168, in main
  File "oak/Oak.py", line 22, in <module>
  File "PyQt4/QtGui.py", line 26, in <module>
  File "PyQt4/QtGui.py", line 17, in _bbfreeze_import_dynamic_module
ImportError: libpng12.so.0: cannot open shared object file: No such file or directory

In my system was installed media-libs/libpng-1.6.29 (~amd64), but was not installed libpng-1.2

I resolved emerging =media-libs/libpng-1.2.57 with
# emerge -a libpng:1.2

The ebuilds don't require libpng-1.2 as a runtime dependency; the problem is present both in spideroak-bin-6.1.3 and in spideroak-bin-6.3.0.
I didn't test spideroak-bin-6.1.5 (but I think it has the same problem).
Comment 1 sharpshopter 2017-07-29 05:05:51 UTC
I'm not sure what needs to be done to move this out of UNCOMFIRMED, but I just hit the same issue, and the same workaround works for me.
Comment 2 Anthony Basile gentoo-dev 2017-07-29 09:10:05 UTC
please test 6.3.0-r1 and let me know.  if it works i'll rapidly stabilize it and reove the broken version.  thanks.
Comment 3 Giuseppe Foti 2017-07-29 10:20:06 UTC
Just tested, and the new ebuild seems to work:

# equery depends libpng:1.2
 * These packages depend on libpng:1.2:
# emerge -aC libpng:1.2
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

>>> These are the packages that would be unmerged:

 media-libs/libpng
    selected: 1.2.57 
   protected: none 
     omitted: 1.6.29 

All selected packages: =media-libs/libpng-1.2.57

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No] y
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging (1 of 1) media-libs/libpng-1.2.57...
>>> needed   obj /usr/lib64/libpng12.so.0

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: media-libs/libpng-1.2.57
 *  - /usr/lib64/libpng12.so.0
 *      used by /opt/SpiderOakONE/lib/libQtGui.so.4 (app-backup/spideroak-bin-6.3.0)
Use emerge @preserved-rebuild to rebuild packages using these libraries
# echo "=app-backup/spideroak-bin-6.3.0-r1 ~amd64" >> /etc/portage/package.accept_keywords
# emerge -av app-backup/spideroak-bin

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] media-libs/libpng-1.2.57:1.2::gentoo [1.6.29:0/16::gentoo] ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U ~] app-backup/spideroak-bin-6.3.0-r1::gentoo [6.3.0::gentoo] USE="X dbus" 0 KiB

Total: 2 packages (1 upgrade, 1 in new slot), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) media-libs/libpng-1.2.57::gentoo
[...]
>>> Installing (1 of 2) media-libs/libpng-1.2.57::gentoo
 * checking 2 files for package collisions
>>> Merging media-libs/libpng-1.2.57 to /
--- /usr/
--- /usr/lib32/
>>> /usr/lib32/libpng12.so.0
--- /usr/lib64/
>>> /usr/lib64/libpng12.so.0
>>> media-libs/libpng-1.2.57 merged.
>>> Regenerating /etc/ld.so.cache...

>>> Emerging (2 of 2) app-backup/spideroak-bin-6.3.0-r1::gentoo
[...]
>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
Comment 4 Anthony Basile gentoo-dev 2017-07-29 11:36:50 UTC
okay i've marked 6.3.0-r1 stable and removed all previous versions.  thanks.