Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B5620200ACD for ; Mon, 2 May 2016 19:55:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B46681609B0; Mon, 2 May 2016 19:55:14 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0D8651609B3 for ; Mon, 2 May 2016 19:55:13 +0200 (CEST) Received: (qmail 50217 invoked by uid 500); 2 May 2016 17:55:13 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 49868 invoked by uid 99); 2 May 2016 17:55:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2016 17:55:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D8F272C14F4 for ; Mon, 2 May 2016 17:55:12 +0000 (UTC) Date: Mon, 2 May 2016 17:55:12 +0000 (UTC) From: "John Sirois (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AURORA-1687) Nightly packaging builds broken by ppa:openjdk-r java packaging shift. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 02 May 2016 17:55:14 -0000 [ https://issues.apache.org/jira/browse/AURORA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15267088#comment-15267088 ] John Sirois commented on AURORA-1687: ------------------------------------- This fixes the packaging side of the equation: https://github.com/benley/gradle-packaging/pull/2 > Nightly packaging builds broken by ppa:openjdk-r java packaging shift. > ---------------------------------------------------------------------- > > Key: AURORA-1687 > URL: https://issues.apache.org/jira/browse/AURORA-1687 > Project: Aurora > Issue Type: Bug > Components: Packaging > Reporter: John Sirois > Assignee: John Sirois > > The failures look like so - for the ubuntu-trusty builder: > {noformat} > ... > + mkdir -p build/opt > + unzip -q -o -d build/opt/ gradle-2.12-bin.zip > + fpm_args=(-t deb -s dir --force --name "gradle-${VERSION}" --version "${VERSION}" --iteration "${ITERATION}" --depends "java-runtime | default-jre-headless" --architecture all --maintainer "Benjamin Staffin " --license "Apache-2.0" --category java --url https://www.gradle.org/ --after-install gradle.postinst.erb --before-remove gradle.prerm.erb --template-scripts -C build --provides groovy --exclude '*.bat' --description "$description" opt) > + fpm -t deb -s dir --force --name gradle-2.12 --version 2.12 --iteration 2 --depends 'java-runtime | default-jre-headless' --architecture all --maintainer 'Benjamin Staffin ' --license Apache-2.0 --category java --url https://www.gradle.org/ --after-install gradle.postinst.erb --before-remove gradle.prerm.erb --template-scripts -C build --provides groovy --exclude '*.bat' --description 'Groovy based build system > Gradle is a build system written in Groovy. It uses Groovy > also as the language for its build scripts. It has a powerful > multi-project build support. It has a layer on top of Ivy > that provides a build-by-convention integration for Ivy. It > gives you always the choice between the flexibility of Ant > and the convenience of a build-by-convention behavior.' opt > corefines: Your Ruby doesn't support refinements, so I'll fake them using plain monkey-patching (not scoped!). > {:timestamp=>"2016-05-02T00:41:29.646752+0000", :message=>"Debian packaging tools generally labels all files in /etc as config files, as mandated by policy, so fpm defaults to this behavior for deb packages. You can disable this default behavior with --deb-no-default-config-files flag", :level=>:warn} > {:timestamp=>"2016-05-02T00:41:29.862617+0000", :message=>"Debian packaging tools generally labels all files in /etc as config files, as mandated by policy, so fpm defaults to this behavior for deb packages. You can disable this default behavior with --deb-no-default-config-files flag", :level=>:warn} > {:timestamp=>"2016-05-02T00:41:32.720788+0000", :message=>"Created package", :path=>"gradle-2.12_2.12-2_all.deb"} > Selecting previously unselected package gradle-2.12. > (Reading database ... 33068 files and directories currently installed.) > Preparing to unpack gradle-2.12_2.12-2_all.deb ... > Unpacking gradle-2.12 (2.12-2) ... > dpkg: dependency problems prevent configuration of gradle-2.12: > gradle-2.12 depends on java-runtime | default-jre-headless; however: > Package java-runtime is not installed. > Package default-jre-headless is not installed. > dpkg: error processing package gradle-2.12 (--install): > dependency problems - leaving unconfigured > Errors were encountered while processing: > gradle-2.12 > The command '/bin/sh -c git clone --depth 1 https://github.com/benley/gradle-packaging && cd gradle-packaging && apt-get install -y ruby ruby-dev unzip wget && gem install fpm && ./gradle-mkdeb.sh 2.12 && dpkg -i gradle-2.12_2.12-2_all.deb && cd .. && rm -rf gradle-packaging' returned a non-zero code: 1 > Build step 'Execute shell' marked build as failure > Skipped archiving because build is not successful > Sending e-mails to: dev@aurora.apache.org > Finished: FAILURE > {noformat} > Likely related to the packaging change referenced in this mesos thread: http://markmail.org/message/rofuiaclgkesfx3o > The failure snipped above in particular installs {{openjdk-8-jre:amd64 (8u91-b14-0ubuntu4~14.04)}}. > I cannot repro on debian-jessie, which is only at {{8u72-b15-1~bpo8+1}} on a fresh re-build and uses its own backports repo with likely different deb provides mutation policies. -- This message was sent by Atlassian JIRA (v6.3.4#6332)