[MacPorts] #21866: Bacula 3.0.2 crashes on transfer in Snow Leopard 64bit

MacPorts noreply at macports.org
Wed Oct 7 17:38:22 PDT 2009


#21866: Bacula 3.0.2 crashes on transfer in Snow Leopard 64bit
---------------------------------+------------------------------------------
 Reporter:  claunia@…            |       Owner:  macsforever2000@…           
     Type:  defect               |      Status:  assigned                    
 Priority:  Normal               |   Milestone:                              
Component:  ports                |     Version:  1.8.1                       
 Keywords:  snowleopard          |        Port:  bacula                      
---------------------------------+------------------------------------------

Comment(by claunia@…):

 Changing buildarch to i386 does not work, let buildarch be commented,
 remove x86_64 from universal (JUST FOR bacula, let it from the
 dependencies), install bacula, executable is created.

 zeus:~ claunia$ file /opt/local/sbin/bacula-fd
 /opt/local/sbin/bacula-fd: Mach-O executable i386

 Testing, I got the same error:
 08-oct 01:35 zeus-fd: ERROR in find_one.c:706 Failed ASSERT: name_max+1 >
 (int)sizeof(struct dirent) + (int)NAMELEN(entry)

 It's not a 64-bit issue, it's a runtime or compiler one.
 The 64-bit patch that was applied seems to not be a problem as it allows
 it to compile and give the same error as in 32-bit.

 Is there anyway to disable optimizations?

 DEBUG: Environment: CFLAGS='-O2 -arch i386' CPPFLAGS='-I/opt/local/include
 -I/opt/local/ncurses' CXXFLAGS='-O2 -arch i386'

 Maybe that -O2 is the problem, my gentoo CFLAGS are CFLAGS="-march=nocona
 -mfpmath=sse -msse -msse2 -mmmx -msse3 -O3 -pipe" and it works.

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


More information about the macports-tickets mailing list