Bug#674184: clasp: FTBFS with gcc 4.7

Ilya Barygin randomaction at ubuntu.com
Wed May 23 16:44:13 UTC 2012


Package: clasp
Version: 2.0.6-1
Severity: normal
Tags: patch upstream
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

clasp fails to build with gcc 4.7.

g++ -I../../libclasp -I../../libprogram_opts -W -Wall -O3 -DNDEBUG -DDISABLE_MULTI_THREADING -DWITH_CLASPRE_SUPPORT -c ../../app/clasp_app.cpp -o app/clasp_app.o
.../../app/clasp_app.cpp: In member function 'void Clasp::Application::kill(int)':
.../../app/clasp_app.cpp:95:4: error: '_exit' was not declared in this scope
.../../app/clasp_app.cpp: In member function 'int Clasp::Application::exception(int, const char*)':
.../../app/clasp_app.cpp:250:2: error: '_exit' was not declared in this scope
.../../app/clasp_app.cpp:251:1: warning: no return statement in function returning non-void [-Wreturn-type]
make[2]: *** [app/clasp_app.o] Error 1

Build log in Ubuntu:
https://launchpadlibrarian.net/104395836/buildlog_ubuntu-quantal-i386.clasp_2.0.6-1_FAILEDTOBUILD.txt.gz

Patch from Ubuntu attached.
https://launchpad.net/ubuntu/+source/clasp/2.0.6-1ubuntu1

-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-24-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-4.7.patch
Type: text/x-diff
Size: 475 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120523/8bda629f/attachment.patch>


More information about the debian-science-maintainers mailing list