Opened 6 years ago

Closed 6 years ago

#58066 closed defect (fixed)

mplayer-devel: Unknown parameter: --disable-libdirac-lavc

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), tehcog (tehcog), ballapete (Peter "Pete" Dyballa)
Port: mplayer-devel

Description

mplayer-devel fails to build:

Unknown parameter: --disable-libdirac-lavc

Change History (8)

comment:1 Changed 6 years ago by tehcog (tehcog)

Cc: tehcog added

comment:2 Changed 6 years ago by tehcog (tehcog)

mplayer-devel fails to configure on Mavericks:

:notice:configure --->  Configuring mplayer-devel
:debug:configure Preferred compilers: clang macports-clang-5.0 macports-clang-4.0 macports-clang-3.9 macports-clang-3.7 macports-clang-3.4 macports-llvm-gcc-4.2 apple-gcc-4.2
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (mplayer-devel)
:debug:configure Environment: 
:debug:configure CC='/usr/bin/clang'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/work/.CC_PRINT_OPTIONS'
:debug:configure CPATH='/opt/local/include'
:debug:configure CXX='/usr/bin/clang++'
:debug:configure CXXFLAGS='-stdlib=libc++'
:debug:configure F77FLAGS='-m64'
:debug:configure F90FLAGS='-Os -m64'
:debug:configure FCFLAGS='-Os -m64'
:debug:configure FFLAGS='-Os'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-arch x86_64'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:configure OBJC='/usr/bin/clang'
:debug:configure OBJCFLAGS='-Os -arch x86_64'
:debug:configure OBJCXX='/usr/bin/clang++'
:debug:configure OBJCXXFLAGS='-stdlib=libc++ -arch x86_64'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/work/trunk" && ./configure --prefix=/opt/local --extra-cflags="-I/opt/local/include/lzo -I/opt/local/include" --extra-ldflags="-L/opt/local/lib -L/opt/local/lib/samba3" --datadir=/opt/local/share/mplayer-devel --confdir=/opt/local/etc/mplayer-devel --mandir=/opt/local/share/man --enable-png --enable-jpeg --enable-liblzo --enable-theora --enable-libvorbis --enable-libopus --enable-mad --disable-smb --disable-live --disable-cdparanoia --disable-freetype --disable-fontconfig --disable-fribidi --disable-enca --disable-libcdio --disable-xvid --disable-x264 --disable-speex --disable-faac --disable-libdv --disable-toolame --disable-twolame --disable-libmpeg2 --disable-xmms --disable-musepack --disable-sdl --disable-aa --disable-caca --disable-x11 --disable-xss --disable-gl --disable-arts --disable-esd --disable-lirc --disable-mng --disable-libdirac-lavc --disable-libschroedinger-lavc --disable-libvpx-lavc --disable-liba52 --disable-gif --disable-qtx --target=x86_64-Darwin 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/work/trunk" && ./configure --prefix=/opt/local --extra-cflags="-I/opt/local/include/lzo -I/opt/local/include" --extra-ldflags="-L/opt/local/lib -L/opt/local/lib/samba3" --datadir=/opt/local/share/mplayer-devel --confdir=/opt/local/etc/mplayer-devel --mandir=/opt/local/share/man --enable-png --enable-jpeg --enable-liblzo --enable-theora --enable-libvorbis --enable-libopus --enable-mad --disable-smb --disable-live --disable-cdparanoia --disable-freetype --disable-fontconfig --disable-fribidi --disable-enca --disable-libcdio --disable-xvid --disable-x264 --disable-speex --disable-faac --disable-libdv --disable-toolame --disable-twolame --disable-libmpeg2 --disable-xmms --disable-musepack --disable-sdl --disable-aa --disable-caca --disable-x11 --disable-xss --disable-gl --disable-arts --disable-esd --disable-lirc --disable-mng --disable-libdirac-lavc --disable-libschroedinger-lavc --disable-libvpx-lavc --disable-liba52 --disable-gif --disable-qtx --target=x86_64-Darwin 
:info:configure Unknown parameter: --disable-libdirac-lavc
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/work/trunk" && ./configure --prefix=/opt/local --extra-cflags="-I/opt/local/include/lzo -I/opt/local/include" --extra-ldflags="-L/opt/local/lib -L/opt/local/lib/samba3" --datadir=/opt/local/share/mplayer-devel --confdir=/opt/local/etc/mplayer-devel --mandir=/opt/local/share/man --enable-png --enable-jpeg --enable-liblzo --enable-theora --enable-libvorbis --enable-libopus --enable-mad --disable-smb --disable-live --disable-cdparanoia --disable-freetype --disable-fontconfig --disable-fribidi --disable-enca --disable-libcdio --disable-xvid --disable-x264 --disable-speex --disable-faac --disable-libdv --disable-toolame --disable-twolame --disable-libmpeg2 --disable-xmms --disable-musepack --disable-sdl --disable-aa --disable-caca --disable-x11 --disable-xss --disable-gl --disable-arts --disable-esd --disable-lirc --disable-mng --disable-libdirac-lavc --disable-libschroedinger-lavc --disable-libvpx-lavc --disable-liba52 --disable-gif --disable-qtx --target=x86_64-Darwin 
:info:configure Exit code: 1
:error:configure Failed to configure mplayer-devel: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/main.log for details.

