Your package also froze in the same spot (1.9G) for me.

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1617905

Title:
  adb backup only creates 2GB file then hangs

Status in android-tools package in Ubuntu:
  New

Bug description:
  $ lsb_release -rd
  Description:    Ubuntu 16.04.1 LTS
  Release:        16.04

  $ arch
  i686

  $ apt-cache policy android-tools-adb
  android-tools-adb:
    Installed: 5.1.1r36+git20160322-0ubuntu3tharrrk1
    Candidate: 5.1.1r36+git20160322-0ubuntu3tharrrk1
    Version table:
   *** 5.1.1r36+git20160322-0ubuntu3tharrrk1 100
          100 /var/lib/dpkg/status
       5.1.1r36+git20160322-0ubuntu3 500
          500 http://mt.archive.ubuntu.com/ubuntu xenial/universe i386 Packages

  BUG DESCRIPTION:
  ================
  At least on i386 the files created by adb backup are limited to 2GB.
  It seems adb is not built with -D_FILE_OFFSET_BITS=64.
  This is basically a duplicate of bug in Debian # 700461 
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700461) originally reported 
in ___2013___

  FIX:
  ====
  update makefile:

  $ diff -Nurp android-tools-5.1.1r36+git20160322.orig 
android-tools-5.1.1r36+git20160322
  diff -Nurp android-tools-5.1.1r36+git20160322.orig/debian/makefiles/adb.mk 
android-tools-5.1.1r36+git20160322/debian/makefiles/adb.mk
  --- android-tools-5.1.1r36+git20160322.orig/debian/makefiles/adb.mk     
2016-08-29 08:32:27.380451578 +0200
  +++ android-tools-5.1.1r36+git20160322/debian/makefiles/adb.mk  2016-08-26 
12:04:54.103221453 +0200
  @@ -34,6 +34,9 @@ CPPFLAGS+= -I.
   CPPFLAGS+= -I../adb
   CPPFLAGS+= -I../include
   CPPFLAGS+= -I../../../external/zlib
  +CPPFLAGS+= -D_FILE_OFFSET_BITS=64
  +
  +CFLAGS+= -D_FILE_OFFSET_BITS=64

   LIBS+= -lc -lpthread -lz -lcrypto

  ---
  RESULT:
  =======
  After I rebuilt the package and installed local version (as shown above) the 
process works and my data are ALL backed up.
  Anybody willing to go through the same process before the package is fixed in 
Ubuntu - good sources are:
  - https://help.ubuntu.com/community/UpdatingADeb
  - https://raphaelhertzog.com/2010/12/15/howto-to-rebuild-debian-packages/
  My package:
  
https://tharrrk.net/stuff/ubuntu/android-tools-adb_5.1.1r36+git20160322-0ubuntu3tharrrk1_i386.deb

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android-tools/+bug/1617905/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to     : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to