Bug#431889: classpath: FTBFS with gcc-4.2: The address of pinfo will always evaluate as true

Daniel Schepler schepler at math.unipd.it
Thu Jul 5 18:49:18 UTC 2007


Package: classpath
Version: 2:0.95-1
Severity: important
User: tbm at cyrius.com
Usertags: ftbfs-gcc-4.2

From my pbuilder build log, using a chroot with packages mostly from sid,
except that gcc-defaults is from experimental:

...
/bin/sh ../../../libtool --tag=CC   --mode=compile i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include  -I../../../include -I../../../native/jni/classpath -I../../../native/jni/native-lib `pkg-config  --cflags-only-I alsa`  -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -pedantic -Werror `pkg-config --cflags-only-other alsa` -g -O2 -c -o gnu_javax_sound_midi_alsa_AlsaPortDevice.lo gnu_javax_sound_midi_alsa_AlsaPortDevice.c
 i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I../../../native/jni/classpath -I../../../native/jni/native-lib -I/usr/include/alsa -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -pedantic -Werror -g -O2 -c gnu_javax_sound_midi_alsa_AlsaPortDevice.c  -fPIC -DPIC -o .libs/gnu_javax_sound_midi_alsa_AlsaPortDevice.o
cc1: warnings being treated as errors
gnu_javax_sound_midi_alsa_AlsaPortDevice.c: In function 'Java_gnu_javax_sound_midi_alsa_AlsaPortDevice_run_1receiver_1thread_1':
gnu_javax_sound_midi_alsa_AlsaPortDevice.c:57: warning: the address of 'pinfo' will always evaluate as 'true'
gnu_javax_sound_midi_alsa_AlsaPortDevice.c:58: warning: the address of 'sinfo' will always evaluate as 'true'
gnu_javax_sound_midi_alsa_AlsaPortDevice.c:59: warning: the address of 'subs' will always evaluate as 'true'
make[4]: *** [gnu_javax_sound_midi_alsa_AlsaPortDevice.lo] Error 1
make[4]: Leaving directory `/tmp/buildd/classpath-0.95/native/jni/midi-alsa'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/classpath-0.95/native/jni'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/classpath-0.95/native'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/classpath-0.95'
make: *** [build-stamp] Error 2
-- 
Daniel Schepler




More information about the pkg-java-maintainers mailing list