Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VLC : upgrade to 3.0.11 #7466

Merged
merged 2 commits into from Aug 17, 2020
Merged

VLC : upgrade to 3.0.11 #7466

merged 2 commits into from Aug 17, 2020

Conversation

RJVB
Copy link
Contributor

@RJVB RJVB commented Jun 19, 2020

VLC : upgrade to 3.0.11

Also makes (lib)VLC and (lib)VLC2 co-installable on systems where
VLC2 is supported, maintaining access to QTKit support where this
is still possible (support was dropped from VLC 3.0.11).
This requires adaptation of port:phonon-backend-vlc, which also got
an upgrade to the latest version instead of a simple revbump.

Closes: https://trac.macports.org/ticket/60667

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

OS X 10.9.5

Verification

Have you

  • checked your Portfile with port lint?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?

@macportsbot macportsbot added maintainer maintainer: open Affects an openmaintainer port labels Jun 19, 2020
@RJVB RJVB changed the title #### Description VLC : upgrade to 3.0.11 Jun 19, 2020
@RJVB
Copy link
Contributor Author

RJVB commented Jun 19, 2020

Co-installability also makes testing after upgrades a lot easier for me; in fact, I can now use VLC3 for my phonon backend while still using the VLC2 full app. I didn't think it necessary to put that justification in the commit message :)

@macportsbot
Copy link

Travis Build #12239 Errored.

Lint results
--->  Verifying Portfile for phonon-backend-vlc
--->  0 errors and 0 warnings found.
--->  Verifying Portfile for VLC
Error: Line 40 repeats inclusion of PortGroup obsolete
--->  1 errors and 0 warnings found.
--->  Verifying Portfile for VLC2
Error: Line 39 repeats inclusion of PortGroup obsolete
Warning: missing recommended checksum type: size
--->  1 errors and 1 warnings found.

The build timed out.

Copy link
Contributor

@ryandesign ryandesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tried to build this on my own system. Looks like it failed on the CI but the logs have already been deleted.

multimedia/VLC2/Portfile Outdated Show resolved Hide resolved
multimedia/VLC/files/patch-build-on-pre-1012.diff Outdated Show resolved Hide resolved
audio/phonon-backend-vlc/Portfile Outdated Show resolved Hide resolved
@RJVB
Copy link
Contributor Author

RJVB commented Jun 30, 2020

I haven't tried to build this on my own system. Looks like it failed on the CI but the logs have already been deleted.

Looked like a timeout to me.

@macportsbot
Copy link

Travis Build #12446 Errored.

Lint results
--->  Verifying Portfile for phonon-backend-vlc
--->  0 errors and 0 warnings found.
--->  Verifying Portfile for VLC
Error: Line 40 repeats inclusion of PortGroup obsolete
--->  1 errors and 0 warnings found.
--->  Verifying Portfile for VLC2
Error: Line 39 repeats inclusion of PortGroup obsolete
Warning: missing recommended checksum type: size
--->  1 errors and 1 warnings found.

The build timed out.

