On Thu, 23 Feb 2012 14:53:28 +0100, Martin Costabel 
<[email protected]> wrote:
On 22/02/12 11:49, smail MERABET wrote:
> []
> > checking for f77... f77
> > checking whether we are using the GNU Fortran 77 compiler... no
> []
> > checking for f77 option to produce PIC... -fno-common
> > checking if f77 PIC flag -fno-common works... rm: conftest.dSYM: is a
> > directory
> > no
> > checking if f77 supports -c -o file.o... rm: conftest.dSYM: is a directory
> > yes
> > checking whether the f77 linker
> > (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
> > libraries... yes
> > checking dynamic linker characteristics... getopt: illegal option -- p
> > getopt: illegal option -- p
> > darwin10.8.0 dyld
>
> There is something fishy with your "f77" Fortran compiler. It does 
> not understand the usual options -fno-common and -print-search-dirs. 
>
> []
> > fink-package-precedence --prohibit-bdep=opensp5-dev . 
> []
> > Scanning binaries for incorrect dyld linking... 
> > /usr/bin/otool: unknown char `n' in flag -common
> []
> > Error reading /usr/bin/otool -L:  256
> > ### execution of fink-package-precedence failed, exit code 1
>
> The failure of fink-package-precedence in otool indicates that 
> somehow the build process created a file named "-common". My wild 
> guess is that the "f77" compiler did this when it misunderstood some 
> test. 

Ooh, good catch on that previous diagnostic!

fink-package-precedence isn't protecting filenames from the shell when 
passing them to the otool command, so otool is seeing "-fcommon" as an 
option instead of a filename. And apple is so special, it decided to 
use "-" rather than the universal "--" standard as the flag to solve 
that problem. There's long been a problem with filenames with spaces in 
them, but fortunately it's so rare that nobody has complained that I 
can recall. To fix all of this will require rewriting the IPC mechanism 
for communicating with otool. But in the mean time, the f-p-p bug 
uncovered a system problem or other package breakage for the user? 
Sounds like it's doing its job:)

dan

  --
Daniel Macks
[email protected]



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Fink-users mailing list
[email protected]
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