[Pkg-ime-devel] Bug#667256: libucimf: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:10:26 UTC 2012


Package: libucimf
Version: 2.3.8-3
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

ucimf.cpp:251:14: error: 'close' was not declared in this scope

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/libucimf_2.3.8-3_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../include/imf -I../font  -I../display   -g -O2 -MT libucimf_la-shape.lo -MD -MP -MF .deps/libucimf_la-shape.Tpo -c -o libucimf_la-shape.lo `test -f 'shape.cpp' || echo './'`shape.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/imf -I../font -I../display -g -O2 -MT libucimf_la-shape.lo -MD -MP -MF .deps/libucimf_la-shape.Tpo -c shape.cpp  -fPIC -DPIC -o .libs/libucimf_la-shape.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/imf -I../font -I../display -g -O2 -MT libucimf_la-shape.lo -MD -MP -MF .deps/libucimf_la-shape.Tpo -c shape.cpp -o libucimf_la-shape.o >/dev/null 2>&1
mv -f .deps/libucimf_la-shape.Tpo .deps/libucimf_la-shape.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../include/imf -I../font  -I../display   -g -O2 -MT libucimf_la-cwm.lo -MD -MP -MF .deps/libucimf_la-cwm.Tpo -c -o libucimf_la-cwm.lo `test -f 'cwm.cpp' || echo './'`cwm.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/imf -I../font -I../display -g -O2 -MT libucimf_la-cwm.lo -MD -MP -MF .deps/libucimf_la-cwm.Tpo -c cwm.cpp  -fPIC -DPIC -o .libs/libucimf_la-cwm.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/imf -I../font -I../display -g -O2 -MT libucimf_la-cwm.lo -MD -MP -MF .deps/libucimf_la-cwm.Tpo -c cwm.cpp -o libucimf_la-cwm.o >/dev/null 2>&1
mv -f .deps/libucimf_la-cwm.Tpo .deps/libucimf_la-cwm.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../include/imf -I../font  -I../display   -g -O2 -MT libucimf_la-ucimf.lo -MD -MP -MF .deps/libucimf_la-ucimf.Tpo -c -o libucimf_la-ucimf.lo `test -f 'ucimf.cpp' || echo './'`ucimf.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/imf -I../font -I../display -g -O2 -MT libucimf_la-ucimf.lo -MD -MP -MF .deps/libucimf_la-ucimf.Tpo -c ucimf.cpp  -fPIC -DPIC -o .libs/libucimf_la-ucimf.o
ucimf.cpp: In function 'void ucimf_exit()':
ucimf.cpp:251:14: error: 'close' was not declared in this scope
ucimf.cpp: In function 'void init_keycode_state()':
ucimf.cpp:467:8: error: 'STDIN_FILENO' was not declared in this scope
ucimf.cpp: In function 'short unsigned int keycode_to_keysym(short unsigned int, char)':
ucimf.cpp:482:12: error: 'STDIN_FILENO' was not declared in this scope
ucimf.cpp:486:13: error: 'STDIN_FILENO' was not declared in this scope
ucimf.cpp:506:11: error: 'STDIN_FILENO' was not declared in this scope
ucimf.cpp:523:11: error: 'STDIN_FILENO' was not declared in this scope
ucimf.cpp: In function 'char* keysym_to_term_string(short unsigned int, char)':
ucimf.cpp:630:9: error: 'STDIN_FILENO' was not declared in this scope
make[3]: *** [libucimf_la-ucimf.lo] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Pkg-ime-devel mailing list