Source: kic
Version: 2.4a-1.1
Severity: serious
Tags: jessie stetch sid
Justification: fails to build from source
from a rebuild in a clean pbuilder jessie environment:
[...]
cd ../xmfb; /usr/bin/make
make[3]: Entering directory '/tmp/buildd/kic-2.4a/src/xmfb'
gcc -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -I../include -c 6x8font.c
gcc -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -I../include -c 8x14font.c
gcc -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -I../include -c 8x16font.c
gcc -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -I../include -c 8x8font.c
gcc -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -I../include -c mfb.c
mfb.c: In function 'MFBInfo':
mfb.c:2121:16: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
return (int)mfb_fontName;
^
gcc -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -I../include -c mfbcsdl.c
gcc -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -I../include -c mfbtext.c
gcc -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -I../include -c text1.c
gcc -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -I../include -c xfb.c
In file included from /usr/include/string.h:635:0,
from ../include/cd.h:33,
from ../include/kic.h:29,
from xfb.c:25:
xfb.c: In function 'SelectKicFont':
xfb.c:127:40: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
strncpy(Parameters.kpFontName, (char *)MFBInfo(FONTNAME), 80);
^
ar r ../xmfb.a 6x8font.o 8x14font.o 8x16font.o 8x8font.o mfb.o mfbcsdl.o
mfbtext.o text1.o xfb.o
ar: creating ../xmfb.a
ranlib ../xmfb.a
make[3]: Leaving directory '/tmp/buildd/kic-2.4a/src/xmfb'
gcc -o kic kicmain.o global.o \
../kic.a ../cd.a ../convert.a ../help.a ../ginterf.a \
../xmfb.a -L -lX11 -lXmu -lXext -lm
kicmain.o: In function `MallocFailed':
kicmain.c:(.text+0xc2f): warning: the use of `mktemp' is dangerous, better use
`mkstemp' or `mkdtemp'
/usr/bin/ld: ../xmfb.a(mfb.o): undefined reference to symbol 'XMapSubwindows'
//usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from
command line
collect2: error: ld returned 1 exit status
Makefile:36: recipe for target 'kic' failed
make[2]: *** [kic] Error 1
make[2]: Leaving directory '/tmp/buildd/kic-2.4a/src/bin'
Makefile:3: recipe for target 'dummy' failed
make[1]: *** [dummy] Error 2
make[1]: Leaving directory '/tmp/buildd/kic-2.4a'
debian/rules:19: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
The linking command uses
-L -lX11 -lXmu -lXext -lm
but since -L requires an argument, it gobbles -lX11.
Andreas
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]