#36524: base: truncated computed checksums on pure darwin ----------------------------+-------------------------------- Reporter: daiyu.hurst@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: base | Version: 2.1.2 Resolution: | Keywords: Port: | ----------------------------+-------------------------------- Comment (by ryandesign@…): I see you are running darwin 8, which is what Tiger was based on. Support for Tiger in MacPorts is rapidly declining; support for pure darwin 8 is undoubtedly worse. Is there a reason you're not using a more recent version of darwin? Mountain Lion is based on darwin 12. I have never used pure darwin, but am not opposed to installing a pure darwin test system, either in VMware or in a partition on my G4. I just don't know where to begin. If you can send me instructions for how you set it up, maybe I can follow them too. If they're long, you could email me privately rather than paste into this ticket. You can compile MacPorts with any compiler you like; it respects the CC environment variable. However our interest in gcc 3.3 at this time is nil, having started to decline in 2005 when Tiger was released and Apple changed the default compiler to gcc 4.0. And our interest in any kind of gcc is now declining, ever since Apple stopped shipping any version of gcc in Xcode 4.2 last year. About the checksum length issue, I know that OS X uses UTF-16 internally for many of its strings. An md5 checksum should be 32 characters, or 64 UTF-16 bytes, long. So I could envision a scenario where we're specifying that the string should be 32 characters long, but that's being misinterpreted on pure darwin as meaning 32 bytes long, resulting in the string being cut in half. But I don't know right now where in the code that might be, or even if it's anywhere in the MacPorts code at all. For all I know it could be in Tcl, or in darwin itself. I was going to ask if "make test" completes without errors, since I saw that we have a test of the checksum routines, but the tests don't complete for me either on a working Mountain Lion system, so nevermind. -- Ticket URL: <https://trac.macports.org/ticket/36524#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS