From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: debian 6 aws.client.post sll trouble Date: Sat, 22 Jun 2013 13:24:36 +0200 Organization: A noiseless patient Spider Message-ID: <87hagqe6bv.fsf@ludovic-brenta.org> References: <884e2967-ec5f-4c79-abd9-4982a36afd5f@googlegroups.com> <51C32CA1.7040305@obry.net> <10b20c2e-a8b7-41b1-b015-296212546f96@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="35ce6d4984848defa281af7d770a5842"; logging-data="3383"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MmChemDmSEC+nK9LY9twH" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:83qMod5M9QKHgaJISo4Mapu0DJg= sha1:yjiEfNa0OI2rsHV0y59X3S1Lm9o= X-Original-Bytes: 3258 Xref: number.nntp.dca.giganews.com comp.lang.ada:182023 Date: 2013-06-22T13:24:36+02:00 List-Id: björn lundin writes: >> Hmm, I was hoping not to have to do that. >> I'll try this weekend. > > ok, uninstalled the debian pre-packaged, > and installed from source, editing makefile.conf > > Seems to work :-) > But I am a bit surprised that AWS on Debian is not packaged with ssl > enabled by default That's because the OpenSSH license is incompatible with the GPL that AWS uses, see /usr/share/doc/libaws2.10.2-dev/README.Debian, which I reproduce here for your convenience: Ada Web Server for Debian - maintainer's notes The Ada Web Server library can use either libopenssl or libgnutls for strong cryptography. This enables support for the HTTPS and other encrypted protocols. Unfortunately there are problems with both libraries. libopenssl is licensed under terms incompatible with the General Public License, while libaws is licensed under the GPL. Therefore, Debian cannot ship binaries of libaws linked with libopenssl. Linking libaws with libgnutls has a technical problem which I haven't been able to correct. The symptom is that both ada2wsdl and wsdl2aws segfault during elaboration. The segmentation fault takes place in the call to gcry_control which is at aws-net-ssl__gnutls.adb:1000. Ted Dennison writes: > Obviously there could be a million reasons for this. However, I know > a common cause of this particular symptom in an Ada program is a > task having too small of a stack for the amount of data being > declared in it. There's usually a global default, which can be > changed for a given task with pragma Storage_Size. > Most tasks are created and have their stack variables built during > elaboration. The exception would be task objects (of a defined task > type) that are dynamically allocated. Even those *could* be created > during an elaboration, if the coder allocates them inside a > package's "begin...end" block. If you would like to help solve this problem, please send email to aws@lists.adacore.com (I'm on that list, so you don't need to CC me). -- Ludovic Brenta, 2008-06-01