Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 659702

Summary: media-tv/plex-media-server-1.13.2 ebuild incompatible with profile 17.1
Product: Gentoo Linux Reporter: O. William McClung <owmcclung>
Component: Current packagesAssignee: Jonathan Vasquez (RETIRED) <fearedbliss>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    
Attachments: emerge --info

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: https://forums.gentoo.org/viewtopic-p-8235710.html#8235710 .
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:

SEARCH_DIRS_MASK="/usr/lib/plexmediaserver"

Thanks,
Jonathan
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

SEARCH_DIRS_MASK="/usr/lib/plexmediaserver"

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.