Bug#678675: imview: FTBFS with gcc 4.7

Sebastian Ramacher s.ramacher at gmx.at
Sat Jun 23 17:02:12 UTC 2012


Source: imview
Version: 1.1.9c-8
Severity: serious
Tags: patch
Justification: FTBFS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

imview fails to build with gcc 4.7:

g++  -D_REENTRANT -DLinux  -I.   -I/usr/include -fopenmp -I/usr/include/ImageMagick   -O2 -Wall -Wno-return-type -Wno-unknown-pragmas  -I.. -I.. -c imserver.cxx
In file included from interpreter.hxx:67:0,
                 from imserver.hxx:52,
                 from imserver.cxx:56:
socketstream.hxx: In instantiation of 'TCPStreamBuffer<charT, traits>::sbuftype* TCPStreamBuffer<charT, traits>::setbuf(TCPStreamBuffer<charT, traits>::char_type*, std::streamsize) [with charT = char; traits = std::char_traits<char>; TCPStreamBuffer<charT, traits>::sbuftype = std::basic_streambuf<char>; TCPStreamBuffer<charT, traits>::char_type = char; std::streamsize = long int]':
socketstream.hxx:330:7:   required from here
socketstream.hxx:206:17: error: 'setg' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
socketstream.hxx:206:17: note: declarations in dependent base 'std::basic_streambuf<char>' are not found by unqualified lookup
socketstream.hxx:206:17: note: use 'this->setg' instead
socketstream.hxx:207:17: error: 'setp' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
socketstream.hxx:207:17: note: declarations in dependent base 'std::basic_streambuf<char>' are not found by unqualified lookup
socketstream.hxx:207:17: note: use 'this->setp' instead
socketstream.hxx: In instantiation of 'int TCPStreamBuffer<charT, traits>::sync() [with charT = char; traits = std::char_traits<char>]':
socketstream.hxx:330:7:   required from here
socketstream.hxx:248:9: error: 'setp' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
socketstream.hxx:248:9: note: declarations in dependent base 'std::basic_streambuf<char>' are not found by unqualified lookup
socketstream.hxx:248:9: note: use 'this->setp' instead
socketstream.hxx: In instantiation of 'TCPStreamBuffer<charT, traits>::int_type TCPStreamBuffer<charT, traits>::underflow() [with charT = char; traits = std::char_traits<char>; TCPStreamBuffer<charT, traits>::int_type = int]':
socketstream.hxx:330:7:   required from here
socketstream.hxx:279:9: error: 'setg' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
socketstream.hxx:279:9: note: declarations in dependent base 'std::basic_streambuf<char>' are not found by unqualified lookup
socketstream.hxx:279:9: note: use 'this->setg' instead
socketstream.hxx: In instantiation of 'TCPStreamBuffer<charT, traits>::int_type TCPStreamBuffer<charT, traits>::overflow(TCPStreamBuffer<charT, traits>::int_type) [with charT = char; traits = std::char_traits<char>; TCPStreamBuffer<charT, traits>::int_type = int]':
socketstream.hxx:330:7:   required from here
socketstream.hxx:238:9: error: 'setp' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
socketstream.hxx:238:9: note: declarations in dependent base 'std::basic_streambuf<char>' are not found by unqualified lookup
socketstream.hxx:238:9: note: use 'this->setp' instead
socketstream.hxx:240:13: error: 'sputc' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
socketstream.hxx:240:13: note: declarations in dependent base 'std::basic_streambuf<char>' are not found by unqualified lookup
socketstream.hxx:240:13: note: use 'this->sputc' instead
make[2]: *** [imserver.o] Error 1

The full build log and a patch to fix this is attached.

Kind regards.

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (650, 'unstable'), (601, 'testing'), (600, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJP5faQAAoJEGny/FFupxmTsYkQAMiOnuFQoaHjHZnKaiQZEDou
SVxePrR6o8uCXwsCA5I37qCCPSdcVaA06MzKFhvLIXvQg4TRqEe2Mj1ghK/04SFD
tb3IKX2V5Qqq8zdUHqCc3IncxCcKd/LoVudGIWjBSm8LPR3T6KVgJ188P7c+T9qy
yuNDSQLlpRy+39Cn9OD5gW+FwNTYRLFJtz5/vMqmrK1Ah4j+l+8+PLBLdCQ/6HHt
foOrh2gaJhbOdq3wF169mEH6sOHKur+/bYEI4sRK8wedQjQgtK8pN/CoT5u5ZDhU
V3A66pThgkSTuo8GCib54IS9XfndUsWQR7mC34Rpk9RO11XknWRVxrnN1YWLtRrO
vao3iKABUZbb0cWO6J74f9ogPQ0VKw8O6OqOuChfKFJEFJPDNUuITqeLgmGUM0JO
porqhCIX+CjmoHmKELqHujjNXUxVEAlb2Q6JBq/wYc55WTzruweyzxhQEtN65M2n
3r5jRDeZxnoUkWBhisULVwn8QUsWQBxeYO3eZnso9SLbHjs2SNmC3/IXynmNBEnI
NdxiG/SqwPzF9SecZEyXplq1ZH7UvjcDA0I0l1ORItr9AfxbGQKzlSuC+DKfikpl
Bn0ODpw8XywUuSjgIOyQSjSpMS1GqVZXrZqZC8bDRZG3HVtpqiWYktVVJROM2eEd
1nDvuKjkFtBsG+gathNv
=PaWR
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imview_gcc47.patch
Type: text/x-diff
Size: 1269 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120623/d89ba4e2/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imview_1.1.9c-8_amd64.build
Type: inode/symlink
Size: 101576 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120623/d89ba4e2/attachment-0001.bin>


More information about the debian-science-maintainers mailing list