Your message dated Sat, 12 Dec 2015 19:50:57 +0000 with message-id <[email protected]> and subject line Bug#806421: fixed in openjdk-8 8u72-b05-3 has caused the Debian Bug report #806421, regarding FTBFS when the Build ID of a shared library starts with 00... to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 806421: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806421 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: openjdk-8 Version: 8u72-b05-1 Severity: serious Tags: patch Justification: fails to build from source (but built successfully in the past) A funny thing happened while building openjdk-8 8u72-b05-1. I've included the relevant tail of the build log below, but the reason is that one of the shared libs has a Build ID of 00640740dbc66eb41e0ad49c39fc04c03bd61efb (not the leading double-0) $ expr substr 00640740dbc66eb41e0ad49c39fc04c03bd61efb 1 2 ; echo "=> $?" 00 1 Since this is running under "set -e" the recipe bombs out. Suggested fix (since debian/rules uses SHELL=/bin/bash): use shell variable substrings instead of expr. Patch attached. Cheers, Roderich .... dh_link -s -Nopenjdk-8-jre-cacao dh_link: skipping link from usr/lib/jvm/java-8-openjdk-amd64 to self DH_COMPAT=9 dh_strip -s \ -Nopenjdk-8-jre-cacao \ -Xlibjvm.so -X.debuginfo --dbg-package=openjdk-8-dbg set -ex; \ for i in {debian/openjdk-8-jre-headless,debian/openjdk-8-jre,debian/openjdk-8 -jre-cacao,debian/openjdk-8-jre-zero}/usr/lib/jvm/java-8-openjdk- amd64/jre/lib/amd64/*/libjvm.so; do \ [ -f $i ] || continue; \ b_id=$(LC_ALL=C readelf -n $i | sed -n 's/ *Build ID: *\([0-9a-f][0-9a-f]*\)/\1/p'); \ if [ -z "$b_id" ] || [ "9" -lt 9 ]; then \ id=$(echo $i | sed -r 's,debian/[^/]+,debian/openjdk-8-dbg/usr/lib/debug,'); \ echo strip $i; \ mkdir -p $(dirname $id); \ objcopy --only-keep-debug $i $id; \ chmod 644 $id; \ strip --remove-section=.comment --remove-section=.note \ --strip-debug $i; \ objcopy --add-gnu-debuglink $id $i; \ else \ d=debian/openjdk-8-dbg/usr/lib/debug/.build-id/$(expr substr $b_id 1 2); \ mkdir -p $d; \ objcopy --only-keep-debug --compress-debug-sections \ $i $d/$b_id.debug; \ chmod 644 $d/$b_id.debug; \ strip --remove-section=.comment --remove-section=.note \ $i; \ objcopy --add-gnu-debuglink \ $d/$b_id.debug $i; \ fi; \ done + for i in '{debian/openjdk-8-jre- headless,debian/openjdk-8-jre,debian/openjdk-8-jre-cacao,debian/openjdk-8-jre- zero}/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/*/libjvm.so' + '[' -f debian/openjdk-8-jre-headless/usr/lib/jvm/java-8-openjdk- amd64/jre/lib/amd64/server/libjvm.so ']' ++ LC_ALL=C ++ readelf -n debian/openjdk-8-jre-headless/usr/lib/jvm/java-8-openjdk- amd64/jre/lib/amd64/server/libjvm.so ++ sed -n 's/ *Build ID: *\([0-9a-f][0-9a-f]*\)/\1/p' + b_id=d50c9388894e515c183f0f5e1e4504013ece9ecf + '[' -z d50c9388894e515c183f0f5e1e4504013ece9ecf ']' + '[' 9 -lt 9 ']' ++ expr substr d50c9388894e515c183f0f5e1e4504013ece9ecf 1 2 + d=debian/openjdk-8-dbg/usr/lib/debug/.build-id/d5 + mkdir -p debian/openjdk-8-dbg/usr/lib/debug/.build-id/d5 + objcopy --only-keep-debug --compress-debug-sections debian/openjdk-8-jre- headless/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so debian/openjdk-8-dbg/usr/lib/debug/.build- id/d5/d50c9388894e515c183f0f5e1e4504013ece9ecf.debug + chmod 644 debian/openjdk-8-dbg/usr/lib/debug/.build- id/d5/d50c9388894e515c183f0f5e1e4504013ece9ecf.debug + strip --remove-section=.comment --remove-section=.note debian/openjdk-8-jre- headless/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so + objcopy --add-gnu-debuglink debian/openjdk-8-dbg/usr/lib/debug/.build- id/d5/d50c9388894e515c183f0f5e1e4504013ece9ecf.debug debian/openjdk-8-jre- headless/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so + for i in '{debian/openjdk-8-jre- headless,debian/openjdk-8-jre,debian/openjdk-8-jre-cacao,debian/openjdk-8-jre- zero}/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/*/libjvm.so' + '[' -f 'debian/openjdk-8-jre/usr/lib/jvm/java-8-openjdk- amd64/jre/lib/amd64/*/libjvm.so' ']' + continue + for i in '{debian/openjdk-8-jre- headless,debian/openjdk-8-jre,debian/openjdk-8-jre-cacao,debian/openjdk-8-jre- zero}/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/*/libjvm.so' + '[' -f 'debian/openjdk-8-jre-cacao/usr/lib/jvm/java-8-openjdk- amd64/jre/lib/amd64/*/libjvm.so' ']' + continue + for i in '{debian/openjdk-8-jre- headless,debian/openjdk-8-jre,debian/openjdk-8-jre-cacao,debian/openjdk-8-jre- zero}/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/*/libjvm.so' + '[' -f debian/openjdk-8-jre-zero/usr/lib/jvm/java-8-openjdk- amd64/jre/lib/amd64/zero/libjvm.so ']' ++ LC_ALL=C ++ readelf -n debian/openjdk-8-jre-zero/usr/lib/jvm/java-8-openjdk- amd64/jre/lib/amd64/zero/libjvm.so ++ sed -n 's/ *Build ID: *\([0-9a-f][0-9a-f]*\)/\1/p' + b_id=00640740dbc66eb41e0ad49c39fc04c03bd61efb + '[' -z 00640740dbc66eb41e0ad49c39fc04c03bd61efb ']' + '[' 9 -lt 9 ']' ++ expr substr 00640740dbc66eb41e0ad49c39fc04c03bd61efb 1 2 + d=debian/openjdk-8-dbg/usr/lib/debug/.build-id/00 debian/rules:2216: recipe for target 'binary-arch' failed make: *** [binary-arch] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 Command exited with non-zero status 2 -- System Information: Debian Release: stretch/sid APT prefers xenial APT policy: (500, 'xenial'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)--- openjdk-8-8u72-b05-ORIG/debian/rules 2015-11-27 09:05:58.000000000 +0100 +++ openjdk-8-8u72-b05/debian/rules 2015-11-27 11:23:13.071752757 +0100 @@ -2268,7 +2268,7 @@ --strip-debug $$i; \ objcopy --add-gnu-debuglink $$id $$i; \ else \ - d=$(d_dbg)/usr/lib/debug/.build-id/$$(expr substr $$b_id 1 2); \ + d=$(d_dbg)/usr/lib/debug/.build-id/$${b_id:0:2}; \ mkdir -p $$d; \ objcopy --only-keep-debug --compress-debug-sections \ $$i $$d/$$b_id.debug; \
--- End Message ---
--- Begin Message ---Source: openjdk-8 Source-Version: 8u72-b05-3 We believe that the bug you reported is fixed in the latest version of openjdk-8, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Matthias Klose <[email protected]> (supplier of updated openjdk-8 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 30 Nov 2015 06:22:36 +0100 Source: openjdk-8 Binary: openjdk-8-jdk openjdk-8-jre-headless openjdk-8-jre openjdk-8-demo openjdk-8-source openjdk-8-doc openjdk-8-dbg openjdk-8-jre-jamvm openjdk-8-jre-zero Architecture: source amd64 all Version: 8u72-b05-3 Distribution: unstable Urgency: medium Maintainer: OpenJDK Team <[email protected]> Changed-By: Matthias Klose <[email protected]> Description: openjdk-8-dbg - Java runtime based on OpenJDK (debugging symbols) openjdk-8-demo - Java runtime based on OpenJDK (demos and examples) openjdk-8-doc - OpenJDK Development Kit (JDK) documentation openjdk-8-jdk - OpenJDK Development Kit (JDK) openjdk-8-jre - OpenJDK Java runtime, using ${vm:Name} openjdk-8-jre-headless - OpenJDK Java runtime, using ${vm:Name} (headless) openjdk-8-jre-jamvm - Alternative JVM for OpenJDK, using JamVM openjdk-8-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark openjdk-8-source - OpenJDK Development Kit (JDK) source files Closes: 806421 Changes: openjdk-8 (8u72-b05-3) unstable; urgency=medium . * Fix stripping packages (use bash instead of expr substring, Roderich Schupp). Closes: #806421. * Fix StackOverflowError on Zero JVM initialization on non x86 platforms, when built with GCC 5. * Build with GCC 5 everywhere. * Build using giflib 5. Checksums-Sha1: 6d5b19db41e26aa69cb6400233923749b3d20752 4312 openjdk-8_8u72-b05-3.dsc 20c8fa76734399cc5241352844ab90e04e6d6f74 275862 openjdk-8_8u72-b05-3.diff.gz d0fce1a02ef78b15675d758443bf0be8c3988b95 133653870 openjdk-8-dbg_8u72-b05-3_amd64.deb 64e4e4673292267fb2a3386fc2996d271f5f8225 1825974 openjdk-8-demo_8u72-b05-3_amd64.deb 0b2f85b5ecfa5af08c7df326e95a79871ea08a7d 12109256 openjdk-8-doc_8u72-b05-3_all.deb 9bb284aa06884d98d49e42366f0eb052c311d894 8593414 openjdk-8-jdk_8u72-b05-3_amd64.deb 5f5e3cab2fa9995f07500dc811acf64ad38ec729 26845334 openjdk-8-jre-headless_8u72-b05-3_amd64.deb a475298ddf0c9266587347474dccb4e1df3ebf2a 481046 openjdk-8-jre-jamvm_8u72-b05-3_amd64.deb 48cdd523f57583ca23a5cc7c42a9cf6c260250c7 1984014 openjdk-8-jre-zero_8u72-b05-3_amd64.deb d3919ca1d60b3a49419739a96e7ce27729757dc6 57784 openjdk-8-jre_8u72-b05-3_amd64.deb ce5ec6fb5be8481d5db8948325c45b0b31cc5aab 46135934 openjdk-8-source_8u72-b05-3_all.deb Checksums-Sha256: 286d1fd536da9eb013edfa1a197313e5ac2925b26caac21435c8bd0ba41149fb 4312 openjdk-8_8u72-b05-3.dsc ee6b14af884c40f71ad6ce3b513838e388f48a49fcf6384e33d0f78b8b9a4f7a 275862 openjdk-8_8u72-b05-3.diff.gz 8f7e0263a7148ad78b2f9cbbb4ce42a123280ac8fc5cf3c7cf928cbd5cb14a5a 133653870 openjdk-8-dbg_8u72-b05-3_amd64.deb c12037bf1c8a6d74460f55ee51f314aae254fbf0c4e0fa230a7fdc219be13acd 1825974 openjdk-8-demo_8u72-b05-3_amd64.deb 6b77ab24104e1d079d3480eab474df8c1fd7f7edd073e930defbf669ec2eeb5d 12109256 openjdk-8-doc_8u72-b05-3_all.deb cf54f9b71083295186a8ed9ed1c701d98b0b259833bcdfeb4cdc2a0959cda24a 8593414 openjdk-8-jdk_8u72-b05-3_amd64.deb 75b3003b35ec76556eadef31c0d4932970c52427e4e7fe225930a981b5b86148 26845334 openjdk-8-jre-headless_8u72-b05-3_amd64.deb b83b85ec849a20b50a028c3b68afd9376ba796063a52afa7820dcc1c3392cbe1 481046 openjdk-8-jre-jamvm_8u72-b05-3_amd64.deb 3c8818d7677d103b8dadef1a5ce087b9aac2c1826b9c3bae8bbb171422b29b1d 1984014 openjdk-8-jre-zero_8u72-b05-3_amd64.deb 4f34b06e3da4dc48701e9da4ab27b65ffe2857faba7b2270043d2fcce0eee012 57784 openjdk-8-jre_8u72-b05-3_amd64.deb b773c5565a5cd8916adc8cc4b489bc8bc65c15bb739dd603011ee4239ed84700 46135934 openjdk-8-source_8u72-b05-3_all.deb Files: f92075894f9d4d55c49a8a8b53d17265 4312 java optional openjdk-8_8u72-b05-3.dsc 9151dbddebc3e5f6512ee39d6ab3117d 275862 java optional openjdk-8_8u72-b05-3.diff.gz 69d7a752e8249f9ad1cf36c38a62ddd8 133653870 debug extra openjdk-8-dbg_8u72-b05-3_amd64.deb d12adc0458ef2ce5bad16d2008226e8a 1825974 java extra openjdk-8-demo_8u72-b05-3_amd64.deb 9439881e4c967ed5bd43f87d385f5990 12109256 doc extra openjdk-8-doc_8u72-b05-3_all.deb 6929ccb3fc5ed5d16278c68adf6271b6 8593414 java optional openjdk-8-jdk_8u72-b05-3_amd64.deb 76def1deca58d9c9e1df545f439caec2 26845334 java optional openjdk-8-jre-headless_8u72-b05-3_amd64.deb 847c7eba7e954d70745d6a7da374ed13 481046 java extra openjdk-8-jre-jamvm_8u72-b05-3_amd64.deb 3bb1ee7f563d277b511630aff257d21c 1984014 java extra openjdk-8-jre-zero_8u72-b05-3_amd64.deb a5e509eabc342a3902617048124507e2 57784 java optional openjdk-8-jre_8u72-b05-3_amd64.deb 76c421cc2d6186fd9da142264b6452a9 46135934 java extra openjdk-8-source_8u72-b05-3_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWbHTEAAoJEL1+qmB3j6b1IsEP/jSogP5w2TKjcl/w9bE4/TWA rcQXA96K4gKFPT7P9VorKSkQqfnnzftGnv4xTFMfzXDMcrYT9y1pUH7sW04MJZRU FycOcJBF3xsSHOi/BGLy6vMJ+3IylS2sNFGS3+1FdsNHxg81pH6HcKs6qguuZDzm ooPHyQfShSHxvn6JksbHY0zG5hC5OX9kgNluEw0aJKw/3vBqn3tevQAOj80/s+cF oY5o64XyL1DNDV3YNJHhn+XV80W8tYaljQG/4YEyyl6+hCFpwL02xlCCO85xV46E S+FsgQY5rEFThx/XpL8jxPNFmb2D1wpov0ezpVmF8FmoKeJtUujpemZrE2bdOfZV C7vLldvg5YwEqEnnEqFHzJCCHrbk3dAwnDtWBPTOkS0OOt+wihYa4X7WmPUHWm14 MQCJt1juh02a+vCKNrC7jqHoWzovNSo5TlMCPBM+4sxCSqD0qnnGRYKeToax6fkR BvrkMW1wuc+GlN/y2+fvw6F3Qext1hUBm2QV2nmf2nNeo0FiE4H25ERR/kYmIhGU Knc06RnjbMnRNo1TIyGEEZC5k2uc5DxStamtKWFHLc6V29XoojMIc9K2AfqD+gpt QoQokMqH/6XdFGavdu2qM9CEAzbjUFYmN5jdsSjyLt/wmn80HvadnI49wYoUVD8m DFtqf9QsKqco2eAVqr25 =hFy9 -----END PGP SIGNATURE-----
--- End Message ---

