[Bug 192347] [maintainer update] multimedia/universal-media-server: Update to 4.0.1 + FIXES

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 3 14:57:20 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192347

--- Comment #7 from John Marino <marino at FreeBSD.org> ---
(In reply to dreamcat4 from comment #6)
> I'm not sure I agree. The original entry is auto-generated. In other
> directories (which are not docs stuff), they don't remove without question.

When you said "auto-generated" do you mean "make makeplist"?  Because it just
assigns all of the @dirrmtry and expects you to fix them (per the comment on
the first line).


> If the user has modified of put something of their own files there. 

This is not allowed nor expected.  pkg is not expecting any file that it
installed to be modified nor extra files to be put in its dedicated
directories.  It will spew errors upon deinstall if this happens.  /usr/local
is supposed to work as if it's mounted ready only

> So how
> is docs directory different? Also: that only matters IF the contents of the
> directory has been added to somehow. But the files put in there are static
> and we would not expect the directory to be non-empty. I just don't get it.

What don't you get?
There is a packing manifest.  It removes all the files in the directory and
then unconditionally removes the directory.  Unless the directory is shared
with one or more ports (e.g. fonts, desktop icons, etc) then you
unconditionally remove it and you want to see an error occur if it's not empty
(because it's expected to be empty upon deinstall)

@dirrmtry is an exception, @dirrm is normal



> > DISTFILES=	UMS-${DISTVERSION}.tgz
> > 
> > That's equivalent.  You could have also defined USES+= tar:tgz though and
> > gotten rid of the extract suffix
> 
> Yes it is. It also adds an extra line / variable to the port Makefile for no
> apparent reason whatsoever.


I don't know what you mean by this.  Your change was okay, it's a bit cleaner,
it just didn't fix anything.



> > I haven't see the rc script, maybe all it needs is
> > "var/run/universal-media-server" hardcoded to it.  That actually sounds like
> > an oversight that needs fixing.  Most of the other stuff I don't see as
> > mistakes.
> 
> Yeah maybe. But there were no guideline for that in Porter's Handbook (that
> I could see)> And as the variable that is set in Makefile is currently set
> to be "/var/run/..." then functionally there is was no error at the time
> this change was introduced.

I suspect there was an error that needed fixing, and the commit just simplified
this at the same time.  Personally I also prefer the hardcoding to an
unchanging variable.


> In the Porters handbook it says to run "make stage" and not "make stage-qa".
> So now I know that is possible, I can just run manually and don't need
> Poudriere at all (thank god). OUTPUT BELOW:

well, no, it's not a replacement for poudriere.  Particually it will not catch
file system violations or missing dependencies.  But it will check plist
issues.



> ums4 universal-media-server/ root~# make stage-qa
> ====> Running Q/A tests (stage-qa)
> ums4 universal-media-server/ root~# echo $?
> 0

hmm, what?
It didn't do anything. 
try make clean ; make stage ; make stage-qa


> Again, I say, "works fine". But heh. Now you guys have broke the rc.d script
> you expect me to fix it? Reality check.

No, you would be expected to make a comment on the PR that broke script and
say, "hey the script is broken".  Then the committer will likely fix it.



> I worked very hard creating this port. Most of the minor and utterly
> inconsequential changes you guys have made on top of that were fine. No harm
> done. But not this last one. It had problems and you should realise that the
> patch I offered now at least functionally fixes things for now. So they can
> be re-done right the next time. Whatever.


I think you are missing the point.  You are attempting this:
1) Update the port version [ok]
2) Fix the script problem without saying that's what you're doing, and the way
you did it is probably wrong because it reversed what the previous committer
did.  I guarantee you he had a reason for making the change, so putting it back
to your original proposal raises flags immediately, especially given the
previous committer runs his changes on 8 poudriere jails (i386, amd64 x FreeBSD
8, 9, 10, head)

What this should have done (IMO) is only update the port and fix the script
issue.  


> If you want to fix 'your way' because you think my ways wasn't good enough
> to begin with then by all means please go ahead. 

I'm not going to fix it at all, I'm the triage guy.

> But further than that you
> will just loose my future contributions to FreeBSD project. I just don't
> have time for such pettiness / arguing for no benefit to end users. It's not
> going to improve their lives, in terms of the functionality of the software
> itself.

So you are going to state that an contributer with very little experience and
one that is unable to use poudriere on a single platform to check his
submission makes no mistakes and can declare what is useless and petty to
experienced committers than have to run these works through several builders. 
It takes use years to learn all the things but you've got it down in 2 weeks,
that's awesome.


I've asked the previous committer to review your PR.  If he does, he can tell
you why the plist was changed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list