#64890 closed defect (fixed)
ffmpeg: samba4 dependency
Reported by: | jpmelko | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | ||
Port: | ffmpeg samba4 |
Description
On catalina
Bacchus:root root# port echo requested AtomicParsley @0.9.0_1 exiftool @12.400.0_0+perl5_34 ffmpeg @4.4.1_1+darwinssl+gpl2+gpl3+jack+libdc1394+librtmp+nonfree+x11 inetutils @2.2_0+client mediainfo @21.09_0 MPlayer @1.3.0_8+a52+aa+caca+dirac+dts+dv+esd+faac+fribidi+glx+live+man_all_lang+mencoder_extras+mng+osd+sdl+smb+speex+twolame+x11+x264+xvid rtmpdump @2.4-20190330_2 unrar @6.1.6_0 youtube-dl @2021.12.17_1+ffmpeg+python310 Bacchus:root root# port upgrade ffmpeg ---> Computing dependencies for samba4 Error: Can't install samba4 because conflicting ports are active: samba3 Error: Problem while installing samba4 Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Change History (10)
comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)
Owner: | set to mascguy |
---|---|
Port: | samba4 added |
Status: | new → assigned |
Summary: | ffmpeg and samba4 dependency → ffmpeg: samba4 dependency |
Version: | → 2.7.2 |
comment:2 follow-up: 3 Changed 3 years ago by jpmelko
titi@Bacchus ~ % port dependents samba3 MPlayer depends on samba3 ffmpeg depends on samba3
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
Replying to jpmelko:
titi@Bacchus ~ % port dependents samba3 MPlayer depends on samba3 ffmpeg depends on samba3
Thanks for confirming. I'll add a variant to allow the use of samba3
, for folks who need/want it. (Thankfully ffmpeg
works with both.)
comment:4 Changed 3 years ago by Christopher Nielsen <mascguy@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)
This change should be available after two hours have passed.
At that point, resync your ports via sudo port selfupdate
. And then install via:
sudo port -N install ffmpeg +darwinssl +gpl3 +jack +libdc1394 +librtmp +nonfree +x11 +samba3
.
And let me know if all is well after the update!
comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)
comment:8 follow-up: 9 Changed 3 years ago by mouse07410 (Mouse)
Well, I think I resolved this issue in a simpler/better way:
$ sudo port -f deactivate samba3 $ sudo port upgrade ffmpeg $ sudo port uninstall inactive
After this, samba3
is replaced with samba4
, which is probably for the better. ;-)
Note that neither ffmpeg
nor Mplayer
ports list samba
(either 3 or 4) as a dependency - either build or library dependency:
$ port info Mplayer MPlayer @1.3.0_8 (multimedia) Variants: a52, aa, caca, debug, dirac, dts, dv, esd, faac, fribidi, glx, lirc, live, man_all_lang, mencoder_extras, mng, noappleremote, nodvd, osd, sdl, smb, speex, twolame, x11, x264, xvid Description: The MPlayer movie player built from SVN. It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV and even H.264 movies. Homepage: http://www.mplayerhq.hu/ Extract Dependencies: xz Build Dependencies: pkgconfig, yasm Library Dependencies: libjpeg-turbo, openjpeg15, lame, libiconv, libmad, gnutls, libogg, libopus, libpng, libtheora, libvorbis, lzo2, ncurses, zlib, bzip2, liboil, libass, rtmpdump Platforms: darwin License: GPL-2+ Maintainers: Email: jeremyhu@macports.org, GitHub: jeremyhu Policy: openmaintainer
comment:9 Changed 3 years ago by mascguy (Christopher Nielsen)
Replying to mouse07410:
Note that neither
ffmpeg
norMplayer
ports listsamba
(either 3 or 4) as a dependency - either build or library dependency:
Bear in mind that Samba comes into play when ffmpeg
is installed with variant +gpl3
. As for mplayer
, that occurs when variant +smb
is selected.
So, you'll need to enable the appropriate variant when checking a port, to see the dependency.
In any case, relative to a better fix, we might be able to switch to a path-style dep for Samba everywhere. But I'll first need to test the other dependents, to see whether Samba 4 works elsewhere too.
In the interim, I'll update ffmpeg
to do so, and eliminate the samba3
variant.
This is not a bug per se, as
samba3
andsamba4
cannot currently be installed at the same time. (Though I plan to fix that, eventually.)Can you check whether any installed ports require the former, via
port dependents samba3
?