variant smb description {Enable Samba 3 input support} {
depends_lib-append port:samba3
variant smb description {Enable Samba 3+ input support} {
depends_lib-append path:${prefix}/bin/smbclient:samba3
configure.args-replace --disable-smbclient --enable-smbclient
configure.ldflags-append -L${prefix}/lib/samba3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's redundant to put ${prefix}/ into that path depspec.

But look below that line where it says -L${prefix}/lib/samba3. That won't work for your proposed samba4 port, will it? If this ends up linking with a samba library, and samba3 and samba4 install them to different locations or names as I hope they do so that they don't conflict, then I assume there will need to be separate samba3 and samba4 variants.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shoot, I knew that of course. Your other concern is unnecessary. The samba4 port conflicts with samba3, installs its libraries into $prefix/lib/samba and a few additional symlinks in $prefix/lib/samba3 (e.g. for dependents that don't use the pkgconfig files). That directory would be temporary unless there is a need to preserve two samba ports (I haven't run into any ABI compatibility problems IIRC).

I should get back to that project...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current samba4 port does not declare itself to be conflicting with samba3. But it was last updated over a decade ago and has not been buildable for over 7 years at least, so we can basically consider the port not to exist at all; it's been dead and buried for a long time. Now if you're planning to resurrect samba4 by updating it to a current version that's great, I'm just asking you to ensure that it does not conflict with samba3. It would be unusual for a port named samba4 to install any files in a directory named samba3. If you don't see a need for separate samba3 and samba4 ports, then by all means have just one. At that point, since we would be changing the name away from samba3 regardless, it might make sense to call the new port just "samba". And then there can indeed be just a single samba or smb variant for vlc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't disagree with all that; this change is indeed a temporary compromise that I should probably have kept private. If ever I do get the samba4 port to work sufficiently well all dependents will surely require at least a revbump.

FWIW, I've delved into samba4 because apparently the port:samba3 nor the system smb version can connect to the Win10 computers in the house. I've managed to get v4.8.9 to build following online instructions, and now I can again connect to those computers. Not via the Finder, of course, and only most of the time (sometimes it still just doesn't work). The online instructions also outline how to set up a server, and I haven't yet managed to get that to function. The feature doesn't interest me myself, but others might expect to have it...

@ryandesign
Copy link
Contributor

Looked like a timeout to me.

You're looking at the Travis build. We know Travis only gives us 50 minutes of build time and builds often fail for that reason.

I was talking about the Azure builds which have a much larger time limit. Now that you've pushed a new commit and a new build has happened, we can see why the build failed on Azure:

libtool: install: /usr/bin/install -c .libs/vlc-osx /opt/local/bin/vlc-osx
install: /opt/local/bin/vlc-osx: Operation not permitted
make[3]: *** [install-binPROGRAMS] Error 71

@RJVB
Copy link
Contributor Author

RJVB commented Jul 1, 2020

Looked like a timeout to me.

You're looking at the Travis build. We know Travis only gives us 50 minutes of build time and builds often fail for that reason.

I was talking about the Azure builds which have a much larger time limit. Now that you've pushed a new commit and a new build has happened, we can see why the build failed on Azure:

libtool: install: /usr/bin/install -c .libs/vlc-osx /opt/local/bin/vlc-osx
install: /opt/local/bin/vlc-osx: Operation not permitted
make[3]: *** [install-binPROGRAMS] Error 71

How can that happen?!

@macportsbot
Copy link

Travis Build #12474 Errored.

Lint results
--->  Verifying Portfile for phonon-backend-vlc
--->  0 errors and 0 warnings found.
--->  Verifying Portfile for VLC
Error: Line 40 repeats inclusion of PortGroup obsolete
--->  1 errors and 0 warnings found.
--->  Verifying Portfile for VLC2
Error: Line 39 repeats inclusion of PortGroup obsolete
Warning: missing recommended checksum type: size
--->  1 errors and 1 warnings found.

The build timed out.

@ryandesign
Copy link
Contributor

How can that happen?!

It looks like everything in the Making install in lib section is fine. The files get installed in the destroot. And then once it gets to the Making install in bin section it has forgotten all about the destroot and tries to install the files directly, which MacPorts doesn't allow. As for why that's happening, I don't know; I've never tried to look at the VLC build system before.

@RJVB
Copy link
Contributor Author

RJVB commented Jul 2, 2020 via email

@RJVB
Copy link
Contributor Author

RJVB commented Jul 2, 2020 via email

Also makes (lib)VLC and (lib)VLC2 co-installable on systems where
VLC2 is supported, maintaining access to QTKit support where this
is still possible (support was dropped from VLC 3.0.11).
This requires adaptation of port:phonon-backend-vlc, which also got
an upgrade to the latest version instead of a simple revbump.

Closes: https://trac.macports.org/ticket/60667
RJVB added a commit to RJVB/macstrop that referenced this pull request Jul 2, 2020
https: //github.com/macports/macports-ports/pull/7466
Committed from host : Bola
@macportsbot
Copy link

Travis Build #12506 Errored.

Lint results
--->  Verifying Portfile for phonon-backend-vlc
--->  0 errors and 0 warnings found.
--->  Verifying Portfile for VLC
Error: Line 40 repeats inclusion of PortGroup obsolete
--->  1 errors and 0 warnings found.
--->  Verifying Portfile for VLC2
Error: Line 39 repeats inclusion of PortGroup obsolete
Warning: missing recommended checksum type: size
--->  1 errors and 1 warnings found.

Port phonon-backend-vlc's dependencies fail on xcode8.3. Log

The build timed out.

@ryandesign
Copy link
Contributor

the main port. Which I can't build myself...

Why not?

@RJVB
Copy link
Contributor Author

RJVB commented Jul 3, 2020 via email

@ryandesign
Copy link
Contributor

Because I'm still happily hanging out on 10.9 (I've got my reasons, the fact it's 2011 hardware included :) )

That's fine, I just didn't realize VLC didn't build on 10.9 anymore. Doesn't the port currently say:

VLC 3.0.8 requires Mac OS X 10.9 or greater.

@RJVB
Copy link
Contributor Author

RJVB commented Jul 3, 2020 via email

@kencu
Copy link
Contributor

kencu commented Aug 17, 2020

I used the web editor to resolve the conflict that had developed here. If it is to be committed, it appears that we would need to select "Squash and Merge" to do it properly, FYI.

@macportsbot
Copy link

Travis Build #13445 Errored.

Lint results
--->  Verifying Portfile for phonon-backend-vlc
--->  0 errors and 0 warnings found.
--->  Verifying Portfile for VLC
Error: Line 40 repeats inclusion of PortGroup obsolete
--->  1 errors and 0 warnings found.
--->  Verifying Portfile for VLC2
Error: Line 39 repeats inclusion of PortGroup obsolete
Warning: missing recommended checksum type: size
--->  1 errors and 1 warnings found.

The build timed out.

@RJVB
Copy link
Contributor Author

RJVB commented Aug 17, 2020 via email

@kencu
Copy link
Contributor

kencu commented Aug 17, 2020

Hi @RJVB -- this seems to fail all the CI builds. You're the maintainer of this, so it's really your call -- but it's hard to commit it as is with all these test builds failing.

@RJVB
Copy link
Contributor Author

RJVB commented Aug 17, 2020 via email

@kencu kencu merged commit 8d50572 into macports:master Aug 17, 2020
@kencu
Copy link
Contributor

kencu commented Aug 17, 2020

That is the first time I've done a squash-and-merge. I sincerely hope it worked out the way it was supposed to.

@kencu
Copy link
Contributor

kencu commented Aug 17, 2020

Well look at that -- yes it did...

@RJVB
Copy link
Contributor Author

RJVB commented Aug 17, 2020 via email

@kencu
Copy link
Contributor

kencu commented Aug 17, 2020

It had been like that a while, and I didn't want to bug you any further than we obviously already had, so I thought I would see if my skill set might be able to fix this... I was happy to see that I could, and it wasn't too hard to do.

I don't know about the deps -- I'll step back into the background now and leave this with you, as you know 100x more about VLC on MacPorts than I will ever know. Thanks for sticking with us :>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer: open Affects an openmaintainer port maintainer
4 participants