Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659702 - media-tv/plex-media-server-1.13.2 ebuild incompatible with profile 17.1
Summary: media-tv/plex-media-server-1.13.2 ebuild incompatible with profile 17.1
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jonathan Vasquez (RETIRED)
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
Reported: 2018-06-30 20:02 UTC by O. William McClung
Modified: 2018-07-07 17:40 UTC (History)
0 users

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

emerge --info (emerge--info.txt,6.88 KB, text/plain)
2018-06-30 20:02 UTC, O. William McClung

Note You need to log in before you can comment on or make changes to this bug.
Description O. William McClung 2018-06-30 20:02:44 UTC
Created attachment 537884 [details]
emerge --info

Profile 17.1 has separate directories, /usr/lib and /usr/lib64. The plex-media-server ebuild installs to /usr/lib but should install to /usr/lib64. One consequence of this is that revdep-rebuild re-emerges plex-media-server each time. More information is in Hu's comment: .
Comment 1 Jonathan Vasquez (RETIRED) gentoo-dev 2018-07-06 18:19:45 UTC
Hey William,

Thanks for reporting this. I also read the forum posts. Upstream installs this package to /usr/lib so I will keep that structure until they decide to change it. I believe the plex package is not a 64 bit package so it doesn't make sense to deviate from upstream's directory layout (Let alone it might require me to patch other files in order to adjust for this explicit path change). My ebuild was using Gentoo's "get_libdir" function that returns the correct lib directory for your current profile/architecture. In this case, it would return lib64 for both of us. But since I'm using 17.0, my /usr/lib just points to /usr/lib64. I've stopped using this function for this ebuild and am matching what upstream's assumptions are. So revdep rebuild will be /usr/lib/plexmediaserver. Can you install the new 1.13.2-r1 package and see if revdep still complains? Also verify on your end as well that /etc/revdep-rebuild/80plexmediaserver says:


Comment 2 O. William McClung 2018-07-07 17:13:15 UTC
I can confirm that under profile 17.1, plex-media-server-1.13.2-r1 installs into /usr/lib, that /etc/revdep-rebuild/80plexmediaserver contains


and that revdep-rebuild no longer attempts to re-emerge it. Also, the package appears to function normally.

Many thanks for fixing the ebuild.
Comment 3 Jonathan Vasquez (RETIRED) gentoo-dev 2018-07-07 17:40:44 UTC
Glad to hear! Take care.