Debian Bug report logs - #854512
ftpcopy: FTBFS: dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp

version graph

Package: src:ftpcopy; Maintainer for src:ftpcopy is Debian QA Group <packages@qa.debian.org>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Tue, 7 Feb 2017 20:51:02 UTC

Severity: serious

Tags: patch, sid, stretch

Found in version ftpcopy/0.6.7-3

Fixed in version ftpcopy/0.6.7-3.1

Done: Reiner Herrmann <reiner@reiner-h.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#854512; Package src:ftpcopy. (Tue, 07 Feb 2017 20:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Gerrit Pape <pape@smarden.org>. (Tue, 07 Feb 2017 20:51:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: ftpcopy: FTBFS: dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp
Date: Wed, 08 Feb 2017 09:46:52 +1300
[Message part 1 (text/plain, inline)]
Source: ftpcopy
Version: 0.6.7-3
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Dear Maintainer,

ftpcopy fails to build from source in unstable/amd64:

  […]

  In file included from socket_conn64.c:4:0:
  socket_conn64.c: In function 'socket_connect64':
  byte.h:15:47: warning: pointer targets in passing argument 3 of 'byte_diff' differ in signedness [-Wpointer-sign]
   #define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
                                                 ^
  ip6.h:23:29: note: in expansion of macro 'byte_equal'
   #define ip6_isv4mapped(ip) (byte_equal(ip,12,V4mappedprefix))
                               ^~~~~~~~~~
  socket_conn64.c:19:7: note: in expansion of macro 'ip6_isv4mapped'
     if (ip6_isv4mapped(ip))
         ^~~~~~~~~~~~~~
  byte.h:12:5: note: expected 'const char *' but argument is of type 'const unsigned char *'
   int byte_diff(const char *s,unsigned int n,const char *t);
       ^~~~~~~~~
  byte.h:15:47: warning: pointer targets in passing argument 3 of 'byte_diff' differ in signedness [-Wpointer-sign]
   #define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
                                                 ^
  socket_conn64.c:22:7: note: in expansion of macro 'byte_equal'
     if (byte_equal(ip,16,V6loopback))
         ^~~~~~~~~~
  byte.h:12:5: note: expected 'const char *' but argument is of type 'const unsigned char *'
   int byte_diff(const char *s,unsigned int n,const char *t);
       ^~~~~~~~~
  socket_conn64.c:23:30: warning: pointer targets in passing argument 2 of 'socket_connect4' differ in signedness [-Wpointer-sign]
       return socket_connect4(s,V4loopback,port);
                                ^~~~~~~~~~
  In file included from socket_conn64.c:5:0:
  socket.h:15:5: note: expected 'const char *' but argument is of type 'const unsigned char *'
   int socket_connect4 (int fd, const char *ip, uo_uint16_t port);
       ^~~~~~~~~~~~~~~
  ./auto-compilew.sh  -c socket_connt.c
  ./auto-compilew.sh  -c socket_family.c
  socket_family.c: In function 'socket_family':
  socket_family.c:14:51: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
     if (-1!=getsockname(fd,(struct sockaddr *) &sa6,&dummy)) {
                                                     ^
  In file included from socket_family.c:2:0:
  /usr/include/x86_64-linux-gnu/sys/socket.h:127:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *'
   extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
              ^~~~~~~~~~~
  socket_family.c:23:51: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
     if (-1==getsockname(fd,(struct sockaddr *) &sa4,&dummy))
                                                     ^
  In file included from socket_family.c:2:0:
  /usr/include/x86_64-linux-gnu/sys/socket.h:127:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *'
   extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
              ^~~~~~~~~~~
  ./auto-compilew.sh  -c socket_flag.c
  ./auto-compilew.sh  -c socket_gifid.c
  ./auto-compilew.sh  -c socket_gifna.c
  ./auto-compilew.sh  -c socket_htons.c
  socket_htons.c: In function 'socket_htons':
  socket_htons.c:10:19: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    unsigned char *p=(char *)nport;
                     ^
  ./auto-compilew.sh  -c socket_ntohs.c
  socket_ntohs.c: In function 'socket_ntohs':
  socket_ntohs.c:10:19: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    unsigned char *p=(char *)&nport;
                     ^
  ./auto-compilew.sh  -c socket_remote6.c
  ./auto-compilew.sh  -c socket_tcp.c
  ./auto-compilew.sh  -c socket_tcp6.c
  ./auto-compilew.sh  -c socket_tcp64.c
  ./auto-compilew.sh  -c socket_udp.c
  ./auto-compilew.sh  -c socket_udp6.c
  ./auto-compilew.sh  -c socket_udp64.c
  ./auto-compilew.sh  -c stralloc_cat.c
  ./auto-compilew.sh  -c stralloc_catb.c
  ./auto-compilew.sh  -c stralloc_cats.c
  ./auto-compilew.sh  -c stralloc_copy.c
  ./auto-compilew.sh  -c stralloc_eady.c
  ./auto-compilew.sh  -c stralloc_free.c
  ./auto-compilew.sh  -c stralloc_opyb.c
  ./auto-compilew.sh  -c stralloc_opys.c
  ./auto-compilew.sh  -c stralloc_pend.c
  ./auto-compilew.sh  -c stralloc_plus.c
  ./auto-makelib.sh libunix.a alloc.o alloc_re.o api_futimes.o api_utimes.o buffer.o buffer_0.o buffer_1.o buffer_2.o buffer_get.o buffer_put.o env_get.o error.o error_str.o gen_alloc_ady.o gen_alloc_end.o gen_alloc_lus.o get_cwd.o getln.o iopause.o ndelay_off.o ndelay_on.o open_append.o open_excl.o open_read.o openreadclose.o readclose.o readclose_app.o sig.o sig_catch.o socket_bind.o socket_bind6.o socket_bind64.o socket_conn.o socket_conn6.o socket_conn64.o socket_connt.o socket_family.o socket_flag.o socket_gifid.o socket_gifna.o socket_htons.o socket_ntohs.o socket_remote6.o socket_tcp.o socket_tcp6.o socket_tcp64.o socket_udp.o socket_udp6.o socket_udp64.o stralloc_cat.o stralloc_catb.o stralloc_cats.o stralloc_copy.o stralloc_eady.o stralloc_free.o stralloc_opyb.o stralloc_opys.o stralloc_pend.o stralloc_plus.o
  ar: `u' modifier ignored since `D' is the default (see `U')
  ./auto-compilew.sh  -c tai_add.c
  ./auto-compile.sh  -c tai_now.c
  ./auto-compilew.sh  -c tai_pack.c
  ./auto-compilew.sh  -c tai_sub.c
  ./auto-compilew.sh  -c tai_uint.c
  ./auto-compilew.sh  -c taia_add.c
  ./auto-compilew.sh  -c taia_approx.c
  ./auto-compilew.sh  -c taia_frac.c
  ./auto-compile.sh  -c taia_half.c
  ./auto-compilew.sh  -c taia_less.c
  ./auto-compilew.sh  -c taia_now.c
  ./auto-compilew.sh  -c taia_pack.c
  ./auto-compilew.sh  -c taia_sub.c
  ./auto-compilew.sh  -c taia_uint.c
  ./auto-makelib.sh libtai.a tai_add.o tai_now.o tai_pack.o tai_sub.o tai_uint.o taia_add.o taia_approx.o taia_frac.o taia_half.o taia_less.o taia_now.o taia_pack.o taia_sub.o taia_uint.o
  ar: `u' modifier ignored since `D' is the default (see `U')
  ./auto-compilew.sh  -c byte_chr.c
  byte_chr.c: In function 'byte_chr':
  byte_chr.c:16:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (*p == ch) break; ++p; --n;
     ^~
  byte_chr.c:16:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (*p == ch) break; ++p; --n;
                          ^~
  byte_chr.c:19:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (*p == ch) break; ++p; --n;
     ^~
  byte_chr.c:19:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (*p == ch) break; ++p; --n;
                          ^~
  byte_chr.c:22:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (*p == ch) break; ++p; --n;
     ^~
  byte_chr.c:22:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (*p == ch) break; ++p; --n;
                          ^~
  byte_chr.c:25:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (*p == ch) break; ++p; --n;
     ^~
  byte_chr.c:25:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (*p == ch) break; ++p; --n;
                          ^~
  ./auto-compilew.sh  -c byte_copy.c
  ./auto-compilew.sh  -c byte_cr.c
  ./auto-compilew.sh  -c byte_diff.c
  ./auto-compilew.sh  -c byte_zero.c
  ./auto-compilew.sh  -c case_diffb.c
  case_diffb.c: In function 'case_diffb':
  case_diffb.c:10:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    const unsigned char *s=ss;
                           ^~
  case_diffb.c:11:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    const unsigned char *t=st;
                           ^~
  ./auto-compilew.sh  -c case_lowerb.c
  ./auto-compilew.sh  -c case_lowers.c
  case_lowers.c: In function 'case_lowers':
  case_lowers.c:10:22: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
       unsigned char *s=ss;
                        ^~
  ./auto-compilew.sh  -c case_lwrtab.c
  ./auto-compilew.sh  -c case_startb.c
  case_startb.c: In function 'case_startb':
  case_startb.c:10:26: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    const unsigned char *lo=ulo;
                            ^~~
  case_startb.c:11:26: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    const unsigned char *sh=ush;
                            ^~~
  ./auto-compilew.sh  -c case_starts.c
  ./auto-compilew.sh  -c fmt_uint0.c
  ./auto-compilew.sh  -c fmt_uint64.c
  ./auto-compilew.sh  -c fmt_ulong.c
  ./auto-compilew.sh  -c fmt_xlong.c
  ./auto-compilew.sh  -c ip4_constants.c
  ./auto-compilew.sh  -c ip4_fmt.c
  ./auto-compile.sh  -c ip4_scan.c
  ./auto-compilew.sh  -c ip6_constants.c
  ./auto-compilew.sh  -c ip6_fmt.c
  In file included from ip6_fmt.c:2:0:
  ip6_fmt.c: In function 'ip6_fmt':
  byte.h:15:47: warning: pointer targets in passing argument 3 of 'byte_diff' differ in signedness [-Wpointer-sign]
   #define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
                                                 ^
  ip6.h:23:29: note: in expansion of macro 'byte_equal'
   #define ip6_isv4mapped(ip) (byte_equal(ip,12,V4mappedprefix))
                               ^~~~~~~~~~
  ip6_fmt.c:17:18: note: in expansion of macro 'ip6_isv4mapped'
       if (j==12 && ip6_isv4mapped(ip)) {
                    ^~~~~~~~~~~~~~
  byte.h:12:5: note: expected 'const char *' but argument is of type 'const unsigned char *'
   int byte_diff(const char *s,unsigned int n,const char *t);
       ^~~~~~~~~
  ip6_fmt.c:28:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
      if (s) *s++=':'; ++len;
      ^~
  ip6_fmt.c:28:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (s) *s++=':'; ++len;
                       ^~
  ip6_fmt.c:34:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if (s) *s++=':'; ++len;
    ^~
  ip6_fmt.c:34:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if (s) *s++=':'; ++len;
                     ^~
  ./auto-compilew.sh  -c ip6_scan.c
  ip6_scan.c: In function 'ip6_scan':
  ip6_scan.c:25:19: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
       const char *c=V4mappedprefix;
                     ^~~~~~~~~~~~~~
  In file included from ip6_scan.c:4:0:
  byte.h:15:47: warning: pointer targets in passing argument 3 of 'byte_diff' differ in signedness [-Wpointer-sign]
   #define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
                                                 ^
  ip6_scan.c:26:9: note: in expansion of macro 'byte_equal'
       if (byte_equal(ip+12,4,V6any)) c=V6any;
           ^~~~~~~~~~
  byte.h:12:5: note: expected 'const char *' but argument is of type 'const unsigned char *'
   int byte_diff(const char *s,unsigned int n,const char *t);
       ^~~~~~~~~
  ip6_scan.c:26:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
       if (byte_equal(ip+12,4,V6any)) c=V6any;
                                       ^
  ./auto-compilew.sh  -c scan_long.c
  ./auto-compilew.sh  -c scan_sign.c
  ./auto-compilew.sh  -c scan_ulong.c
  ./auto-compilew.sh  -c scan_xlong.c
  ./auto-compilew.sh  -c str_chr.c
  ./auto-compilew.sh  -c str_diff.c
  ./auto-compilew.sh  -c str_len.c
  ./auto-compilew.sh  -c str_rchr.c
  ./auto-compilew.sh  -c str_start.c
  ./auto-compilew.sh  -c uint16_pack.c
  ./auto-compilew.sh  -c uint16_unpack.c
  ./auto-compilew.sh  -c uint32_pack.c
  ./auto-compilew.sh  -c uint32_unpack.c
  ./auto-makelib.sh libbyte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_zero.o case_diffb.o case_lowerb.o case_lowers.o case_lwrtab.o case_startb.o case_starts.o fmt_uint0.o fmt_uint64.o fmt_ulong.o fmt_xlong.o ip4_constants.o ip4_fmt.o ip4_scan.o ip6_constants.o ip6_fmt.o ip6_scan.o scan_long.o scan_sign.o scan_ulong.o scan_xlong.o str_chr.o str_diff.o str_len.o str_rchr.o str_start.o uint16_pack.o uint16_unpack.o uint32_pack.o uint32_unpack.o
  ar: `u' modifier ignored since `D' is the default (see `U')
  sh fsync.sh >fsync.t && mv fsync.t auto-fsync.lib
  sh replace.sh utimes utimes "" -lsocket >auto-utimes.lib.t && mv auto-utimes.lib.t auto-utimes.lib
  ./auto-link.sh ftpcopy  ftpcopy.o ftpparse.o ftplib.o ftp_read_lis.o urlparse.o canon.o common.o mdtm.o mysleep.o warn_broken.o eof_or_error.o utcdate2tai.o sockrecbuf.o ssort.o inq_winsize.o libuotime.a libuomisc.a libdns.a libstrhash.a libunix.a libtai.a libbyte.a `head -n 1 auto-socket.lib` `head -n 1 auto-fsync.lib` `head -n 1 auto-utimes.lib` `head -n 1 auto-gettimeofday.lib` 
  ./auto-compilew.sh  -c ftpls.c
  ftpls.c: In function 'get_listing':
  ftpls.c:181:48: warning: pointer targets in passing argument 2 of 'cmdwrite2' differ in signedness [-Wpointer-sign]
    cmdwrite2(r_dir->s[0]=='/' ? "CWD " : "CWD /",r_dir->s);
                                                  ^~~~~
  In file included from ftpls.c:26:0:
  ftpcopy.h:149:6: note: expected 'const unsigned char *' but argument is of type 'char *'
   void cmdwrite2(const char *s1, const unsigned char *s2);
        ^~~~~~~~~
  ftpls.c:199:22: warning: pointer targets in passing argument 2 of 'cmdwrite2' differ in signedness [-Wpointer-sign]
     cmdwrite2("LIST ", o_list_options);
                        ^~~~~~~~~~~~~~
  In file included from ftpls.c:26:0:
  ftpcopy.h:149:6: note: expected 'const unsigned char *' but argument is of type 'const char *'
   void cmdwrite2(const char *s1, const unsigned char *s2);
        ^~~~~~~~~
  ftpls.c:175:6: warning: variable 'got_it' set but not used [-Wunused-but-set-variable]
    int got_it;
        ^~~~~~
  ftpls.c: In function 'main':
  ftpls.c:524:7: warning: variable 'retcode' set but not used [-Wunused-but-set-variable]
     int retcode;
         ^~~~~~~
  ./auto-compilew.sh  -c sort_it.c
  ./auto-link.sh ftpls  ftpls.o ftpparse.o ftplib.o ftp_read_lis.o urlparse.o sort_it.o common.o mysleep.o warn_broken.o eof_or_error.o utcdate2tai.o ssort.o libuotime.a libdns.a libuomisc.a libstrhash.a libdns.a libunix.a libtai.a libbyte.a `head -n 1 auto-socket.lib` `head -n 1 auto-gettimeofday.lib` 
  (echo .ds PA ftpcopy ;\
   echo .ds VE 0.6.7 ;\
   echo .ds CL web ;\
  ) >auto-version.tmac.t
  cmp auto-version.tmac auto-version.tmac.t \
   || cp auto-version.tmac.t auto-version.tmac
  cmp: auto-version.tmac: No such file or directory
  touch version.tmac.stamp && rm auto-version.tmac.t
  cat groff.tmac auto-version.tmac ftpcp.1.in \
   | sed 's/^.section/.SH/' >ftpcp.1.t \
   && mv ftpcp.1.t ftpcp.1
  perl uogo2man ftpcopy ./ftpcopy 1 man "--include-exclude-help" \
  "IN/EXCLUDE" >ftpcopy.1.t &&mv ftpcopy.1.t ftpcopy.1
  perl uogo2man ftpcopy ./ftpls 1 man  >ftpls.1.t &&mv ftpls.1.t ftpls.1
  perl uogo2man ftpcopy ./ftpcopy - html "--include-exclude-help" \
  "IN/EXCLUDE" >ftpcopy.html.t &&mv ftpcopy.html.t ftpcopy.html
  perl uogo2man ftpcopy ./ftpls - html  >ftpls.html.t &&mv ftpls.html.t \
  ftpls.html
  make[1]: Leaving directory '«BUILDDIR»/web/ftpcopy-0.6.7/compile'
  Copying documentation into ./doc...
  touch build-arch-stamp
   fakeroot debian/rules binary
  rm -rf '«BUILDDIR»/debian/ftpcopy'
  install -d -m0755 '«BUILDDIR»/debian/ftpcopy'/usr/bin
  for i in ftpcopy ftpcp ftpls; do \
    install -m0755 web/ftpcopy/command/$i '«BUILDDIR»/debian/ftpcopy'/usr/bin/ || exit 1; \
  done
  for i in ftpcopy ftpls; do \
    strip -R .comment -R .note '«BUILDDIR»/debian/ftpcopy'/usr/bin/$i || exit 1; \
  done
  # man pages
  install -d -m0755 '«BUILDDIR»/debian/ftpcopy'/usr/share/man/man1
  install -m0644 web/ftpcopy/doc/*.1 '«BUILDDIR»/debian/ftpcopy'/usr/share/man/man1/
  gzip -9 '«BUILDDIR»/debian/ftpcopy'/usr/share/man/man1/*.1
  # changelog
  test -r changelog || ln -s web/ftpcopy/src/ChangeLog changelog
  : implicit
  : debian/ftpcopy/usr/share/doc/ftpcopy/
  + install -m0644 debian/copyright debian/ftpcopy/usr/share/doc/ftpcopy/
  + install -m0644 debian/changelog debian/ftpcopy/usr/share/doc/ftpcopy/changelog.Debian
  + install -m0644 changelog debian/ftpcopy/usr/share/doc/ftpcopy/
  + install -m0644 web/ftpcopy/src/NEWS debian/ftpcopy/usr/share/doc/ftpcopy/
  + install -m0644 web/ftpcopy/src/README debian/ftpcopy/usr/share/doc/ftpcopy/
  + install -m0644 web/ftpcopy/src/THANKS debian/ftpcopy/usr/share/doc/ftpcopy/
  + install -m0644 debian/README.Debian.diet debian/ftpcopy/usr/share/doc/ftpcopy/
  : debian/ftpcopy/usr/share/doc/ftpcopy/examples/
  : debian/ftpcopy/usr/share/doc/ftpcopy/ ok
  : debian/ftpcopy/DEBIAN/
  : debian/ftpcopy/DEBIAN/md5sums
  : debian/ftpcopy/DEBIAN/ ok
  test '0' -ne 0 || dpkg-shlibdeps '«BUILDDIR»/debian/ftpcopy'/usr/bin/*
  dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp: 
  debian/rules:72: recipe for target 'binary-arch' failed
  make: *** [binary-arch] Error 255
  dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[ftpcopy.0.6.7-3.unstable.amd64.log.txt.gz (application/octet-stream, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#854512; Package src:ftpcopy. (Tue, 07 Feb 2017 22:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Reiner Herrmann <reiner@reiner-h.de>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Tue, 07 Feb 2017 22:09:05 GMT) (full text, mbox, link).


Message #10 received at 854512@bugs.debian.org (full text, mbox, reply):

From: Reiner Herrmann <reiner@reiner-h.de>
To: 854512@bugs.debian.org
Subject: Re: ftpcopy: FTBFS: dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp
Date: Tue, 7 Feb 2017 23:08:23 +0100
[Message part 1 (text/plain, inline)]
Control: tag -1 + patch

Hi,

>   dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp: 

ftpcp is a shell script, not a binary.
Calling dpkg-shlibdeps no longer works since dpkg 1.18.19.
In previous version, objdump called by dpkg-shlibdeps would print an
error, but the call would still exit with 0.

The attached patch calls dpkg-shlibdeps only on the binaries.

Regards,
  Reiner
[ftpcopy.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) patch. Request was from Reiner Herrmann <reiner@reiner-h.de> to 854512-submit@bugs.debian.org. (Tue, 07 Feb 2017 22:09:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#854512; Package src:ftpcopy. (Wed, 08 Feb 2017 00:36:02 GMT) (full text, mbox, link).


Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Wed, 08 Feb 2017 00:36:02 GMT) (full text, mbox, link).


Message #17 received at 854512@bugs.debian.org (full text, mbox, reply):

From: Sandro Tosi <morph@debian.org>
To: 854512@bugs.debian.org, Reiner Herrmann <reiner@reiner-h.de>
Subject: Re: ftpcopy: FTBFS: dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp
Date: Tue, 7 Feb 2017 19:31:36 -0500
Hello Reiner,

On Tue, 7 Feb 2017 23:08:23 +0100 Reiner Herrmann <reiner@reiner-h.de> wrote:
> Control: tag -1 + patch
>
> Hi,
>
> >   dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp:
>
> ftpcp is a shell script, not a binary.
> Calling dpkg-shlibdeps no longer works since dpkg 1.18.19.
> In previous version, objdump called by dpkg-shlibdeps would print an
> error, but the call would still exit with 0.
>
> The attached patch calls dpkg-shlibdeps only on the binaries.

Would you be interested in preparing a NMU package with your patch
applied (feel free to reply to me in private if you need guidance in
doing so)?

thanks,
Sandro



Added tag(s) stretch and sid. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Wed, 08 Feb 2017 04:18:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#854512; Package src:ftpcopy. (Wed, 08 Feb 2017 05:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Wed, 08 Feb 2017 05:57:03 GMT) (full text, mbox, link).


Message #24 received at 854512@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: Reiner Herrmann <reiner@reiner-h.de>, 854512@bugs.debian.org
Subject: Re: Bug#854512: ftpcopy: FTBFS: dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp
Date: Wed, 8 Feb 2017 06:51:28 +0100
Control: clone -1 -2
Control: reassign -2 libdpkg-perl
Control: retitle -2 Dpkg::Shlibs::Objdump: Cope more gracefully with non-ELF files
Control: severity -2 important

Hi!

On Tue, 2017-02-07 at 23:08:23 +0100, Reiner Herrmann wrote:
> Control: tag -1 + patch

> >   dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp: 
> 
> ftpcp is a shell script, not a binary.
> Calling dpkg-shlibdeps no longer works since dpkg 1.18.19.
> In previous version, objdump called by dpkg-shlibdeps would print an
> error, but the call would still exit with 0.

Right, the change that ended up with the new behavior was not entirely
intended, so I'll be improving it to cope with this more gracefully.
But I still consider this usage bogus, and it will start emitting
proper warnings with dpkg 1.18.23, so…

> The attached patch calls dpkg-shlibdeps only on the binaries.

… thanks for fixing it!

Regards,
Guillem



Bug 854512 cloned as bug 854536 Request was from Guillem Jover <guillem@debian.org> to 854512-submit@bugs.debian.org. (Wed, 08 Feb 2017 05:57:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#854512; Package src:ftpcopy. (Thu, 09 Feb 2017 00:57:08 GMT) (full text, mbox, link).


Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Thu, 09 Feb 2017 00:57:08 GMT) (full text, mbox, link).


Message #31 received at 854512@bugs.debian.org (full text, mbox, reply):

From: Sandro Tosi <morph@debian.org>
To: 854512@bugs.debian.org
Cc: Reiner Herrmann <reiner@reiner-h.de>
Subject: ftpcopy: diff for NMU version 0.6.7-3.1
Date: Wed, 8 Feb 2017 19:37:31 -0500
[Message part 1 (text/plain, inline)]
Control: tags 854512 + pending

Dear maintainer,

I've prepared an NMU for ftpcopy (versioned as 0.6.7-3.1) and
uploaded it to DELAYED/3. Please feel free to tell me if I
should delay it longer.

Sent on behalf of Reiner Herrmann <reiner@reiner-h.de>

Regards.
[ftpcopy-0.6.7-3.1-nmu.diff (text/x-diff, attachment)]

Added tag(s) pending. Request was from Sandro Tosi <morph@debian.org> to 854512-submit@bugs.debian.org. (Thu, 09 Feb 2017 00:57:08 GMT) (full text, mbox, link).


Reply sent to Reiner Herrmann <reiner@reiner-h.de>:
You have taken responsibility. (Sun, 12 Feb 2017 01:21:03 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Sun, 12 Feb 2017 01:21:03 GMT) (full text, mbox, link).


Message #38 received at 854512-close@bugs.debian.org (full text, mbox, reply):

From: Reiner Herrmann <reiner@reiner-h.de>
To: 854512-close@bugs.debian.org
Subject: Bug#854512: fixed in ftpcopy 0.6.7-3.1
Date: Sun, 12 Feb 2017 01:18:32 +0000
Source: ftpcopy
Source-Version: 0.6.7-3.1

We believe that the bug you reported is fixed in the latest version of
ftpcopy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 854512@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reiner Herrmann <reiner@reiner-h.de> (supplier of updated ftpcopy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 08 Feb 2017 18:57:50 +0100
Source: ftpcopy
Binary: ftpcopy
Architecture: source amd64
Version: 0.6.7-3.1
Distribution: unstable
Urgency: medium
Maintainer: Gerrit Pape <pape@smarden.org>
Changed-By: Reiner Herrmann <reiner@reiner-h.de>
Description:
 ftpcopy    - FTP clients collection
Closes: 854512
Changes:
 ftpcopy (0.6.7-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS by calling dpkg-shlibdeps only for binaries and not
     the ftpcp shell script (Closes: #854512).
Checksums-Sha1:
 3f6c774695512b0d2240eb3d9146542750191ffa 1600 ftpcopy_0.6.7-3.1.dsc
 a2b8adff583817969ac120ba1079f53788c3566d 3834 ftpcopy_0.6.7-3.1.diff.gz
 b69b93d4d8b79c0f08f5734a5d257ecbc73208a3 3550 ftpcopy_0.6.7-3.1_amd64.buildinfo
 da931fc17e2a655fb6a9cbbe95ad91b9d07ff46d 90170 ftpcopy_0.6.7-3.1_amd64.deb
Checksums-Sha256:
 f3576cf1f63589b4ca195ed6569239829a389b0e4785980b4fa3aded5e20f6f6 1600 ftpcopy_0.6.7-3.1.dsc
 9eac3d919e09b56da0ef0acff60518c1a3191a57e5474f65498c569d5496958b 3834 ftpcopy_0.6.7-3.1.diff.gz
 d4b13cc457ad57e63bbbfb9c084824cf93bceb2f2ed75e86da97ce313924cfee 3550 ftpcopy_0.6.7-3.1_amd64.buildinfo
 ab3550807828d37e43b653dc6805e663ce27b0b3cba93410a1a0ca6d827a5c0a 90170 ftpcopy_0.6.7-3.1_amd64.deb
Files:
 60ab793a5f40506110ae3093f29ddb98 1600 web optional ftpcopy_0.6.7-3.1.dsc
 8e827da5c3d638efe1bf0503a4c7ce9a 3834 web optional ftpcopy_0.6.7-3.1.diff.gz
 5ecfeb5e1e640984787efd6c49a1267c 3550 web optional ftpcopy_0.6.7-3.1_amd64.buildinfo
 f73d8e1ef4c445a9677a08d291d81b5f 90170 web optional ftpcopy_0.6.7-3.1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAlibuZwACgkQh588mTgB
qU/feQ/9HDb35iNfRO7V6mctJFWC4Ar30oapgtPnH3RHd4UJ36j2c+qIPxE9fCdX
EhWy671C7b6fSUt6lOG6ZzZ0Px/zeV2IP+mGuoqqD/OUuVuQNbLA966oxBCgGlHM
5rDTQgCswt2g8QGthwOVF1mTkXQ/9P3VBVZ8Riai5rnYWymS3jjhiEvOty0ddBox
Q1iC7SdcE+YgjYe6usJ9EaP9FWmDc1ELIPsuTHKEuR4KTe4UfXYJnkZhxxFj1dv7
bg4zKUVBzG9m6CfAu4z9AX4lC6MPm2vCAl/U7NGkezCJu570fMl/Zf+8Le3nV1tx
nMycommL2uB0UV5efPIecTa/tVZYwW/L0Sqygs/bwfdaUE9KShQBicvT+eYXEBz2
PnjSlBI4ZRoBIyaDGjqD5LtGnG3h8DvFeOLePs+ZGAhyDpoIWPsbCRZvQLYrFlqA
0aS29xW3tEItQdok79Umv8cdU9vj9y3IR96+yjidT+n8aKXwavXrLq23oUoitk7J
5MizzO4DDuhKYM45ivp8f8NVwTM4jdWYh1lIUMt8SR+mL9UFQa29C/XbX1qtg/B+
1y1Z/eCtUHSRdXbvSwZq9Ke39EBLkOvJluGi9w8O3Cr6KL+q3/KFiHTUwADCzoNt
35Xwr0ta82QmeooLBjySjhlGtGF8xne/xwYEwzXQJyrX0DUJt1A=
=10ha
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 17 Mar 2017 07:25:19 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 14:01:41 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.