comment:3 in reply to:  2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to tehcog:

mplayer-devel fails to configure on Mavericks:

...right, that's why I filed this ticket :)

comment:4 Changed 6 years ago by ballapete (Peter "Pete" Dyballa)

--disable-libschroedinger-lavc has vanished as well. configure knows these options:

{{ Installation directories:

--prefix=DIR prefix directory for installation usr/local --bindir=DIR directory for installing binaries [PREFIX/bin] --datadir=DIR directory for installing machine independent

data files (skins, etc) [PREFIX/share/mplayer]

--mandir=DIR directory for installing man pages [PREFIX/share/man] --confdir=DIR directory for installing configuration files

[PREFIX/etc/mplayer]

--libdir=DIR directory for object code libraries [PREFIX/lib] --codecsdir=DIR directory for binary codecs [LIBDIR/codecs]

Optional features:

--disable-mencoder disable MEncoder (A/V encoder) compilation [enable] --disable-mplayer disable MPlayer compilation [enable] --enable-gui enable GMPlayer compilation (GTK+ GUI) [disable] --enable-termcap use termcap database for key codes [autodetect] --enable-termios use termios database for key codes [autodetect] --disable-iconv disable iconv for encoding conversion [autodetect] --disable-langinfo do not use langinfo [autodetect] --enable-lirc enable LIRC (remote control) support [autodetect] --enable-lircc enable LIRCCD (LIRC client daemon) input [autodetect] --enable-joystick enable joystick support [disable] --enable-apple-remote enable Apple Remote input (Mac OS X only) [autodetect] --enable-apple-ir enable Apple IR Remote input (Linux only) [autodetect] --disable-vm disable X video mode extensions [autodetect] --disable-xf86keysym disable support for multimedia keys [autodetect] --enable-radio enable radio interface [disable] --enable-radio-capture enable radio capture (through PCI/line-in) [disable] --disable-radio-v4l2 disable Video4Linux2 radio interface [autodetect] --disable-radio-bsdbt848 disable BSD BT848 radio interface [autodetect] --disable-tv disable TV interface (TV/DVB grabbers) [enable] --disable-tv-v4l1 disable Video4Linux TV interface [autodetect] --disable-tv-v4l2 disable Video4Linux2 TV interface [autodetect] --disable-tv-bsdbt848 disable BSD BT848 interface [autodetect] --disable-pvr disable Video4Linux2 MPEG PVR [autodetect] --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] --disable-networking disable networking [enable] --enable-winsock2_h enable winsock2_h [autodetect] --enable-smb enable Samba (SMB) input [autodetect] --enable-live enable LIVE555 Streaming Media [autodetect] --enable-nemesi enable Nemesi Streaming Media [autodetect] --enable-librtmp enable RTMPDump Streaming Media [autodetect] --disable-vcd disable VCD support [autodetect] --disable-bluray disable Blu-ray support [autodetect] --disable-dvdnav disable libdvdnav [autodetect] --disable-dvdread disable libdvdread [autodetect] --disable-cdparanoia disable cdparanoia [autodetect] --disable-cddb disable cddb [autodetect] --disable-bitmap-font disable bitmap font support [enable] --disable-freetype disable FreeType 2 font rendering [autodetect] --disable-fontconfig disable fontconfig font lookup [autodetect] --disable-unrarexec disable using of UnRAR executable [enabled] --enable-menu enable OSD menu (not DVD menu) [disabled] --disable-sortsub disable subtitle sorting [enabled] --enable-fribidi enable the FriBiDi libs [autodetect] --disable-enca disable ENCA charset oracle library [autodetect] --disable-maemo disable maemo specific features [autodetect] --enable-macosx-finder enable Mac OS X Finder invocation parameter

parsing [disabled]

--enable-macosx-bundle enable Mac OS X bundle file locations [autodetect] --disable-inet6 disable IPv6 support [autodetect] --disable-sctp disable SCTP support [autodetect] --disable-gethostbyname2 gethostbyname2 part of the C library [autodetect] --disable-ftp disable FTP support [enabled] --disable-vstream disable TiVo vstream client support [autodetect] --disable-pthreads disable Posix threads support [autodetect] --disable-w32threads disable Win32 threads support [autodetect] --disable-os2threads disable OS/2 threads support [autodetect] --enable-ass-internal enable internal SSA/ASS subtitle support [autodetect] --disable-ass disable SSA/ASS subtitle support [autodetect] --enable-rpath enable runtime linker path for extra libs [disabled] --disable-gnutls disable GnuTLS [autodetect] --enable-openssl-nondistributable enable OpenSSL [disable]

due to conflicting MPlayer and OpenSSL licenses, the resulting binary may be non-distributable.

Codecs:

--enable-gif enable GIF support [autodetect] --enable-png enable PNG input/output support [autodetect] --enable-mng enable MNG input/output support [autodetect] --enable-jpeg enable JPEG input/output support [autodetect] --enable-libcdio enable libcdio support [autodetect] --enable-liblzo enable liblzo support [autodetect] --disable-win32dll disable Win32 DLL support [autodetect] --disable-qtx disable QuickTime codecs support [enabled] --disable-xanim disable XAnim codecs support [enabled] --disable-real disable RealPlayer codecs support [enabled] --disable-xvid disable Xvid [autodetect] --disable-xvid-lavc disable Xvid in libavcodec [autodetect] --disable-x264 disable x264 [autodetect] --disable-x264-lavc disable x264 in libavcodec [autodetect] --disable-libvpx-lavc disable libvpx in libavcodec [autodetect] --disable-libnut disable libnut [autodetect] --disable-ffmpeg_a disable static FFmpeg [autodetect] --disable-ffmpeg_so disable shared FFmpeg [autodetect] --disable-postproc disable libpostproc [autodetect] --enable-vf-lavfi enable libavfilter wrapper [disabled] --disable-libavcodec_mpegaudio_hp disable high precision audio decoding

in libavcodec [enabled]

--enable-tremor enable integer libvorbis [autodetect] --disable-libvorbis disable libvorbis support [autodetect] --disable-speex disable Speex support [autodetect] --disable-libgsm disable libgsm support [autodetect] --enable-theora enable OggTheora libraries [autodetect] --enable-faad enable FAAD2 (AAC) [autodetect] --disable-faac disable support for FAAC (AAC encoder) [autodetect] --disable-faac-lavc disable support for FAAC in libavcodec [autodetect] --disable-ladspa disable LADSPA plugin support [autodetect] --disable-libbs2b disable libbs2b audio filter support [autodetect] --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect] --disable-libilbc disable libilbc decoding support [autodetect] --disable-libopus disable libopus decoding support [autodetect] --disable-mpg123 disable libmpg123 MP3 decoding support [autodetect] --disable-mad disable libmad (MPEG audio) support [autodetect] --disable-mp3lame disable LAME MP3 encoding support [autodetect] --disable-mp3lame-lavc disable LAME in libavcodec [autodetect] --disable-toolame disable Toolame (MPEG layer 2) encoding [autodetect] --disable-twolame disable Twolame (MPEG layer 2) encoding [autodetect] --enable-xmms enable XMMS input plugin support [disabled] --enable-libdca enable libdca support [autodetect] --disable-liba52 disable liba52 [autodetect] --disable-libmpeg2 disable libmpeg2 [autodetect] --enable-libmpeg2-internal enable builtin libmpeg2 [disabled] --enable-musepack enable libmpcdec support (deprecated in favour of libavcodec) [disabled] --disable-libopencore_amrnb disable libopencore_amr narrowband [autodetect] --disable-libopencore_amrwb disable libopencore_amr wideband [autodetect] --disable-libopenjpeg disable OpenJPEG (JPEG 2000) input/output support [autodetect] --disable-crystalhd disable CrystalHD support [autodetect] --disable-decoder=DECODER disable specified FFmpeg decoder --enable-decoder=DECODER enable specified FFmpeg decoder --disable-encoder=ENCODER disable specified FFmpeg encoder --enable-encoder=ENCODER enable specified FFmpeg encoder --disable-parser=PARSER disable specified FFmpeg parser --enable-parser=PARSER enable specified FFmpeg parser --disable-protocol=PROTO disable specified FFmpeg protocol --enable-protocol=PROTO enable specified FFmpeg protocol --disable-demuxer=DEMUXER disable specified FFmpeg demuxer --enable-demuxer=DEMUXER enable specified FFmpeg demuxer --disable-muxer=MUXER disable specified FFmpeg muxer --enable-muxer=MUXER enable specified FFmpeg muxer

