digitalmars.D - Dsss on ubuntu/debian
- Vincenzo Ampolo (35/35) Jul 09 2008 Hi,
- Jason House (2/5) Jul 09 2008 I don't know if it helps, but it seems like many people have problems wh...
- Vincenzo Ampolo (3/6) Jul 10 2008 Yep, you're right, it's a gdc bug...
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
Jul 09 2008
Vincenzo Ampolo Wrote: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.bz2I don't know if it helps, but it seems like many people have problems when using the gdc 4.2 package. I've never had trouble using gdc 4.1 out of the box.
Jul 09 2008
Jason House wrote:I don't know if it helps, but it seems like many people have problems when using the gdc 4.2 package. I've never had trouble using gdc 4.1 out of the box.Yep, you're right, it's a gdc bug... https://bugs.launchpad.net/ubuntu/+source/gdc-4.2/+bug/235955
Jul 10 2008