Source: gesftpserver
Version: 0.2.1-1
Severity: serious
Tags: patch
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

gesftpserver fails to build from source in unstable/amd64 under
some locales (eg. LANG="fr_CH.UTF-8").

Patch attached. Whilst you export LC_MESSAGES=C in debian/rules for the
"check" target you also need LC_TIME=C.. so you might as well just use
LC_ALL=C.

  [..]

  Testing tests/textupload456 protocol 6 ... passed
  Testing tests/truncate3456 protocol 3 ... passed
  Testing tests/truncate3456 protocol 4 ... passed
  Testing tests/truncate3456 protocol 5 ... passed
  Testing tests/truncate3456 protocol 6 ... passed
  Testing tests/unsupported3456 protocol 3 ... passed
  Testing tests/unsupported3456 protocol 4 ... passed
  Testing tests/unsupported3456 protocol 5 ... passed
  Testing tests/unsupported3456 protocol 6 ... passed
  Testing tests/upload3456 protocol 3 ... FAILED
  EXPECTED: -rw------x +\S+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+
  upload2
       GOT: -rw------x   ? 1000     1000        14441 aoû 21 16:3
       upload2 (null)
  Testing tests/upload3456 protocol 4 ... FAILED
  EXPECTED: -rw------x +\S+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+
  upload2
       GOT: -rw------x   ? lamby    lamby       13083 aoû 21 16:3
       upload2 (null)
  Testing tests/upload3456 protocol 5 ... FAILED
  EXPECTED: -rw------x +\S+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+
  upload2
       GOT: -rw------x   ? lamby    lamby       13286 aoû 21 16:3
       upload2 (null)
  Testing tests/upload3456 protocol 6 ... FAILED
  EXPECTED: -rw------x +\S+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+
  upload2
       GOT: -rw------x   1 lamby    lamby       49182 aoû 21 16:3
       upload2 (null)
  Testing tests/version2 protocol 2 ... passed
  Testing tests/version3 protocol 3 ... passed
  Testing tests/version4 protocol 4 ... passed
  Testing tests/version5 protocol 5 ... passed
  Testing tests/version67 protocol 6 ... passed
  Testing tests/version67 protocol 7 ... passed
  Testing tests/vsel6bad protocol 6 ... passed
  Testing tests/vsel6five protocol 6 ... passed
  Testing tests/vsel6four protocol 6 ... passed
  Testing tests/vsel6mistimed protocol 6 ... passed
  Testing tests/vsel6six protocol 6 ... passed
  Testing tests/vsel6three protocol 6 ... passed
  21 tests failed
  Makefile:982: recipe for target 'check' failed
  make[1]: *** [check] Error 1
  make[1]: Leaving directory
  '/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
  /usr/share/cdbs/1/class/makefile.mk:67: recipe for target
  'debian/stamp-makefile-check' failed
  make: *** [debian/stamp-makefile-check] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: paquet source gesftpserver
dpkg-buildpackage: version source 0.2.1-1
dpkg-buildpackage: distribution source unstable
dpkg-buildpackage: source changé par Jonas Smedegaard <d...@jones.dk>
 dpkg-source --before-build gesftpserver-0.2.1
dpkg-buildpackage: architecture hôte amd64
 fakeroot debian/rules clean
test -x debian/rules
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
/usr/bin/make  -C .  -k distclean
make[1]: Entering directory 
'/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
test -z "*.gcno *.gcda *.gcov gesftpserver-ro gesftpserver-debug 
gesftpserver-ro-debug gesftpserver-valgrind" || rm -f *.gcno *.gcda *.gcov 
gesftpserver-ro gesftpserver-debug gesftpserver-ro-debug gesftpserver-valgrind
test -z "gesftpserver" || rm -f gesftpserver
test -z "libsftp.a" || rm -f libsftp.a
test -z "sftpclient pwtest" || rm -f sftpclient pwtest
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
test -z " gesftpserver.8" || rm -f  gesftpserver.8
rm -f config.h stamp-h1
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f cscope.out cscope.in.out cscope.po.out cscope.files
rm -f config.status config.cache config.log configure.lineno 
config.status.lineno
rm -rf .deps ./.deps
rm -f Makefile
make[1]: Leaving directory 
'/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
rm -f debian/stamp-makefile-check
rm -f debian/stamp-autotools
rmdir --ignore-fail-on-non-empty .
rmdir: impossible de de supprimer « . »: Argument invalide
/usr/share/cdbs/1/class/autotools.mk:52: recipe for target 'makefile-clean' 
failed
make: [makefile-clean] Error 1 (ignorée)
for i in ./debian/upstream-cruft/config.aux/config.guess 
./config.aux/config.guess ./debian/upstream-cruft/config.aux/config.sub 
./config.aux/config.sub  ; do \
        if test -e $i.cdbs-orig ; then \
                mv $i.cdbs-orig $i ; \
        fi ; \