Video output:

--disable-vidix disable VIDIX [for x86 *nix] --with-vidix-drivers[=*] list of VIDIX drivers to be compiled in

Available: cyberblade, ivtv, mach64, mga, mga_crtc2, nvidia, pm2, pm3, radeon, rage128, s3, sis, unichrome

--disable-vidix-pcidb disable VIDIX PCI device name database --enable-dhahelper enable VIDIX dhahelper support --enable-svgalib_helper enable VIDIX svgalib_helper support --enable-gl enable OpenGL video output [autodetect] --disable-matrixview disable OpenGL MatrixView video output [autodetect] --enable-dga2 enable DGA 2 support [autodetect] --enable-dga1 enable DGA 1 support [autodetect] --enable-vesa enable VESA video output [autodetect] --enable-svga enable SVGAlib video output [autodetect] --enable-sdl enable SDL video output [autodetect] --enable-kva enable KVA video output [autodetect] --enable-aa enable AAlib video output [autodetect] --enable-caca enable CACA video output [autodetect] --enable-ggi enable GGI video output [autodetect] --enable-ggiwmh enable GGI libggiwmh extension [autodetect] --enable-direct3d enable Direct3D video output [autodetect] --enable-directx enable DirectX video output [autodetect] --enable-dxr2 enable DXR2 video output [autodetect] --enable-dxr3 enable DXR3/H+ video output [autodetect] --enable-ivtv enable IVTV TV-Out video output [autodetect] --enable-v4l2 enable V4L2 Decoder audio/video output [autodetect] --enable-dvb enable DVB video output [autodetect] --enable-mga enable mga_vid video output [autodetect] --enable-xmga enable mga_vid X11 video output [autodetect] --enable-xv enable Xv video output [autodetect] --enable-xvmc enable XvMC acceleration [disable] --enable-vda enable VDA acceleration [autodetect] --enable-vdpau enable VDPAU acceleration [autodetect] --enable-vm enable XF86VidMode support [autodetect] --enable-xinerama enable Xinerama support [autodetect] --enable-x11 enable X11 video output [autodetect] --enable-xshape enable XShape support [autodetect] --disable-xss disable screensaver support via xss [autodetect] --enable-fbdev enable FBDev video output [autodetect] --enable-mlib enable mediaLib video output (Solaris) [disable] --enable-3dfx enable obsolete /dev/3dfx video output [disable] --enable-tdfxfb enable tdfxfb video output [disable] --enable-s3fb enable s3fb (S3 ViRGE) video output [disable] --enable-wii enable Nintendo Wii/GameCube video output [disable] --enable-directfb enable DirectFB video output [autodetect] --enable-zr enable ZR360[56]7/ZR36060 video output [autodetect] --enable-bl enable Blinkenlights video output [disable] --enable-tdfxvid enable tdfx_vid video output [disable] --enable-xvr100 enable SUN XVR-100 video output [autodetect] --disable-tga disable Targa video output [enable] --disable-pnm disable PNM video output [enable] --disable-md5sum disable md5sum video output [enable] --disable-yuv4mpeg disable yuv4mpeg video output [enable] --disable-corevideo disable CoreVideo video output [autodetect] --disable-quartz disable Quartz video output [autodetect]

