Bug 233100 - multimedia/gstreamer1-plugins fails to update with portmaster
Summary: multimedia/gstreamer1-plugins fails to update with portmaster
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-10 01:02 UTC by Christopher
Modified: 2018-11-19 11:12 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (multimedia)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher 2018-11-10 01:02:21 UTC
Updating with PORTMASTER fails with the following:

gstreamer1-1.14.4 conflicts with gstreamer1-plugins-bad-1.12.3_2 (installs files into same place).  Problematic file: /usr/local/include/gstreamer-1.0/gst/base/gstaggregator.h

ERROR CODE 70

I did review /usr/ports/UPDATING and could find no reports of additional actions or steps needed for this update.
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-11-10 01:31:11 UTC
Deinstall the old version before build.
Comment 2 rkoberman 2018-11-10 03:00:27 UTC
Some plugins were moved from gstreamr1-bad to gstreamer1. This SHULD have been in UPDATING!!!

% pkg delete -f gstreamer1-plugins-bad-1.12.3_2
% portmaster -C gstreamer1 gstreamer1-plugins-bad
Comment 3 Christopher 2018-11-10 04:58:16 UTC
Ok... please forgive me, but I am relatively new to BSD but have been getting along pretty well for the last several months (until this).  And have updated gstreamer before without issue - so, I am a little lost here.

Here's what I did:

package delete which completed successfully.

checked package info which showed the package as "missing"??

Installed again and got the same error as during the update.

I also tried the commands suggested and got the same failure:

% pkg delete -f gstreamer1-plugins-bad-1.12.3_2
% portmaster -C gstreamer1 gstreamer1-plugins-bad
Comment 4 Christopher 2018-11-10 06:51:20 UTC
I've deleted everything gstreamer even to the point of all files under /usr/local/include/gstreamer-1.0.

Now, with everything gstreamer removed and pkg info showing "not installed" plus a fresh svn /usr/src update + a fresh portsnap update if I install the port it installs version 1.12.3_2 and then shows 1.14 as an update which fails.  It's not installing 1.14 on it's own.

So, removing everything gstreamer again and running a system wide portmaster update without installing the port itself (as other programs will still bring it in as a dependency)... as I watch the screen the first thing it does is install 1.12.3_2 and then tries to update to 1.14.4 (which fails everytime).

So no matter what I do 1.12 tries to install first (which works) and then 1.14 comes in as a update which fails and breaks everything that depends on it.
Comment 5 rkoberman 2018-11-10 07:13:20 UTC
The only thing I can think of is that your ports tree is not all up to date.

All gstreamer1 ports should be 1.14.4 possibly with an '_1' appended. You can check this with "pkg version -vl\<".
Comment 6 Christopher 2018-11-10 07:26:58 UTC
(In reply to rkoberman from comment #5)
Thanks!  But your first comment was right after all...

After going through install / uninstall over and over again I was just about to give up and I tried your commands one last time... and they worked!!!  Perhaps because I had tried so much that I had to get it back to where it was (if that makes any sense.

I have two other machines that failed with the same problem that I have not tried anything else with so next, I will try your commands "first" before anything else and see how they go.

But either way... THANKS A WHOLE LOT!!! as...

% pkg delete -f gstreamer1-plugins-bad-1.12.3_2
% portmaster -C gstreamer1 gstreamer1-plugins-bad

fixed the problem.

Thanks again!
Comment 7 Christopher 2018-11-10 08:36:25 UTC
Tested on two other computers that had the same problem, using:

% pkg delete -f gstreamer1-plugins-bad-1.12.3_2
% portmaster -C gstreamer1

And, it worked great!

However, with one note:

Using:

% portmaster -C gstreamer1 gstreamer1-plugins-bad

fails, reporting gstreamer1-plugins-bad not installed or something like that.

and after running

% portmaster -C gstreamer1

it seems to install gstreamer1-plugins-bad anyways