done
rm -f debian/copyright_newhints
rm -f debian/cdbs-install-list debian/cdbs-package-list 
debian/stamp-copyright-check
rm -rf Makefile.in
mv debian/upstream-cruft/Makefile.in Makefile.in
rm -rf aclocal.m4
mv debian/upstream-cruft/aclocal.m4 aclocal.m4
rm -rf configure
mv debian/upstream-cruft/configure configure
rm -rf config.h.in
mv debian/upstream-cruft/config.h.in config.h.in
rm -rf config.aux/config.guess
mv debian/upstream-cruft/config.aux/config.guess config.aux/config.guess
rm -rf config.aux/config.sub
mv debian/upstream-cruft/config.aux/config.sub config.aux/config.sub
rm -rf config.aux/depcomp
mv debian/upstream-cruft/config.aux/depcomp config.aux/depcomp
rm -rf config.aux/install-sh
mv debian/upstream-cruft/config.aux/install-sh config.aux/install-sh
rm -rf config.aux/missing
mv debian/upstream-cruft/config.aux/missing config.aux/missing
rm -rf "debian/upstream-cruft"
rm -f debian/stamp-upstream-cruft
rm -f debian/stamp-autotools-files
dh_clean -X tests/version2~
rm -rf m4
 debian/rules build
test -x debian/rules
mkdir -p "."
mkdir -p m4

Scanning upstream source for new/changed copyright notices...

licensecheck -c '.*' -r --copyright -i 
'^Makefile.in|aclocal.m4|configure|config.h.in|config\.aux/.*|debian/(changelog|copyright(|_hints|_newhints))'
 -l '99999' * | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints
9 combinations of copyright and licensing found.
WARNING: The following (and possibly more) new or changed notices discovered:

Copyright: 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98…
  1987,88,89,90,91,92,93,94,96,97,98 Free Software …
Copyright: 1990, 1993 The Regents of the University of …

To fix the situation please do the following:
  1) Fully compare debian/copyright_hints with debian/copyright_newhints
  2) Update debian/copyright as needed
  3) Replace debian/copyright_hints with debian/copyright_newhints
touch debian/stamp-copyright-check
mkdir -p "debian/upstream-cruft"
mv Makefile.in debian/upstream-cruft/Makefile.in
mv aclocal.m4 debian/upstream-cruft/aclocal.m4
mv configure debian/upstream-cruft/configure
mv config.h.in debian/upstream-cruft/config.h.in
mv config.aux/config.guess debian/upstream-cruft/config.aux/config.guess
mv config.aux/config.sub debian/upstream-cruft/config.aux/config.sub
mv config.aux/depcomp debian/upstream-cruft/config.aux/depcomp
mv config.aux/install-sh debian/upstream-cruft/config.aux/install-sh
mv config.aux/missing debian/upstream-cruft/config.aux/missing
touch debian/stamp-upstream-cruft
if test -e /usr/share/misc/config.guess ; then \
        for i in ./config.aux/config.guess ; do \
                if ! test -e $i.cdbs-orig ; then \
                        mv $i $i.cdbs-orig ; \
                        cp --remove-destination /usr/share/misc/config.guess $i 
; \
                fi ; \
        done ; \
fi
mv: impossible d'évaluer « ./config.aux/config.guess »: Aucun fichier ou 
dossier de ce type
if test -e /usr/share/misc/config.sub ; then \
        for i in ./config.aux/config.sub ; do \
                if ! test -e $i.cdbs-orig ; then \
                        mv $i $i.cdbs-orig ; \
                        cp --remove-destination /usr/share/misc/config.sub $i ; 
\
                fi ; \
        done ; \