Audio output:

--disable-alsa disable ALSA audio output [autodetect] --disable-ossaudio disable OSS audio output [autodetect] --disable-arts disable aRts audio output [autodetect] --disable-esd disable esd audio output [autodetect] --disable-pulse disable Pulseaudio audio output [autodetect] --disable-jack disable JACK audio output [autodetect] --disable-openal disable OpenAL audio output [autodetect] --disable-nas disable NAS audio output [autodetect] --disable-sgiaudio disable SGI audio output [autodetect] --disable-sndio disable sndio audio output [autodetect] --disable-sunaudio disable Sun audio output [autodetect] --disable-kai disable KAI audio output [autodetect] --disable-dart disable DART audio output [autodetect] --disable-win32waveout disable Windows waveout audio output [autodetect] --disable-coreaudio disable CoreAudio audio output [autodetect] --disable-select disable using select() on the audio device [enable]

Language options:

--charset=charset convert the console messages to this character set --language-doc=lang language to use for the documentation [en] --language-man=lang language to use for the man pages [en] --language-msg=lang language to use for the messages and the GUI [en] --language=lang default language to use [en]

Specific options override --language. You can pass a list of languages separated by whitespace or commas instead of a single language. Nonexisting translations will be dropped from each list. All documentation and man page translations available in the list will be installed, for the messages the first available translation will be used. The value "all" will activate all translations. The LINGUAS environment variable is honored. In all cases the fallback is English. Available values are: all ?? ??_??

