Re: [Fink-users] Failed: phase compiling: cantor4-mac-4.13.1-2 failed

2014-06-23 Thread Dominique Dhumieres
 This is fixed after a selfupdate. ...

It is, but building kdebase4 still fails with the custom rule problem.

 I can point to the macro that it's occurring in,

Yes, please. I may have to rebuild the relevant package(s).

Thanks for your help,

Dominique

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
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: cantor4-mac-4.13.1-2 failed

2014-06-21 Thread Dominique Dhumieres
 A quick thing to try is add the following to the very beginning of 
 CompileScript ...

Thanks for the answer, this allows cantor4 to build, but I now get

CMake Error: Attempt to add a custom rule to output 
/sw64/src/fink.build/kalgebra4-mac-4.13.1-2/kalgebra-4.13.1/build/src/kalgebra_SRCS.iconset/icon_32...@2x.png.rule
 which already has a custom rule.
CMake Error: Attempt to add a custom rule to output 
/sw64/src/fink.build/kalgebra4-mac-4.13.1-2/kalgebra-4.13.1/build/src/kalgebra_SRCS.iconset/icon_32...@2x.png.rule
 which already has a custom rule.
CMake Error: Attempt to add a custom rule to output 
/sw64/src/fink.build/kalgebra4-mac-4.13.1-2/kalgebra-4.13.1/build/src/kalgebra_SRCS.iconset/icon_32...@2x.png.rule
 which already has a custom rule.
CMake Error: Attempt to add a custom rule to output 
/sw64/src/fink.build/kalgebra4-mac-4.13.1-2/kalgebra-4.13.1/build/src/kalgebra_SRCS.iconset/icon_32...@2x.png.rule
 which already has a custom rule.

Note that I also have a problem in

[Book15] /Users/dominiq% sudo fink build libknotifyplugin4-mac-shlibs
Information about 10037 packages read in 1 seconds.
The following package will be built:
 libknotifyplugin4-mac-shlibs
Setting runtime build-lock...
dpkg-deb -b 
/sw64/src/fink.build/root-fink-buildlock-kdebase4-runtime-mac-4.13.1-2 
/sw64/src/fink.build
dpkg-deb: building package `fink-buildlock-kdebase4-runtime-mac-4.13.1-2' in 
`/sw64/src/fink.build/fink-buildlock-kdebase4-runtime-mac-4.13.1-2_2014.06.21-11.27.08_darwin-x86_64.deb'.
Installing build-lock package...
/sw64/bin/dpkg-lockwait -i 
/sw64/src/fink.build/fink-buildlock-kdebase4-runtime-mac-4.13.1-2_2014.06.21-11.27.08_darwin-x86_64.deb
Selecting previously deselected package 
fink-buildlock-kdebase4-runtime-mac-4.13.1-2.
(Reading database ... 335491 files and directories currently installed.)
Unpacking fink-buildlock-kdebase4-runtime-mac-4.13.1-2 (from 
.../fink-buildlock-kdebase4-runtime-mac-4.13.1-2_2014.06.21-11.27.08_darwin-x86_64.deb)
 ...
dpkg: dependency problems prevent configuration of 
fink-buildlock-kdebase4-runtime-mac-4.13.1-2:
 fink-buildlock-kdebase4-runtime-mac-4.13.1-2 depends on 
libknotifyplugin4-mac-shlibs (= 4.13.1-1); however:
  Package libknotifyplugin4-mac-shlibs is not installed.