fi
mv: impossible d'évaluer « ./config.aux/config.sub »: Aucun fichier ou 
dossier de ce type
cd . && aclocal -Im4 --install --force
acinclude.m4:121: warning: macro 'AM_PATH_GLIB_2_0' not found in library
acinclude.m4:122: warning: macro 'AM_PATH_GTK_2_0' not found in library
if [ -e ./configure.ac ] || [ -e ./configure.in ]; then cd . && `which autoconf 
|| which autoconf`; fi
if [ -e ./configure.ac ] || [ -e ./configure.in ]; then cd . && `which  
autoheader || which autoheader` ; fi
if [ -e ./Makefile.am ]; then cd . &&  automake --add-missing --copy --foreign 
--force ; fi
configure.ac:22: installing 'config.aux/install-sh'
configure.ac:22: installing 'config.aux/missing'
Makefile.am: installing 'config.aux/depcomp'
touch debian/stamp-autotools-files
chmod a+x 
/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1/./configure
mkdir -p .
cd . &&   CFLAGS="-g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector-strong 
-Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" 
LDFLAGS="-Wl,-z,relro" 
/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1/./configure 
--build=x86_64-linux-gnu  --prefix=/usr --includedir="\${prefix}/include" 
--mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" 
--sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --srcdir=. 
--disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules  
  
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for extra include directories... none
checking for extra library directories... none
checking for ranlib... ranlib
checking how to build threaded code... -lpthread
checking for pthread_create in -lpthread... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for socket in -lsocket... no
checking for readline in -lreadline... yes
checking for iconv_open in -liconv... no
checking for libiconv_open in -liconv... no
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for daemon... yes
checking for futimes... yes
checking for futimesat... yes
checking for getaddrinfo... yes
checking for prctl... yes
checking whether be64toh is declared... yes
checking whether htobe64 is declared... yes
checking whether byte ordering is bigendian... no
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking size of size_t... 8
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for gcc warning options... -Wall -W -Wpointer-arith 
-Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs
checking how to make gcc treat warnings as errors... -Werror
checking whether to enable compiler warnings... yes
checking whether to treat warnings as errors... no
checking whether <inttypes.h> macros produce warnings... no
checking for struct stat.st_atimespec... no
checking for getopt_long... yes
checking for Python 2.4 or better... python
checking whether to reverse SSH_FXP_SYMLINK arguments... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
touch debian/stamp-autotools
/usr/bin/make  -C .  
make[1]: Entering directory 
'/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
/usr/bin/make  all-am
make[2]: Entering directory 
'/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o alloc.o alloc.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o debug.o debug.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o handle.o handle.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o parse.o parse.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o queue.o queue.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o send.o send.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o status.o status.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o users.o users.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o utils.o utils.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o v3.o v3.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o xfns.o xfns.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o stat.o stat.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o charset.o charset.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o serialize.o serialize.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o v4.o v4.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o realpath.o realpath.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o readlink.o readlink.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o v5.o v5.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o v6.o v6.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o getcwd.o getcwd.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o globals.o globals.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o dirname.o dirname.c
rm -f libsftp.a
ar cru libsftp.a alloc.o debug.o handle.o parse.o queue.o send.o status.o 
users.o utils.o v3.o xfns.o stat.o charset.o serialize.o v4.o realpath.o 
readlink.o v5.o v6.o getcwd.o globals.o dirname.o 
ar: le modificateur « u » est ignoré puisque « D » est le défaut 
(consultez « U »)
ranlib libsftp.a
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o sftpserver.o sftpserver.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o readwrite.o readwrite.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro 
-o gesftpserver sftpserver.o readwrite.o libsftp.a -lpthread 
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o sftpclient.o sftpclient.c
sftpclient.c: In function ‘sftp_readdir’:
sftpclient.c:558:10: warning: comparison is always false due to limited range 
of data type [-Wtype-limits]
     if(n > SIZE_MAX / sizeof(struct sftpattr))
          ^
sftpclient.c: In function ‘process’:
sftpclient.c:2744:9: warning: ignoring return value of ‘system’, declared 
with attribute warn_unused_result [-Wunused-result]
         system(line + 1);
         ^
sftpclient.c:2746:9: warning: ignoring return value of ‘system’, declared 
with attribute warn_unused_result [-Wunused-result]
         system(getenv("SHELL"));
         ^
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro 
-o sftpclient sftpclient.o readwrite.o libsftp.a -lreadline -lpthread 
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -DHAVE_CONFIG_H 
-I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -c -o pwtest.o pwtest.c
gcc -Wall -W -Wpointer-arith -Wbad-function-cast -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro 
-o pwtest pwtest.o  -lpthread 
sed < ./gesftpserver.8.in > gesftpserver.8.new \
        -e "s,__libexecdir__,/usr/lib,g"
mv gesftpserver.8.new gesftpserver.8
make[2]: Leaving directory 
'/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
make[1]: Leaving directory 
'/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
touch debian/stamp-makefile-build
/usr/bin/make  -C .  check
make[1]: Entering directory 
'/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
/usr/bin/make  all-am
make[2]: Entering directory 
'/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
make[2]: Leaving directory 
'/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
rm -f gesftpserver-ro
ln -s gesftpserver gesftpserver-ro
rm -f gesftpserver-debug
ln -s gesftpserver gesftpserver-debug
rm -f gesftpserver-ro-debug
ln -s gesftpserver gesftpserver-ro-debug
echo "#! /bin/sh" > gesftpserver-valgrind.new
echo "set -e" >> gesftpserver-valgrind.new
echo "exec valgrind --leak-check=full -q --log-file=/dev/tty --num-callers=50 
`pwd`/gesftpserver \"\$@\"" >> gesftpserver-valgrind.new
chmod +x gesftpserver-valgrind.new
mv gesftpserver-valgrind.new gesftpserver-valgrind
rm -f *.gcda *.gcov
./pwtest
srcdir=. python ./run-tests --directory tests 
Testing tests/badpacket3456 protocol 3 ... passed
Testing tests/badpacket3456 protocol 4 ... passed
Testing tests/badpacket3456 protocol 5 ... passed
Testing tests/badpacket3456 protocol 6 ... passed
Testing tests/badpacket456 protocol 4 ... passed
Testing tests/badpacket456 protocol 5 ... passed
Testing tests/badpacket456 protocol 6 ... passed
Testing tests/badpath45 protocol 4 ... passed
Testing tests/badpath45 protocol 5 ... passed
Testing tests/badpath6 protocol 6 ... passed
Testing tests/cd3456 protocol 3 ... passed
Testing tests/cd3456 protocol 4 ... passed
Testing tests/cd3456 protocol 5 ... passed
Testing tests/cd3456 protocol 6 ... passed
Testing tests/chmod3 protocol 3 ... FAILED
EXPECTED: -rw------- +\? +\d+ +\d+ +0 +[a-zA-Z]+ +\d+ +\d+:\d\d input
     GOT: -rw-------   ? 1000     1000            0 aoû 21 16:3 input (null)