Miscellaneous options:

--enable-runtime-cpudetection enable runtime CPU detection [disable] --enable-cross-compile enable cross-compilation [autodetect] --cc=COMPILER C compiler to build MPlayer [gcc] --host-cc=COMPILER C compiler for tools needed while building [gcc] --as=ASSEMBLER assembler to build MPlayer [as] --nm=NM nm tool to build MPlayer [nm] --yasm=YASM Yasm assembler to build MPlayer [yasm] --ar=AR librarian to build MPlayer [ar] --ranlib=RANLIB ranlib to build MPlayer [ranlib] --windres=WINDRES windres to build MPlayer [windres] --target=PLATFORM target platform (i386-linux, arm-linux, etc) --enable-static build a statically linked binary --with-install=PATH path to a custom install program

Advanced options:

--enable-mmx enable MMX [autodetect] --enable-mmxext enable MMX2 (Pentium III, Athlon) [autodetect] --enable-3dnow enable 3DNow! [autodetect] --enable-3dnowext enable extended 3DNow! [autodetect] --enable-sse enable SSE [autodetect] --enable-sse2 enable SSE2 [autodetect] --enable-sse3 enable SSE3 [autodetect] --enable-ssse3 enable SSSE3 [autodetect] --enable-sse4 enable SSE4 [autodetect] --enable-sse42 enable SSE4.2 [autodetect] --enable-avx enable AVX [autodetect] --enable-avx2 enable AVX2 [autodetect] --enable-xop enable XOP [autodetect] --enable-fma3 enable FMA3 [autodetect] --enable-fma4 enable FMA4 [autodetect] --enable-shm enable shm [autodetect] --enable-altivec enable AltiVec (PowerPC) [autodetect] --enable-armv5te enable DSP extensions (ARM) [autodetect] --enable-armv6 enable ARMv6 (ARM) [autodetect] --enable-armv6t2 enable ARMv6t2 (ARM) [autodetect] --enable-armvfp enable ARM VFP (ARM) [autodetect] --enable-vfpv3 enable ARM VFPV3 (ARM) [autodetect] --enable-neon enable NEON (ARM) [autodetect] --enable-thumb enable THUMB (ARM) [autodetect] --enable-iwmmxt enable iWMMXt (ARM) [autodetect] --disable-fastmemcpy disable 3DNow!/SSE/MMX optimized memcpy [enable] --enable-hardcoded-tables put tables in binary instead of calculating them at startup [disable] --enable-big-endian force byte order to big-endian [autodetect] --enable-debug[=1-3] compile-in debugging information [disable] --enable-profile compile-in profiling information [disable] --disable-sighandler disable sighandler for crashes [enable] --enable-relocatable enable compiling as relocatable/PIE executable [auto] --enable-crash-debug enable automatic gdb attach on crash [disable] --enable-dynamic-plugins enable dynamic A/V plugins [disable]

