[Pkg-electronics-devel] Bug#565006: iverilog: ftbfs with gcc-4.5

Matthias Klose doko at debian.org
Wed Jan 13 01:04:37 UTC 2010


Package: iverilog
Version: 0.9.2-1
Severity: normal
Tags: sid
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.5

The package fails to build in a test rebuild on at least amd64 with
gcc-4.5/g++-4.5, but succeeds to build with gcc-4.4/g++-4.4.
For the compiler version used, see:
http://lists.debian.org/debian-devel/2010/01/msg00230.html

The full build log can be found at:
http://people.debian.org/~lucas/logs/2010/01/08b/iverilog_0.9.2-1_lsid64b.buildlog
The last lines of the build log are cwat the end of this report.

The reason of the build failure is likely in the package (compiler or
linker message found in the build log), if this turns out as a gcc bug,
please reassign to the gcc-4.5 package. If the build ends with a
message "confused by earlier errors, bailing out", please
ignore it for now; these compiler errors are filed separately.


[...]
g++ -DHAVE_CONFIG_H -I. -I.  -Wall -g -O2 -MD -c pform.cc -o pform.o
mv pform.d dep/pform.d
g++ -DHAVE_CONFIG_H -I. -I.  -Wall -g -O2 -MD -c pform_analog.cc -o pform_analog.o
mv pform_analog.d dep/pform_analog.d
g++ -DHAVE_CONFIG_H -I. -I.  -Wall -g -O2 -MD -c pform_disciplines.cc -o pform_disciplines.o
pform_disciplines.cc:30:59: error: cannot call constructor 'perm_string::perm_string' directly
pform_disciplines.cc:30:59: note: for a function-style cast, remove the redundant '::perm_string'
pform_disciplines.cc:31:61: error: cannot call constructor 'perm_string::perm_string' directly
pform_disciplines.cc:31:61: note: for a function-style cast, remove the redundant '::perm_string'
pform_disciplines.cc: In constructor 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = const char*, _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
pform_disciplines.cc:35:42: error: no matching function for call to 'std::allocator<char>::allocator(const char*&, const char*&)'
/usr/include/c++/4.5/bits/allocator.h:103:7: note: candidates are: std::allocator<_Tp>::allocator(const std::allocator<_Tp>&) [with _Tp = char, std::allocator<_Tp> = std::allocator<char>]
/usr/include/c++/4.5/bits/allocator.h:101:7: note:                 std::allocator<_Tp>::allocator() [with _Tp = char]
pform_disciplines.cc: In function 'void pform_end_nature(const vlltype&)':
pform_disciplines.cc:85:46: error: cannot call constructor 'perm_string::perm_string' directly
pform_disciplines.cc:85:46: note: for a function-style cast, remove the redundant '::perm_string'
pform_disciplines.cc:86:48: error: cannot call constructor 'perm_string::perm_string' directly
pform_disciplines.cc:86:48: note: for a function-style cast, remove the redundant '::perm_string'
pform_disciplines.cc: In constructor 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = const char*, _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
pform_disciplines.cc:97:46: error: no matching function for call to 'std::allocator<char>::allocator(const char*&, const char*&)'
/usr/include/c++/4.5/bits/allocator.h:103:7: note: candidates are: std::allocator<_Tp>::allocator(const std::allocator<_Tp>&) [with _Tp = char, std::allocator<_Tp> = std::allocator<char>]
/usr/include/c++/4.5/bits/allocator.h:101:7: note:                 std::allocator<_Tp>::allocator() [with _Tp = char]
pform_disciplines.cc: In function 'void pform_end_discipline(const vlltype&)':
pform_disciplines.cc:174:50: error: cannot call constructor 'perm_string::perm_string' directly
pform_disciplines.cc:174:50: note: for a function-style cast, remove the redundant '::perm_string'
make[1]: *** [pform_disciplines.o] Error 1
make[1]: Leaving directory `/build/user-iverilog_0.9.2-1-amd64-tJihlb/iverilog-0.9.2'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Pkg-electronics-devel mailing list