From b7b6f24f85a6c2fdeae31e9f0de9f73fe906ec7a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 10 Oct 2014 17:42:51 +0200 Subject: reproducible: blacklist eigen3 --- bin/reproducible_build.sh | 4 ++-- bin/reproducible_setup.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 76b58696..2a76ca1a 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -44,7 +44,7 @@ if [ $1 = "unknown" ] ; then GUESSES=$(echo "${AMOUNT}*3" | bc) PACKAGES="" # FIXME: blacklisted is a valid status in the db which should be used... - CANDIDATES=$(xzcat $TMPFILE | grep "^Package" | grep -v "^Package-List:" | cut -d " " -f2 | egrep -v "^(linux|cups|zurl|openclipart)$" | sort -R | head -$GUESSES | xargs echo) + CANDIDATES=$(xzcat $TMPFILE | grep "^Package" | grep -v "^Package-List:" | cut -d " " -f2 | egrep -v "^(linux|cups|zurl|openclipart|eigen3)$" | sort -R | head -$GUESSES | xargs echo) for PKG in $CANDIDATES ; do if [ $REAL_AMOUNT -eq $AMOUNT ] ; then continue @@ -58,7 +58,7 @@ elif [ $1 = "known" ] ; then update_sources_table AMOUNT=$2 # FIXME: blacklisted is a valid status in the db which should be used... - PACKAGES=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT DISTINCT source_packages.name FROM source_packages,sources WHERE sources.version IN (SELECT version FROM sources WHERE name=source_packages.name ORDER by sources.version DESC LIMIT 1) AND (( source_packages.status = 'unreproducible' OR source_packages.status = 'FTBFS') AND source_packages.name = sources.name AND source_packages.version < sources.version) ORDER BY source_packages.build_date LIMIT $AMOUNT" | egrep -v "^(linux|cups|zurl|openclipart)$" | xargs -r echo) + PACKAGES=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT DISTINCT source_packages.name FROM source_packages,sources WHERE sources.version IN (SELECT version FROM sources WHERE name=source_packages.name ORDER by sources.version DESC LIMIT 1) AND (( source_packages.status = 'unreproducible' OR source_packages.status = 'FTBFS') AND source_packages.name = sources.name AND source_packages.version < sources.version) ORDER BY source_packages.build_date LIMIT $AMOUNT" | egrep -v "^(linux|cups|zurl|openclipart|eigen3)$" | xargs -r echo) else # CANDIDATES is defined in that file . /srv/jenkins/bin/reproducible_candidates.sh diff --git a/bin/reproducible_setup.sh b/bin/reproducible_setup.sh index 35d35989..2ea044c9 100755 --- a/bin/reproducible_setup.sh +++ b/bin/reproducible_setup.sh @@ -34,7 +34,7 @@ cat >/var/lib/jenkins/reproducible.init <<-EOF EOF # blacklist some packages -for PKG in linux cups zurl openclipart ; do +for PKG in linux cups zurl openclipart eigen3 ; do RESULT=$(sqlite3 -init $INIT $PACKAGES_DB " SELECT name FROM source_packages WHERE status = 'blacklisted' AND name = '$PKG'") if [ "$RESULT" = "" ] ; then sqlite3 -init $INIT $PACKAGES_DB "REPLACE into source_packages VALUES ('$PKG','0','blacklisted',date('now'))" -- cgit v1.2.3-70-g09d2