Hello,
Does someone have (unofficial) pike7.6 packages for Debian wheezy he'd like to share?
Thank you,
On Tue, Oct 22, 2013 at 06:19:42PM +0200, Bertrand LUPART wrote:
Does someone have (unofficial) pike7.6 packages for Debian wheezy he'd like to share?
have you used pbuilder before? it's not hard to set up. and pike should do fine with the dependencies.
i'd try to build it from source first just to make sure you have the dependencies sorted. then in pbuilder update dependencies as needed. (there may be some updated API on some libraries that 7.6 is not ready to handle (although the only recent update i remember was with libxml/libxslt which doesn't affect pike proper, and it was on fedora which has many newer libraries than debian stable)
build and enjoy the new packages :-)
greetings, martin.
On 22 oct. 2013, at 19:16, Martin Bähr wrote:
On Tue, Oct 22, 2013 at 06:19:42PM +0200, Bertrand LUPART wrote:
Does someone have (unofficial) pike7.6 packages for Debian wheezy he'd like to share?
have you used pbuilder before? it's not hard to set up. and pike should do fine with the dependencies.
i'd try to build it from source first just to make sure you have the dependencies sorted. then in pbuilder update dependencies as needed. (there may be some updated API on some libraries that 7.6 is not ready to handle (although the only recent update i remember was with libxml/libxslt which doesn't affect pike proper, and it was on fedora which has many newer libraries than debian stable)
Set up a wheezy pbuilder environment, dealt with build dependencies.
For now, i'm stuck with a Nettle compilation error:
——8<——8<——8<—— Making Nettle make[4]: Entering directory `/tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64/post_modules/Nettle' Compiling /tmp/buildd/pike7.6-7.6.132/src/post_modules/Nettle/nettle.c /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_seed': /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:95:21: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_seed' differ in signedness [-Wpointer-sign] In file included from /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:89:1: note: expected 'const uint8_t *' but argument is of type 'char *' /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_get_seed': /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:122:72: error: 'struct yarrow256_ctx' has no member named 'seed_file' /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_update': /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:168:43: warning: pointer targets in passing argument 5 of 'nettle_yarrow256_update' differ in signedness [-Wpointer-sign] In file included from /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:95:1: note: expected 'const uint8_t *' but argument is of type 'char *' /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_random_string': /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:193:23: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_random' differ in signedness [-Wpointer-sign] In file included from /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:100:1: note: expected 'uint8_t *' but argument is of type 'char *' WARNING: Compiler failure! Trying without optimization! /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_seed': /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:95:21: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_seed' differ in signedness [-Wpointer-sign] In file included from /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:89:1: note: expected 'const uint8_t *' but argument is of type 'char *' /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_get_seed': /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:122:72: error: 'struct yarrow256_ctx' has no member named 'seed_file' /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_update': /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:168:43: warning: pointer targets in passing argument 5 of 'nettle_yarrow256_update' differ in signedness [-Wpointer-sign] In file included from /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:95:1: note: expected 'const uint8_t *' but argument is of type 'char *' /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_random_string': /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:193:23: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_random' differ in signedness [-Wpointer-sign] In file included from /Users/hww3/pike/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:100:1: note: expected 'uint8_t *' but argument is of type 'char *' Compilation command was: /tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64/smartlink gcc -I. -I/tmp/buildd/pike7.6-7.6.132/src/post_modules/Nettle -I/tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64 -I/tmp/buildd/pike7.6-7.6.132/src -DDEBIAN -I/tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64/bundles/include -I/usr/local/include -DHAVE_CONFIG_H -I. -I/tmp/buildd/pike7.6-7.6.132/src/post_modules/Nettle -I/tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64 -I/tmp/buildd/pike7.6-7.6.132/src -DDEBIAN -I/tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64/bundles/include -I/usr/local/include -DHAVE_CONFIG_H -DDEBIAN -I/tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64/bundles/include -I/usr/local/include -W -Wall -Wno-unused -Wcomment -Wformat -Wimplicit-function-declaration -Wmultichar -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -fPIC -DDYNAMIC_MODULE -c /tmp/buildd/pike7.6-7.6.132/src/post_modules/Nettle/nettle.c -o nettle.o make[4]: *** [nettle.o] Error 1 make[4]: Leaving directory `/tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64/post_modules/Nettle' make[3]: *** [Nettle] Error 1 make[3]: Leaving directory `/tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64/post_modules' make[2]: *** [post_module_objects] Error 1 make[2]: Leaving directory `/tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/buildd/pike7.6-7.6.132/build/linux-3.2.0-4-amd64-x86_64' make: *** [build-arch-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ——>8——>8——>8——
build and enjoy the new packages :-)
Would like to ;)
On Wed, Oct 23, 2013 at 08:26:33PM +0200, Bertrand LUPART wrote:
Set up a wheezy pbuilder environment, dealt with build dependencies. For now, i'm stuck with a Nettle compilation error:
hmm, it is possible that pike 7.6 doesn't work with nettle 2.4 which is in wheezy.
you may need to port nettle as well. (same process, but easier to build than pike.) (more interesting will be how to get pbuilder to use your nettle build. (i know it can be done, but i don't remember how. it's been years since i last did something like that))
alternatively it should be possible to patch 7.6 to work with the newest nettle. (or, it could be that pike7.6 is already updated, but the version in the debian package is not. in that case you could try updating the pike source in the package)
greetings, martin.
Does the debian packaging you're using at least include the nettle_2.0 patch?
Dunno.
I downloaded latest 7.6 stable source (7.6.132) and used debian stuff included (directory packaging/debian).
Will try further this afternoon.
I downloaded latest 7.6 stable source (7.6.132) and used debian stuff included (directory packaging/debian).
Ah. That directory is unmaintained. You can try using the packaging from Squeeze or the debian directory from svn://anonscm.debian.org/pkg-pike/branches/7.6-stable/ but with the nettle-2.1.patch from svn://anonscm.debian.org/pkg-pike/branches/7.8-stable/ instead, actually.
On 24 oct. 2013, at 14:00, Magnus Holmgren, Millnet/Lysator/Debian/Mensa @ Pike developers forum wrote:
I downloaded latest 7.6 stable source (7.6.132) and used debian stuff included (directory packaging/debian).
Ah. That directory is unmaintained. You can try using the packaging from Squeeze or the debian directory from svn://anonscm.debian.org/pkg-pike/branches/7.6-stable/ but with the nettle-2.1.patch from svn://anonscm.debian.org/pkg-pike/branches/7.8-stable/ instead, actually.
Thank you for the pointers.
However, nettle-2.1 patch failed on both 7.6.112 and 7.8.700 sources.
Thus, i stole src/post_modules/Nettle/cipher.c[mod] from 7.8.352, put it in 7.6.112, applied the nettle-2.1 patch from 7.8-stable/debian and ended up with:
——8<——8<——8<—— Making Nettle make[5]: Entering directory `/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64/post_modules/Nettle' Compiling /tmp/buildd/pike7.6-7.6.112-dfsg/src/post_modules/Nettle/nettle.c /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_seed': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:95:21: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_seed' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:89:1: note: expected 'const uint8_t *' but argument is of type 'char *' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_get_seed': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:122:72: error: 'struct yarrow256_ctx' has no member named 'seed_file' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_update': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:168:43: warning: pointer targets in passing argument 5 of 'nettle_yarrow256_update' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:95:1: note: expected 'const uint8_t *' but argument is of type 'char *' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_random_string': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:193:23: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_random' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:100:1: note: expected 'uint8_t *' but argument is of type 'char *' WARNING: Compiler failure! Trying without optimization! /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_seed': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:95:21: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_seed' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:89:1: note: expected 'const uint8_t *' but argument is of type 'char *' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_get_seed': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:122:72: error: 'struct yarrow256_ctx' has no member named 'seed_file' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_update': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:168:43: warning: pointer targets in passing argument 5 of 'nettle_yarrow256_update' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:95:1: note: expected 'const uint8_t *' but argument is of type 'char *' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_random_string': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:193:23: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_random' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:100:1: note: expected 'uint8_t *' but argument is of type 'char *' Compilation command was: /tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64/smartlink gcc -I. -I/tmp/buildd/pike7.6-7.6.112-dfsg/src/post_modules/Nettle -I/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64 -I/tmp/buildd/pike7.6-7.6.112-dfsg/src -DDEBIAN -I/usr/local/include -DHAVE_CONFIG_H -g -Wa,--execstack -DDEBIAN -I/usr/local/include -W -Wall -Wno-unused -Wcomment -Wformat -Wimplicit-function-declaration -Wmultichar -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -c /tmp/buildd/pike7.6-7.6.112-dfsg/src/post_modules/Nettle/nettle.c -o nettle.o make[5]: *** [nettle.o] Error 1 make[5]: Leaving directory `/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64/post_modules/Nettle' make[4]: *** [Nettle] Error 1 make[4]: Leaving directory `/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64/post_modules' make[3]: *** [post_module_objects] Error 1 make[3]: Leaving directory `/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64' make[1]: *** [compile] Error 2 make[1]: Leaving directory `/tmp/buildd/pike7.6-7.6.112-dfsg' make: *** [build-arch-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ——>8——>8——>8——
Seems like the patch is for nettle 2.1 while wheezy ships with nettle 2.4:
——8<——8<——8<—— bertrand@wheezy:~$ dpkg -l|grep nettle ii libnettle4:amd64 2.4-3 amd64 low level cryptographic library (symmetric and one-way cryptos) ii nettle-dev 2.4-3 amd64 low level cryptographic library (development files) ——>8——>8——>8——
Currently trying with src/post_modules/Nettle/cipher.c[mod] from 7.8.700 without patches, but i'm not really sure about what i'm doing.
Thank you,
However, nettle-2.1 patch failed on both 7.6.112 and 7.8.700 sources.
Thus, i stole src/post_modules/Nettle/cipher.c[mod] from 7.8.352, put it in 7.6.112, applied the nettle-2.1 patch from 7.8-stable/debian and ended up with:
[...]
/home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_get_seed': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:122:72: error: 'struct yarrow256_ctx' has no member named 'seed_file'
Above is the actual error causing the failure (all the reset of the output seem to be warnings).
From looking in the Pike 7.8 repository, it looks like you need to
copy a few more files from 7.8.352. At least:
src/post_modules/Nettle/acconfig.h src/post_modules/Nettle/configure{,.in} src/post_modules/Nettle/nettle.c{,mod}
and optionally the following as well:
src/post_modules/Nettle/testsuite.in
/grubba
So, the Pike 7.6.132 tar ball should include a compatible version of Nettle that will get statically linked. Is there a particular reason to not go this route? I realize it's not philosophically pure from a debian standpoint, but sometimes it's more important to be able to get the job done.
Bill
On Oct 30, 2013, at 10:31 AM, Bertrand LUPART bertrand.lupart@linkeo.com wrote:
On 24 oct. 2013, at 14:00, Magnus Holmgren, Millnet/Lysator/Debian/Mensa @ Pike developers forum wrote:
I downloaded latest 7.6 stable source (7.6.132) and used debian stuff included (directory packaging/debian).
Ah. That directory is unmaintained. You can try using the packaging from Squeeze or the debian directory from svn://anonscm.debian.org/pkg-pike/branches/7.6-stable/ but with the nettle-2.1.patch from svn://anonscm.debian.org/pkg-pike/branches/7.8-stable/ instead, actually.
Thank you for the pointers.
However, nettle-2.1 patch failed on both 7.6.112 and 7.8.700 sources.
Thus, i stole src/post_modules/Nettle/cipher.c[mod] from 7.8.352, put it in 7.6.112, applied the nettle-2.1 patch from 7.8-stable/debian and ended up with:
——8<——8<——8<—— Making Nettle make[5]: Entering directory `/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64/post_modules/Nettle' Compiling /tmp/buildd/pike7.6-7.6.112-dfsg/src/post_modules/Nettle/nettle.c /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_seed': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:95:21: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_seed' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:89:1: note: expected 'const uint8_t *' but argument is of type 'char *' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_get_seed': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:122:72: error: 'struct yarrow256_ctx' has no member named 'seed_file' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_update': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:168:43: warning: pointer targets in passing argument 5 of 'nettle_yarrow256_update' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:95:1: note: expected 'const uint8_t *' but argument is of type 'char *' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_random_string': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:193:23: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_random' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:100:1: note: expected 'uint8_t *' but argument is of type 'char *' WARNING: Compiler failure! Trying without optimization! /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_seed': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:95:21: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_seed' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:89:1: note: expected 'const uint8_t *' but argument is of type 'char *' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_get_seed': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:122:72: error: 'struct yarrow256_ctx' has no member named 'seed_file' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_update': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:168:43: warning: pointer targets in passing argument 5 of 'nettle_yarrow256_update' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:95:1: note: expected 'const uint8_t *' but argument is of type 'char *' /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_random_string': /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:193:23: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_random' differ in signedness [-Wpointer-sign] In file included from /home/peter/hack/Pike/7.6-distmaker/src/post_modules/Nettle/nettle.cmod:19:0: /usr/include/nettle/yarrow.h:100:1: note: expected 'uint8_t *' but argument is of type 'char *' Compilation command was: /tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64/smartlink gcc -I. -I/tmp/buildd/pike7.6-7.6.112-dfsg/src/post_modules/Nettle -I/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64 -I/tmp/buildd/pike7.6-7.6.112-dfsg/src -DDEBIAN -I/usr/local/include -DHAVE_CONFIG_H -g -Wa,--execstack -DDEBIAN -I/usr/local/include -W -Wall -Wno-unused -Wcomment -Wformat -Wimplicit-function-declaration -Wmultichar -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -c /tmp/buildd/pike7.6-7.6.112-dfsg/src/post_modules/Nettle/nettle.c -o nettle.o make[5]: *** [nettle.o] Error 1 make[5]: Leaving directory `/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64/post_modules/Nettle' make[4]: *** [Nettle] Error 1 make[4]: Leaving directory `/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64/post_modules' make[3]: *** [post_module_objects] Error 1 make[3]: Leaving directory `/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/buildd/pike7.6-7.6.112-dfsg/build/linux-3.2.0-4-amd64-x86_64' make[1]: *** [compile] Error 2 make[1]: Leaving directory `/tmp/buildd/pike7.6-7.6.112-dfsg' make: *** [build-arch-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ——>8——>8——>8——
Seems like the patch is for nettle 2.1 while wheezy ships with nettle 2.4:
——8<——8<——8<—— bertrand@wheezy:~$ dpkg -l|grep nettle ii libnettle4:amd64 2.4-3 amd64 low level cryptographic library (symmetric and one-way cryptos) ii nettle-dev 2.4-3 amd64 low level cryptographic library (development files) ——>8——>8——>8——
Currently trying with src/post_modules/Nettle/cipher.c[mod] from 7.8.700 without patches, but i'm not really sure about what i'm doing.
Thank you,
-- Bertrand LUPART 29, rue du Colisée - 75008 Paris +33 1 72 71 71 84
On Thu, Oct 31, 2013 at 02:27:44AM +0100, H. William Welliver III wrote:
So, the Pike 7.6.132 tar ball should include a compatible version of Nettle that will get statically linked. Is there a particular reason to not go this route? I realize it's not philosophically pure from a debian standpoint, but sometimes it's more important to be able to get the job done.
it's probably just because nettle is listed as a dependency in the debian files which will make pbuilder install it and pike build will try that then.
it may be enough to just remove the nettle dependency from debian/control to get it to pick bundle.
this of course only works as long as the official tat ball is used, as the one in a debian package will have the bundle removed.
greetings, martin.
pike-devel@lists.lysator.liu.se