Le samedi 28 octobre 2006 16:27, Falk Hueffner a écrit : > Package: ntfs-3g > Version: 0.0.0+20070920-1 > Severity: important > Justification: fails to build from source > > ntfs-3g does not build on alpha: > > [...] > if /bin/sh ../libtool --tag=CC --mode=compile alpha-linux-gnu-gcc > -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ntfs-3g -Wall -g -O2 -Wall > -MT libntfs_3g_la-logging.lo -MD -MP -MF ".deps/libntfs_3g_la-logging.Tpo" > -c -o libntfs_3g_la-logging.lo `test -f 'logging.c' || echo './'`logging.c; > \ then mv -f ".deps/libntfs_3g_la-logging.Tpo" > ".deps/libntfs_3g_la-logging.Plo"; else rm -f > ".deps/libntfs_3g_la-logging.Tpo"; exit 1; fi alpha-linux-gnu-gcc > -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ntfs-3g -Wall -g -O2 -Wall -MT > libntfs_3g_la-logging.lo -MD -MP -MF .deps/libntfs_3g_la-logging.Tpo -c > logging.c -fPIC -DPIC -o .libs/libntfs_3g_la-logging.o logging.c: In > function 'ntfs_log_handler_syslog': > logging.c:367: error: incompatible types in assignment > logging.c: In function 'ntfs_log_handler_fprintf': > logging.c:452: error: incompatible types in assignment > make[3]: *** [libntfs_3g_la-logging.lo] Error 1 > make[3]: Leaving directory `/tmp/ntfs-3g-0.0.0+20070920/libntfs-3g' > > The problem is: > int ntfs_log_handler_syslog(const char *function __attribute__((unused)), > const char *file, __attribute__((unused)) int line, u32 level, > void *data __attribute__((unused)), const char *format, va_list args) > { > [...] > args = NULL; > > va_list is an opaque type, you must not assign anything to it except > by va_copy. > > Falk
Hello, Could you provide a patch to fix this ? If not i'll forward the bug to upstream. Btw, ntfs-3g will probably won't work on alpha even if it builds... Thanks.