On 10/15/12 12:24 PM, Zhao, Wenzhong, Dr {Zhao}(GSFC-613.0)[SCIENCE
SYSTEMS AND APPLICATIONS INC] wrote:
> Hi,
>
>
>
>
>
> “fink install fortran-utils” failed with the following error log:
>
> (This computer is a Mac Pro running Mac OS X 10.7.5)
>
> Thanks,
>
>
>
> --Wenzhong
>
>
>
>
>
> root# fink install fortran-utils
>
> Information about 6308 packages read in 1 seconds.
>
> The following package will be installed or updated:
>
> fortran-utils
>
> Setting runtime build-lock...
>
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-fortran-utils-1.1-1
> /sw/src/fink.build
>
> dpkg-deb: building package `fink-buildlock-fortran-utils-1.1-1' in
> `/sw/src/fink.build/fink-buildlock-fortran-utils-1.1-1_2012.10.15-14.52.32_darwin-x86_64.deb'.
>
> Installing build-lock package...
>
> /sw/bin/dpkg-lockwait -i
> /sw/src/fink.build/fink-buildlock-fortran-utils-1.1-1_2012.10.15-14.52.32_darwin-x86_64.deb
>
> Selecting previously deselected package fink-buildlock-fortran-utils-1.1-1.
>
> (Reading database ... 194938 files and directories currently installed.)
>
> Unpacking fink-buildlock-fortran-utils-1.1-1 (from
> .../fink-buildlock-fortran-utils-1.1-1_2012.10.15-14.52.32_darwin-x86_64.deb)
> ...
>
> Setting up fink-buildlock-fortran-utils-1.1-1 (2012.10.15-14.52.32) ...
>
>
>
> sudo -u fink-bld [ENV] sh -c /tmp/fink.aV9pl
>
> /sw/bin/tar --no-same-owner --no-same-permissions -xf
> /sw/src/fortran-utils-1.1.tar.gz
>
> sudo -u fink-bld [ENV] sh -c /tmp/fink.Zz8IN
>
> cp /sw/src/patch-fpr.c .
>
> sudo -u fink-bld [ENV] sh -c /tmp/fink.fPi9K
>
> patch -p0 < ../patch-fpr.c
>
> patching file fpr/fpr.c
>
> sudo -u fink-bld [ENV] sh -c /tmp/fink.HNbID
>
> /tmp/fink.VItRE
>
> #!/bin/sh -ev
>
> cd fsplit
>
> gcc -o fsplit fsplit.c
>
> fsplit.c:100:7: error:conflicting types for 'getline'
>
> int getline __P((void));
>
> ^
>
> /usr/include/stdio.h:449:9: note: previous declaration is here
>
> ssize_t getline(char ** __restrict, size_t * __restrict, FILE *
> __restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, ...
>
> ^
>
> fsplit.c:174:17: error:too few arguments to function call, expected 3,
> have 0
>
> while (getline() > 0) {
>
> ~~~~~~~ ^
>
> /usr/include/stdio.h:449:1: note: 'getline' declared here
>
> ssize_t getline(char ** __restrict, size_t * __restrict, FILE *
> __restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, ...
>
> ^
>
> fsplit.c:266:1: error:conflicting types for 'getline'
>
> getline()
>
> ^
>
> /usr/include/stdio.h:449:9: note: previous declaration is here
>
> ssize_t getline(char ** __restrict, size_t * __restrict, FILE *
> __restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, ...
>
> ^
>
> 3 errors generated.
>
> ### execution of /tmp/fink.VItRE failed, exit code 1
>
> ### execution of /tmp/fink.HNbID failed, exit code 1
>
> Removing runtime build-lock...
>
> Removing build-lock package...
>
> /sw/bin/dpkg-lockwait -r fink-buildlock-fortran-utils-1.1-1
>
> (Reading database ... 194939 files and directories currently installed.)
>
> Removing fink-buildlock-fortran-utils-1.1-1 ...
>
> Failed: phase compiling: fortran-utils-1.1-1 failed
>
>
>
> Before reporting any errors, please run "fink selfupdate" and try again.
>
> Also try using "fink configure" to set your maximum build jobs to 1 and
>
> attempt to build the package 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 <[email protected]>
>
> The Fink Beginners List
> <[email protected]>,
>
>
>
> with a carbon copy to the maintainer:
>
>
>
> Karl-Michael Schindler <[email protected]>
>
>
>
> 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.34.4
>
> Distribution version: selfupdate-cvs Mon Oct 15 14:51:58 2012, 10.7, x86_64
>
> Trees: local/main stable/main
>
> Xcode.app: 4.5
>
> Xcode command-line tools: 4.5.0.0.1.1249367152
>
> Max. Fink build jobs: 4
>
>
>
>
>
>
>
> -------------------------------------------------------
>
> Dr. Wenzhong Zhao
>
> NASA GSFC, SSAI
>
> 8800 Greenbelt Road, Greenbelt, MD 20771
>
> Code 613, Bidg 33, Rm B313A
>
> 301-614-6204: Phone
>
> 301-614-6307: Fax
>
> [email protected]
>
>
>
>
Karl-Michael just put out an update which works for me.
Unfortunately our main server is still down, so you might need to adjust
your configuration as mentioned in:
http://finkers.wordpress.com/2012/10/05/hosting-outage/
to get package updates.
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners