Solved: FreeBSD PlexPass build is broken

Server Version#: 1.15.1.707
Player Version#: all of them

Since 1.15 it seems a lot of internals have changed and someone broke the builds.

Plex Commercial Skipper:
	libm.so.5 => /lib/libm.so.5 (0x800884000)
	libavcodec.so.58 => not found (0)
	libavformat.so.58 => not found (0)
	libavutil.so.56 => not found (0)
	libswscale.so.5 => not found (0)
	libswresample.so.3 => not found (0)
	libavfilter.so.7 => not found (0)
	libva.so.2 => not found (0)
	libva-drm.so.2 => not found (0)
	libdrm.so.2 => not found (0)
	libpciaccess.so.0 => not found (0)
	libthr.so.3 => /lib/libthr.so.3 (0x800ab1000)
	libc.so.7 => /lib/libc.so.7 (0x800cd9000)


Plex Transcoder:
	libavfilter.so.7 => /usr/local/share/plexmediaserver-plexpass/lib/libavfilter.so.7 (0x800a00000)
	libavformat.so.58 => /usr/local/share/plexmediaserver-plexpass/lib/libavformat.so.58 (0x801200000)
	libavcodec.so.58 => /usr/local/share/plexmediaserver-plexpass/lib/libavcodec.so.58 (0x801a00000)
	libswresample.so.3 => /usr/local/share/plexmediaserver-plexpass/lib/libswresample.so.3 (0x8021a4000)
	libswscale.so.5 => /usr/local/share/plexmediaserver-plexpass/lib/libswscale.so.5 (0x8023c8000)
	libavutil.so.56 => /usr/local/share/plexmediaserver-plexpass/lib/libavutil.so.56 (0x8026a3000)
	libm.so.5 => /lib/libm.so.5 (0x802919000)
	libthr.so.3 => /lib/libthr.so.3 (0x802b46000)
	libc.so.7 => /lib/libc.so.7 (0x802d6e000)
	libva.so.2 => not found (0)
	libva.so.2 => not found (0)
	libva.so.2 => not found (0)
	libva-drm.so.2 => not found (0)

These libraries are exactly where they should be, but the binaries aren’t finding them probably due to a broken rpath at compile time.

4 Likes

This can be fixed with libmap.conf settings, but even then there is more breakage. You can’t get to any server settings in the web interface.

1 Like

Hi @feld I’ve actually sent you I mail about this (to the email you have set as port maintainer but I assume it went to spam)

There are indeed changes in the builds not just FreeBSD but all, test builds have been posted in the forums for a while now. Here: Much faster (hopefully), smaller (mostly) and better PMS builds preview (1.15.0.573-123756e9a)

There’s also a few posts here in the forums and I even have diffs of the port Makefile and rc.d script, but tl;dr is that you should copy what’s in the “start.sh” script to make the rc.d work.

Also we no longer need compat9/10/11x, in fact builds are done in FreeBSD11 now but we no longer need the system libstdc so there’s no need to install that.

With might be a good idea not to delete the start.sh script when installing the port, as this can always be used as a reference to “how should this work”

Does this mean that after the update, if we have no other dependencies on them, we can uninstall campat/9/10 without issue???

Yes, that is what it means.

Plexpass port is updated and working now. Thanks for spotting those changes. I haven’t been able to follow the betas closely.

Thank you!!! :slight_smile:

Thanks for maintaining this port, @feld, and to the Plex team your help and support!

Maybe I’m missing something, but the Freshports status for plexmediaserver-plexpass still is tagged as “Broken” and as a result, doing a pkg update and pkg upgrade does not find the latest version for me.

Do I have to install the port files and build it? Or is there an ETA on the package to be build since it’s not supposed to be tagged Broken anymore?

That looks like a Freshports bug for not noticing it is no longer BROKEN. I have sent the admin of Freshports a message about it.

FreeBSD packages are built from ports not on demand, but on a time schedule. Usually builds happen around every 48 hours, so I would expect the package to be showing up in the repo soon.

Thansk @feld for the info. I’m new to Freshports process so didn’t realize they were on a set time schedule and not triggered based on updates/checkins.

I see that the package has updated, so will check it out tonight.

Thanks for what you do!

Hi @feld,

I just updated via the ports on freebsd 11.2.
Unfortunately my server settings are still unavailable (downgrading to 1.14 gets them back), shouldn’t this be fixed?

Thanks for your work on the port!

Lokipo

@feld

FreshPorts is still reporting a dependency on compat9/10 after both versions have been updated to 1.15.X… Do we still need to have them installed???

Thanks for all your work maintaining the port!!!

Yeah I think @feld forgot to update that in the base port :smiley:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.