EXPECTED: -rw------- +\? +\d+ +\d+ +0 +[a-zA-Z]+ +\d+ +\d+:\d\d output
     GOT: -rw-------   ? 1000     1000            0 aoû 21 16:3 output (null)
Testing tests/chmod45 protocol 4 ... FAILED
EXPECTED: -rw------- +\? +\S+ +\S+ +0 +[a-zA-Z]+ +\d+ +\d+:\d\d input
     GOT: -rw-------   ? lamby    lamby           0 aoû 21 16:3 input (null)
EXPECTED: -rw------- +\? +\S+ +\S+ +0 +[a-zA-Z]+ +\d+ +\d+:\d\d output
     GOT: -rw-------   ? lamby    lamby           0 aoû 21 16:3 output (null)
Testing tests/chmod45 protocol 5 ... FAILED
EXPECTED: -rw------- +\? +\S+ +\S+ +0 +[a-zA-Z]+ +\d+ +\d+:\d\d input
     GOT: -rw-------   ? lamby    lamby           0 aoû 21 16:3 input (null)
EXPECTED: -rw------- +\? +\S+ +\S+ +0 +[a-zA-Z]+ +\d+ +\d+:\d\d output
     GOT: -rw-------   ? lamby    lamby           0 aoû 21 16:3 output (null)
Testing tests/chmod6 protocol 6 ... FAILED
EXPECTED: -rw------- +1 +\S+ +\S+ +0 +[a-zA-Z]+ +\d+ +\d+:\d\d input
     GOT: -rw-------   1 lamby    lamby           0 aoû 21 16:3 input (null)
EXPECTED: -rw------- +1 +\S+ +\S+ +0 +[a-zA-Z]+ +\d+ +\d+:\d\d output
     GOT: -rw-------   1 lamby    lamby           0 aoû 21 16:3 output (null)
Testing tests/df3456 protocol 3 ... passed
Testing tests/df3456 protocol 4 ... passed
Testing tests/df3456 protocol 5 ... passed
Testing tests/df3456 protocol 6 ... passed
Testing tests/filetype3456 protocol 3 ... passed
Testing tests/filetype3456 protocol 4 ... passed
Testing tests/filetype3456 protocol 5 ... passed
Testing tests/filetype3456 protocol 6 ... passed
Testing tests/isdir345 protocol 3 ... passed
Testing tests/isdir345 protocol 4 ... passed
Testing tests/isdir345 protocol 5 ... passed
Testing tests/isdir6 protocol 6 ... passed
Testing tests/link345 protocol 3 ... passed
Testing tests/link345 protocol 4 ... passed
Testing tests/link345 protocol 5 ... passed
Testing tests/link6 protocol 6 ... FAILED
EXPECTED: -rw-r--r-- +2 +\S+ +\S+ +0 +[a-zA-Z]+ \d+ \d+:\d+ bar
     GOT: -rw-r--r--   2 lamby    lamby           0 aoû 21 16:3 bar (null)
Testing tests/local3456 protocol 3 ... passed
Testing tests/local3456 protocol 4 ... passed
Testing tests/local3456 protocol 5 ... passed
Testing tests/local3456 protocol 6 ... passed
Testing tests/ls3 protocol 3 ... FAILED
EXPECTED: drwxr.[xs]r.x +\? +\d+ +\d+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ \.
     GOT: drwxr-xr-x   ? 1000     1000         4096 aoû 21 16:3 . (null)
EXPECTED: drwxr.[xs]r.x +\? +\d+ +\d+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ \.\.
     GOT: drwxr-xr-x   ? 1000     1000         4096 aoû 21 16:3 .. (null)
EXPECTED: lrwxr.[xs]r.x +\? +\d+ +\d+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ b -> a
     GOT: lrwxrwxrwx   ? 1000     1000            1 aoû 21 16:3 b -> a (null)
EXPECTED: -rw-r--r-- +\? +\d+ +\d+ +0 +[a-zA-Z]+ +\d+ +\d+:\d+ empty
     GOT: -rw-r--r--   ? 1000     1000            0 aoû 21 16:3 empty (null)
