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 <fink-us...@lists.sourceforge.net>
                The Fink Beginners List <fink-beginners@lists.sourceforge.net>,

with a carbon copy to the maintainer:

                Karl-Michael Schindler <karl-michael.schind...@web.de>

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
wenzhong.z...@nasa.gov

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
  • ... Zhao, Wenzhong, Dr {Zhao}(GSFC-613.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]
    • ... Alexander Hansen
    • ... Alexander Hansen
      • ... Zhao, Wenzhong, Dr {Zhao}(GSFC-613.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]

Reply via email to