Subject: FTBFS: Should disable mono bindings.
Package: clearsilver
Severity: serious
Justification: no longer builds from source
tags +patch
Hi!
I tried to build clearsilver on my host, and got a FTBFS:
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC -I../ -I/usr/include/python2.3 -c neo_cgi.c -o
build/temp.linux-i686-2.3/neo_cgi.o
gcc -pthread -shared build/temp.linux-i686-2.3/neo_cgi.o
build/temp.linux-i686-2.3/neo_cs.o build/temp.linux-i686-2.3/neo_util.o
-L../libs -lz -lneo_cgi -lneo_cs -lneo_utl -o neo_cgi.so
make[2]: Leaving directory
`/home/emilio/fuentes/debian/clearsilver/clearsilver-0.9.13/build-tree/clearsilver-0.9.13/python'
make[2]: Entering directory
`/home/emilio/fuentes/debian/clearsilver/clearsilver-0.9.13/build-tree/clearsilver-0.9.13/dso'
/usr/bin/ld -rpath ../libs -shared -o libneo.so
-whole-archive ../libs/libneo_cgi.a ../libs/libneo_cs.a ../libs/libneo_utl.a
-no-whole-archive -lz -L../libs/
gcc -o dsotest dsotest.c -lneo -L. -I..
make[2]: Leaving directory
`/home/emilio/fuentes/debian/clearsilver/clearsilver-0.9.13/build-tree/clearsilver-0.9.13/dso'
make[2]: Entering directory
`/home/emilio/fuentes/debian/clearsilver/clearsilver-0.9.13/build-tree/clearsilver-0.9.13/csharp'
/usr/bin/mcs -target:library --unsafe CS.cs -out:clearsilver.dll
CS.cs(84) error CS0214: Pointers may only be used in an unsafe context
Compilation failed: 1 error(s), 0 warnings
make[2]: *** [clearsilver.dll] Error 1
make[2]: Leaving directory
`/home/emilio/fuentes/debian/clearsilver/clearsilver-0.9.13/build-tree/clearsilver-0.9.13/csharp'
make[1]: *** [cs] Error 2
make[1]: Leaving directory
`/home/emilio/fuentes/debian/clearsilver/clearsilver-0.9.13/build-tree/clearsilver-0.9.13'
make: *** [debian/stamp-makefile-build] Error 2
This is caused because I have mono-dev installed and configure tried to
build mono bindings, which seem broken.
The workaround is to disable mono bindings:
--- rules.old 2005-02-06 15:06:07.557676648 +0100
+++ rules 2005-02-06 14:50:12.671841360 +0100
@@ -10,6 +10,7 @@
DEB_CONFIGURE_EXTRA_FLAGS := --with-python=/usr/bin/python2.3 \
--disable-perl \
+ --disable-csharp \
--disable-ruby \
--disable-apache \
--enable-gettext
Regards and thank you for taking care of this,
Emilio
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]