Hello community, here is the log from the commit of package build-compare for openSUSE:Factory checked in at 2014-07-10 08:24:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/build-compare (Old) and /work/SRC/openSUSE:Factory/.build-compare.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "build-compare" Changes: -------- --- /work/SRC/openSUSE:Factory/build-compare/build-compare.changes 2013-10-18 11:37:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.build-compare.new/build-compare.changes 2014-07-10 09:32:16.000000000 +0200 @@ -1,0 +2,12 @@ +Mon Jul 7 08:28:45 UTC 2014 - aj@suse.com + +- Fix last patch to not use non-existant file (bnc#877078). + +------------------------------------------------------------------- +Fri May 9 18:30:26 UTC 2014 - johannesobermayr@gmx.de + +- Don't compare .note.gnu.build-id and .gnu_debuglink sections in ELF + binaries (bnc#877078). +- Don't compare debuginfo packages. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ build-compare.spec ++++++ --- /var/tmp/diff_new_pack.A3gw8R/_old 2014-07-10 09:32:17.000000000 +0200 +++ /var/tmp/diff_new_pack.A3gw8R/_new 2014-07-10 09:32:17.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package build-compare # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ rpm-check.sh ++++++ --- /var/tmp/diff_new_pack.A3gw8R/_old 2014-07-10 09:32:17.000000000 +0200 +++ /var/tmp/diff_new_pack.A3gw8R/_new 2014-07-10 09:32:18.000000000 +0200 @@ -460,10 +460,14 @@ head -n 200 $dfile return 1 fi - objdump -s old/$file > $file1 - sed -i -e "s,old/,," $file1 - objdump -s new/$file > $file2 - sed -i -e "s,new/,," $file2 + echo "" >$file1 + echo "" >$file2 + # Don't compare .build-id and .gnu_debuglink sections + for section in $(objdump -s new/$file | grep "Contents of section .*:" | sed -r "s,.* (\..*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" | tr +"\n" " "); do + objdump -s -j $section old/$file | sed "s,old/,," >> $file1 + objdump -s -j $section new/$file | sed "s,new/,," >> $file2 + done if ! diff -u $file1 $file2 > $dfile; then echo "$file differs in ELF sections" head -n 200 $dfile ++++++ same-build-result.sh ++++++ --- /var/tmp/diff_new_pack.A3gw8R/_old 2014-07-10 09:32:18.000000000 +0200 +++ /var/tmp/diff_new_pack.A3gw8R/_new 2014-07-10 09:32:18.000000000 +0200 @@ -79,9 +79,13 @@ echo "names differ: $oname $nname" exit 1 fi - bash $CMPSCRIPT "$opac" "$npac" || SUCCESS=0 - if test $SUCCESS -eq 0 -a -z "$check_all"; then - exit 1 + if [ $(echo "$opac" | grep -e "debuginfo") ]; then + echo "skipping -debuginfo package" + else + bash $CMPSCRIPT "$opac" "$npac" || SUCCESS=0 + if test $SUCCESS -eq 0 -a -z "$check_all"; then + exit 1 + fi fi done -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org