Failure of "port upgrade outdated" after selfupdate

LLLActive at GMX.Net LLLActive at GMX.Net
Mon Jan 21 11:14:02 PST 2013


Hi all,

I am new to MacPorts. I installed MacPorts some time ago to get more 
Linux like behaviour and applications like mc.Today I wanted to install 
a programme, but first made an update.(Pardon the long mail; I wanted to 
give all possible info necessary.)

I get the following:

#  sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.2 installed,
MacPorts base version 2.1.2 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you 
should run
   port upgrade outdated

#  sudo port upgrade outdated
--->  Computing dependencies for libunistring
--->  Fetching archive for libunistring
--->  Attempting to fetch 
libunistring-0.9.3_0+universal.darwin_11.i386-x86_64.tbz2 from 
http://mse.uk.packages.macports.org/sites/packages.macports.org/libunistring
--->  Attempting to fetch 
libunistring-0.9.3_0+universal.darwin_11.i386-x86_64.tbz2 from 
http://lil.fr.packages.macports.org/libunistring
--->  Attempting to fetch 
libunistring-0.9.3_0+universal.darwin_11.i386-x86_64.tbz2 from 
http://packages.macports.org/libunistring
--->  Attempting to fetch 
libunistring-0.9.3_0+universal.darwin_11.i386-x86_64.tbz2 from 
http://jog.id.packages.macports.org/macports/packages/libunistring
--->  Fetching distfiles for libunistring
--->  Attempting to fetch libunistring-0.9.3.tar.gz from 
ftp://ftp.lip6.fr/pub/gnu/libunistring
--->  Verifying checksum(s) for libunistring

.......................... (List of files deleted by me to save space) 
.....................................

--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  Found 12 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
      ffmpeg @1.0.1 +gpl2
--->  Computing dependencies for ffmpeg
--->  Cleaning ffmpeg
--->  Unable to uninstall ffmpeg @1.0.1_1+gpl2, the following ports 
depend on it:
--->      gegl @0.1.0_2+darwin_10
--->      gegl @0.1.0_4+darwin_10
--->      strigi @0.7.5_1
--->      strigi @0.7.5_2
--->      opencv @2.4.2_0
--->      gegl @0.2.0_0+python27
--->      strigi @0.7.5_4
--->      opencv @2.4.2_1
--->      gegl @0.2.0_2+python27
--->      strigi @0.7.7_2
--->      opencv @2.4.3_1
--->      gegl @0.2.0_4+python27
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating ffmpeg @1.0.1_1+gpl2
--->  Unable to deactivate ffmpeg @1.0.1_1+gpl2, the following ports 
depend on it:
--->      strigi @0.7.7_2
--->      opencv @2.4.3_1
--->      gegl @0.2.0_4+python27
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Cleaning ffmpeg
--->  Uninstalling ffmpeg @1.0.1_1+gpl2
--->  Cleaning ffmpeg
--->  Computing dependencies for ffmpeg
--->  Fetching distfiles for ffmpeg
--->  Verifying checksum(s) for ffmpeg
--->  Extracting ffmpeg
--->  Configuring ffmpeg
--->  Building ffmpeg
Error: org.macports.build for port ffmpeg returned: command execution failed
Please see the log file for port ffmpeg for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/main.log
--->  Scanning binaries for linking errors: 100.0%
--->  Found 10 broken file(s), matching files to ports
--->  Found 3 broken port(s), determining rebuild order
--->  Rebuilding in order
      strigi @0.7.7
      gegl @0.2.0 +python27
      opencv @2.4.3
--->  Computing dependencies for strigi
--->  Dependencies to be installed: ffmpeg
--->  Building ffmpeg
Error: org.macports.build for port ffmpeg returned: command execution failed
Error: Failed to install ffmpeg
Please see the log file for port ffmpeg for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/main.log
Error: The following dependencies were not installed: ffmpeg
Error: Unable to upgrade port: 1
Error rebuilding strigi
     while executing
"error "Error rebuilding $portname""
     (procedure "revupgrade_scanandrebuild" line 370)
     invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
     (procedure "macports::revupgrade" line 5)
     invoked from within
"macports::revupgrade $opts"
     (procedure "action_revupgrade" line 2)
     invoked from within
"action_revupgrade $action $portlist $opts"
     (procedure "action_upgrade" line 24)
     invoked from within
"$action_proc $action $portlist [array get global_options]"
     (procedure "process_cmd" line 95)
     invoked from within
"process_cmd $remaining_args"
     invoked from within