/sw64/bin/dpkg: error processing fink-buildlock-kdebase4-runtime-mac-4.13.1-2 
(--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 fink-buildlock-kdebase4-runtime-mac-4.13.1-2
### execution of /sw64/bin/dpkg-lockwait failed, exit code 1
Can't set build lock for kdebase4-runtime-mac (4.13.1-2)

TIA

Dominique

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
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: cantor4-mac-4.13.1-2 failed

2014-06-21 Thread Hanspeter Niederstrasser
On 6/21/2014 4:27 AM, Dominique Dhumieres wrote:
 A quick thing to try is add the following to the very beginning of 
 CompileScript ...

 Thanks for the answer, this allows cantor4 to build, but I now get

 CMake Error: Attempt to add a custom rule to output 
 /sw64/src/fink.build/kalgebra4-mac-4.13.1-2/kalgebra-4.13.1/build/src/kalgebra_SRCS.iconset/icon_32...@2x.png.rule
  which already has a custom rule.
 CMake Error: Attempt to add a custom rule to output 
 /sw64/src/fink.build/kalgebra4-mac-4.13.1-2/kalgebra-4.13.1/build/src/kalgebra_SRCS.iconset/icon_32...@2x.png.rule
  which already has a custom rule.
 CMake Error: Attempt to add a custom rule to output 
 /sw64/src/fink.build/kalgebra4-mac-4.13.1-2/kalgebra-4.13.1/build/src/kalgebra_SRCS.iconset/icon_32...@2x.png.rule
  which already has a custom rule.
 CMake Error: Attempt to add a custom rule to output 
 /sw64/src/fink.build/kalgebra4-mac-4.13.1-2/kalgebra-4.13.1/build/src/kalgebra_SRCS.iconset/icon_32...@2x.png.rule
  which already has a custom rule.

Something else must be going on that is triggering these errors for you 
as it's occurring across multiple packages.  I don't really have an 
explanation though as it involves cmake rule generation.  I can point to 
the macro that it's occurring in,

 [Book15] /Users/dominiq% sudo fink build libknotifyplugin4-mac-shlibs
 Information about 10037 packages read in 1 seconds.
 The following package will be built:
   libknotifyplugin4-mac-shlibs
 Setting runtime build-lock...
 dpkg-deb -b 
 /sw64/src/fink.build/root-fink-buildlock-kdebase4-runtime-mac-4.13.1-2 
 /sw64/src/fink.build
 dpkg-deb: building package `fink-buildlock-kdebase4-runtime-mac-4.13.1-2' in 
 `/sw64/src/fink.build/fink-buildlock-kdebase4-runtime-mac-4.13.1-2_2014.06.21-11.27.08_darwin-x86_64.deb'.
 Installing build-lock package...
 /sw64/bin/dpkg-lockwait -i 
 /sw64/src/fink.build/fink-buildlock-kdebase4-runtime-mac-4.13.1-2_2014.06.21-11.27.08_darwin-x86_64.deb
 Selecting previously deselected package 
 fink-buildlock-kdebase4-runtime-mac-4.13.1-2.
 (Reading database ... 335491 files and directories currently installed.)
 Unpacking fink-buildlock-kdebase4-runtime-mac-4.13.1-2 (from 
 .../fink-buildlock-kdebase4-runtime-mac-4.13.1-2_2014.06.21-11.27.08_darwin-x86_64.deb)
  ...
 dpkg: dependency problems prevent configuration of 
 fink-buildlock-kdebase4-runtime-mac-4.13.1-2:
   fink-buildlock-kdebase4-runtime-mac-4.13.1-2 depends on 
 libknotifyplugin4-mac-shlibs (= 4.13.1-1); however:
Package libknotifyplugin4-mac-shlibs is not installed.
 /sw64/bin/dpkg: error processing fink-buildlock-kdebase4-runtime-mac-4.13.1-2 
 (--install):
   dependency problems - leaving unconfigured
 Errors were encountered while processing:
   fink-buildlock-kdebase4-runtime-mac-4.13.1-2
 ### execution of /sw64/bin/dpkg-lockwait failed, exit code 1
 Can't set build lock for kdebase4-runtime-mac (4.13.1-2)

This is fixed after a selfupdate. (ps: you don't have to run fink with 
sudo. It does that on its own when needed)

Hanspeter


--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
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


[Fink-users] Failed: phase compiling: cantor4-mac-4.13.1-2 failed

2014-06-20 Thread Dominique Dhumieres
Compiling: cantor4-mac-4.13.1-2 failed on

Package manager version: 0.37.0
Distribution version: selfupdate-rsync Fri Jun 20 12:11:49 2014, 10.9, x86_64
Trees: local/main stable/main
Xcode.app: 5.1.1
Xcode command-line tools: 5.1.0.0.1.1396320587
Max. Fink build jobs:  8

with

...
-- Found Qt-Version 4.8.6
--  - QT_QMAKE_EXECUTABLE is /sw64/lib/qt4-mac/bin/qmake
--  - QT_INCLUDE_DIR is 
/sw64/lib/qt4-mac/include;/sw64/lib/qt4-mac/lib/QtCore.framework
--  - QT_QTCORE_INCLUDE_DIR is /sw64/lib/qt4-mac/include/QtCore
--  - QT_BINARY_DIR is /sw64/lib/qt4-mac/bin
--  - QT_LIBRARY_DIR is /sw64/lib/qt4-mac/lib
--  - QT_PLUGINS_DIR is /sw64/lib/qt4-mac/plugins
--  - QT_MKSPECS_DIR is /sw64/lib/qt4-mac/share/qt4/mkspecs
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found OpenSSL: 
/sw64/lib/system-openssl/lib/libssl.dylib;/sw64/lib/system-openssl/lib/libcrypto.dylib
 (found version 0.9.8y) 
-- Found Automoc4: /sw64/opt/kde4/mac/bin/automoc4  
-- Found Perl: /usr/bin/perl (found version 5.16.2) 
-- Looking for Phonon
--  - KDE4_INCLUDE_INSTALL_DIR is /sw64/opt/kde4/mac/include
--  - KDE4_LIB_INSTALL_DIR is /sw64/opt/kde4/mac/lib
--  - INCLUDE_INSTALL_DIR is 
--  - QT_LIBRARY_DIR is /sw64/lib/qt4-mac/lib
--  - QT_INCLUDE_DIR is 
/sw64/lib/qt4-mac/include;/sw64/lib/qt4-mac/lib/QtCore.framework
-- Results of Search for Phonon
--  - PHONON_VERSION is 4.5.0
--  - PHONON_INCLUDE_DIR is /sw64/lib/qt4-mac/lib/phonon.framework
--  - PHONON_LIBRARY is /sw64/lib/qt4-mac/lib/phonon.framework
-- Found Phonon: /sw64/lib/qt4-mac/lib/phonon.framework (Required is at least 
version 4.3.80) 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found KDE 4.12 include dir: /sw64/opt/kde4/mac/include
-- Found KDE 4.12 library dir: /sw64/opt/kde4/mac/lib
-- Found the KDE4 kconfig_compiler preprocessor: 
/sw64/opt/kde4/mac/bin/kconfig_compiler
-- Found automoc4: /sw64/opt/kde4/mac/bin/automoc4
-- Found Qalculate: -L/sw64/lib -lcln -lpthread -lqalculate -lglib-2.0 -lintl 
-lxml2  
-- -L/sw64/lib -lcln
-- Found PythonLibs: /sw64/lib/libpython2.7.dylib (found suitable version 
2.7.5, minimum required is 2.7) 
CMake Error: Attempt to add a custom rule to output 
/sw64/src/fink.build/cantor4-mac-4.13.1-2/cantor-4.13.1/build/src/cantor_SRCS.iconset/icon_32...@2x.png.rule
 which already has a custom rule.
CMake Error: Attempt to add a custom rule to output 
/sw64/src/fink.build/cantor4-mac-4.13.1-2/cantor-4.13.1/build/src/cantor_SRCS.iconset/icon_32...@2x.png.rule
 which already has a custom rule.

-
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-
   * libanalitza - A library provided by KAlgebra
   * Qalculate - A multi-purpose desktop calculator with support for 
customizable functions, units and arbitrary precision.
   * Python2 - A powerful dynamic programming language

-
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-
   * R  http://www.r-project.org/
 A free software environment for statistical computing and graphics
 Backend to use R with Cantor.
   * libspectre  http://libspectre.freedesktop.org/wiki/
 A PostScript rendering library
 Support for rendering EPS files in Cantor.

-

-- Configuring incomplete, errors occurred!
See also 
/sw64/src/fink.build/cantor4-mac-4.13.1-2/cantor-4.13.1/build/CMakeFiles/CMakeOutput.log.
See also 
/sw64/src/fink.build/cantor4-mac-4.13.1-2/cantor-4.13.1/build/CMakeFiles/CMakeError.log.
### execution of /tmp/fink.KF2IM failed, exit code 1
### execution of /tmp/fink.HBHZ1 failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw64/bin/dpkg-lockwait -r fink-buildlock-cantor4-mac-4.13.1-2
(Reading database ... 335371 files and directories currently installed.)
Removing fink-buildlock-cantor4-mac-4.13.1-2 ...
Failed: phase compiling: cantor4-mac-4.13.1-2 failed

TIA

Dominique

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Fink-users mailing list
Fink-users@lists.sourceforge.net

Re: [Fink-users] Failed: phase compiling: cantor4-mac-4.13.1-2 failed

2014-06-20 Thread Hanspeter Niederstrasser
On 6/20/2014 7:46 AM, Dominique Dhumieres wrote:
 Compiling: cantor4-mac-4.13.1-2 failed on

 Package manager version: 0.37.0
 Distribution version: selfupdate-rsync Fri Jun 20 12:11:49 2014, 10.9, x86_64
 Trees: local/main stable/main
 Xcode.app: 5.1.1
 Xcode command-line tools: 5.1.0.0.1.1396320587
 Max. Fink build jobs:  8

 with

 ...
 -- Found Qt-Version 4.8.6
 --  - QT_QMAKE_EXECUTABLE is /sw64/lib/qt4-mac/bin/qmake
 --  - QT_INCLUDE_DIR is 
 /sw64/lib/qt4-mac/include;/sw64/lib/qt4-mac/lib/QtCore.framework
 --  - QT_QTCORE_INCLUDE_DIR is /sw64/lib/qt4-mac/include/QtCore
 --  - QT_BINARY_DIR is /sw64/lib/qt4-mac/bin
 --  - QT_LIBRARY_DIR is /sw64/lib/qt4-mac/lib
 --  - QT_PLUGINS_DIR is /sw64/lib/qt4-mac/plugins
 --  - QT_MKSPECS_DIR is /sw64/lib/qt4-mac/share/qt4/mkspecs
 -- Looking for include file pthread.h
 -- Looking for include file pthread.h - found
 -- Looking for pthread_create
 -- Looking for pthread_create - found
 -- Found Threads: TRUE
 -- Found OpenSSL: 
 /sw64/lib/system-openssl/lib/libssl.dylib;/sw64/lib/system-openssl/lib/libcrypto.dylib
  (found version 0.9.8y)
 -- Found Automoc4: /sw64/opt/kde4/mac/bin/automoc4
 -- Found Perl: /usr/bin/perl (found version 5.16.2)
 -- Looking for Phonon
 --  - KDE4_INCLUDE_INSTALL_DIR is /sw64/opt/kde4/mac/include
 --  - KDE4_LIB_INSTALL_DIR is /sw64/opt/kde4/mac/lib
 --  - INCLUDE_INSTALL_DIR is
 --  - QT_LIBRARY_DIR is /sw64/lib/qt4-mac/lib
 --  - QT_INCLUDE_DIR is 
 /sw64/lib/qt4-mac/include;/sw64/lib/qt4-mac/lib/QtCore.framework
 -- Results of Search for Phonon
 --  - PHONON_VERSION is 4.5.0
 --  - PHONON_INCLUDE_DIR is /sw64/lib/qt4-mac/lib/phonon.framework
 --  - PHONON_LIBRARY is /sw64/lib/qt4-mac/lib/phonon.framework
 -- Found Phonon: /sw64/lib/qt4-mac/lib/phonon.framework (Required is at least 
 version 4.3.80)
 -- Performing Test _OFFT_IS_64BIT
 -- Performing Test _OFFT_IS_64BIT - Success
 -- Found KDE 4.12 include dir: /sw64/opt/kde4/mac/include
 -- Found KDE 4.12 library dir: /sw64/opt/kde4/mac/lib
 -- Found the KDE4 kconfig_compiler preprocessor: 
 /sw64/opt/kde4/mac/bin/kconfig_compiler
 -- Found automoc4: /sw64/opt/kde4/mac/bin/automoc4
 -- Found Qalculate: -L/sw64/lib -lcln -lpthread -lqalculate -lglib-2.0 -lintl 
 -lxml2
 -- -L/sw64/lib -lcln
 -- Found PythonLibs: /sw64/lib/libpython2.7.dylib (found suitable version 
 2.7.5, minimum required is 2.7)
 CMake Error: Attempt to add a custom rule to output 
 /sw64/src/fink.build/cantor4-mac-4.13.1-2/cantor-4.13.1/build/src/cantor_SRCS.iconset/icon_32...@2x.png.rule
  which already has a custom rule.
 CMake Error: Attempt to add a custom rule to output 
 /sw64/src/fink.build/cantor4-mac-4.13.1-2/cantor-4.13.1/build/src/cantor_SRCS.iconset/icon_32...@2x.png.rule
  which already has a custom rule.

I don't see this error on either 10.7 or 10.9.  A quick thing to try is 
add the following to the very beginning of CompileScript (right after 
#!/bin/sh -ev)

perl -ni -e 'print unless /kde4_add_app_icon/' src/CMakeLists.txt
perl -ni -e 'print unless /app-cantor.png/' src/CMakeLists.txt

Unfortunately, I think that will kill the application icon for cantor.

Hanspeter


--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
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