[Fink-users] fink install xfig failed

2016-11-07 Thread Roman Fleysher
Dear Fink'ers,

After performing  

fink update-all

xfig disappeared. I try to install it using 

fink install xfig

and get error (towards the end):

Looking for incorrect headers in 123 dependency files...
Determining fink providers of 57 headers...
1 - 57
Found use of headers from 6 fink packages:
fontconfig2-dev
freetype219
libjpeg9
libpng16
libxaw3dxft
xft2-dev
Scanning binaries for incorrect dyld linking...
./src/xfig uses /opt/X11/lib/libXt.6.dylib
Please fix build process to get consistent use of fink's libraries.
### execution of fink-package-precedence failed, exit code 255
### execution of /tmp/fink.Mhxf4 failed, exit code 255
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-xfig-3.2.6-1
(Reading database ... 181295 files and directories currently installed.)
Removing fink-buildlock-xfig-3.2.6-1 ...
Failed: phase compiling: xfig-3.2.6-1 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 
The Fink Beginners List .

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.41.0
Distribution version: selfupdate-rsync Mon Nov  7 16:23:50 2016, 10.10, x86_64
Trees: local/main stable/main stable/crypto
Xcode.app: 7.1.1
Xcode command-line tools: 7.2.0.0.1.1447826929
Max. Fink build jobs:  1


Thank you,

Roman

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
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


Re: [Fink-users] build of ccfits fails

2016-11-07 Thread Alexander Hansen

