Description of problem: zlib-error raised if AWS uses external zlib-ada instead bundled Version-Release number of selected component (if applicable): zlib-ada-1.4-0.3.20120830CVS.fc17.x86_64 How reproducible: always Steps to Reproduce: 1.build aws: https://github.com/landgraf/aws-fedora 2.build sample code: http://vpaste.net/72ZYu 3.run sample program Actual results: raised ZLIB.ZLIB_ERROR Expected results: exit code 0 Additional info: There is no error with aws compiled from https://github.com/landgraf/aws-fedora/tree/zlib
Created attachment 630381 [details] remove external zlib-ada from aws
(In reply to comment #0) > 2.build sample code: http://vpaste.net/72ZYu That's not a sample program. It's a diff between two versions of AWS.Client. Did you link to the wrong file?
Created attachment 630575 [details] sample program
You can check any program with AWS.Client.Get function and https://
Created attachment 630726 [details] patch for zlib (revert?) This patch works for me.
Created attachment 630741 [details] Correct patch
Created attachment 630978 [details] project file to build the test program I can't reproduce this. I'm using zlib-1.2.5-7.fc17.x86_64, zlib-ada-1.4-0.3.20120830CVS.fc17.x86_64 and aws-2.11.0-8.fc17.x86_64. I'm attaching the project file I build your test program with. I've tried building the test program with both GPRbuild and Gnatmake, and I get exit code 0 every time I run it. Can you provide more details? A stack trace of where the exception is raised maybe?
It's magic. I've rebuilt and reinstalled aws and zlib-ada and cannot reproduce this bug. I'll test with clean installation later.