"if { [llength $remaining_args] > 0 } {

     # If there are remaining arguments, process those as a command
     set exit_status [process_cmd $remaining..."
     (file "/opt/local/bin/port" line 4784)

Looking at the log file:

Last part of "cat 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/main.log 
 >> ffmpeg_main.log"

........... All went OK up to this point it seems .............
+++++++ start +++++++++++++
:debug:main No need to upgrade! x264 20130105_0 >= x264 20130105_0
:msg:main --->  Computing dependencies for ffmpeg:info:main .:debug:main 
Checking for conflicts against ffmpeg
:debug:main Searching for dependency: ffmpeg-devel
:debug:main Didn't find receipt, going to depspec regex for: ffmpeg-devel
:debug:main Searching for dependency: lame
:debug:main Found Dependency: receipt exists for lame
:debug:main Searching for dependency: libvorbis
:debug:main Found Dependency: receipt exists for libvorbis
:debug:main Searching for dependency: libopus
:debug:main Found Dependency: receipt exists for libopus
:debug:main Searching for dependency: libogg
:debug:main Found Dependency: receipt exists for libogg
:debug:main Searching for dependency: libtheora
:debug:main Found Dependency: receipt exists for libtheora
:debug:main Searching for dependency: libmodplug
:debug:main Found Dependency: receipt exists for libmodplug
:debug:main Searching for dependency: jack
:debug:main Found Dependency: receipt exists for jack
:debug:main Searching for dependency: dirac
:debug:main Found Dependency: receipt exists for dirac
:debug:main Searching for dependency: schroedinger
:debug:main Found Dependency: receipt exists for schroedinger
:debug:main Searching for dependency: openjpeg
:debug:main Found Dependency: receipt exists for openjpeg
:debug:main Searching for dependency: freetype
:debug:main Found Dependency: receipt exists for freetype
:debug:main Searching for dependency: speex
:debug:main Found Dependency: receipt exists for speex
:debug:main Searching for dependency: libvpx
:debug:main Found Dependency: receipt exists for libvpx
:debug:main Found Dependency: path: /opt/local/lib/pkgconfig filename: 
sdl.pc regex: ^sdl.pc$
:debug:main Searching for dependency: libsdl
:debug:main Didn't find receipt, going to depspec regex for: libsdl
:debug:main Found Dependency: path: /opt/local/lib/pkgconfig filename: 
sdl.pc regex: ^sdl.pc$
:debug:main Searching for dependency: bzip2
:debug:main Found Dependency: receipt exists for bzip2
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:debug:main Searching for dependency: XviD
:debug:main Found Dependency: receipt exists for XviD
:debug:main Searching for dependency: x264
:debug:main Found Dependency: receipt exists for x264
:msg:main
:debug:main Executing org.macports.main (ffmpeg)
:debug:main Skipping completed org.macports.archivefetch (ffmpeg)
:debug:main Skipping completed org.macports.fetch (ffmpeg)
:debug:main Skipping completed org.macports.checksum (ffmpeg)
:debug:main Skipping completed org.macports.extract (ffmpeg)
:debug:main Skipping completed org.macports.patch (ffmpeg)
:debug:main Skipping completed org.macports.configure (ffmpeg)
:debug:build build phase started at Mon Jan 21 18:28:20 CET 2013
:notice:build --->  Building ffmpeg
:debug:build Executing org.macports.build (ffmpeg)
:debug:build Environment: CPATH='/opt/local/include' 
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/work/.CC_PRINT_OPTIONS' 
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' 
MACOSX_DEPLOYMENT_TARGET='10.7' V='1'
:debug:build Assembled command: 'cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.0.1" 
&& /opt/local/bin/gmake -j8 -w all'
:debug:build Executing command line:  cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.0.1" 
&& /opt/local/bin/gmake -j8 -w all
:info:build gmake: Entering directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.0.1'
:info:build cd ./libswscale/ && ln -sf libswscale.2.dylib libswscale.dylib
:info:build cd ./libswresample/ && ln -sf libswresample.0.dylib 
libswresample.dylib
:info:build cd ./libavcodec/ && ln -sf libavcodec.54.dylib libavcodec.dylib
:info:build cd ./libpostproc/ && ln -sf libpostproc.52.dylib 
libpostproc.dylib
:info:build awk '/^@(verbatim)?include/ { printf "doc/faq.html: 
doc/%s\n", $2 }' <doc/faq.texi >doc/faq.html.d
:info:build awk '/^@(verbatim)?include/ { printf "doc/fate.html: 
doc/%s\n", $2 }' <doc/fate.texi >doc/fate.html.d
:info:build awk '/^@(verbatim)?include/ { printf "doc/general.html: 
doc/%s\n", $2 }' <doc/general.texi >doc/general.html.d
:info:build awk '/^@(verbatim)?include/ { printf "doc/git-howto.html: 
doc/%s\n", $2 }' <doc/git-howto.texi >doc/git-howto.html.d
:info:build awk '/^@(verbatim)?include/ { printf "doc/platform.html: 
doc/%s\n", $2 }' <doc/platform.texi >doc/platform.html.d
:info:build awk '/^@(verbatim)?include/ { printf "doc/syntax.html: 
doc/%s\n", $2 }' <doc/syntax.texi >doc/syntax.html.d
:info:build awk '/^@(verbatim)?include/ { printf "doc/ffmpeg.pod: 
doc/%s\n", $2 }' <doc/ffmpeg.texi >doc/ffmpeg.pod.d
:info:build awk '/^@(verbatim)?include/ { printf "doc/ffplay.pod: 
doc/%s\n", $2 }' <doc/ffplay.texi >doc/ffplay.pod.d
:info:build texi2html -I doc -monolithic --init-file ./doc/t2h.init 
--output doc/faq.html doc/faq.texi
:info:build perl ./doc/texi2pod.pl -Idoc doc/ffplay.texi doc/ffplay.pod
:info:build perl ./doc/texi2pod.pl -Idoc doc/ffmpeg.texi doc/ffmpeg.pod
:info:build texi2html -I doc -monolithic --init-file ./doc/t2h.init 
--output doc/syntax.html doc/syntax.texi
:info:build texi2html -I doc -monolithic --init-file ./doc/t2h.init 
--output doc/platform.html doc/platform.texi
:info:build texi2html -I doc -monolithic --init-file ./doc/t2h.init 
--output doc/git-howto.html doc/git-howto.texi
:info:build texi2html -I doc -monolithic --init-file ./doc/t2h.init 
--output doc/general.html doc/general.texi
:info:build texi2html -I doc -monolithic --init-file ./doc/t2h.init 
--output doc/fate.html doc/fate.texi
:info:build awk '/^@(verbatim)?include/ { printf "doc/ffprobe.pod: 
doc/%s\n", $2 }' <doc/ffprobe.texi >doc/ffprobe.pod.d
:info:build perl ./doc/texi2pod.pl -Idoc doc/ffprobe.texi doc/ffprobe.pod
:info:build awk '/^@(verbatim)?include/ { printf "doc/ffserver.pod: 
doc/%s\n", $2 }' <doc/ffserver.texi >doc/ffserver.pod.d
:info:build perl ./doc/texi2pod.pl -Idoc doc/ffserver.texi doc/ffserver.pod
:info:build pod2man --section=1 --center=" " --release=" " 
doc/ffmpeg.pod > doc/ffmpeg.1
:info:build pod2man --section=1 --center=" " --release=" " 
doc/ffplay.pod > doc/ffplay.1
:info:build warning: Must specify a title with a title command or @top
:info:build doc/fate.texi:100: @verbatiminclude: Cannot find 
../tests/fate_config.sh.template
:info:build pod2man --section=1 --center=" " --release=" " 
doc/ffprobe.pod > doc/ffprobe.1
:info:build pod2man --section=1 --center=" " --release=" " 
doc/ffserver.pod > doc/ffserver.1
:info:build /usr/bin/clang -I. -I./ -I/opt/local/include 
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O2 
-DHAVE_LRINTF -I/opt/local/include -arch x86_64    -std=c99 
-fomit-frame-pointer -fPIC -I/opt/local/include/freetype2 
-I/opt/local/include -I/opt/local/include/opus 
-I/opt/local/include/schroedinger-1.0 -I/opt/local/include/orc-0.4 
-D_THREAD_SAFE -I/opt/local/include/SDL -g -Wdeclaration-after-statement 
-Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length 
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls 
-Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef 
-Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 
-fno-math-errno -fno-signed-zeros -mllvm -stack-alignment=16 
-Qunused-arguments -D_THREAD_SAFE -I/opt/local/include/SDL -MMD -c -o 
ffplay.o ffplay.c
:info:build /usr/bin/clang -dynamiclib -Wl,-single_module 
-Wl,-install_name,/opt/local/lib/libavformat.54.dylib,-current_version,54.29.104,-compatibility_version,54 
-Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample 
-Llibavutil -Llibpostproc -Llibswscale -Llibswresample -L/opt/local/lib 
-arch x86_64 -Wl,-dynamic,-search_paths_first -o 
libavformat/libavformat.54.dylib libavformat/4xm.o libavformat/a64.o
.......................... (List of files deleted by me to save space 
here) .....................................
libavformat/wtvdec.o libavformat/wtvenc.o libavformat/wv.o 
libavformat/wvenc.o libavformat/xa.o libavformat/xmv.o 
libavformat/xwma.o libavformat/yop.o libavformat/yuv4mpeg.o -lavcodec 
-lavutil -ljack -L/opt/local/lib -lSDL -lxvidcore -lx264 -lvpx -lvpx 
-lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lspeex 
-L/opt/local/lib -lschroedinger-1.0 -L/opt/local/lib -lopus -lopenjpeg 
-lmp3lame -lmodplug -L/opt/local/lib -lfreetype -lm -framework 
CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore 
-lbz2 -lz
:info:build ffplay.c:1431:81: warning: implicit declaration of function 
'SDL_EVENTMASK' is invalid in C99 [-Wimplicit-function-declaration]
:info:build         if (is->videoq.abort_request && 
SDL_PeepEvents(&event, 1, SDL_GETEVENT, SDL_EVENTMASK(FF_ALLOC_EVENT)) 
!= 1) {
:info:build ^
:info:build ffplay.c:1431:110: error: too few arguments to function 
call, expected 5, have 4
:info:build         if (is->videoq.abort_request && 
SDL_PeepEvents(&event, 1, SDL_GETEVENT, SDL_EVENTMASK(FF_ALLOC_EVENT)) 
!= 1) {
:info:build ~~~~~~~~~~~~~~ ^
:info:build cd ./libavformat/ && ln -sf libavformat.54.dylib 
libavformat.dylib
:info:build ffplay.c:2264:58: error: too few arguments to function call, 
expected 3, have 2
:info:build         is->video_tid = SDL_CreateThread(video_thread, is);
:info:build ~~~~~~~~~~~~~~~~                 ^
:info:build ffplay.c:2271:64: error: too few arguments to function call, 
expected 3, have 2
:info:build         is->subtitle_tid = SDL_CreateThread(subtitle_thread, 
is);
:info:build ~~~~~~~~~~~~~~~~                    ^
:info:build ffplay.c:2477:58: error: too few arguments to function call, 
expected 3, have 2
:info:build     is->refresh_tid = SDL_CreateThread(refresh_thread, is);
:info:build ~~~~~~~~~~~~~~~~                   ^
:info:build /usr/bin/clang -dynamiclib -Wl,-single_module 
-Wl,-install_name,/opt/local/lib/libavfilter.3.dylib,-current_version,3.17.100,-compatibility_version,3 
-Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample 
.......................... (List of files deleted by me to save space 
here) .....................................
:info:build ffplay.c:2665:56: error: too few arguments to function call, 
expected 3, have 2
:info:build     is->read_tid     = SDL_CreateThread(read_thread, is);
:info:build ~~~~~~~~~~~~~~~~                ^
:info:build 1 warning and 5 errors generated.
:info:build gmake: *** [ffplay.o] Error 1
:info:build gmake: *** Waiting for unfinished jobs....
:info:build gmake: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.0.1'
:info:build Command failed:  cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.0.1" 
&& /opt/local/bin/gmake -j8 -w all
:info:build Exit code: 2
:error:build org.macports.build for port ffmpeg returned: command 
execution failed
:debug:build Error code: CHILDSTATUS 50573 2
:debug:build Backtrace: command execution failed
     while executing
"system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
"eval system $notty $nice \$fullcmdstring"
     invoked from within
"command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for ffmpeg: 
org.macports.activate org.macports.build org.macports.destroot 
org.macports.install
:notice:build Please see the log file for port ffmpeg for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/main.log
+++++++++++ end ++++++++++++






If I try to do an new installation I get:

#  sudo port install digikam
++++++++++start++++++++++++++++
--->  Computing dependencies for ffmpeg
--->  Building ffmpeg
Error: org.macports.build for port ffmpeg returned: command execution failed
Please see the log file for port ffmpeg for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade kdelibs4 failed
++++++++++ end +++++++++++++++



I am no programmer. Could I repair something, or could I force a new 
upgrade.

Any suggestions welcome.

- TIA - :-)
Dreiel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130121/7533c3e8/attachment.html>


More information about the macports-users mailing list