[MacPorts] #23303: procfs fails to compile under Snow Leopard

MacPorts noreply at macports.org
Sat Jan 16 02:13:46 PST 2010


#23303: procfs fails to compile under Snow Leopard
------------------------------------------+---------------------------------
 Reporter:  hans.ekkehard.plesser@…       |       Owner:  macports-tickets@…                   
     Type:  defect                        |      Status:  new                                  
 Priority:  Normal                        |   Milestone:                                       
Component:  ports                         |     Version:  1.8.2                                
 Keywords:                                |        Port:  procfs                               
------------------------------------------+---------------------------------
 procfs fails to compile under Snow Leopard (OSX 10.6) with several errors
 in procfs.cc. I get the following error messages:

 {{{
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_procfs/work/procfs-2.0"
 && /usr/bin/make -j2 all'
 g++ -c -Wall -D_FILE_OFFSET_BITS=64 -D__FreeBSD__=10 -O -g -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -I/opt/local/include -o procfs.o procfs.cc
 procfs.cc: In function 'kern_return_t
 sms_getOrientation_hardware_apple(MotionSensorData_t*)':
 procfs.cc:103: error: 'IOConnectMethodStructureIStructureO' was not
 declared in this scope
 }}}

 {{{
 procfs.cc: In function 'int
 procfs_open_proc__windows__identify(procfs_dispatcher_entry*, const
 char**, const char*, fuse_file_info*)':
 procfs.cc:1234: error: jump to label 'bail'
 procfs.cc:1226: error:   from here
 procfs.cc:1228: error:   crosses initialization of 'int npid'
 procfs.cc: In function 'int
 procfs_read_default_file_finder_info(procfs_dispatcher_entry*, const
 char**, char*, size_t, off_t, fuse_file_info*)':
 procfs.cc:1918: warning: comparison between signed and unsigned integer
 expressions
 procfs.cc: In function 'int
 procfs_read_system__firmware__variables(procfs_dispatcher_entry*, const
 char**, char*, size_t, off_t, fuse_file_info*)':
 procfs.cc:1950: warning: comparison between signed and unsigned integer
 expressions
 procfs.cc:1955: error: jump to label 'done'
 procfs.cc:1944: error:   from here
 procfs.cc:1947: error:   crosses initialization of 'const UInt8* tmpbuf'
 }}}

 The complete debugging output is attached. My system is a fresh install
 with all current updates, i.e. OSX 10.6.2 and XCode 3.2.1.

 One thing I am a bit surprised about is that procfs seems to be built
 using MacOSX10.5.sdk.

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


More information about the macports-tickets mailing list