Thank you very much for your help, and apologies for the too-general 
subject line of my e-mail.  Your solution worked perfectly.

> (Changing the subject to something more specific so that other people
> having this problem can find the thread more easily.  "update-all" isn't
> really the relevant problem here, because a specific package is to blame.)
>
>
> On 6/18/14, 4:34 AM, Lowell Tacconi-Garman wrote:
>> I've tried a number of times the following combination:
>>
>> fink selfupdate
>> fink update-all
>>
>> but each time it ends as shown in the log below.  Could someone please
>> diagnose what is wrong, and tell me how to fix it?
>>
>> Thanks in advance,
>> Lowell Tacconi-Garman
>>
>> [vpn-44-230:~] ltacconi% fink update-all
>> Information about 10647 packages read in 4 seconds.
>> The following 14 packages will be installed or updated:
>>     graphviz graphviz-shlibs imagemagick2-shlibs imagemagick5-shlibs
>> libavcodec52-shlibs libavformat52-shlibs libavutil50-shlibs
>> libdjvulibre21-dev
>>     libdjvulibre21-shlibs libgegl0.1.0-dev libgegl0.1.0-shlibs
>> libopenraw1-dev libopenraw1-shlibs libxml2-py27
>> The following 10 additional packages will be installed:
>>     boost1.55-nopython boost1.55-nopython-shlibs hwloc hwloc-dev
>> hwloc-shlibs libpng14 librsvg2-bin llvm33 openmpi openmpi-shlibs
>> The following package might be temporarily removed:
>>     tcltk-dev
>> Do you want to continue? [Y/n] Y
>> Temporarily removing BuildConflicts:
>>     tcltk-dev
>> Reading buildlock packages...
>> /sw/bin/dpkg-lockwait --remove tcltk-dev
>> (Reading database ... 106680 files and directories currently installed.)
>> Removing tcltk-dev ...
>> Setting runtime build-lock...
>> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-graphviz-2.26.3-8
>> /sw/src/fink.build
>> dpkg-deb: building package `fink-buildlock-graphviz-2.26.3-8' in
>> `/sw/src/fink.build/fink-buildlock-graphviz-2.26.3-8_2014.06.18-13.26.56_darwin-x86_64.deb'.
>> Installing build-lock package...
>> /sw/bin/dpkg-lockwait -i
>> /sw/src/fink.build/fink-buildlock-graphviz-2.26.3-8_2014.06.18-13.26.56_darwin-x86_64.deb
>> Selecting previously deselected package fink-buildlock-graphviz-2.26.3-8.
>> (Reading database ... 105538 files and directories currently installed.)
>> Unpacking fink-buildlock-graphviz-2.26.3-8 (from
>> .../fink-buildlock-graphviz-2.26.3-8_2014.06.18-13.26.56_darwin-x86_64.deb)
>> ...
>> Setting up fink-buildlock-graphviz-2.26.3-8 (2014.06.18-13.26.56) ...
>>
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.MdcUh
>> env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions
>> -xf /sw/src/graphviz-2.26.3.tar.gz
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.Ftwdb
>> [ -r /sw/fink/dists/stable/main/finkinfo/graphics/graphviz.patch ]
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.qqQ3r
>> /tmp/fink.2SucW
>> #!/bin/sh -ev
>> sed 's|@FINKPREFIX@|/sw|g' <
>> /sw/fink/dists/stable/main/finkinfo/graphics/graphviz.patch | patch -p1
>> patching file configure
>> patching file plugin/quartz/gvplugin_quartz.h
>> patching file plugin/quartz/gvplugin_quartz.c
>> patching file plugin/quartz/gvloadimage_quartz.c
>> patching file plugin/quartz/gvrender_quartz.c
>> patching file lib/gvc/gvcext.h
>> patching file tclpkg/gv/Makefile.am
>> Hunk #1 succeeded at 100 (offset -11 lines).
>> patching file tclpkg/gv/Makefile.in
>> Hunk #1 succeeded at 2825 (offset -537 lines).
>> patching file configure
>> Hunk #1 succeeded at 27582 with fuzz 2 (offset 5657 lines).
>> sed -i.orig -e '/OCAML/s|/usr|/sw|g' \
>>      -e '/framework/s|-\(framework\) |-Wl,-\1,|g' \
>>      configure
>> # don't bother with Makefile.am
>> for f in `grep -lr -e "-framework " macosx plugin | grep -v \.am` ; do
>>      sed -i.orig -e '/framework/s|-\(framework\) |-Wl,-\1,|g' $f
>> done
>> grep -lr -e "-framework " macosx plugin | grep -v \.am
>> sed -i.orig -e '/am__append_5/s|LIBLTDL|LTDLDEPS|' lib/gvc/Makefile.in
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.KM2nu
>> /tmp/fink.Mz37k
>> #!/bin/sh -ev
>> ruby_h_path=`find /usr/lib/ruby -name ruby.h | head -n 1`
>> find /usr/lib/ruby -name ruby.h | head -n 1
>> test -f "$ruby_h_path" || ruby_h_path=`find /System/Library/Frameworks
>> -name ruby.h | head -n 1`
>> find /System/Library/Frameworks -name ruby.h | head -n 1
>> test -f "$ruby_h_path" && echo "Found ruby.h as $ruby_h_path, using its
>> dirname..."
>> Found ruby.h as
>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/Headers/ruby.h,
>> using its dirname...
>> system_ruby_include=`dirname $ruby_h_path`
>> dirname $ruby_h_path
>> test -d "$system_ruby_include"
>> if test -d "/usr/X11R6"
>> then X11_ROOT=/usr/X11R6
>> elif test -d "/opt/X11"
>> then X11_ROOT=/opt/X11
>> elif test "." = "."
>> then { echo "No X11 found."; exit 1; }
>> # else, don't care if X11 is not found for -nox
>> fi
>> # handle java
>> JAVA_VERSION=`javac -version  2>&1 >/dev/null | cut -d ' ' -f 2`
>> javac -version  2>&1 >/dev/null | cut -d ' ' -f 2
>> JAVA_RELEASE=`javac -version  2>&1 >/dev/null | cut -d ' ' -f 2 | cut
>> -d. -f1-2`
>> javac -version  2>&1 >/dev/null | cut -d ' ' -f 2 | cut -d. -f1-2
>>           case "$JAVA_RELEASE" in
>> "1.6") export LDFLAGS="-Wl,-framework,JavaVM
>> -Wl,-framework,ApplicationServices -Wl,-framework,CoreServices"
>>         ./configure --prefix=/sw --mandir=/sw/share/man \
>> --disable-static \
>> --with-included-ltdl=no \
>> --with-ltdl-include=/sw/include \
>> --with-ltdl-lib=/sw/lib \
>> --with-extraincludedir=/sw/include \
>> --with-extralibdir=/sw/lib \
>> --with-tcl=/usr/bin/tclsh \
>> --with-tclsh=/usr/bin/tclsh \
>> --with-wish=/usr/bin/wish \
>> --without-lasi \
>> --without-ghostscript \
>> --without-devil \
>> --with-ming \
>> --with-quartz \
>> LUA=lua51 \
>>     --with-x \
>>     --with-rsvg \
>>     --x-includes=$X11_ROOT/include \
>>     --x-libraries=$X11_ROOT/lib \
>>     --with-glitz \
>>     --with-libgd \
>>     --with-gts \
>>     --with-glutincludedir="/sw/include -I$X11_ROOT/include" \
>>     --with-glutlibdir=/sw/lib \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>> --disable-r \
>> --disable-perl \
>> --disable-python \
>> GUILE=/sw/bin/guile-1.8 \
>>     PKG_CONFIG_PATH="/sw/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" \
>> RUBY=/usr/bin/ruby
>> CPPFLAGS="-I/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Headers
>> -I/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers
>> -I/sw/lib/ocaml -idirafter $system_ruby_include" -C
>>         ;;
>> "1.7" ) export
>> LDFLAGS="-L/Library/Java/JavaVirtualMachines/jdk$JAVA_VERSION.jdk/Contents/Home/lib
>> -Wl,-framework,ApplicationServices -Wl,-framework,CoreServices"
>>        ./configure --prefix=/sw --mandir=/sw/share/man \
>> --disable-static \
>> --with-included-ltdl=no \
>> --with-ltdl-include=/sw/include \
>> --with-ltdl-lib=/sw/lib \
>> --with-extraincludedir=/sw/include \
>> --with-extralibdir=/sw/lib \
>> --with-tcl=/usr/bin/tclsh \
>> --with-tclsh=/usr/bin/tclsh \
>> --with-wish=/usr/bin/wish \
>> --without-lasi \
>> --without-ghostscript \
>> --without-devil \
>> --with-ming \
>> --with-quartz \
>> LUA=lua51 \
>>     --with-x \
>>     --with-rsvg \
>>     --x-includes=$X11_ROOT/include \
>>     --x-libraries=$X11_ROOT/lib \
>>     --with-glitz \
>>     --with-libgd \
>>     --with-gts \
>>     --with-glutincludedir="/sw/include -I$X11_ROOT/include" \
>>     --with-glutlibdir=/sw/lib \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>>     \
>> --disable-r \
>> --disable-perl \
>> --disable-python \
>> GUILE=/sw/bin/guile-1.8 \
>>     PKG_CONFIG_PATH="/sw/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" \
>> RUBY=/usr/bin/ruby
>> CPPFLAGS="-I/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Headers
>> -I/Library/Java/JavaVirtualMachines/jdk$JAVA_VERSION.jdk/Contents/Home/include
>> -I/sw/lib/ocaml -idirafter $system_ruby_include" -C
>>         ;;
>> *) ;;
>> esac
>> # TK_XINCLUDES needed for 10.8
>> sed -i.orig -e '/framework/s|-\(framework\) |-Wl,-\1,|g' \
>>        -e "/TK_XINCLUDES/s|\"\"|\"-I$X11_ROOT/include\"|" config.status
>> sed: config.status: No such file or directory
>> ### execution of /tmp/fink.Mz37k failed, exit code 1
>> ### execution of /tmp/fink.KM2nu failed, exit code 1
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-graphviz-2.26.3-8
>> (Reading database ... 105539 files and directories currently installed.)
>> Removing fink-buildlock-graphviz-2.26.3-8 ...
>> Reading buildlock packages...
>> /sw/bin/dpkg-lockwait -i
>> /sw/fink/dists/stable/main/binary-darwin-x86_64/languages/tcltk-dev_8.5.15-4_darwin-x86_64.deb
>> Selecting previously deselected package tcltk-dev.
>> (Reading database ... 105538 files and directories currently installed.)
>> Unpacking tcltk-dev (from .../tcltk-dev_8.5.15-4_darwin-x86_64.deb) ...
>> Setting up tcltk-dev (8.5.15-4) ...
>>
>> Failed: phase compiling: graphviz-2.26.3-8 failed
>>
>> Before reporting any errors, please run "fink selfupdate" and try again.
>>
>> If you continue to have issues, please check to see if the FAQ on Fink's
>> website solves the problem.  If not, ask on one (not both, please) of
>> these mailing lists:
>>
>>        The Fink Users List <fink-users@lists.sourceforge.net>
>>        The Fink Beginners List <fink-beginn...@lists.sourceforge.net>,
>>
>> with a carbon copy to the maintainer:
>>
>>        David Fang <fang...@users.sourceforge.net>
>>
>> Note that this is preferable to emailing just the maintainer directly,
>> since most fink package maintainers do not have access to all possible
>> hardware and software configurations.
>>
>> Please try to include the complete error message in your report. This
>> generally consists of a compiler line starting with e.g. "gcc" or "g++"
>> followed by the actual error output from the compiler.
>>
>> Also include the following system information:
>> Package manager version: 0.37.0
>> Distribution version: selfupdate-rsync Wed Jun 18 13:24:19 2014, 10.7,
>> x86_64
>> Trees: local/main stable/main unstable/main unstable/crypto
>> Xcode.app: 4.6.3
>> Xcode command-line tools: 4.6.0.0.1.1365549073
>> Max. Fink build jobs:  1
>>
> A selfupdate only changes the situation if the package which isn't
> building has received an update, which doesn't appear to be the case here.
>
> What appears to have happened here is that the $JAVA_RELEASE variable
> has a value which isn't either 1.6 or 1.7, and so the configure script
> isn't being run.  I see the same thing as you do, since I have a
> Java-1.8 JDK installed.
>
> If you edit /sw/fink/10.7/stable/main/finkinfo/graphics/graphviz.info
> and change the line which says
>
>       "1.7" ) export
> LDFLAGS="-L/Library/Java/JavaVirtualMachines/jdk$JAVA_VERSION.jdk/Contents/Home/lib
> -Wl,-framework,ApplicationServices -Wl,-framework,CoreServices"
>
> to
>
>       1.[78] ) export
> LDFLAGS="-L/Library/Java/JavaVirtualMachines/jdk$JAVA_VERSION.jdk/Contents/Home/lib
> -Wl,-framework,ApplicationServices -Wl,-framework,CoreServices"
>
>
> that will allow the build to proceed.


-- 
------------------------
Lowell E. Tacconi-Garman
User Support Department
European Southern Observatory
Karl-Schwarzschild-Str. 2, D-85748 Garching bei Muenchen, Germany
tel : +49 89 3200 6416   fax : +49 89 3200 6898   email : ltacc...@eso.org


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to