[Fink-users] Failed: phase compiling: libopensync1-shlibs-0.39-3 failed

2012-08-19 Thread Dominique Dhumieres
Updating to libopensync1-shlibs-0.39-3 failed on

Package manager version: 0.34.2
Distribution version: selfupdate-rsync Sun Aug 19 15:30:12 2012, 10.6, x86_64
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode.app: 3.2.6
Xcode command-line tools: 3.2.6
Max. Fink build jobs:  2

with

...
/sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/build 
/sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39
+ for dir in '/sw64/share/swig/*'
+ SWIG_DIR=/sw64/share/swig/2.0.4
+ cmake '-DBUNDLE_INSTALL_DIR:PATH='\''/sw64/bin'\''' 
'-DCMAKE_INSTALL_PREFIX='\''/sw64'\''' -DCMAKE_BUILD_TYPE=RelWithDebInfo 
-DCMAKE_OSX_SYSROOT:PATH=/ -DOPENGL_INCLUDE_DIR:PATH=/usr/X11/include 
-DOPENGL_gl_LIBRARY:FILEPATH=/usr/X11/lib/libGL.dylib 
-DOPENGL_glu_LIBRARY:FILEPATH=/usr/X11/lib/libGLU.dylib 
'-DBoost_ADDITIONAL_VERSIONS=1.41;1.41.0' -DBOOST_ROOT=/sw64 
-DBOOST_INCLUDEDIR=/sw64/include/boost-1_41 -DBOOST_LIBRARYDIR=/sw64/lib 
-DJPEG_INCLUDE_DIR=/sw64/include -DJPEG_LIBRARY=/sw64/lib/libjpeg.dylib 
-DJPEG_LIBRARIES=/sw64/lib/libjpeg.dylib 
-DPYTHON_EXECUTABLE=/sw64/bin/python2.6 -D_KDE_DEFAULT_HOME_POSTFIX=4 
'-DSYSCONF_INSTALL_DIR='\''/sw64/etc'\''' -DSWIG_DIR=/sw64/share/swig/2.0.4 ..
-- The C compiler identification is unknown
-- Check for working C compiler: 
/sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/gcc-root/gcc-4.2
-- Check for working C compiler: 
/sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/gcc-root/gcc-4.2
 -- broken
CMake Error at /sw64/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 
(MESSAGE):
  The C compiler
  
/sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/gcc-root/gcc-4.2
  is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: 
/sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/build/CMakeFiles/CMakeTmp

  

  Run Build Command:/usr/bin/make cmTryCompileExec2727299985/fast

  /usr/bin/make -f CMakeFiles/cmTryCompileExec2727299985.dir/build.make
  CMakeFiles/cmTryCompileExec2727299985.dir/build

  /sw64/bin/cmake -E cmake_progress_report
  
/sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/build/CMakeFiles/CMakeTmp/CMakeFiles
  1

  Building C object
  CMakeFiles/cmTryCompileExec2727299985.dir/testCCompiler.c.o

  
  
/sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/gcc-root/gcc-4.2
  -arch x86_64 -o CMakeFiles/cmTryCompileExec2727299985.dir/testCCompiler.c.o
  -c
  
/sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/build/CMakeFiles/CMakeTmp/testCCompiler.c


  ccache: failed to create /sw64/var/ccache/tmp (Permission denied)

  make[1]: *** [CMakeFiles/cmTryCompileExec2727299985.dir/testCCompiler.c.o]
  Error 1

  make: *** [cmTryCompileExec2727299985/fast] Error 2

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:1 (PROJECT)


-- Configuring incomplete, errors occurred!
### execution of /tmp/fink.lDC5_ failed, exit code 1
### execution of /tmp/fink.TZR2I failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw64/bin/dpkg-lockwait -r fink-buildlock-libopensync1-shlibs-0.39-3
(Reading database ... 472171 files and directories currently installed.)
Removing fink-buildlock-libopensync1-shlibs-0.39-3 ...
Failed: phase compiling: libopensync1-shlibs-0.39-3 failed

TIA

Dominique

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Failed: phase compiling: libopensync1-shlibs-0.39-3 failed

