Bug#842115: partclone: FTBFS: Compiling: fail-mbr.S -> fail-mbr.o -> fail-mbr.image -> /usr/bin/ld: attempted static link of dynamic object `fail-mbr.o'

Chris Lamb lamby at debian.org
Tue Oct 25 22:45:06 UTC 2016


Source: partclone
Version: 0.2.88-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

partclone fails to build from source in unstable/amd64:

  […]

  gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMINIX -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o partclone_minix-partclone.o `test -f 'partclone.c' || echo './'`partclone.c
  gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMINIX -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o partclone_minix-progress.o `test -f 'progress.c' || echo './'`progress.c
  gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DMINIX -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o partclone_minix-minixclone.o `test -f 'minixclone.c' || echo './'`minixclone.c
  gcc -DMINIX -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88=. -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro -o partclone.minix partclone_minix-main.o partclone_minix-partclone.o partclone_minix-progress.o partclone_minix-minixclone.o  -lncursesw -lpthread  -ltinfo
  make[3]: Leaving directory '/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88/src'
  Making all in docs
  make[3]: Entering directory '/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88/docs'
  make[3]: Nothing to be done for 'all'.
  make[3]: Leaving directory '/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88/docs'
  Making all in tests
  make[3]: Entering directory '/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88/tests'
  make[3]: Nothing to be done for 'all'.
  make[3]: Leaving directory '/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88/tests'
  Making all in fail-mbr
  make[3]: Entering directory '/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88/fail-mbr'
  sh compile-mbr.sh
  Compiling: fail-mbr.S -> fail-mbr.o -> fail-mbr.image -> /usr/bin/ld: attempted static link of dynamic object `fail-mbr.o'
  collect2: error: ld returned 1 exit status
  fail-mbr.bin [Done]. 
  objcopy: 'fail-mbr.image': No such file
  Checking the file:
  objdump: 'fail-mbr.bin': No such file
  files fail-mbr.bin and fail-mbr.bin.orig differ significantly:
  diff: f1.obj: No such file or directory
  diff: f2.obj: No such file or directory
  Makefile:501: recipe for target 'fail-mbr.bin' failed
  make[3]: *** [fail-mbr.bin] Error 1
  make[3]: Leaving directory '/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88/fail-mbr'
  Makefile:400: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory '/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88'
  Makefile:341: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20161025234343.N57us6zz7w.db.partclone/partclone-0.2.88'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:13: recipe for target 'build' failed
  make: *** [build] Error 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: partclone.0.2.88-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 8859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161025/28e4c005/attachment.obj>


More information about the Reproducible-builds mailing list