[MacPorts] #21323: kdelibs4 4.3.0 on SnowLeopard - build failure

MacPorts noreply at macports.org
Sat Sep 12 08:25:32 PDT 2009


#21323: kdelibs4 4.3.0 on SnowLeopard - build failure
-----------------------------+----------------------------------------------
 Reporter:  mkr@…            |       Owner:  macports-tickets@…                   
     Type:  defect           |      Status:  new                                  
 Priority:  Normal           |   Milestone:                                       
Component:  ports            |     Version:  1.8.0                                
 Keywords:                   |        Port:  kdelibs4                             
-----------------------------+----------------------------------------------
 Building kdelibs4 4.3.0 on SnowLeopard, I came across two problems (up to
 now):

 There is a problem in[[BR]]
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kdecore/io/ksavefile.cpp,
 Line 188ff:[[BR]]
 ---[[BR]]
 #ifdef HAVE_FDATASYNC[[BR]]
 #  define FDATASYNC fdatasync[[BR]]
 #else[[BR]]
 #  define FDATASYNC fsync[[BR]]
 #endif[[BR]]
 ---[[BR]]

 There is no fdatasync function in /usr/include/unistd.h, only fsync, but
 HAVE_FDATASYNC is set to 1.

 So I grepped for it in[[BR]]
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build[[BR]]
 found it in config.h and CMakeCache.txt, and tried to change it by hand.

 At first in config.h, which doesn't help:[[BR]]
 config.h: Line 94[[BR]]
 change: #define   HAVE_FDATASYNC 1[[BR]]
 into: #define   HAVE_FDATASYNC 0

 Then in CMakeCache.txt, which helps:[[BR]]
 CMakeCache.txt: Line 1459[[BR]]
 change: HAVE_FDATASYNC:INTERNAL=1 [[BR]]
 into: HAVE_FDATASYNC:INTERNAL=0


 I don't know how this gets set originally...[[BR]]
 Maybe someone who knows might look into this.


 After that I ran into problems in [[BR]]
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kdeui/windowmanagement/kwindowsystem_mac.cpp[[BR]]
 There is some code missing, not portet to Mac64, yet...

-- 
Ticket URL: <http://trac.macports.org/ticket/21323>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list