2012-08-19 Thread Alexander Hansen
On 8/19/12 7:10 AM, Dominique Dhumieres wrote:
 Updating to libopensync1-shlibs-0.39-3 failed on
 
 Package manager version: 0.34.2
 Distribution version: selfupdate-rsync Sun Aug 19 15:30:12 2012, 10.6, x86_64
 Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
 Xcode.app: 3.2.6
 Xcode command-line tools: 3.2.6
 Max. Fink build jobs:  2
 
 with
 
 ...
 /sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/build 
 /sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39
 + for dir in '/sw64/share/swig/*'
 + SWIG_DIR=/sw64/share/swig/2.0.4
 + cmake '-DBUNDLE_INSTALL_DIR:PATH='\''/sw64/bin'\''' 
 '-DCMAKE_INSTALL_PREFIX='\''/sw64'\''' -DCMAKE_BUILD_TYPE=RelWithDebInfo 
 -DCMAKE_OSX_SYSROOT:PATH=/ -DOPENGL_INCLUDE_DIR:PATH=/usr/X11/include 
 -DOPENGL_gl_LIBRARY:FILEPATH=/usr/X11/lib/libGL.dylib 
 -DOPENGL_glu_LIBRARY:FILEPATH=/usr/X11/lib/libGLU.dylib 
 '-DBoost_ADDITIONAL_VERSIONS=1.41;1.41.0' -DBOOST_ROOT=/sw64 
 -DBOOST_INCLUDEDIR=/sw64/include/boost-1_41 -DBOOST_LIBRARYDIR=/sw64/lib 
 -DJPEG_INCLUDE_DIR=/sw64/include -DJPEG_LIBRARY=/sw64/lib/libjpeg.dylib 
 -DJPEG_LIBRARIES=/sw64/lib/libjpeg.dylib 
 -DPYTHON_EXECUTABLE=/sw64/bin/python2.6 -D_KDE_DEFAULT_HOME_POSTFIX=4 
 '-DSYSCONF_INSTALL_DIR='\''/sw64/etc'\''' -DSWIG_DIR=/sw64/share/swig/2.0.4 ..
 -- The C compiler identification is unknown
 -- Check for working C compiler: 
 /sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/gcc-root/gcc-4.2
 -- Check for working C compiler: 
 /sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/gcc-root/gcc-4.2
  -- broken
 CMake Error at /sw64/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 
 (MESSAGE):
   The C compiler
   
 /sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/gcc-root/gcc-4.2
   is not able to compile a simple test program.
 
   It fails with the following output:
 
Change Dir: 
 /sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/build/CMakeFiles/CMakeTmp
 
   
 
   Run Build Command:/usr/bin/make cmTryCompileExec2727299985/fast
 
   /usr/bin/make -f CMakeFiles/cmTryCompileExec2727299985.dir/build.make
   CMakeFiles/cmTryCompileExec2727299985.dir/build
 
   /sw64/bin/cmake -E cmake_progress_report
   
 /sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/build/CMakeFiles/CMakeTmp/CMakeFiles
   1
 
   Building C object
   CMakeFiles/cmTryCompileExec2727299985.dir/testCCompiler.c.o
 
   
   
 /sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/gcc-root/gcc-4.2
   -arch x86_64 -o CMakeFiles/cmTryCompileExec2727299985.dir/testCCompiler.c.o
   -c
   
 /sw64/src/fink.build/libopensync1-shlibs-0.39-3/libopensync-0.39/build/CMakeFiles/CMakeTmp/testCCompiler.c
 
 
   ccache: failed to create /sw64/var/ccache/tmp (Permission denied)
 
   make[1]: *** [CMakeFiles/cmTryCompileExec2727299985.dir/testCCompiler.c.o]
   Error 1
 
   make: *** [cmTryCompileExec2727299985/fast] Error 2
 
   
 
   
 
   CMake will not be able to correctly generate this project.
 Call Stack (most recent call first):
   CMakeLists.txt:1 (PROJECT)
 
 
 -- Configuring incomplete, errors occurred!
 ### execution of /tmp/fink.lDC5_ failed, exit code 1
 ### execution of /tmp/fink.TZR2I failed, exit code 1
 Removing runtime build-lock...
 Removing build-lock package...
 /sw64/bin/dpkg-lockwait -r fink-buildlock-libopensync1-shlibs-0.39-3
 (Reading database ... 472171 files and directories currently installed.)
 Removing fink-buildlock-libopensync1-shlibs-0.39-3 ...
 Failed: phase compiling: libopensync1-shlibs-0.39-3 failed
 
 TIA
 
 Dominique
 

This looks more like a problem with ccache-default than with opensync to me.

Try running sudo chown -R fink-bld /sw/var/ccache and then see if the
opensync build works.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Failed: phase compiling: libopensync1-shlibs-0.39-3 failed

2012-08-19 Thread Dominique Dhumieres
 Try running sudo chown -R fink-bld /sw/var/ccache and then see if the
 opensync build works.

It worked (BTW it was sudo chown -R fink-bld /sw64/var/ccache for me;-)

Thanks for the quick fix.

Dominique

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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