FS#9297 - libalpm simple compile error with --enable-debug
Attached to Project:
Pacman
Opened by Vesa Kaihlavirta (vegai) - Tuesday, 22 January 2008, 08:47 GMT
Last edited by Xavier (shining) - Sunday, 27 January 2008, 11:11 GMT
Opened by Vesa Kaihlavirta (vegai) - Tuesday, 22 January 2008, 08:47 GMT
Last edited by Xavier (shining) - Sunday, 27 January 2008, 11:11 GMT
|
Details
Configured with --enable-debug.
$ make make all-recursive make[1]: Entering directory `/home/vegai/git/pacman' Making all in lib/libalpm make[2]: Entering directory `/home/vegai/git/pacman/lib/libalpm' Making all in po make[3]: Entering directory `/home/vegai/git/pacman/lib/libalpm/po' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/vegai/git/pacman/lib/libalpm/po' make[3]: Entering directory `/home/vegai/git/pacman/lib/libalpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/home/vegai/pacman//share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -fstack-protector-all -Wall -Werror -MT deps.lo -MD -MP -MF .deps/deps.Tpo -c -o deps.lo deps.c gcc -std=gnu99 -DLOCALEDIR=\"/home/vegai/pacman//share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -fstack-protector-all -Wall -Werror -MT deps.lo -MD -MP -MF .deps/deps.Tpo -c deps.c -fPIC -DPIC -o .libs/deps.o cc1: warnings being treated as errors deps.c: In function '_alpm_splitdep': deps.c:403: warning: format '%zd' expects type 'signed size_t', but argument 3 has type 'int' deps.c: In function '_alpm_dep_dup': deps.c:448: warning: format '%zd' expects type 'signed size_t', but argument 3 has type 'int' make[3]: *** [deps.lo] Error 1 make[3]: Leaving directory `/home/vegai/git/pacman/lib/libalpm' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/vegai/git/pacman/lib/libalpm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vegai/git/pacman' make: *** [all] Error 2 $ git diff lib/libalpm/deps.c > CALLOC_cast_literal_to_sizet.patch ...attached. |
This task depends upon
Closed by Xavier (shining)
Sunday, 27 January 2008, 11:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed by commit 69c6d59bb6
Sunday, 27 January 2008, 11:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed by commit 69c6d59bb6
CALLOC_cast_literal_to_sizet....
Are you building this on arch (testing or not?)? And no changes to the toolchain?