Dsss on ubuntu/debian

Vincenzo Ampolo vincenzo.ampolo at gmail.com
Wed Jul 9 02:08:56 PDT 2008


Hi,
i'm trying to package dsss for ubuntu and debian.
So i installed gdc 4.2 and libphobos-4.2-dev and got the sources from http://svn.dsource.org/projects/dsss/downloads/0.75/dsss-0.75.tar.bz2

The first thing that i did is to copy Makefile.gdc.posix to Makefile
Then i run make (via debuild) and this is the output

[...]
g++ -g -Wall -O2  choosedc.o whereami.o -o rebuild_choosedc
g++ -g -Wall -O2 -c choosedc.c -o nchoosedc.o
choosedc.c: In function ‘int main(int, char**)’:
choosedc.c:24: warning: deprecated conversion from string constant to ‘char*’
choosedc.c:30: warning: deprecated conversion from string constant to ‘char*’
choosedc.c:64: warning: deprecated conversion from string constant to ‘char*’
choosedc.c:68: warning: deprecated conversion from string constant to ‘char*’
choosedc.c:70: warning: deprecated conversion from string constant to ‘char*’
choosedc.c:104: warning: deprecated conversion from string constant to ‘char*’
choosedc.c:106: warning: deprecated conversion from string constant to ‘char*’
choosedc.c:18: warning: ‘res’ may be used uninitialized in this function
g++ -g -Wall -O2 -c whereami.c -o nwhereami.o
g++ -g -Wall -O2  nchoosedc.o nwhereami.o -o choosedc
./choosedc
/tmp/test/rebuild/./testtango.d:3: function testtango.A.toUtf8 function toUtf8 does not override any
Ignore any error from GDC or DMD in the following lines.
make[2]: Leaving directory `/tmp/test/rebuild'
cp -f rebuild/defaults/gdc-posix rebuild/rebuild.conf/default
./rebuild/rebuild -full -Irebuild sss/main.d -ofdsss
`pwd`/dsss build
Segmentation fault
make[1]: *** [dsss] Error 139
make[1]: Leaving directory `/tmp/test'
make: *** [debian/stamp-makefile-build] Error 2
debuild: fatal error at line 1247:
debian/rules build failed

There is a Segmentation Fault when a "just compiled one second before" dsss tries to build itself...

Does anybody know how to solve this problem?

Thanks



More information about the Digitalmars-d mailing list