[Fink-users] dosbox-0.74-2 crashes when running install.exe on OSX 10.8

2014-06-20 Thread Sean Lake
Hello all,

I'm trying to get my old copy of Warcraft II running under dosbox, and I'm 
getting a segfault when I try to run the installer. I'm following the 
directions on this page:
http://www.dosbox.com/wiki/GAMES:Warcraft_II

Tweaked to use a bin/cue file pair I made with cdrdao on a Linux box using the 
dosbox imgmount command:
http://www.dosbox.com/wiki/IMGMOUNT#Loading_a_CUE_image

Everything works fine until I try to run the install.exe file.

On request, I can supply the whole .crash file.

Thanks,
Sean

fink --version
Package manager version: 0.37.0
Distribution version: selfupdate-rsync Thu Jun 19 22:48:28 2014, 10.8, x86_64
Trees: local/main stable/main unstable/main unstable/crypto

Relevant (?) part of crash file:
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0b911938

VM Regions Near 0xb911938:
-- 
__TEXT 00010b377000-00010b719000 [ 3720K] r-x/rwx 
SM=COW  /sw/*

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   ??? 0x000115f48020 0 + 4663312416
1   dosbox  0x00010b378913 Normal_Loop() + 35
2   dosbox  0x00010b378e1e DOSBOX_RunMachine() 
+ 14
--
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] graphviz configure failure on 10.7, was Re: Cause for fink update-all failure?

2014-06-20 Thread Lowell Tacconi-Garman
Thank you very much for your help, and apologies for the too-general 
subject line of my e-mail.  Your solution worked perfectly.

 (Changing the subject to something more specific so that other people
 having this problem can find the thread more easily.  update-all isn't
 really the relevant problem here, because a specific package is to blame.)


 On 6/18/14, 4:34 AM, Lowell Tacconi-Garman wrote:
 I've tried a number of times the following combination:

 fink selfupdate
 fink update-all

 but each time it ends as shown in the log below.  Could someone please
 diagnose what is wrong, and tell me how to fix it?

 Thanks in advance,
 Lowell Tacconi-Garman

 [vpn-44-230:~] ltacconi% fink update-all
 Information about 10647 packages read in 4 seconds.
 The following 14 packages will be installed or updated:
 graphviz graphviz-shlibs imagemagick2-shlibs imagemagick5-shlibs
 libavcodec52-shlibs libavformat52-shlibs libavutil50-shlibs
 libdjvulibre21-dev
 libdjvulibre21-shlibs libgegl0.1.0-dev libgegl0.1.0-shlibs
 libopenraw1-dev libopenraw1-shlibs libxml2-py27
 The following 10 additional packages will be installed:
 boost1.55-nopython boost1.55-nopython-shlibs hwloc hwloc-dev
 hwloc-shlibs libpng14 librsvg2-bin llvm33 openmpi openmpi-shlibs
 The following package might be temporarily removed:
 tcltk-dev
 Do you want to continue? [Y/n] Y
 Temporarily removing BuildConflicts:
 tcltk-dev
 Reading buildlock packages...
 /sw/bin/dpkg-lockwait --remove tcltk-dev
 (Reading database ... 106680 files and directories currently installed.)
 Removing tcltk-dev ...
 Setting runtime build-lock...
 dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-graphviz-2.26.3-8
 /sw/src/fink.build
 dpkg-deb: building package `fink-buildlock-graphviz-2.26.3-8' in
 `/sw/src/fink.build/fink-buildlock-graphviz-2.26.3-8_2014.06.18-13.26.56_darwin-x86_64.deb'.
 Installing build-lock package...
 /sw/bin/dpkg-lockwait -i
 /sw/src/fink.build/fink-buildlock-graphviz-2.26.3-8_2014.06.18-13.26.56_darwin-x86_64.deb
 Selecting previously deselected package fink-buildlock-graphviz-2.26.3-8.
 (Reading database ... 105538 files and directories currently installed.)
 Unpacking fink-buildlock-graphviz-2.26.3-8 (from
 .../fink-buildlock-graphviz-2.26.3-8_2014.06.18-13.26.56_darwin-x86_64.deb)
 ...
 Setting up fink-buildlock-graphviz-2.26.3-8 (2014.06.18-13.26.56) ...

 sudo -u fink-bld [ENV] sh -c /tmp/fink.MdcUh
 env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions
 -xf /sw/src/graphviz-2.26.3.tar.gz
 sudo -u fink-bld [ENV] sh -c /tmp/fink.Ftwdb
 [ -r /sw/fink/dists/stable/main/finkinfo/graphics/graphviz.patch ]
 sudo -u fink-bld [ENV] sh -c /tmp/fink.qqQ3r
 /tmp/fink.2SucW
 #!/bin/sh -ev
 sed 's|@FINKPREFIX@|/sw|g' 
 /sw/fink/dists/stable/main/finkinfo/graphics/graphviz.patch | patch -p1
 patching file configure
 patching file plugin/quartz/gvplugin_quartz.h
 patching file plugin/quartz/gvplugin_quartz.c
 patching file plugin/quartz/gvloadimage_quartz.c
 patching file plugin/quartz/gvrender_quartz.c
 patching file lib/gvc/gvcext.h
 patching file tclpkg/gv/Makefile.am
 Hunk #1 succeeded at 100 (offset -11 lines).
 patching file tclpkg/gv/Makefile.in
 Hunk #1 succeeded at 2825 (offset -537 lines).
 patching file configure
 Hunk #1 succeeded at 27582 with fuzz 2 (offset 5657 lines).
 sed -i.orig -e '/OCAML/s|/usr|/sw|g' \
  -e '/framework/s|-\(framework\) |-Wl,-\1,|g' \
  configure
 # don't bother with Makefile.am
 for f in `grep -lr -e -framework  macosx plugin | grep -v \.am` ; do
  sed -i.orig -e '/framework/s|-\(framework\) |-Wl,-\1,|g' $f
 done
 grep -lr -e -framework  macosx plugin | grep -v \.am
 sed -i.orig -e '/am__append_5/s|LIBLTDL|LTDLDEPS|' lib/gvc/Makefile.in
 sudo -u fink-bld [ENV] sh -c /tmp/fink.KM2nu
 /tmp/fink.Mz37k
 #!/bin/sh -ev
 ruby_h_path=`find /usr/lib/ruby -name ruby.h | head -n 1`
 find /usr/lib/ruby -name ruby.h | head -n 1
 test -f $ruby_h_path || ruby_h_path=`find /System/Library/Frameworks
 -name ruby.h | head -n 1`
 find /System/Library/Frameworks -name ruby.h | head -n 1
 test -f $ruby_h_path  echo Found ruby.h as $ruby_h_path, using its
 dirname...
 Found ruby.h as
 /System/Library/Frameworks/Ruby.framework/Versions/1.8/Headers/ruby.h,
 using its dirname...
 system_ruby_include=`dirname $ruby_h_path`
 dirname $ruby_h_path
 test -d $system_ruby_include
 if test -d /usr/X11R6
 then X11_ROOT=/usr/X11R6
 elif test -d /opt/X11
 then X11_ROOT=/opt/X11
 elif test . = .
 then { echo No X11 found.; exit 1; }
 # else, don't care if X11 is not found for -nox
 fi
 # handle java
 JAVA_VERSION=`javac -version  21 /dev/null | cut -d ' ' -f 2`
 javac -version  21 /dev/null | cut -d ' ' -f 2
 JAVA_RELEASE=`javac -version  21 /dev/null | cut -d ' ' -f 2 | cut
 -d. -f1-2`
 javac -version  21 /dev/null | cut -d ' ' -f 2 | cut -d. -f1-2
   case $JAVA_RELEASE in
 1.6) export LDFLAGS=-Wl,-framework,JavaVM
 -Wl,-framework,ApplicationServices -Wl,-framework,CoreServices
 

Re: [Fink-users] graphviz configure failure on 10.7, was Re: Cause for fink update-all failure?

2014-06-20 Thread Alexander Hansen
On 6/20/14, 6:40 AM, Lowell Tacconi-Garman wrote:
 Thank you very much for your help, and apologies for the too-general
 subject line of my e-mail.  Your solution worked perfectly.

Thanks for following up.  Since that worked for you as well as for me, 
I'll suggest that David make this an official update to the packaging.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
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-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