EXPECTED: -rw-r--r-- +\? +\d+ +\d+ +1048576 +[a-zA-Z]+ +\d+ +\d+:\d+ large
     GOT: -rw-r--r--   ? 1000     1000      1048576 aoû 21 16:3 large (null)
EXPECTED: -rw-r--r-- +\? +\d+ +\d+ +6 +[a-zA-Z]+ +\d+ +\d+:\d+ small
     GOT: -rw-r--r--   ? 1000     1000            6 aoû 21 16:3 small (null)
EXPECTED: -rw-r--r-- +\? +\d+ +\d+ +6 +[a-zA-Z]+ +\d+ +\d+:\d+ wibble
     GOT: -rw-r--r--   ? 1000     1000            6 aoû 21 16:3 wibble (null)
EXPECTED: drwxr.[xs]r.x +\? +\d+ +\d+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ \.
     GOT: drwxr-xr-x   ? 1000     1000         4096 aoû 21 16:3 . (null)
EXPECTED: drwxr.[xs]r.x +\? +\d+ +\d+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ \.\.
     GOT: drwxr-xr-x   ? 1000     1000         4096 aoû 21 16:3 .. (null)
EXPECTED: lrwxr.[xs]r.x +\? +\d+ +\d+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ b -> a
     GOT: lrwxrwxrwx   ? 1000     1000            1 aoû 21 16:3 b -> a (null)
EXPECTED: -rw-r--r-- +\? +\d+ +\d+ +0 +[a-zA-Z]+ +\d+ +\d+:\d+ empty
     GOT: -rw-r--r--   ? 1000     1000            0 aoû 21 16:3 empty (null)
EXPECTED: -rw-r--r-- +\? +\d+ +\d+ +1048576 +[a-zA-Z]+ +\d+ +\d+:\d+ large
     GOT: -rw-r--r--   ? 1000     1000      1048576 aoû 21 16:3 large (null)
EXPECTED: -rw-r--r-- +\? +\d+ +\d+ +6 +[a-zA-Z]+ +\d+ +\d+:\d+ small
     GOT: -rw-r--r--   ? 1000     1000            6 aoû 21 16:3 small (null)
EXPECTED: -rw-r--r-- +\? +\d+ +\d+ +6 +[a-zA-Z]+ +\d+ +\d+:\d+ wibble
     GOT: -rw-r--r--   ? 1000     1000            6 aoû 21 16:3 wibble (null)
EXPECTED: lrwxr.[xs]r.x +\? +\d+ +\d+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ b
     GOT: lrwxrwxrwx   ? 1000     1000            1 aoû 21 15:3 b
EXPECTED: -rw-r--r-- +\? +\d+ +\d+ +1048576 +[a-zA-Z]+ +\d+ +\d+:\d+ large
     GOT: -rw-r--r--   ? 1000     1000      1048576 aoû 21 15:3 large
EXPECTED: drwsr-sr-t +\? +\d+ +\d+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ dir
     GOT: drwsr-sr-t   ? 1000     1000         4096 aoû 21 15:3 dir
EXPECTED: d--S--S--T +\? +\d+ +\d+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ dir
     GOT: d--S--S--T   ? 1000     1000         4096 aoû 21 15:3 dir
Testing tests/ls4 protocol 4 ... FAILED
EXPECTED: drwxr.[xs]r.x +\? +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ \.
     GOT: drwxr-xr-x   ? lamby    lamby        4096 aoû 21 16:3 . (null)
EXPECTED: drwxr.[xs]r.x +\? +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ \.\.
     GOT: drwxr-xr-x   ? lamby    lamby        4096 aoû 21 16:3 .. (null)
EXPECTED: lrwxr.[xs]r.x +\? +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ b -> a
     GOT: lrwxrwxrwx   ? lamby    lamby           1 aoû 21 16:3 b -> a (null)
EXPECTED: -rw-r--r-- +\? +\S+ +\S+ +0 +[a-zA-Z]+ +\d+ +\d+:\d+ empty
     GOT: -rw-r--r--   ? lamby    lamby           0 aoû 21 16:3 empty (null)
EXPECTED: -rw-r--r-- +\? +\S+ +\S+ +1048576 +[a-zA-Z]+ +\d+ +\d+:\d+ large
     GOT: -rw-r--r--   ? lamby    lamby     1048576 aoû 21 16:3 large (null)
EXPECTED: -rw-r--r-- +\? +\S+ +\S+ +6 +[a-zA-Z]+ +\d+ +\d+:\d+ small
     GOT: -rw-r--r--   ? lamby    lamby           6 aoû 21 16:3 small (null)
EXPECTED: -rw-r--r-- +\? +\S+ +\S+ +6 +[a-zA-Z]+ +\d+ +\d+:\d+ wibble
     GOT: -rw-r--r--   ? lamby    lamby           6 aoû 21 16:3 wibble (null)
