mplayer-devel upgrade breaks

john maclean jayeola at gmail.com
Thu Mar 25 03:55:33 PDT 2010


I ran `sudo port outdated  &&  sudo port upgrade outdated && port
clean --all mplayer-devel` and it worked for me. Installed yesterday
morning. Also have debugging output here
http://ijayeola.blogspot.com/2010/03/fixing-broken-mplayer-port.html


On 25 March 2010 01:51, Gill Bates <smogus at shaw.ca> wrote:
> After a macport selfupdate and attempting to upgrade outdate ports,
> mplayer-devel fails to compile apparently due to a problem with x264.c in
> libavcodec. I've searched trac but didn't find anything related. Note that
> the prefix used (/opt/ports) is different from the default. Platform is
> 10.6.2 with xcode 3.2.1.
> Any suggestions?
> Thanks,
>
> $ sudo port upgrade -u mplayer-devel
> Password:
> --->  Computing dependencies for mplayer-devel
> --->  Building mplayer-devel
> Error: Target org.macports.build returned: shell command " cd
> "/opt/ports/var/macports/build/_opt_ports_var_macports_sources_rsync.macports.org_release_ports_multimedia_mplayer-devel/work/trunk"
> && /usr/bin/make -j2 all " returned error 2
> Command output: /usr/bin/make -C libavcodec
> /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign
> -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith
> -Wredundant-decls -O4 -march=core2 -mtune=core2 -pipe -ffast-math
> -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16
> -shared-libgcc -I. -I/opt/ports/include/lzo -I/opt/ports/include
>  -I/usr/X11/include -I/opt/ports/include/freetype2 -I/opt/ports/include   -c
> -o libmpcodecs/ve_x264.o libmpcodecs/ve_x264.c
> libmpcodecs/ve_x264.c: In function 'encode_nals':
> libmpcodecs/ve_x264.c:67: warning: implicit declaration of function
> 'x264_nal_encode'
> libmpcodecs/ve_x264.c: In function 'config':
> libmpcodecs/ve_x264.c:210: error: 'x264_param_t' has no member named
> 'b_bframe_pyramid'
> libmpcodecs/ve_x264.c: In function 'control':
> libmpcodecs/ve_x264.c:220: warning: unused variable 'mod'
> make: *** [libmpcodecs/ve_x264.o] Error 1
> make: *** Waiting for unfinished jobs....
> /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef
> -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
> -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
> -march=core2 -mtune=core2 -pipe -ffast-math -fomit-frame-pointer
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
> -I/opt/ports/include/lzo -I/opt/ports/include  -I/usr/X11/include
> -I/opt/ports/include/freetype2 -I/opt/ports/include   -c -o libx264.o
> libx264.c
> /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef
> -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
> -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
> -march=core2 -mtune=core2 -pipe -ffast-math -fomit-frame-pointer
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
> -I/opt/ports/include/lzo -I/opt/ports/include  -I/usr/X11/include
> -I/opt/ports/include/freetype2 -I/opt/ports/include   -c -o cavs_parser.o
> cavs_parser.c
> libx264.c: In function 'encode_nals':
> libx264.c:75: warning: implicit declaration of function 'x264_nal_encode'
> libx264.c: In function 'X264_init':
> libx264.c:190: error: 'x264_param_t' has no member named 'b_bframe_pyramid'
> make[1]: *** [libx264.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [libavcodec/libavcodec.a] Error 2
> Error: Unable to upgrade port: 1
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
>



-- 
John Maclean
07739 171 531
MSc (DIC)

Enterprise Linux Systems Engineer


More information about the macports-users mailing list