Closed jakobkroeker closed 3 years ago
We've been careful to strip our big executable binaries, so maybe it would also be good to strip the sharable libraries -- the disk space savings are marginal, though. This is a good long term goal.
If we could get into Debian as an official package, and they required us to have no "E:"s on that output, then we would want to do it, and we could stop ignoring the return codes.
On Wed, May 13, 2015 at 7:48 PM jakobkroeker notifications@github.com wrote:
there is a warning about unstripped binaries (make -f Makefile.ubuntu64)
what has to be done?
-- checking for unstripped binaries file /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-dist/x86_64-Linux-Ubuntu-14.04.2/libexec/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/* /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-host/bin/* /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-dist/x86_64-Linux-Ubuntu-14.04.2/bin/M2-binary usr-dist/bin/M2-binary usr-host/bin/* | (! grep "not stripped") /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-dist/x86_64-Linux-Ubuntu-14.04.2/libexec/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/testgdbm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=399298adf45b645ec3581159339a2671a03ac6b9, not stripped /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-host/bin/testgdbm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=399298adf45b645ec3581159339a2671a03ac6b9, not stripped usr-host/bin/testgdbm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=399298adf45b645ec3581159339a2671a03ac6b9, not stripped make[1]: * [check-stripped] Error 1 make[1]: Target
check' not remade because of errors. make[1]: Leaving directory
/home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production' make: * [check] Error 2make -C deb check make[3]: Entering directory `/home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/distributions/deb' lintian -I ../../Macaulay2-1.7.0.1-amd64-Linux-Ubuntu-14.04.2.deb I: macaulay2: spelling-error-in-binary usr/bin/M2-binary ment meant I: macaulay2: spelling-error-in-binary usr/bin/M2-binary tEH the I: macaulay2: spelling-error-in-binary usr/bin/M2-binary nam name E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libcdd.so.0.0.0 I: macaulay2: spelling-error-in-binary usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libcddgmp.so.0.0.0 yUr your E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libcddgmp.so.0.0.0 E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libgc.so.1.0.3 E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libgccpp.so.1.0.3 E: macaulay2: binary-or-shlib-defines-rpath usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libgccpp.so.1.0.3 /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-host/lib E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libgdbm.so.4.0.0 I: macaulay2: hardening-no-fortify-functions usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libgdbm.so.4.0.0 E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libgmp.so.11.0.0 E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libgmpxx.so.4.0.21 E: macaulay2: binary-or-shlib-defines-rpath usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libgmpxx.so.4.0.21 /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-host/lib E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libmpfr.so.4.1.2 E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libmpir.so.11.0.0 E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libmpirxx.so.4.0.21 E: macaulay2: binary-or-shlib-defines-rpath usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libmpirxx.so.4.0.21 /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-host/lib I: macaulay2: spelling-error-in-binary usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libpari-gmp.so.2.7.3 unconditionaly unconditionally E: macaulay2: unstripped-binary-or-object usr/lib/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/lib/libpari-gmp.so.2.7.3 I: macaulay2: binary-has-unneeded-section usr/libexec/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/4ti2int32 .comment E: macaulay2: binary-or-shlib-defines-rpath usr/libexec/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/4ti2int32 /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-host/lib I: macaulay2: binary-has-unneeded-section usr/libexec/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/4ti2int64 .comment E: macaulay2: binary-or-shlib-defines-rpath usr/libexec/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/4ti2int64 /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-host/lib
E: macaulay2: unstripped-binary-or-object usr/libexec/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/testgdbm E: macaulay2: binary-or-shlib-defines-rpath usr/libexec/Macaulay2/x86_64-Linux-Ubuntu-14.04.2/testgdbm /home/jakob/Projects/M2-master/M2/BUILD/master/builds.tmp/ubuntu64.production/usr-host/lib
E: macaulay2-common: install-info-used-in-maintainer-script prerm:7 E: macaulay2-common: install-info-used-in-maintainer-script postinst:7 E: macaulay2-common: install-info-used-in-maintainer-script postinst:8 make[3]: [check2] Error 1 (ignored)
— Reply to this email directly or view it on GitHub https://github.com/Macaulay2/M2/issues/239.
there is a warning about unstripped binaries (make -f Makefile.ubuntu64)
what has to be done?