> On Nov 6, 2016, at 22:33, Daniel Gruen  wrote:
> 
> Hi,
> 
> I'm trying to install the ccfits package with fink, but the build fails at 
> the following command. This is after upgrading my system to Sierra, and both 
> fink and xcode are of the latest version.
> 
> Any ideas what could be the cause?
> 
> Cheers,
> Daniel
> 
> 
> 
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I/sw/include -I/sw/include -g -O2 
> -Wall -ansi -MT ColumnCreator.lo -MD -MP -MF .deps/ColumnCreator.Tpo -c 
> ColumnCreator.cxx  -fno-common -DPIC -o .libs/ColumnCreator.o
> ColumnCreator.cxx:326:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
>   if (!scalePresent || scalePresent &&  tscale == 1)
> ~~ ~^~~
> ColumnCreator.cxx:326:41: note: place parentheses around the '&&' expression 
> to silence this warning
>   if (!scalePresent || scalePresent &&  tscale == 1)
> ^
>(   )
> In file included from ColumnCreator.cxx:10:
> In file included from ./Column.h:16:
> In file included from ./Table.h:13:
> In file included from ./ExtHDU.h:15:
> In file included from ./HDU.h:21:
> In file included from ./NewKeyword.h:13:
> In file included from ./KeywordCreator.h:13:
> In file included from ./KeyData.h:22:
> In file included from ./FITSUtil.h:18:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/valarray:2743:32:
>  error: no viable conversion
>   from 'value_type' (aka 'std::__1::complex') to 'result_type' 
> (aka 'bool')
> ::new (__r.__end_) result_type(__expr_[__i]);
>^   
> ./ColumnVectorData.h:268:44: note: in instantiation of member function
>   
> 'std::__1::__val_expr  >, std::__1::valarray,
>   std::__1::valarray > >::operator valarray' 
> requested here
> std::valarray test = (m_data[i] == that.m_data[i]);
>^
> ./ColumnVectorData.h:56:9: note: in instantiation of member function 
> 'CCfits::ColumnVectorData::compare' requested here
> ColumnVectorData (int columnIndex, const string , 
> ValueType type, const string , const string , Table* p, int  r...
> ^
> ColumnCreator.cxx:259:25: note: in instantiation of member function 
> 'CCfits::ColumnVectorData::ColumnVectorData' 
> requested
>   here
> m_column = new ColumnVectorData(number, 
> name,  
>^
> In file included from ColumnCreator.cxx:10:
> In file included from ./Column.h:16:
> In file included from ./Table.h:13:
> In file included from ./ExtHDU.h:15:
> In file included from ./HDU.h:21:
> In file included from ./NewKeyword.h:13:
> In file included from ./KeywordCreator.h:13:
> In file included from ./KeyData.h:22:
> In file included from ./FITSUtil.h:18:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/valarray:2743:32:
>  error: no viable conversion
>   from 'value_type' (aka 'std::__1::complex') to 'result_type' 
> (aka 'bool')
> ::new (__r.__end_) result_type(__expr_[__i]);
>^   
> ./ColumnVectorData.h:268:44: note: in instantiation of member function
>   
> 'std::__1::__val_expr  >, std::__1::valarray,
>   std::__1::valarray > >::operator valarray' 
> requested here
> std::valarray test = (m_data[i] == that.m_data[i]);
>^
> ./ColumnVectorData.h:56:9: note: in instantiation of member function 
> 'CCfits::ColumnVectorData::compare' requested here
> ColumnVectorData (int columnIndex, const string , 
> ValueType type, const string , const string , Table* p, int  r...
> ^
> ColumnCreator.cxx:275:25: note: in instantiation of member function 
> 'CCfits::ColumnVectorData::ColumnVectorData' 
> requested
>   here
> m_column = new ColumnVectorData(number, 
> name,  
>^
> 1 warning and 2 errors generated.
> make[2]: *** [ColumnCreator.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of /tmp/fink.BjjH1 failed, exit code 2
> ### execution of /tmp/fink.UaWUW failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-ccfits-2.4-2
> (Reading database ... 4591 files and directories currently installed.)
> Removing fink-buildlock-ccfits-2.4-2 ...
> Failed: phase compiling: ccfits-2.4-2 failed
> 
> 

[Fink-users] build of ccfits fails

2016-11-07 Thread Daniel Gruen
Hi,

I'm trying to install the ccfits package with fink, but the build fails at
the following command. This is after upgrading my system to Sierra, and
both fink and xcode are of the latest version.

Any ideas what could be the cause?

Cheers,
Daniel




g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I/sw/include -I/sw/include -g -O2
-Wall -ansi -MT ColumnCreator.lo -MD -MP -MF .deps/ColumnCreator.Tpo -c
ColumnCreator.cxx  -fno-common -DPIC -o .libs/ColumnCreator.o
ColumnCreator.cxx:326:41: warning: '&&' within '||'
[-Wlogical-op-parentheses]
  if (!scalePresent || scalePresent &&  tscale == 1)
~~ ~^~~
ColumnCreator.cxx:326:41: note: place parentheses around the '&&'
expression to silence this warning
  if (!scalePresent || scalePresent &&  tscale == 1)
^
   (   )
In file included from ColumnCreator.cxx:10:
In file included from ./Column.h:16:
In file included from ./Table.h:13:
In file included from ./ExtHDU.h:15:
In file included from ./HDU.h:21:
In file included from ./NewKeyword.h:13:
In file included from ./KeywordCreator.h:13:
In file included from ./KeyData.h:22:
In file included from ./FITSUtil.h:18:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/valarray:2743:32:
error: no viable conversion
  from 'value_type' (aka 'std::__1::complex') to 'result_type'
(aka 'bool')
::new (__r.__end_) result_type(__expr_[__i]);
   ^   
./ColumnVectorData.h:268:44: note: in instantiation of member function

'std::__1::__val_expr, std::__1::valarray,
  std::__1::valarray > >::operator valarray'
requested here
std::valarray test = (m_data[i] == that.m_data[i]);
   ^
./ColumnVectorData.h:56:9: note: in instantiation of member function
'CCfits::ColumnVectorData::compare' requested
here
ColumnVectorData (int columnIndex, const string ,
ValueType type, const string , const string , Table* p, int
r...
^
ColumnCreator.cxx:259:25: note: in instantiation of member function
'CCfits::ColumnVectorData::ColumnVectorData'
requested
  here
m_column = new ColumnVectorData(number,
name,
   ^
In file included from ColumnCreator.cxx:10:
In file included from ./Column.h:16:
In file included from ./Table.h:13:
In file included from ./ExtHDU.h:15:
In file included from ./HDU.h:21:
In file included from ./NewKeyword.h:13:
In file included from ./KeywordCreator.h:13:
In file included from ./KeyData.h:22:
In file included from ./FITSUtil.h:18:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/valarray:2743:32:
error: no viable conversion
  from 'value_type' (aka 'std::__1::complex') to 'result_type'
(aka 'bool')
::new (__r.__end_) result_type(__expr_[__i]);
   ^   
./ColumnVectorData.h:268:44: note: in instantiation of member function

'std::__1::__val_expr, std::__1::valarray,
  std::__1::valarray > >::operator
valarray' requested here
std::valarray test = (m_data[i] == that.m_data[i]);
   ^
./ColumnVectorData.h:56:9: note: in instantiation of member function
'CCfits::ColumnVectorData::compare' requested
here
ColumnVectorData (int columnIndex, const string ,
ValueType type, const string , const string , Table* p, int
r...
^
ColumnCreator.cxx:275:25: note: in instantiation of member function
'CCfits::ColumnVectorData::ColumnVectorData'
requested
  here
m_column = new ColumnVectorData(number,
name,
   ^
1 warning and 2 errors generated.
make[2]: *** [ColumnCreator.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /tmp/fink.BjjH1 failed, exit code 2
### execution of /tmp/fink.UaWUW failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-ccfits-2.4-2
(Reading database ... 4591 files and directories currently installed.)
Removing fink-buildlock-ccfits-2.4-2 ...
Failed: phase compiling: ccfits-2.4-2 failed

...

Package manager version: 0.41.0
Distribution version: selfupdate-rsync Sun Nov  6 21:25:27 2016, 10.12,
x86_64
Trees: local/main stable/main
Xcode.app: 8.1
Xcode command-line tools: 8.1.0.0.1.1476494586
Max. Fink build jobs:  1
--
Developer Access