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 ;) -- Bertrand LUPART 29, rue du Colisée - 75008 Paris +33 1 72 71 71 84
