From novel at FreeBSD.org Sun Mar 1 17:17:40 2009 From: novel at FreeBSD.org (Roman Bogorodskiy) Date: Sun, 1 Mar 2009 19:17:40 +0300 Subject: GnuTLS 2.7.6 In-Reply-To: <87hc2fzxc0.fsf@mocca.josefsson.org> References: <87hc2fzxc0.fsf@mocca.josefsson.org> Message-ID: <20090301161740.GA1280@underworld.novel.ru> Simon Josefsson wrote: > The GnuTLS 2.7.x branch is NOT what you want for your stable system. It > is intended for developers and experienced users. This version won't build if no previous version on gnutls present on the system, because it needs gnutls/gnutls.h header file, but don't pass correct include path to it (at least when building without guile support). Making all in x509 restore=: && backupdir=".am$$" && am__cwd=`pwd` && cd . && rm -rf $backupdir && mkdir $backupdir && if (/bin/sh /work/a/ports/security/gnutls-devel/work/gnutls-2.7.6/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then for f in ./gnutls.info ./gnutls.info-[0-9] ./gnutls.info-[0-9][0-9] ./gnutls.i[0-9] ./gnutls.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else :; fi && cd "$am__cwd"; if /bin/sh /work/a/ports/security/gnutls-devel/work/gnutls-2.7.6/build-aux/missing --run makeinfo -I ../doc -I . -o ./gnutls.info ./gnutls.texi; then rc=0; cd .; else rc=$?; cd . && $restore $backupdir/* `echo "././gnutls.info" | sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -fPIC -O2 -pipe -fno-strict-aliasing -MT errcodes.o -MD -MP -MF .deps/errcodes.Tpo -c -o errcodes.o errcodes.c errcodes.c:28:27: error: gnutls/gnutls.h: No such file or directory errcodes.c: In function 'main': errcodes.c:59: warning: implicit declaration of function 'gnutls_strerror_name' errcodes.c:59: warning: assignment makes pointer from integer without a cast errcodes.c:73: warning: implicit declaration of function 'gnutls_strerror' errcodes.c:73: warning: assignment makes pointer from integer without a cast *** Error code 1 Stop in /work/a/ports/security/gnutls-devel/work/gnutls-2.7.6/doc. *** Error code 1 Roman Bogorodskiy From simon at josefsson.org Mon Mar 2 09:25:45 2009 From: simon at josefsson.org (Simon Josefsson) Date: Mon, 02 Mar 2009 09:25:45 +0100 Subject: GnuTLS 2.7.6 In-Reply-To: <20090301161740.GA1280@underworld.novel.ru> (Roman Bogorodskiy's message of "Sun, 1 Mar 2009 19:17:40 +0300") References: <87hc2fzxc0.fsf@mocca.josefsson.org> <20090301161740.GA1280@underworld.novel.ru> Message-ID: <87ocwkfi0m.fsf@mocca.josefsson.org> Roman Bogorodskiy writes: > Simon Josefsson wrote: > >> The GnuTLS 2.7.x branch is NOT what you want for your stable system. It >> is intended for developers and experienced users. > > This version won't build if no previous version on gnutls present on the > system, because it needs gnutls/gnutls.h header file, but don't pass > correct include path to it (at least when building without guile > support). Thanks for the report. It should be fixed now, please try tomorrow's snapshot to verify. /Simon From elcuore at gmail.com Tue Mar 10 17:29:48 2009 From: elcuore at gmail.com (=?KOI8-R?B?4c7E0sXKIOHGz87JztPLyco=?=) Date: Tue, 10 Mar 2009 19:29:48 +0300 Subject: 2.6.4 make error Message-ID: <4622179a0903100929s210a965crba4abb232e4777cb@mail.gmail.com> hello, i have some errors while installing from bsd ports: #make ... restore=: && backupdir=".am$$" && am__cwd=`pwd` && cd . && rm -rf $backupdir && mkdir $backupdir && if (/bin/sh /usr/ports/security/gnutls/work/gnutls-2.6.4/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then for f in ./gnutls.info./gnutls.info-[0-9] ./gnutls.info-[0-9][0-9] ./gnutls.i[0-9] ./gnutls.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else :; fi && cd "$am__cwd"; if /bin/sh /usr/ports/security/gnutls/work/gnutls-2.6.4/build-aux/missing --run makeinfo -I ../doc -I . -o ./gnutls.info ./gnutls.texi; then rc=0; cd .; else rc=$?; cd . && $restore $backupdir/* `echo "././gnutls.info" | sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc ./gnutls.texi:1573: Unknown command `headitem'. ./gnutls.texi:1996: Unknown command `euro'. ./gnutls.texi:1996: Misplaced {. ./gnutls.texi:1996: Misplaced }. ./gnutls.texi:1997: Unknown command `euro'. ./gnutls.texi:1997: Misplaced {. ./gnutls.texi:1997: Misplaced }. makeinfo: Removing output file `./gnutls.info' due to errors; use --force to preserve. *** Error code 1 ... some useful (i guess) info: # pkg_info | grep texinfo texinfo-4.11 A typeset documentation system with multiple format output FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE your ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon at josefsson.org Wed Mar 11 12:28:50 2009 From: simon at josefsson.org (Simon Josefsson) Date: Wed, 11 Mar 2009 12:28:50 +0100 Subject: 2.6.4 make error In-Reply-To: <4622179a0903100929s210a965crba4abb232e4777cb@mail.gmail.com> (=?utf-8?B?ItCQ0L3QtNGA0LXQuSDQkNGE0L7QvdC40L3RgdC60LjQuSIncw==?= message of "Tue, 10 Mar 2009 19:29:48 +0300") References: <4622179a0903100929s210a965crba4abb232e4777cb@mail.gmail.com> Message-ID: <87ab7se1sd.fsf@mocca.josefsson.org> ?????? ?????????? writes: > hello, > i have some errors while installing from bsd ports: > #make > ... > restore=: && backupdir=".am$$" && am__cwd=`pwd` && cd . && rm -rf > $backupdir && mkdir $backupdir && if (/bin/sh > /usr/ports/security/gnutls/work/gnutls-2.6.4/build-aux/missing --run > makeinfo --version) >/dev/null 2>&1; then for f in > ./gnutls.info./gnutls.info-[0-9] ./gnutls.info-[0-9][0-9] > ./gnutls.i[0-9] > ./gnutls.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; > else :; fi; done; else :; fi && cd "$am__cwd"; if /bin/sh > /usr/ports/security/gnutls/work/gnutls-2.6.4/build-aux/missing --run > makeinfo -I ../doc -I . -o ./gnutls.info ./gnutls.texi; then rc=0; cd > .; else rc=$?; cd . && $restore $backupdir/* `echo "././gnutls.info" | > sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc > ./gnutls.texi:1573: Unknown command `headitem'. > ./gnutls.texi:1996: Unknown command `euro'. > ./gnutls.texi:1996: Misplaced {. > ./gnutls.texi:1996: Misplaced }. > ./gnutls.texi:1997: Unknown command `euro'. > ./gnutls.texi:1997: Misplaced {. > ./gnutls.texi:1997: Misplaced }. > makeinfo: Removing output file `./gnutls.info' due to errors; use --force to > preserve. > *** Error code 1 > ... > some useful (i guess) info: > # pkg_info | grep texinfo > texinfo-4.11 A typeset documentation system with multiple format > output > > FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE > > your ideas? Can you run 'makeinfo --version'? You need texinfo 4.8 or later for the @euro command. I don't understand why it doesn't work if you really have 4.11 installed. However, the manual should not be rebuilt by default so it seems there is some other problem as well. /Simon From elcuore at gmail.com Wed Mar 11 13:13:18 2009 From: elcuore at gmail.com (=?KOI8-R?B?4c7E0sXKIOHGz87JztPLyco=?=) Date: Wed, 11 Mar 2009 15:13:18 +0300 Subject: 2.6.4 make error In-Reply-To: <87ab7se1sd.fsf@mocca.josefsson.org> References: <4622179a0903100929s210a965crba4abb232e4777cb@mail.gmail.com> <87ab7se1sd.fsf@mocca.josefsson.org> Message-ID: <4622179a0903110513pb7683e9i47a012bf76ea7cec@mail.gmail.com> yes, the problem is: # /usr/bin/makeinfo --version makeinfo (GNU texinfo) 4.6 # /usr/local/bin/makeinfo --version makeinfo (GNU texinfo) 4.11 thank you p.s.: solved the problem by making empty Makefile in /doc 2009/3/11 Simon Josefsson > ?????? ?????????? writes: > > > hello, > > i have some errors while installing from bsd ports: > > #make > > ... > > restore=: && backupdir=".am$$" && am__cwd=`pwd` && cd . && rm -rf > > $backupdir && mkdir $backupdir && if (/bin/sh > > /usr/ports/security/gnutls/work/gnutls-2.6.4/build-aux/missing --run > > makeinfo --version) >/dev/null 2>&1; then for f in > > ./gnutls.info./gnutls.info-[0-9] ./gnutls.info-[0-9][0-9] > > ./gnutls.i[0-9] > > ./gnutls.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; > restore=mv; > > else :; fi; done; else :; fi && cd "$am__cwd"; if /bin/sh > > /usr/ports/security/gnutls/work/gnutls-2.6.4/build-aux/missing --run > > makeinfo -I ../doc -I . -o ./gnutls.info ./gnutls.texi; then rc=0; > cd > > .; else rc=$?; cd . && $restore $backupdir/* `echo "././gnutls.info" > | > > sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc > > ./gnutls.texi:1573: Unknown command `headitem'. > > ./gnutls.texi:1996: Unknown command `euro'. > > ./gnutls.texi:1996: Misplaced {. > > ./gnutls.texi:1996: Misplaced }. > > ./gnutls.texi:1997: Unknown command `euro'. > > ./gnutls.texi:1997: Misplaced {. > > ./gnutls.texi:1997: Misplaced }. > > makeinfo: Removing output file `./gnutls.info' due to errors; use > --force to > > preserve. > > *** Error code 1 > > ... > > some useful (i guess) info: > > # pkg_info | grep texinfo > > texinfo-4.11 A typeset documentation system with multiple format > > output > > > > FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE > > > > your ideas? > > Can you run 'makeinfo --version'? You need texinfo 4.8 or later for the > @euro command. I don't understand why it doesn't work if you really > have 4.11 installed. > > However, the manual should not be rebuilt by default so it seems there > is some other problem as well. > > /Simon > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkg at fifthhorseman.net Fri Mar 13 17:56:35 2009 From: dkg at fifthhorseman.net (Daniel Kahn Gillmor) Date: Fri, 13 Mar 2009 12:56:35 -0400 Subject: ocaml bindings for gnutls? Message-ID: <49BA9043.8020806@fifthhorseman.net> hey folks-- Does anyone know of ocaml bindings for gnutls? SKS is a popular free OpenPGP keyserver implementation, and there are currently discussions going on (at sks-devel at nongnu.org) about adding TLS support to it. SKS GPL'ed software, written in ocaml (which i don't know at all), which (at least according to debian) makes it unfit to link against OpenSSL. Plus, it would be really nice to use OpenPGP certificates instead of X.509 certificates for connections to (and between) OpenPGP keyservers, and GnuTLS is the only tool which supports that at the moment. So i'm looking to see if anyone has done any ocaml bindings for GnuTLS -- or, failing that, do any of the GnuTLS developers have any experience with ocaml? Regards, --dkg -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 890 bytes Desc: OpenPGP digital signature URL: From simon at josefsson.org Mon Mar 16 13:03:15 2009 From: simon at josefsson.org (Simon Josefsson) Date: Mon, 16 Mar 2009 13:03:15 +0100 Subject: ocaml bindings for gnutls? In-Reply-To: <49BA9043.8020806@fifthhorseman.net> (Daniel Kahn Gillmor's message of "Fri, 13 Mar 2009 12:56:35 -0400") References: <49BA9043.8020806@fifthhorseman.net> Message-ID: <87iqm9eku4.fsf@mocca.josefsson.org> Daniel Kahn Gillmor writes: > hey folks-- > > Does anyone know of ocaml bindings for gnutls? I don't. > Plus, it would be really nice to use OpenPGP certificates instead of > X.509 certificates for connections to (and between) OpenPGP keyservers, > and GnuTLS is the only tool which supports that at the moment. Indeed. > So i'm looking to see if anyone has done any ocaml bindings for GnuTLS > -- or, failing that, do any of the GnuTLS developers have any experience > with ocaml? I haven't used OCAML in many years, so I don't have any useful experience with it. However, adding GnuTLS bindings for various languages is often requested so I would like to see this happening. If you want to develop this, you could work on it in a ocaml/ sub-directory similar to the existing guile/ sub-directory. /Simon From simon at josefsson.org Mon Mar 16 16:44:40 2009 From: simon at josefsson.org (Simon Josefsson) Date: Mon, 16 Mar 2009 16:44:40 +0100 Subject: 2.6.4 make error In-Reply-To: <4622179a0903110513pb7683e9i47a012bf76ea7cec@mail.gmail.com> (=?utf-8?B?ItCQ0L3QtNGA0LXQuSDQkNGE0L7QvdC40L3RgdC60LjQuSIncw==?= message of "Wed, 11 Mar 2009 15:13:18 +0300") References: <4622179a0903100929s210a965crba4abb232e4777cb@mail.gmail.com> <87ab7se1sd.fsf@mocca.josefsson.org> <4622179a0903110513pb7683e9i47a012bf76ea7cec@mail.gmail.com> Message-ID: <87k56pbhg7.fsf@mocca.josefsson.org> ?????? ?????????? writes: > yes, the problem is: > # /usr/bin/makeinfo --version > makeinfo (GNU texinfo) 4.6 > # /usr/local/bin/makeinfo --version > makeinfo (GNU texinfo) 4.11 > > thank you > > p.s.: solved the problem by making empty Makefile in /doc Debugging why the manual was attempted to be re-built in the first place would be useful. Maybe it is file system related, did you build this on NFS? Did you do anything beyond ./configure + make? If you patched some source file, that may explain it -- the documentation is automatically generated from the source code. If the source code is changed, the manual needs to be rebuilt. So if you patched some source code, you may want to restore the file timestamp on it instead. /Simon From simon at josefsson.org Mon Mar 16 16:51:49 2009 From: simon at josefsson.org (Simon Josefsson) Date: Mon, 16 Mar 2009 16:51:49 +0100 Subject: 2.6.4 make error In-Reply-To: <87k56pbhg7.fsf@mocca.josefsson.org> (Simon Josefsson's message of "Mon, 16 Mar 2009 16:44:40 +0100") References: <4622179a0903100929s210a965crba4abb232e4777cb@mail.gmail.com> <87ab7se1sd.fsf@mocca.josefsson.org> <4622179a0903110513pb7683e9i47a012bf76ea7cec@mail.gmail.com> <87k56pbhg7.fsf@mocca.josefsson.org> Message-ID: <87fxhdbh4a.fsf@mocca.josefsson.org> Simon Josefsson writes: > ?????? ?????????? writes: > >> yes, the problem is: >> # /usr/bin/makeinfo --version >> makeinfo (GNU texinfo) 4.6 >> # /usr/local/bin/makeinfo --version >> makeinfo (GNU texinfo) 4.11 >> >> thank you >> >> p.s.: solved the problem by making empty Makefile in /doc > > Debugging why the manual was attempted to be re-built in the first place > would be useful. Maybe it is file system related, did you build this on > NFS? Did you do anything beyond ./configure + make? > > If you patched some source file, that may explain it -- the > documentation is automatically generated from the source code. If the > source code is changed, the manual needs to be rebuilt. So if you > patched some source code, you may want to restore the file timestamp on > it instead. I tested, and patching source code in lib/ shouldn't be a problem unless you modified lib/gnutls_errors.c. The other texi files are only generated if they are missing (which only happens on checkout from git). /Simon From kensanata at gmail.com Mon Mar 16 02:59:48 2009 From: kensanata at gmail.com (=?ISO-8859-1?Q?Alex_Schr=F6der?=) Date: Mon, 16 Mar 2009 02:59:48 +0100 Subject: Building on Mac OS 10.3.9 Message-ID: <9abbd5730903151859m2d945d65m1091bb35395fd611@mail.gmail.com> Hi I am trying to build gnutls-2.6.4 on an old iBook laptop. I just finished building and installing libgcrypt-1.4.4 and libgpg-error-1.7. Compilation fails here: cipher-libgcrypt.c: In function `wrap_gcry_cipher_init': cipher-libgcrypt.c:84: error: `GCRY_CIPHER_CAMELLIA128' undeclared (first use in this function) cipher-libgcrypt.c:84: error: (Each undeclared identifier is reported only once cipher-libgcrypt.c:84: error: for each function it appears in.) cipher-libgcrypt.c:90: error: `GCRY_CIPHER_CAMELLIA256' undeclared (first use in this function) When I try configure --disable-camellia, I'm getting a different error: mac-libgcrypt.c: In function `wrap_gcry_hash_init': mac-libgcrypt.c:123: error: `GCRY_MD_SHA224' undeclared (first use in this function) mac-libgcrypt.c:123: error: (Each undeclared identifier is reported only once mac-libgcrypt.c:123: error: for each function it appears in.) Any ideas? Regards Alex From simon at josefsson.org Tue Mar 17 12:57:09 2009 From: simon at josefsson.org (Simon Josefsson) Date: Tue, 17 Mar 2009 12:57:09 +0100 Subject: Building on Mac OS 10.3.9 In-Reply-To: <9abbd5730903151859m2d945d65m1091bb35395fd611@mail.gmail.com> ("Alex =?iso-8859-1?Q?Schr=F6der=22's?= message of "Mon, 16 Mar 2009 02:59:48 +0100") References: <9abbd5730903151859m2d945d65m1091bb35395fd611@mail.gmail.com> Message-ID: <87tz5s746i.fsf@mocca.josefsson.org> Alex Schr?der writes: > Hi > > I am trying to build gnutls-2.6.4 on an old iBook laptop. I just > finished building and installing libgcrypt-1.4.4 and libgpg-error-1.7. > > Compilation fails here: > > cipher-libgcrypt.c: In function `wrap_gcry_cipher_init': > cipher-libgcrypt.c:84: error: `GCRY_CIPHER_CAMELLIA128' undeclared > (first use in this function) > cipher-libgcrypt.c:84: error: (Each undeclared identifier is reported only once > cipher-libgcrypt.c:84: error: for each function it appears in.) > cipher-libgcrypt.c:90: error: `GCRY_CIPHER_CAMELLIA256' undeclared > (first use in this function) > > When I try configure --disable-camellia, I'm getting a different error: > > mac-libgcrypt.c: In function `wrap_gcry_hash_init': > mac-libgcrypt.c:123: error: `GCRY_MD_SHA224' undeclared (first use in > this function) > mac-libgcrypt.c:123: error: (Each undeclared identifier is reported only once > mac-libgcrypt.c:123: error: for each function it appears in.) > > Any ideas? Are you sure it is using the header file from your libgcrypt 1.4.4 installation rather than some older installation? Use --with-libgcrypt-prefix=/usr/local or similar to make gnutls use the proper libgcrypt. Modern GnuTLS requires libgcrypt 1.4 or later for SHA-2/Camellia support. /Simon From kensanata at gmail.com Tue Mar 17 21:05:31 2009 From: kensanata at gmail.com (=?ISO-8859-1?Q?Alex_Schr=F6der?=) Date: Tue, 17 Mar 2009 21:05:31 +0100 Subject: Building on Mac OS 10.3.9 In-Reply-To: <87tz5s746i.fsf@mocca.josefsson.org> References: <9abbd5730903151859m2d945d65m1091bb35395fd611@mail.gmail.com> <87tz5s746i.fsf@mocca.josefsson.org> Message-ID: <9abbd5730903171305k25f51874n2b586e02b1bb687@mail.gmail.com> You were right! I had a copy of libgcrypt 1.2.2 installed via MacPorts. There was no libgcrypt-config with that installation, which is why gnutls configure tells me that I need to install libgcrypt. Once I have that installed, I have a libgcrypt-config, the tests works, but /opt/local/include still ends up being used, and thus 1.2.2 is being used instead of 1.4.4. Uninstalling libgcrypt 1.2.2 solved the problem. Thanks! On Tue, Mar 17, 2009 at 12:57, Simon Josefsson wrote: > Alex Schr?der writes: > >> Hi >> >> I am trying to build gnutls-2.6.4 on an old iBook laptop. I just >> finished building and installing libgcrypt-1.4.4 and libgpg-error-1.7. >> >> Compilation fails here: >> >> cipher-libgcrypt.c: In function `wrap_gcry_cipher_init': >> cipher-libgcrypt.c:84: error: `GCRY_CIPHER_CAMELLIA128' undeclared >> (first use in this function) >> cipher-libgcrypt.c:84: error: (Each undeclared identifier is reported only once >> cipher-libgcrypt.c:84: error: for each function it appears in.) >> cipher-libgcrypt.c:90: error: `GCRY_CIPHER_CAMELLIA256' undeclared >> (first use in this function) >> >> When I try configure --disable-camellia, I'm getting a different error: >> >> mac-libgcrypt.c: In function `wrap_gcry_hash_init': >> mac-libgcrypt.c:123: error: `GCRY_MD_SHA224' undeclared (first use in >> this function) >> mac-libgcrypt.c:123: error: (Each undeclared identifier is reported only once >> mac-libgcrypt.c:123: error: for each function it appears in.) >> >> Any ideas? > > Are you sure it is using the header file from your libgcrypt 1.4.4 > installation rather than some older installation? Use > --with-libgcrypt-prefix=/usr/local or similar to make gnutls use the > proper libgcrypt. > > Modern GnuTLS requires libgcrypt 1.4 or later for SHA-2/Camellia > support. > > /Simon > From simon at josefsson.org Mon Mar 23 15:17:27 2009 From: simon at josefsson.org (Simon Josefsson) Date: Mon, 23 Mar 2009 15:17:27 +0100 Subject: Libtasn1 2.0 release candidate Message-ID: <87prg81fyg.fsf@mocca.josefsson.org> I'm going to release libtasn1 v2.0 in a week or so, please test the following archive to make sure the official release will work fine. http://daily.josefsson.org/libtasn1/libtasn1-20090323.tar.gz /Simon From seggelmann at fh-muenster.de Mon Mar 23 15:44:20 2009 From: seggelmann at fh-muenster.de (Robin Seggelmann) Date: Mon, 23 Mar 2009 07:44:20 -0700 Subject: Compiling issues on Mac OS X 10.5.6 Message-ID: <1948331F-10B9-4191-B841-20708E72BC0B@fh-muenster.de> Hi everyone, I checked the latest GNUTLS out of the git repository and tried to build it on Mac OS X 10.5.6. Unfortunately I only get to the language files where I get the following errors: Making install in po test ! -f ./libgnutls.pot || \ test -z "en at boldquot.gmo en at quot.gmo de.gmo fr.gmo ms.gmo nl.gmo pl.gmo sv.gmo vi.gmo" || make en at boldquot.gmo en at quot.gmo de.gmo fr.gmo ms.gmo nl.gmo pl.gmo sv.gmo vi.gmo rm -f en at boldquot.gmo && /usr/local/bin/msgfmt -c --statistics -o en at boldquot.gmo en at boldquot.po en at boldquot.po:46: `msgid' and `msgstr' entries do not both end with '\n' en at boldquot.po:50: `msgid' and `msgstr' entries do not both end with '\n' en at boldquot.po:54: `msgid' and `msgstr' entries do not both end with '\n' ... en at boldquot.po:1127: `msgid' and `msgstr' entries do not both end with '\n' en at boldquot.po:1132: `msgid' and `msgstr' entries do not both end with '\n' en at boldquot.po:1137: `msgid' and `msgstr' entries do not both end with '\n' /usr/local/bin/msgfmt: found 161 fatal errors 245 translated messages. make[3]: *** [en at boldquot.gmo] Error 1 make[2]: *** [stamp-po] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 Despite that this can't be the solution, I added '\n' to every line msgfmt complains about. Then I get the same errors for the file en at quot.po . If I also correct them, it complains about not finding the file de.po which actually isn't there, just a de.po.in. Renaming doesn't solve anything. Does anyone know what's going wrong here? Best regards, Robin From simon at josefsson.org Mon Mar 23 17:06:04 2009 From: simon at josefsson.org (Simon Josefsson) Date: Mon, 23 Mar 2009 17:06:04 +0100 Subject: Compiling issues on Mac OS X 10.5.6 In-Reply-To: <1948331F-10B9-4191-B841-20708E72BC0B@fh-muenster.de> (Robin Seggelmann's message of "Mon, 23 Mar 2009 07:44:20 -0700") References: <1948331F-10B9-4191-B841-20708E72BC0B@fh-muenster.de> Message-ID: <87r60oz0k3.fsf@mocca.josefsson.org> Robin Seggelmann writes: > Hi everyone, > I checked the latest GNUTLS out of the git repository and tried to > build it on Mac OS X 10.5.6. Unfortunately I only get to the language > files where I get the following errors: > > Making install in po > test ! -f ./libgnutls.pot || \ > test -z "en at boldquot.gmo en at quot.gmo de.gmo fr.gmo ms.gmo > nl.gmo pl.gmo sv.gmo vi.gmo" || make en at boldquot.gmo en at quot.gmo > de.gmo fr.gmo ms.gmo nl.gmo pl.gmo sv.gmo vi.gmo > rm -f en at boldquot.gmo && /usr/local/bin/msgfmt -c --statistics -o > en at boldquot.gmo > en at boldquot.po > en at boldquot.po:46: `msgid' and `msgstr' entries do not both end with > \n' > en at boldquot.po:50: `msgid' and `msgstr' entries do not both end with > \n' > en at boldquot.po:54: `msgid' and `msgstr' entries do not both end with > \n' > > ... > > en at boldquot.po:1127: `msgid' and `msgstr' entries do not both end with > \n' > en at boldquot.po:1132: `msgid' and `msgstr' entries do not both end with > \n' > en at boldquot.po:1137: `msgid' and `msgstr' entries do not both end with > \n' > /usr/local/bin/msgfmt: found 161 fatal errors > 245 translated messages. > make[3]: *** [en at boldquot.gmo] Error 1 > make[2]: *** [stamp-po] Error 2 > make[1]: *** [install-recursive] Error 1 > make: *** [install-recursive] Error 1 > > > Despite that this can't be the solution, I added '\n' to every line > msgfmt complains about. Then I get the same errors for the file > en at quot.po . If I also correct them, it complains about not finding > the file de.po which actually isn't there, just a de.po.in. Renaming > doesn't solve anything. > > Does anyone know what's going wrong here? How did you build it? Check cfg.mk: autoreconf: for f in $(PODIR)/*.po.in; do \ cp $$f `echo $$f | sed 's/.in//'`; \ done mv lib/build-aux/config.rpath lib/build-aux/config.rpath- test -f ./configure || autoreconf --install mv lib/build-aux/config.rpath- lib/build-aux/config.rpath So you should type 'make autoreconf' to make it copy the po/*.po.in files to po/*.po. This is also the default make rule, so after a clean 'git' checkout, you should be able to do just 'make'. /Simon From seggelmann at fh-muenster.de Mon Mar 23 17:34:44 2009 From: seggelmann at fh-muenster.de (Robin Seggelmann) Date: Mon, 23 Mar 2009 09:34:44 -0700 Subject: Compiling issues on Mac OS X 10.5.6 In-Reply-To: <87r60oz0k3.fsf@mocca.josefsson.org> References: <1948331F-10B9-4191-B841-20708E72BC0B@fh-muenster.de> <87r60oz0k3.fsf@mocca.josefsson.org> Message-ID: On Mar 23, 2009, at 9:06 AM, Simon Josefsson wrote: > Robin Seggelmann writes: > >> Hi everyone, >> I checked the latest GNUTLS out of the git repository and tried to >> build it on Mac OS X 10.5.6. Unfortunately I only get to the language >> files where I get the following errors: >> >> Making install in po >> test ! -f ./libgnutls.pot || \ >> test -z "en at boldquot.gmo en at quot.gmo de.gmo fr.gmo ms.gmo >> nl.gmo pl.gmo sv.gmo vi.gmo" || make en at boldquot.gmo en at quot.gmo >> de.gmo fr.gmo ms.gmo nl.gmo pl.gmo sv.gmo vi.gmo >> rm -f en at boldquot.gmo && /usr/local/bin/msgfmt -c --statistics -o >> en at boldquot.gmo >> en at boldquot.po >> en at boldquot.po:46: `msgid' and `msgstr' entries do not both end with >> \n' >> en at boldquot.po:50: `msgid' and `msgstr' entries do not both end with >> \n' >> en at boldquot.po:54: `msgid' and `msgstr' entries do not both end with >> \n' >> >> ... >> >> en at boldquot.po:1127: `msgid' and `msgstr' entries do not both end >> with >> \n' >> en at boldquot.po:1132: `msgid' and `msgstr' entries do not both end >> with >> \n' >> en at boldquot.po:1137: `msgid' and `msgstr' entries do not both end >> with >> \n' >> /usr/local/bin/msgfmt: found 161 fatal errors >> 245 translated messages. >> make[3]: *** [en at boldquot.gmo] Error 1 >> make[2]: *** [stamp-po] Error 2 >> make[1]: *** [install-recursive] Error 1 >> make: *** [install-recursive] Error 1 >> >> >> Despite that this can't be the solution, I added '\n' to every line >> msgfmt complains about. Then I get the same errors for the file >> en at quot.po . If I also correct them, it complains about not finding >> the file de.po which actually isn't there, just a de.po.in. Renaming >> doesn't solve anything. >> >> Does anyone know what's going wrong here? > > How did you build it? Check cfg.mk: > > autoreconf: > for f in $(PODIR)/*.po.in; do \ > cp $$f `echo $$f | sed 's/.in//'`; \ > done > mv lib/build-aux/config.rpath lib/build-aux/config.rpath- > test -f ./configure || autoreconf --install > mv lib/build-aux/config.rpath- lib/build-aux/config.rpath > > So you should type 'make autoreconf' to make it copy the po/*.po.in > files to po/*.po. This is also the default make rule, so after a > clean > 'git' checkout, you should be able to do just 'make'. > > /Simon > Unfortunately this command doesn't change anything. I made a clean git checkout and typed: autoreconf -i -f ./configure make That's all I did. The configure script runs fine, make compiles everything until it hits the language files. Then I get the same error as before. libgcrypt 1.4.4, libgpg-error 1.7 and gaa is installed. Robin From ametzler at downhill.at.eu.org Mon Mar 23 19:41:24 2009 From: ametzler at downhill.at.eu.org (Andreas Metzler) Date: Mon, 23 Mar 2009 19:41:24 +0100 Subject: Libtasn1 2.0 release candidate In-Reply-To: <87prg81fyg.fsf@mocca.josefsson.org> References: <87prg81fyg.fsf@mocca.josefsson.org> Message-ID: <20090323184124.GA3351@downhill.g.la> On 2009-03-23 Simon Josefsson wrote: > I'm going to release libtasn1 v2.0 in a week or so, please test the > following archive to make sure the official release will work fine. > http://daily.josefsson.org/libtasn1/libtasn1-20090323.tar.gz Hello Simon, iirc previous pre-releases featured a soname bump, but this one does not. Does the ASN1_BUILDING stuff do away with the need for the changed soname? (My gut feeling says no, but I do not claim to be able to currently understand what happens or b argue any case. ;-) cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' From seggelmann at fh-muenster.de Mon Mar 23 22:20:23 2009 From: seggelmann at fh-muenster.de (Robin Seggelmann) Date: Mon, 23 Mar 2009 14:20:23 -0700 Subject: Compiling issues on Mac OS X 10.5.6 In-Reply-To: References: <1948331F-10B9-4191-B841-20708E72BC0B@fh-muenster.de> <87r60oz0k3.fsf@mocca.josefsson.org> Message-ID: Ok, I tried again now. The following almost worked: autoreconf -i -f ./configure make Manually adding the hundreds of missing '\n' in en at boldquot.po and en at quot.po . make autoreconf make This is ok so far, but then I'm getting the following error: creating errcodes gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../lib/includes -I../lib/ includes -I/usr/local/include -g -O2 -MT printlist.o -MD -MP - MF .deps/printlist.Tpo -c -o printlist.o printlist.c printlist.c:26:26: error: gnutls/extra.h: No such file or directory make[4]: *** [printlist.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Is the git version seriously broken for Mac OS X or am I doing anything wrong?? Robin On Mar 23, 2009, at 9:34 AM, Robin Seggelmann wrote: > > On Mar 23, 2009, at 9:06 AM, Simon Josefsson wrote: > >> Robin Seggelmann writes: >> >>> Hi everyone, >>> I checked the latest GNUTLS out of the git repository and tried to >>> build it on Mac OS X 10.5.6. Unfortunately I only get to the >>> language >>> files where I get the following errors: >>> >>> Making install in po >>> test ! -f ./libgnutls.pot || \ >>> test -z "en at boldquot.gmo en at quot.gmo de.gmo fr.gmo ms.gmo >>> nl.gmo pl.gmo sv.gmo vi.gmo" || make en at boldquot.gmo en at quot.gmo >>> de.gmo fr.gmo ms.gmo nl.gmo pl.gmo sv.gmo vi.gmo >>> rm -f en at boldquot.gmo && /usr/local/bin/msgfmt -c --statistics -o >>> en at boldquot.gmo >>> en at boldquot.po >>> en at boldquot.po:46: `msgid' and `msgstr' entries do not both end with >>> \n' >>> en at boldquot.po:50: `msgid' and `msgstr' entries do not both end with >>> \n' >>> en at boldquot.po:54: `msgid' and `msgstr' entries do not both end with >>> \n' >>> >>> ... >>> >>> en at boldquot.po:1127: `msgid' and `msgstr' entries do not both end >>> with >>> \n' >>> en at boldquot.po:1132: `msgid' and `msgstr' entries do not both end >>> with >>> \n' >>> en at boldquot.po:1137: `msgid' and `msgstr' entries do not both end >>> with >>> \n' >>> /usr/local/bin/msgfmt: found 161 fatal errors >>> 245 translated messages. >>> make[3]: *** [en at boldquot.gmo] Error 1 >>> make[2]: *** [stamp-po] Error 2 >>> make[1]: *** [install-recursive] Error 1 >>> make: *** [install-recursive] Error 1 >>> >>> >>> Despite that this can't be the solution, I added '\n' to every line >>> msgfmt complains about. Then I get the same errors for the file >>> en at quot.po . If I also correct them, it complains about not finding >>> the file de.po which actually isn't there, just a de.po.in. >>> Renaming >>> doesn't solve anything. >>> >>> Does anyone know what's going wrong here? >> >> How did you build it? Check cfg.mk: >> >> autoreconf: >> for f in $(PODIR)/*.po.in; do \ >> cp $$f `echo $$f | sed 's/.in//'`; \ >> done >> mv lib/build-aux/config.rpath lib/build-aux/config.rpath- >> test -f ./configure || autoreconf --install >> mv lib/build-aux/config.rpath- lib/build-aux/config.rpath >> >> So you should type 'make autoreconf' to make it copy the po/*.po.in >> files to po/*.po. This is also the default make rule, so after a >> clean >> 'git' checkout, you should be able to do just 'make'. >> >> /Simon >> > > Unfortunately this command doesn't change anything. I made a clean > git checkout and typed: > > autoreconf -i -f > ./configure > make > > That's all I did. The configure script runs fine, make compiles > everything until it hits the language files. Then I get the same > error as before. libgcrypt 1.4.4, libgpg-error 1.7 and gaa is > installed. > > Robin > > > _______________________________________________ > Gnutls-devel mailing list > Gnutls-devel at gnu.org > http://lists.gnu.org/mailman/listinfo/gnutls-devel > From simon at josefsson.org Tue Mar 24 22:29:08 2009 From: simon at josefsson.org (Simon Josefsson) Date: Tue, 24 Mar 2009 22:29:08 +0100 Subject: Libtasn1 2.0 release candidate In-Reply-To: <20090323184124.GA3351@downhill.g.la> (Andreas Metzler's message of "Mon, 23 Mar 2009 19:41:24 +0100") References: <87prg81fyg.fsf@mocca.josefsson.org> <20090323184124.GA3351@downhill.g.la> Message-ID: <87iqlysj8b.fsf@mocca.josefsson.org> Andreas Metzler writes: > On 2009-03-23 Simon Josefsson wrote: >> I'm going to release libtasn1 v2.0 in a week or so, please test the >> following archive to make sure the official release will work fine. > >> http://daily.josefsson.org/libtasn1/libtasn1-20090323.tar.gz > > Hello Simon, > > iirc previous pre-releases featured a soname bump, but this one does > not. Does the ASN1_BUILDING stuff do away with the need for the > changed soname? (My gut feeling says no, but I do not claim to be able > to currently understand what happens or b argue any case. ;-) I believe it is now both API and ABI compatible, and thus there is no ABI bump required. The ASN1_BUILDING is just there to make the library use a slightly different struct definition internally: but it is compatible with the externally visible one. Having more eyes verify API/ABI compatibility would be good though. If we can preserve API/ABI compatibility I think we should do it. /Simon From simon at josefsson.org Tue Mar 24 22:32:24 2009 From: simon at josefsson.org (Simon Josefsson) Date: Tue, 24 Mar 2009 22:32:24 +0100 Subject: Compiling issues on Mac OS X 10.5.6 In-Reply-To: (Robin Seggelmann's message of "Mon, 23 Mar 2009 14:20:23 -0700") References: <1948331F-10B9-4191-B841-20708E72BC0B@fh-muenster.de> <87r60oz0k3.fsf@mocca.josefsson.org> Message-ID: <87eiwmsj2v.fsf@mocca.josefsson.org> Robin Seggelmann writes: > Ok, I tried again now. The following almost worked: > > autoreconf -i -f > ./configure > make > > Manually adding the hundreds of missing '\n' in en at boldquot.po and > en at quot.po > . > > make autoreconf > make Try this step instead, from a clean git checkout: make autoreconf make You need GNU make. > This is ok so far, but then I'm getting the following error: > > creating errcodes > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../lib/includes -I../lib/ > includes -I/usr/local/include -g -O2 -MT printlist.o -MD -MP - > MF .deps/printlist.Tpo -c -o printlist.o printlist.c > printlist.c:26:26: error: gnutls/extra.h: No such file or directory > make[4]: *** [printlist.o] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > Is the git version seriously broken for Mac OS X or am I doing > anything wrong?? Don't you have the file lib/includes/gnutls/extra.h? The -I../lib/includes should make gcc find it. /Simon From moa.bluebugs at gmail.com Wed Mar 25 19:16:10 2009 From: moa.bluebugs at gmail.com (Cedric BAIL) Date: Wed, 25 Mar 2009 19:16:10 +0100 Subject: [PATCH] Provide a gnutls_x509_crt_verify_hash Message-ID: <7625e9d90903251116jb71eeb7h2e5645eff4a3a91f@mail.gmail.com> Hi, I am currently using gnutls_x509_crt_verify_data to check the signature of a file generated with a GNUTLS_DIG_SHA1. After that I compare the SHA1 of the file in a database. So with the current API I wasn't able to find a way to do SHA1 computation only one time. I finally decided to implement gnutls_x509_crt_get_hash_algorithm and gnutls_x509_crt_verify_hash for this usecase on top of gnutls-2.7.6. So as I would like to solve this case in mainline, I would appreciate any comment to work on this goal. Thanks, -- Cedric BAIL -------------- next part -------------- A non-text attachment was scrubbed... Name: gnutls-less-sha1.diff Type: text/x-diff Size: 10412 bytes Desc: not available URL: From nmav at gnutls.org Thu Mar 26 19:38:29 2009 From: nmav at gnutls.org (Nikos Mavrogiannopoulos) Date: Thu, 26 Mar 2009 20:38:29 +0200 Subject: [PATCH] Provide a gnutls_x509_crt_verify_hash In-Reply-To: <7625e9d90903251116jb71eeb7h2e5645eff4a3a91f@mail.gmail.com> References: <7625e9d90903251116jb71eeb7h2e5645eff4a3a91f@mail.gmail.com> Message-ID: <49CBCBA5.3060800@gnutls.org> Cedric BAIL wrote: > Hi, > > I am currently using gnutls_x509_crt_verify_data to check the > signature of a file generated with a GNUTLS_DIG_SHA1. After that I > compare the SHA1 of the file in a database. So with the current API I > wasn't able to find a way to do SHA1 computation only one time. > I finally decided to implement gnutls_x509_crt_get_hash_algorithm > and gnutls_x509_crt_verify_hash for this usecase on top of > gnutls-2.7.6. So as I would like to solve this case in mainline, I > would appreciate any comment to work on this goal. I like it. I have only renamed gnutls_x509_crt_get_hash_algorithm() to gnutls_x509_crt_get_sig_algorithm(). If you are willing to sign the papers to assign the copyright of this patch to FSF, I'll commit it as soon. best regards, Nikos From ametzler at downhill.at.eu.org Sun Mar 29 18:14:39 2009 From: ametzler at downhill.at.eu.org (Andreas Metzler) Date: Sun, 29 Mar 2009 18:14:39 +0200 Subject: Libtasn1 2.0 release candidate In-Reply-To: <87prg81fyg.fsf@mocca.josefsson.org> References: <87prg81fyg.fsf@mocca.josefsson.org> Message-ID: <20090329161439.GB3426@downhill.g.la> On 2009-03-23 Simon Josefsson wrote: > I'm going to release libtasn1 v2.0 in a week or so, please test the > following archive to make sure the official release will work fine. > http://daily.josefsson.org/libtasn1/libtasn1-20090323.tar.gz [...] It would be nice if we had a stable gnutls whose ./configure finds libtasn without the libtasn1-config script before the stable libtasn drops the script. cu andreas From simon at josefsson.org Mon Mar 30 11:19:51 2009 From: simon at josefsson.org (Simon Josefsson) Date: Mon, 30 Mar 2009 11:19:51 +0200 Subject: Libtasn1 2.0 release candidate In-Reply-To: <20090329161439.GB3426@downhill.g.la> (Andreas Metzler's message of "Sun, 29 Mar 2009 18:14:39 +0200") References: <87prg81fyg.fsf@mocca.josefsson.org> <20090329161439.GB3426@downhill.g.la> Message-ID: <87vdpr1i6g.fsf@mocca.josefsson.org> Andreas Metzler writes: > On 2009-03-23 Simon Josefsson wrote: >> I'm going to release libtasn1 v2.0 in a week or so, please test the >> following archive to make sure the official release will work fine. > >> http://daily.josefsson.org/libtasn1/libtasn1-20090323.tar.gz > [...] > > It would be nice if we had a stable gnutls whose ./configure finds > libtasn without the libtasn1-config script before the stable libtasn > drops the script. Good point. I'll do another 2.6.x with that. /Simon From simon at josefsson.org Mon Mar 30 12:01:34 2009 From: simon at josefsson.org (Simon Josefsson) Date: Mon, 30 Mar 2009 12:01:34 +0200 Subject: Libtasn1 2.0 release candidate In-Reply-To: <87vdpr1i6g.fsf@mocca.josefsson.org> (Simon Josefsson's message of "Mon, 30 Mar 2009 11:19:51 +0200") References: <87prg81fyg.fsf@mocca.josefsson.org> <20090329161439.GB3426@downhill.g.la> <87vdpr1i6g.fsf@mocca.josefsson.org> Message-ID: <87r60f1g8x.fsf@mocca.josefsson.org> Simon Josefsson writes: > Andreas Metzler writes: > >> On 2009-03-23 Simon Josefsson wrote: >>> I'm going to release libtasn1 v2.0 in a week or so, please test the >>> following archive to make sure the official release will work fine. >> >>> http://daily.josefsson.org/libtasn1/libtasn1-20090323.tar.gz >> [...] >> >> It would be nice if we had a stable gnutls whose ./configure finds >> libtasn without the libtasn1-config script before the stable libtasn >> drops the script. > > Good point. I'll do another 2.6.x with that. Please test updated daily snapshot: http://daily.josefsson.org/gnutls-2.6/gnutls-2.6-20090330.tar.gz The release notes for libtasn1 v2.0 will also say that if anyone needs a libtasn1 that provides a libtasn1-config script (for use with older applications) they can use libtasn1 v1.x. I'll continue to support v1.x as a stable branch for some time to come, and if there are security problems during that time I'll do new releases for both v1.x and v2.x. The code is mostly identical except for indentation and cosmetic changes, so any security patch will apply to both branches. /Simon From ametzler at downhill.at.eu.org Mon Mar 30 19:31:43 2009 From: ametzler at downhill.at.eu.org (Andreas Metzler) Date: Mon, 30 Mar 2009 19:31:43 +0200 Subject: Libtasn1 2.0 release candidate In-Reply-To: <87r60f1g8x.fsf@mocca.josefsson.org> References: <87prg81fyg.fsf@mocca.josefsson.org> <20090329161439.GB3426@downhill.g.la> <87vdpr1i6g.fsf@mocca.josefsson.org> <87r60f1g8x.fsf@mocca.josefsson.org> Message-ID: <20090330173143.GA4135@downhill.g.la> On 2009-03-30 Simon Josefsson wrote: > Simon Josefsson writes: >> Andreas Metzler writes: >>> On 2009-03-23 Simon Josefsson wrote: >>>> I'm going to release libtasn1 v2.0 in a week or so, please test the >>>> following archive to make sure the official release will work fine. >>>> http://daily.josefsson.org/libtasn1/libtasn1-20090323.tar.gz >>> [...] >>> It would be nice if we had a stable gnutls whose ./configure finds >>> libtasn without the libtasn1-config script before the stable libtasn >>> drops the script. >> Good point. I'll do another 2.6.x with that. > Please test updated daily snapshot: > http://daily.josefsson.org/gnutls-2.6/gnutls-2.6-20090330.tar.gz [...] Building against libtasn1-20090323 works for me. cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' From simon at josefsson.org Tue Mar 31 10:03:58 2009 From: simon at josefsson.org (Simon Josefsson) Date: Tue, 31 Mar 2009 10:03:58 +0200 Subject: Libtasn1 2.0 release candidate In-Reply-To: <20090330173143.GA4135@downhill.g.la> (Andreas Metzler's message of "Mon, 30 Mar 2009 19:31:43 +0200") References: <87prg81fyg.fsf@mocca.josefsson.org> <20090329161439.GB3426@downhill.g.la> <87vdpr1i6g.fsf@mocca.josefsson.org> <87r60f1g8x.fsf@mocca.josefsson.org> <20090330173143.GA4135@downhill.g.la> Message-ID: <87hc1am841.fsf@mocca.josefsson.org> Andreas Metzler writes: >>> Good point. I'll do another 2.6.x with that. > >> Please test updated daily snapshot: > >> http://daily.josefsson.org/gnutls-2.6/gnutls-2.6-20090330.tar.gz > [...] > > Building against libtasn1-20090323 works for me. > cu andreas Thanks, I'll release it as v2.6.5 later today. /Simon