Use these options if autodetection fails:

--extra-cflags=FLAGS extra CFLAGS --extra-ldflags=FLAGS extra LDFLAGS --extra-libs=FLAGS extra linker flags --extra-libs-mplayer=FLAGS extra linker flags for MPlayer --extra-libs-mencoder=FLAGS extra linker flags for MEncoder --with-xvmclib=NAME adapter-specific library name (e.g. XvMCNVIDIA)

--with-freetype-config=PATH path to freetype-config --with-sdl-config=PATH path to sdl*-config --with-dvdnav-config=PATH path to dvdnav-config --with-dvdread-config=PATH path to dvdread-config

This configure script is NOT autoconf-based, even though its output is similar. It will try to autodetect all configuration options. If you --enable an option it will be forcefully turned on, skipping autodetection. This can break compilation, so you need to know what you are doing. }}

comment:5 Changed 6 years ago by ballapete (Peter "Pete" Dyballa)

Cc: ballapete added

comment:6 Changed 6 years ago by kencu (Ken)

Looks like the +dirac codecs were rolled into ffmpeg, and pulled out of mplayer.

Strangley, this port will likely build if you add in the +dirac variant.

I think it will be OK if I push through a fix that removes the dirac variant.

comment:7 Changed 6 years ago by kencu (Ken)

This PR works for me <https://github.com/macports/macports-ports/pull/3665>.

I'll commit it if the CI system likes it.

comment:8 Changed 6 years ago by ken-cunningham-webuse

Resolution: fixed
Status: assignedclosed

In 8fb9ca3d77de004d4149592a07c3aaddd866f476/macports-ports (master):

mplayer-devel: remove dirac variant

now rolled into ffmpeg

Now requires C11 stdatomic.h
so change blacklisting appropriately

closes: #58066

Note: See TracTickets for help on using tickets.