Hi,
on my Panther machine, I had a little problem doing an update-all from unstable because I have pyobjc-py24 and pyobjc-py24-doc installed. The problem seems to be that pyobjc-py24 tries to make sure that the old version is removed before installing the new one, but that test mis-interprets the still-installed pyobjc-py24-doc package as pyobjc-py24 and then complains with an error message:

matches="`/sw/bin/fink list -i pyobjc-py24 | grep "[[:space:]]pyobjc-py24" | wc -l`"
/sw/bin/fink list -i pyobjc-py24 | grep "[[:space:]]pyobjc-py24" | wc -l
  if test "$matches" -gt 0; then
    echo "*** Cannot build $packagename when it is currently" 2>&1
    echo "*** installed.  See the file" 2>&1
    echo "***   $cwd/Install.txt" 2>&1
    echo "*** for more information.   Please run" 2>&1
    echo "***   /sw/bin/fink remove $packagename" 2>&1
    echo "*** and" 2>&1
    echo "***   /sw/bin/fink install $packagename" 2>&1
    echo "*** to build this package." 2>&1
    exit 1
  fi
*** Cannot build pyobjc-py24 when it is currently
*** installed.  See the file
***   /sw/src/fink.build/pyobjc-py24-1.3.6-1/pyobjc-1.3.6/Install.txt
*** for more information.   Please run
***   /sw/bin/fink remove pyobjc-py24
*** and
***   /sw/bin/fink install pyobjc-py24
*** to build this package.
### execution of /var/tmp/tmp.1.D9iR2m failed, exit code 1
Removing build lock...
dpkg -r fink-buildlock-pyobjc-py24-1.3.6-1
(Reading database ... 126844 files and directories currently installed.)
Removing fink-buildlock-pyobjc-py24-1.3.6-1 ...
Failed: phase compiling: pyobjc-py24-1.3.6-1 failed

When I removed the documentation package, this no longer happened. So the 'matches' variable should be changed such that it doesn't count the doc package, maybe by piping the "fink list" output through grep -v 'doc' first.

Jens



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to