EXPECTED: lrwxr.[xs]r.x +\? +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ b
     GOT: lrwxrwxrwx   ? lamby    lamby           1 aoû 21 15:3 b
EXPECTED: -rw-r--r-- +\? +\S+ +\S+ +1048576 +[a-zA-Z]+ +\d+ +\d+:\d+ large
     GOT: -rw-r--r--   ? lamby    lamby     1048576 aoû 21 15:3 large
EXPECTED: drwsr-sr-t +\? +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ dir
     GOT: drwsr-sr-t   ? lamby    lamby        4096 aoû 21 15:3 dir
EXPECTED: d--S--S--T +\? +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ dir
     GOT: d--S--S--T   ? lamby    lamby        4096 aoû 21 15:3 dir
Testing tests/ls5 protocol 5 ... FAILED
EXPECTED: drwxr.[xs]r.x +\? +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ \. \[hide\]
     GOT: drwxr-xr-x   ? lamby    lamby        4096 aoû 21 16:3 . [hide]
EXPECTED: drwxr.[xs]r.x +\? +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ \.\. 
\[hide\]
     GOT: drwxr-xr-x   ? lamby    lamby        4096 aoû 21 16:3 .. [hide]
EXPECTED: lrwxr.[xs]r.x +\? +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ b -> a
     GOT: lrwxrwxrwx   ? lamby    lamby           1 aoû 21 16:3 b -> a (null)
EXPECTED: -rw-r--r-- +\? +\S+ +\S+ +0 +[a-zA-Z]+ +\d+ +\d+:\d+ empty
     GOT: -rw-r--r--   ? lamby    lamby           0 aoû 21 16:3 empty (null)
EXPECTED: -rw-r--r-- +\? +\S+ +\S+ +1048576 +[a-zA-Z]+ +\d+ +\d+:\d+ large
     GOT: -rw-r--r--   ? lamby    lamby     1048576 aoû 21 16:3 large (null)
EXPECTED: -rw-r--r-- +\? +\S+ +\S+ +6 +[a-zA-Z]+ +\d+ +\d+:\d+ small
     GOT: -rw-r--r--   ? lamby    lamby           6 aoû 21 16:3 small (null)
EXPECTED: -rw-r--r-- +\? +\S+ +\S+ +6 +[a-zA-Z]+ +\d+ +\d+:\d+ wibble
     GOT: -rw-r--r--   ? lamby    lamby           6 aoû 21 16:3 wibble (null)
EXPECTED: lrwxr.[xs]r.x +\? +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ b
     GOT: lrwxrwxrwx   ? lamby    lamby           1 aoû 21 15:3 b
EXPECTED: -rw-r--r-- +\? +\S+ +\S+ +1048576 +[a-zA-Z]+ +\d+ +\d+:\d+ large
     GOT: -rw-r--r--   ? lamby    lamby     1048576 aoû 21 15:3 large
EXPECTED: drwsr-sr-t +\? +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ dir
     GOT: drwsr-sr-t   ? lamby    lamby        4096 aoû 21 15:3 dir
EXPECTED: d--S--S--T +\? +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ dir
     GOT: d--S--S--T   ? lamby    lamby        4096 aoû 21 15:3 dir
Testing tests/ls6 protocol 6 ... FAILED
EXPECTED: drwxr.[xs]r.x +\d+ +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ \. \[hide\]
     GOT: drwxr-xr-x   2 lamby    lamby        4096 aoû 21 16:3 . [hide]
EXPECTED: drwxr.[xs]r.x +\d+ +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ \.\. 
\[hide\]
     GOT: drwxr-xr-x  44 lamby    lamby        4096 aoû 21 16:3 .. [hide]
EXPECTED: lrwxr.[xs]r.x +1 +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ b -> a
     GOT: lrwxrwxrwx   1 lamby    lamby           1 aoû 21 16:3 b -> a (null)
EXPECTED: -rw-r--r-- +1 +\S+ +\S+ +0 +[a-zA-Z]+ +\d+ +\d+:\d+ empty
     GOT: -rw-r--r--   1 lamby    lamby           0 aoû 21 16:3 empty (null)
EXPECTED: -rw-r--r-- +1 +\S+ +\S+ +1048576 +[a-zA-Z]+ +\d+ +\d+:\d+ large
     GOT: -rw-r--r--   1 lamby    lamby     1048576 aoû 21 16:3 large (null)
EXPECTED: -rw-r--r-- +2 +\S+ +\S+ +6 +[a-zA-Z]+ +\d+ +\d+:\d+ small
     GOT: -rw-r--r--   2 lamby    lamby           6 aoû 21 16:3 small (null)
EXPECTED: -rw-r--r-- +2 +\S+ +\S+ +6 +[a-zA-Z]+ +\d+ +\d+:\d+ wibble
     GOT: -rw-r--r--   2 lamby    lamby           6 aoû 21 16:3 wibble (null)
EXPECTED: lrwxr.[xs]r.x +1 +\S+ +\S+ +\S+ +[a-zA-Z]+ +\d+ +\d+:\d+ b
     GOT: lrwxrwxrwx   1 lamby    lamby           1 aoû 21 15:3 b
EXPECTED: -rw-r--r-- +1 +\S+ +\S+ +1048576 +[a-zA-Z]+ +\d+ +\d+:\d+ large
     GOT: -rw-r--r--   1 lamby    lamby     1048576 aoû 21 15:3 large
EXPECTED: drwsr-sr-t +\d+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ dir
     GOT: drwsr-sr-t   2 lamby    lamby        4096 aoû 21 15:3 dir
EXPECTED: d--S--S--T +\d+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ dir
     GOT: d--S--S--T   2 lamby    lamby        4096 aoû 21 15:3 dir
Testing tests/mkdir3456 protocol 3 ... FAILED
EXPECTED: drwxr-[xs]r-x +[\?\d] +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ defperms
     GOT: drwxr-xr-x   ? 1000     1000         4096 aoû 21 16:3 defperms (null)
EXPECTED: drwx--S--- +[\?\d] +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ fixedperms
     GOT: drwx--S---   ? 1000     1000         4096 aoû 21 16:3 fixedperms 
(null)
Testing tests/mkdir3456 protocol 4 ... FAILED
EXPECTED: drwxr-[xs]r-x +[\?\d] +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ defperms
     GOT: drwxr-xr-x   ? lamby    lamby        4096 aoû 21 16:3 defperms (null)
EXPECTED: drwx--S--- +[\?\d] +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ fixedperms
     GOT: drwx--S---   ? lamby    lamby        4096 aoû 21 16:3 fixedperms 
(null)
Testing tests/mkdir3456 protocol 5 ... FAILED
EXPECTED: drwxr-[xs]r-x +[\?\d] +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ defperms
     GOT: drwxr-xr-x   ? lamby    lamby        4096 aoû 21 16:3 defperms (null)
EXPECTED: drwx--S--- +[\?\d] +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ fixedperms
     GOT: drwx--S---   ? lamby    lamby        4096 aoû 21 16:3 fixedperms 
(null)
Testing tests/mkdir3456 protocol 6 ... FAILED
EXPECTED: drwxr-[xs]r-x +[\?\d] +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ defperms
     GOT: drwxr-xr-x   2 lamby    lamby        4096 aoû 21 16:3 defperms (null)
EXPECTED: drwx--S--- +[\?\d] +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ fixedperms
     GOT: drwx--S---   2 lamby    lamby        4096 aoû 21 16:3 fixedperms 
(null)
Testing tests/nosuchpath3 protocol 3 ... passed
Testing tests/nosuchpath456 protocol 4 ... passed
Testing tests/nosuchpath456 protocol 5 ... passed
Testing tests/nosuchpath456 protocol 6 ... passed
Testing tests/open3456 protocol 3 ... passed
Testing tests/open3456 protocol 4 ... passed
Testing tests/open3456 protocol 5 ... passed
Testing tests/open3456 protocol 6 ... passed
Testing tests/open56 protocol 5 ... passed
Testing tests/open56 protocol 6 ... passed
Testing tests/posix-rename3456 protocol 3 ... passed
Testing tests/posix-rename3456 protocol 4 ... passed
Testing tests/posix-rename3456 protocol 5 ... passed
Testing tests/posix-rename3456 protocol 6 ... passed
Testing tests/readlink3 protocol 3 ... FAILED
EXPECTED: lrwxr.xr.x +\? +\d+ +\d+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d\d b -> a
     GOT: lrwxrwxrwx   ? 1000     1000            1 aoû 21 16:3 b -> a (null)
Testing tests/readlink45 protocol 4 ... FAILED
EXPECTED: lrwxr.xr.x +\? +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d\d b -> a
     GOT: lrwxrwxrwx   ? lamby    lamby           1 aoû 21 16:3 b -> a (null)
Testing tests/readlink45 protocol 5 ... FAILED
EXPECTED: lrwxr.xr.x +\? +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d\d b -> a
     GOT: lrwxrwxrwx   ? lamby    lamby           1 aoû 21 16:3 b -> a (null)
Testing tests/readlink6 protocol 6 ... FAILED
EXPECTED: lrwxr.xr.x +\d+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d\d b -> a
     GOT: lrwxrwxrwx   1 lamby    lamby           1 aoû 21 16:3 b -> a (null)
Testing tests/realpath3456 protocol 3 ... passed
Testing tests/realpath3456 protocol 4 ... passed
Testing tests/realpath3456 protocol 5 ... passed
Testing tests/realpath3456 protocol 6 ... passed
Testing tests/realpath6 protocol 6 ... passed
Testing tests/reinit3456 protocol 3 ... passed
Testing tests/reinit3456 protocol 4 ... passed
Testing tests/reinit3456 protocol 5 ... passed
Testing tests/reinit3456 protocol 6 ... passed
Testing tests/remove3456 protocol 3 ... passed
Testing tests/remove3456 protocol 4 ... passed
Testing tests/remove3456 protocol 5 ... passed
Testing tests/remove3456 protocol 6 ... passed
Testing tests/rename3 protocol 3 ... passed
Testing tests/rename4 protocol 4 ... passed
Testing tests/rename56 protocol 5 ... passed
Testing tests/rename56 protocol 6 ... passed
Testing tests/rmdir345 protocol 3 ... passed
Testing tests/rmdir345 protocol 4 ... passed
Testing tests/rmdir345 protocol 5 ... passed
Testing tests/rmdir6 protocol 6 ... passed
Testing tests/split3456 protocol 3 ... passed
Testing tests/split3456 protocol 4 ... passed
Testing tests/split3456 protocol 5 ... passed
Testing tests/split3456 protocol 6 ... passed
Testing tests/symlink3 protocol 3 ... passed
Testing tests/symlink456 protocol 4 ... passed
Testing tests/symlink456 protocol 5 ... passed
Testing tests/symlink456 protocol 6 ... passed
Testing tests/text456 protocol 4 ... passed
Testing tests/text456 protocol 5 ... passed
Testing tests/text456 protocol 6 ... passed
Testing tests/textseek456 protocol 4 ... passed
Testing tests/textseek456 protocol 5 ... passed
Testing tests/textseek456 protocol 6 ... passed
Testing tests/textupload3 protocol 3 ... passed
Testing tests/textupload456 protocol 4 ... passed
Testing tests/textupload456 protocol 5 ... passed
Testing tests/textupload456 protocol 6 ... passed
Testing tests/truncate3456 protocol 3 ... passed
Testing tests/truncate3456 protocol 4 ... passed
Testing tests/truncate3456 protocol 5 ... passed
Testing tests/truncate3456 protocol 6 ... passed
Testing tests/unsupported3456 protocol 3 ... passed
Testing tests/unsupported3456 protocol 4 ... passed
Testing tests/unsupported3456 protocol 5 ... passed
Testing tests/unsupported3456 protocol 6 ... passed
Testing tests/upload3456 protocol 3 ... FAILED
EXPECTED: -rw------x +\S+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ upload2
     GOT: -rw------x   ? 1000     1000        14441 aoû 21 16:3 upload2 (null)
Testing tests/upload3456 protocol 4 ... FAILED
EXPECTED: -rw------x +\S+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ upload2
     GOT: -rw------x   ? lamby    lamby       13083 aoû 21 16:3 upload2 (null)
Testing tests/upload3456 protocol 5 ... FAILED
EXPECTED: -rw------x +\S+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ upload2
     GOT: -rw------x   ? lamby    lamby       13286 aoû 21 16:3 upload2 (null)
Testing tests/upload3456 protocol 6 ... FAILED
EXPECTED: -rw------x +\S+ +\S+ +\S+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d+ upload2
     GOT: -rw------x   1 lamby    lamby       49182 aoû 21 16:3 upload2 (null)
Testing tests/version2 protocol 2 ... passed
Testing tests/version3 protocol 3 ... passed
Testing tests/version4 protocol 4 ... passed
Testing tests/version5 protocol 5 ... passed
Testing tests/version67 protocol 6 ... passed
Testing tests/version67 protocol 7 ... passed
Testing tests/vsel6bad protocol 6 ... passed
Testing tests/vsel6five protocol 6 ... passed
Testing tests/vsel6four protocol 6 ... passed
Testing tests/vsel6mistimed protocol 6 ... passed
Testing tests/vsel6six protocol 6 ... passed
Testing tests/vsel6three protocol 6 ... passed
21 tests failed
Makefile:982: recipe for target 'check' failed
make[1]: *** [check] Error 1
make[1]: Leaving directory 
'/home/lamby/temp/cdt.20150821163237.pQN65sD6Dq/gesftpserver-0.2.1'
/usr/share/cdbs/1/class/makefile.mk:67: recipe for target 
'debian/stamp-makefile-check' failed
make: *** [debian/stamp-makefile-check] Error 2
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de 
type 2
diff --git a/debian/rules b/debian/rules
index 1e4c84d..b0e67fc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,7 +46,7 @@ DEB_CONFIGURE_LIBEXECDIR = /usr/lib
 DEB_MAKE_CHECK_TARGET = check
 
 # Some regression tests fail if ls output is localized
-$(cdbs_make_check_stamps) : export LC_MESSAGES=C
+$(cdbs_make_check_stamps) : export LC_ALL=C
 
 # put aside autogenerated files during build
 DEB_UPSTREAM_CRUFT_MOVE = Makefile.in aclocal.m4 configure config.h.in
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to